[MacPorts] #39885: webkit-gtk 2.0.4 fails to build under macports 2.2.0 on Lion

MacPorts noreply at macports.org
Sun Jul 28 09:02:25 PDT 2013


#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


More information about the macports-tickets mailing list