Opened 11 years ago
Last modified 11 years ago
#39885 closed defect
webkit-gtk 2.0.4 fails to build under macports 2.2.0 on Lion — at Version 1
Reported by: | andrew.long@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | ||
Port: | webkit-gtk |
Description (last modified by neverpanic (Clemens Lang))
Another issue in webkit-gtk, or another example of an existing one?
Trying to install chat-gnome after cleaning out all ports and doing re-install, fails to build webkit-gtk 2.0.4 (most of the other ports invoked seem to come as pre-built binaries). looking at the log file, there are syntax errors being reported in .H files loaded from some of the standard 'include' libraries.
In particular, first reports are from /usr/lib/clang/4.2/incldue/stddef.h at 31 & 33
:info:build /usr/lib/clang/4.2/include/stddef.h:31: syntax error, unexpected '(' in 'typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t;' at '(' :info:build /usr/lib/clang/4.2/include/stddef.h:35: syntax error, unexpected SIZEOF in 'typedef __typeof__(sizeof(int)) size_t;' at 'sizeof'
and then from /usr/include/time.h at 131
:info:build /usr/include/time.h:131: syntax error, unexpected identifier in 'size_t strftime(char * restrict , size_t, const char * restrict, const struct tm * restrict) __asm("_" "strftime" );' at 'size_t' :info:build /usr/include/time.h:131: syntax error, unexpected ',', expecting identifier or '(' in 'size_t strftime(char * restrict, size_t, const char * restrict, const struct tm * restrict) __asm("_" "strftime" );' at ',' :info:build /usr/include/time.h:131: syntax error, unexpected ',', expecting identifier or '(' in 'size_t strftime(char * restrict, size_t, const char * restrict, const struct tm * restrict) __asm("_" "strftime" );' at ',' :info:build /usr/include/time.h:131: syntax error, unexpected ')', expecting identifier or '(' in 'size_t strftime(char * restrict, size_t, const char * restrict, const struct tm * restrict) __asm("_" "strftime" );' at ')'
and then there's multiple reports in /usr/incldue/pthread.h , unistd.h, stdio.h
This is not new behaviour. I have been having problems with webkit-gtk for some time now and have just been limping on without pressing the issue. However I thought that following the recent upgrade to macports 2.2.0 I should raise a ticket.
Sequence of events as follows:-
- sudo port selfupdate
- sudo port upgrade outdated - fails in webkit-gtk
- sudo port uninstall installed
- sudo port clean all
- make default copies of macpots.conf & variants.conf (previous variants.conf had +universal & +bash-completion)
- sudo port install <some basic ports>
- sudo port install xchat-gnome - fails as described above
Regards, Andy
Change History (1)
comment:1 Changed 11 years ago by neverpanic (Clemens Lang)
Description: | modified (diff) |
---|
The syntax errors in stdlib headers are caused by gobject-introspection trying to analyze the headers. These errors are not critical and do not cause a failure.
Please attach the
main.log
of a clean build.