#39926: webkit-gtk 2.0.4 upgrade error: excess elements in struct initializer -------------------------+------------------------ Reporter: deesto@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: webkit-gtk | -------------------------+------------------------ Changes (by macsforever2000@…): * cc: devans@… (added) * owner: macports-tickets@… => jeremyhu@… Old description:
I'm told this error is unique from the others being posted currently. See: https://trac.macports.org/ticket/39598#comment:75 https://trac.macports.org/ticket/39598#comment:77
{{{ 2 warnings generated. Source/WTF/wtf/FastMalloc.cpp:4927:7: error: excess elements in struct initializer , 0, 0, 0, 0 // These members will not be used unless the zone advertises itself as version seven or higher. ^ 2 warnings and 1 error generated. make: *** [Source/WTF/wtf/libWTF_la-FastMalloc.lo] Error 1 make: *** Waiting for unfinished jobs.... In file included from Source/WTF/wtf/GregorianDateTime.cpp:25: In file included from ./Source/WTF/config.h:30: In file included from ./Source/WTF/wtf/Platform.h:338: /opt/local/include/AvailabilityMacros.h:108:14: warning: '__i386__' is not defined, evaluates to 0 [-Wundef] #if (__i386__ || __x86_64__) && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < MAC_OS_X_VERSION_10_4) ^ /opt/local/include/AvailabilityMacros.h:110:15: warning: '__ppc64__' is not defined, evaluates to 0 [-Wundef] #elif __ppc64__ && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < MAC_OS_X_VERSION_10_4) ^ mv -f Source/WTF/wtf/.deps/libWTF_la-DateMath.Tpo Source/WTF/wtf/.deps /libWTF_la-DateMath.Plo 2 warnings generated. mv -f Source/WTF/wtf/.deps/libWTF_la-GregorianDateTime.Tpo Source/WTF/wtf/.deps/libWTF_la-GregorianDateTime.Plo offlineasm: offset extractor DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h successfully generated. make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports .org_trunk_dports_www_webkit-gtk/webkit-gtk/work/webkitgtk-2.0.4' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports .org_trunk_dports_www_webkit-gtk/webkit-gtk/work/webkitgtk-2.0.4" && /usr/bin/make -j4 -w all CC="/usr/bin/gcc-4.2 -arch x86_64" V=1 Exit code: 2 Error: org.macports.build for port webkit-gtk returned: command execution failed DEBUG: Error code: CHILDSTATUS 26729 2 DEBUG: Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" Warning: targets not executed for webkit-gtk: org.macports.install org.macports.build org.macports.destroot
}}}
Also wondering why google-test is suddenly a requirement for some ports, and others won't build while it's active?
Thanks.
New description: I'm told this error is unique from the others being posted currently. See: ticket:39598#comment:75 ticket:39598#comment:77 {{{ 2 warnings generated. Source/WTF/wtf/FastMalloc.cpp:4927:7: error: excess elements in struct initializer , 0, 0, 0, 0 // These members will not be used unless the zone advertises itself as version seven or higher. ^ 2 warnings and 1 error generated. make: *** [Source/WTF/wtf/libWTF_la-FastMalloc.lo] Error 1 make: *** Waiting for unfinished jobs.... In file included from Source/WTF/wtf/GregorianDateTime.cpp:25: In file included from ./Source/WTF/config.h:30: In file included from ./Source/WTF/wtf/Platform.h:338: /opt/local/include/AvailabilityMacros.h:108:14: warning: '__i386__' is not defined, evaluates to 0 [-Wundef] #if (__i386__ || __x86_64__) && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < MAC_OS_X_VERSION_10_4) ^ /opt/local/include/AvailabilityMacros.h:110:15: warning: '__ppc64__' is not defined, evaluates to 0 [-Wundef] #elif __ppc64__ && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < MAC_OS_X_VERSION_10_4) ^ mv -f Source/WTF/wtf/.deps/libWTF_la-DateMath.Tpo Source/WTF/wtf/.deps /libWTF_la-DateMath.Plo 2 warnings generated. mv -f Source/WTF/wtf/.deps/libWTF_la-GregorianDateTime.Tpo Source/WTF/wtf/.deps/libWTF_la-GregorianDateTime.Plo offlineasm: offset extractor DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h successfully generated. make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports .org_trunk_dports_www_webkit-gtk/webkit-gtk/work/webkitgtk-2.0.4' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports .org_trunk_dports_www_webkit-gtk/webkit-gtk/work/webkitgtk-2.0.4" && /usr/bin/make -j4 -w all CC="/usr/bin/gcc-4.2 -arch x86_64" V=1 Exit code: 2 Error: org.macports.build for port webkit-gtk returned: command execution failed DEBUG: Error code: CHILDSTATUS 26729 2 DEBUG: Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" Warning: targets not executed for webkit-gtk: org.macports.install org.macports.build org.macports.destroot }}} Also wondering why google-test is suddenly a requirement for some ports, and others won't build while it's active? Thanks. -- Comment: In the future, please Cc the port maintainer(s). -- Ticket URL: <https://trac.macports.org/ticket/39926#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X