#39885 closed defect (duplicate)
webkit-gtk 2.0.4 fails to build under macports 2.2.0 on Lion
Reported by: | andrew.long@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | soehn@…, chief1983@… | |
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
Attachments (2)
Change History (13)
comment:1 Changed 11 years ago by neverpanic (Clemens Lang)
Description: | modified (diff) |
---|
comment:2 Changed 11 years ago by neverpanic (Clemens Lang)
Keywords: | build removed |
---|---|
Port: | 2.0.4 removed |
comment:5 follow-up: 6 Changed 11 years ago by neverpanic (Clemens Lang)
Wow, downloading > 40M from trac would take multiple hours. Can you gzip the file instead?
Changed 11 years ago by larryv (Lawrence Velázquez)
Attachment: | main.log.bz2 added |
---|
original log, compressed
comment:7 Changed 11 years ago by neverpanic (Clemens Lang)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Different error, but same problem as in #39598.
comment:9 follow-up: 10 Changed 11 years ago by chief1983@…
Ignoring the syntax errors then, the last 20 lines of my log indicate it had an issue with libjpeg.
:info:build clang: warning: argument unused during compilation: '-pthread' :info:build dyld: Symbol not found: __cg_jpeg_resync_to_restart :info:build Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO :info:build Expected in: /opt/local/lib/libjpeg.9.dylib :info:build in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO :info:build Command '['/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_webkit-gtk/webkit-gtk/work/webkitgtk-2.0.4-x86_64/tmp-introspectcmj2TY/WebKit-1.0', '--introspect-dump=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_webkit-gtk/webkit-gtk/work/webkitgtk-2.0.4-x86_64/tmp-introspectcmj2TY/functions.txt,/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_webkit-gtk/webkit-gtk/work/webkitgtk-2.0.4-x86_64/tmp-introspectcmj2TY/dump.xml']' returned non-zero exit status -5 :info:build make[1]: *** [WebKit-1.0.gir] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_webkit-gtk/webkit-gtk/work/webkitgtk-2.0.4-x86_64' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_webkit-gtk/webkit-gtk/work/webkitgtk-2.0.4-x86_64' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_webkit-gtk/webkit-gtk/work/webkitgtk-2.0.4-x86_64" && /usr/bin/make -j9 -w all V=1 CC='/usr/bin/clang -arch x86_64' :info:build Exit code: 2 :error:build org.macports.build for port webkit-gtk returned: command execution failed :debug:build Error code: NONE :debug:build Backtrace: command execution failed while executing "$procedure $targetname" :info:build Warning: targets not executed for webkit-gtk: org.macports.install org.macports.build org.macports.destroot :notice:build Please see the log file for port webkit-gtk for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_webkit-gtk/webkit-gtk/main.log
comment:10 Changed 11 years ago by larryv (Lawrence Velázquez)
Replying to chief1983@…:
Ignoring the syntax errors then, the last 20 lines of my log indicate it had an issue with libjpeg.
The issue is not with libjpeg, it is with glibtool. This is detailed in #39598, which this ticket has already been closed as a duplicate of.
comment:11 Changed 11 years ago by chief1983@…
Yeah, my bad, realized that after posting the comment, already read through the other ticket and am watching it now.
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.