[MacPorts] #39885: webkit-gtk 2.0.4 fails to build under macports 2.2.0 on Lion
#39885: webkit-gtk 2.0.4 fails to build under macports 2.2.0 on Lion ---------------------------+-------------------------------- Reporter: andrew.long@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: build | Port: webkit-gtk 2.0.4 ---------------------------+-------------------------------- 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:- 1. sudo port selfupdate 2. sudo port upgrade outdated - fails in webkit-gtk 3. sudo port uninstall installed 4. sudo port clean all 5. make default copies of macpots.conf & variants.conf (previous variants.conf had +universal & +bash-completion) 6. sudo port install <some basic ports> 7. sudo port install xchat-gnome - fails as described above Regards, Andy -- Ticket URL: <https://trac.macports.org/ticket/39885> MacPorts <http://www.macports.org/> Ports system for OS X
#39885: webkit-gtk 2.0.4 fails to build under macports 2.2.0 on Lion -------------------------------+-------------------------------- Reporter: andrew.long@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: build Port: webkit-gtk 2.0.4 | -------------------------------+-------------------------------- Old description:
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:-
1. sudo port selfupdate 2. sudo port upgrade outdated - fails in webkit-gtk 3. sudo port uninstall installed 4. sudo port clean all 5. make default copies of macpots.conf & variants.conf (previous variants.conf had +universal & +bash-completion) 6. sudo port install <some basic ports> 7. sudo port install xchat-gnome - fails as described above
Regards, Andy
New description: 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:- 1. sudo port selfupdate 2. sudo port upgrade outdated - fails in webkit-gtk 3. sudo port uninstall installed 4. sudo port clean all 5. make default copies of macpots.conf & variants.conf (previous variants.conf had +universal & +bash-completion) 6. sudo port install <some basic ports> 7. sudo port install xchat-gnome - fails as described above Regards, Andy -- Comment (by cal@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/39885#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39885: webkit-gtk 2.0.4 fails to build under macports 2.2.0 on Lion ----------------------------+-------------------------------- Reporter: andrew.long@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: webkit-gtk | ----------------------------+-------------------------------- Changes (by cal@…): * keywords: build => * port: webkit-gtk 2.0.4 => webkit-gtk -- Ticket URL: <https://trac.macports.org/ticket/39885#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39885: webkit-gtk 2.0.4 fails to build under macports 2.2.0 on Lion ----------------------------+-------------------------------- Reporter: andrew.long@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: webkit-gtk | ----------------------------+-------------------------------- Comment (by andrew.long@…): log is attached. -- Ticket URL: <https://trac.macports.org/ticket/39885#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39885: webkit-gtk 2.0.4 fails to build under macports 2.2.0 on Lion ----------------------------+-------------------------------- Reporter: andrew.long@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: webkit-gtk | ----------------------------+-------------------------------- Comment (by cal@…): Wow, downloading > 40M from trac would take multiple hours. Can you gzip the file instead? -- Ticket URL: <https://trac.macports.org/ticket/39885#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#39885: webkit-gtk 2.0.4 fails to build under macports 2.2.0 on Lion ----------------------------+-------------------------------- Reporter: andrew.long@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: webkit-gtk | ----------------------------+-------------------------------- Comment (by larryv@…): Compressed log attached. -- Ticket URL: <https://trac.macports.org/ticket/39885#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#39885: webkit-gtk 2.0.4 fails to build under macports 2.2.0 on Lion ----------------------------+-------------------------------- Reporter: andrew.long@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: duplicate | Keywords: Port: webkit-gtk | ----------------------------+-------------------------------- Changes (by cal@…): * status: new => closed * resolution: => duplicate Comment: Different error, but same problem as in #39598. -- Ticket URL: <https://trac.macports.org/ticket/39885#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#39885: webkit-gtk 2.0.4 fails to build under macports 2.2.0 on Lion ----------------------------+-------------------------------- Reporter: andrew.long@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: duplicate | Keywords: Port: webkit-gtk | ----------------------------+-------------------------------- Comment (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 }}} -- Ticket URL: <https://trac.macports.org/ticket/39885#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#39885: webkit-gtk 2.0.4 fails to build under macports 2.2.0 on Lion ----------------------------+-------------------------------- Reporter: andrew.long@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: duplicate | Keywords: Port: webkit-gtk | ----------------------------+-------------------------------- Comment (by larryv@…): Replying to [comment:9 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. -- Ticket URL: <https://trac.macports.org/ticket/39885#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#39885: webkit-gtk 2.0.4 fails to build under macports 2.2.0 on Lion ----------------------------+-------------------------------- Reporter: andrew.long@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: duplicate | Keywords: Port: webkit-gtk | ----------------------------+-------------------------------- Comment (by chief1983@…): Yeah, my bad, realized that after posting the comment, already read through the other ticket and am watching it now. -- Ticket URL: <https://trac.macports.org/ticket/39885#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts