[MacPorts] #35328: w3m @0.5.3 build failure: func.c:200:24: error: use of undeclared identifier 'functable'
#35328: w3m @0.5.3 build failure: func.c:200:24: error: use of undeclared identifier 'functable' --------------------------------+------------------------------------------- Reporter: heineman@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: --------------------------------+------------------------------------------- Running "sudo port upgrade outdated" after new install of macports on Mountain Lion version:1 :msg:main ---> Computing dependencies for w3m:info:main .:debug:main w3m has no conflicts :debug:main Searching for dependency: boehmgc :debug:main Found Dependency: receipt exists for boehmgc :debug:main Searching for dependency: zlib :debug:main Found Dependency: receipt exists for zlib :debug:main Searching for dependency: openssl :debug:main Found Dependency: receipt exists for openssl :debug:main Searching for dependency: ncurses :debug:main Found Dependency: receipt exists for ncurses :debug:main Searching for dependency: gettext :debug:main Found Dependency: receipt exists for gettext :debug:main Searching for dependency: libiconv :debug:main Found Dependency: receipt exists for libiconv :msg:main :debug:main Executing org.macports.main (w3m) :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 504 :debug:main Skipping completed org.macports.archivefetch (w3m) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (w3m) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (w3m) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (w3m) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (w3m) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (w3m) :debug:main Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Thu Jul 26 16:38:28 CEST 2012 :notice:build ---> Building w3m :debug:build Executing org.macports.build (w3m) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/work/w3m-0.5.3" && /usr/bin/make -j2 -w all' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/work/w3m-0.5.3" && /usr/bin/make -j2 -w all :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/work/w3m-0.5.3' :info:build /usr/bin/clang -I. -I. -pipe -O2 -arch x86_64 -I./libwc -I/opt/local/include -I/opt/local/include -DHAVE_CONFIG_H -DAUXBIN_DIR=\"/opt/local/libexec/w3m\" -DCGIBIN_DIR=\"/opt/local/libexec/w3m/cgi-bin\" -DHELP_DIR=\"/opt/local/share/w3m\" -DETC_DIR=\"/opt/local/etc\" -DCONF_DIR=\"/opt/local/etc/w3m\" -DRC_DIR=\"~/.w3m\" -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -c -o func.o func.c :info:build /usr/bin/clang -I. -I. -pipe -O2 -arch x86_64 -I./libwc -I/opt/local/include -I/opt/local/include -DHAVE_CONFIG_H -DAUXBIN_DIR=\"/opt/local/libexec/w3m\" -DCGIBIN_DIR=\"/opt/local/libexec/w3m/cgi-bin\" -DHELP_DIR=\"/opt/local/share/w3m\" -DETC_DIR=\"/opt/local/etc\" -DCONF_DIR=\"/opt/local/etc/w3m\" -DRC_DIR=\"~/.w3m\" -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -c -o indep.o indep.c :info:build func.c:200:24: error: use of undeclared identifier 'functable' :info:build return getHash_si(&functable, id, -1); :info:build ^ :info:build 1 error generated. :info:build make: *** [func.o] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build indep.c:469:24: error: use of undeclared identifier 'entity' :info:build return getHash_si(&entity, q, -1); :info:build ^ :info:build 1 error generated. :info:build make: *** [indep.o] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/work/w3m-0.5.3' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/work/w3m-0.5.3" && /usr/bin/make -j2 -w all :info:build Exit code: 2 :error:build org.macports.build for port w3m returned: command execution failed :debug:build Error code: CHILDSTATUS 328 2 :debug:build 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" :info:build Warning: targets not executed for w3m: org.macports.install org.macports.build org.macports.destroot :notice:build Please see the log file for port w3m for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/main.log -- Ticket URL: <https://trac.macports.org/ticket/35328> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35328: w3m @0.5.3 build failure: func.c:200:24: error: use of undeclared identifier 'functable' --------------------------------+------------------------------------------- Reporter: heineman@… | Owner: mnick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: w3m --------------------------------+------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => mnick@… * port: => w3m Old description:
Running "sudo port upgrade outdated" after new install of macports on Mountain Lion
version:1 :msg:main ---> Computing dependencies for w3m:info:main .:debug:main w3m has no conflicts :debug:main Searching for dependency: boehmgc :debug:main Found Dependency: receipt exists for boehmgc :debug:main Searching for dependency: zlib :debug:main Found Dependency: receipt exists for zlib :debug:main Searching for dependency: openssl :debug:main Found Dependency: receipt exists for openssl :debug:main Searching for dependency: ncurses :debug:main Found Dependency: receipt exists for ncurses :debug:main Searching for dependency: gettext :debug:main Found Dependency: receipt exists for gettext :debug:main Searching for dependency: libiconv :debug:main Found Dependency: receipt exists for libiconv :msg:main :debug:main Executing org.macports.main (w3m) :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 504 :debug:main Skipping completed org.macports.archivefetch (w3m) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (w3m) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (w3m) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (w3m) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (w3m) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (w3m) :debug:main Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Thu Jul 26 16:38:28 CEST 2012 :notice:build ---> Building w3m :debug:build Executing org.macports.build (w3m) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/work/w3m-0.5.3" && /usr/bin/make -j2 -w all' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/work/w3m-0.5.3" && /usr/bin/make -j2 -w all :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/work/w3m-0.5.3' :info:build /usr/bin/clang -I. -I. -pipe -O2 -arch x86_64 -I./libwc -I/opt/local/include -I/opt/local/include -DHAVE_CONFIG_H -DAUXBIN_DIR=\"/opt/local/libexec/w3m\" -DCGIBIN_DIR=\"/opt/local/libexec/w3m/cgi-bin\" -DHELP_DIR=\"/opt/local/share/w3m\" -DETC_DIR=\"/opt/local/etc\" -DCONF_DIR=\"/opt/local/etc/w3m\" -DRC_DIR=\"~/.w3m\" -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -c -o func.o func.c :info:build /usr/bin/clang -I. -I. -pipe -O2 -arch x86_64 -I./libwc -I/opt/local/include -I/opt/local/include -DHAVE_CONFIG_H -DAUXBIN_DIR=\"/opt/local/libexec/w3m\" -DCGIBIN_DIR=\"/opt/local/libexec/w3m/cgi-bin\" -DHELP_DIR=\"/opt/local/share/w3m\" -DETC_DIR=\"/opt/local/etc\" -DCONF_DIR=\"/opt/local/etc/w3m\" -DRC_DIR=\"~/.w3m\" -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -c -o indep.o indep.c :info:build func.c:200:24: error: use of undeclared identifier 'functable' :info:build return getHash_si(&functable, id, -1); :info:build ^ :info:build 1 error generated. :info:build make: *** [func.o] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build indep.c:469:24: error: use of undeclared identifier 'entity' :info:build return getHash_si(&entity, q, -1); :info:build ^ :info:build 1 error generated. :info:build make: *** [indep.o] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/work/w3m-0.5.3' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/work/w3m-0.5.3" && /usr/bin/make -j2 -w all :info:build Exit code: 2 :error:build org.macports.build for port w3m returned: command execution failed :debug:build Error code: CHILDSTATUS 328 2 :debug:build 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" :info:build Warning: targets not executed for w3m: org.macports.install org.macports.build org.macports.destroot :notice:build Please see the log file for port w3m for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/main.log
New description: Running "sudo port upgrade outdated" after new install of macports on Mountain Lion {{{ version:1 :msg:main ---> Computing dependencies for w3m:info:main .:debug:main w3m has no conflicts :debug:main Searching for dependency: boehmgc :debug:main Found Dependency: receipt exists for boehmgc :debug:main Searching for dependency: zlib :debug:main Found Dependency: receipt exists for zlib :debug:main Searching for dependency: openssl :debug:main Found Dependency: receipt exists for openssl :debug:main Searching for dependency: ncurses :debug:main Found Dependency: receipt exists for ncurses :debug:main Searching for dependency: gettext :debug:main Found Dependency: receipt exists for gettext :debug:main Searching for dependency: libiconv :debug:main Found Dependency: receipt exists for libiconv :msg:main :debug:main Executing org.macports.main (w3m) :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 504 :debug:main Skipping completed org.macports.archivefetch (w3m) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (w3m) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (w3m) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (w3m) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (w3m) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (w3m) :debug:main Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Thu Jul 26 16:38:28 CEST 2012 :notice:build ---> Building w3m :debug:build Executing org.macports.build (w3m) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/work/w3m-0.5.3" && /usr/bin/make -j2 -w all' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/work/w3m-0.5.3" && /usr/bin/make -j2 -w all :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/work/w3m-0.5.3' :info:build /usr/bin/clang -I. -I. -pipe -O2 -arch x86_64 -I./libwc -I/opt/local/include -I/opt/local/include -DHAVE_CONFIG_H -DAUXBIN_DIR=\"/opt/local/libexec/w3m\" -DCGIBIN_DIR=\"/opt/local/libexec/w3m/cgi-bin\" -DHELP_DIR=\"/opt/local/share/w3m\" -DETC_DIR=\"/opt/local/etc\" -DCONF_DIR=\"/opt/local/etc/w3m\" -DRC_DIR=\"~/.w3m\" -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -c -o func.o func.c :info:build /usr/bin/clang -I. -I. -pipe -O2 -arch x86_64 -I./libwc -I/opt/local/include -I/opt/local/include -DHAVE_CONFIG_H -DAUXBIN_DIR=\"/opt/local/libexec/w3m\" -DCGIBIN_DIR=\"/opt/local/libexec/w3m/cgi-bin\" -DHELP_DIR=\"/opt/local/share/w3m\" -DETC_DIR=\"/opt/local/etc\" -DCONF_DIR=\"/opt/local/etc/w3m\" -DRC_DIR=\"~/.w3m\" -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -c -o indep.o indep.c :info:build func.c:200:24: error: use of undeclared identifier 'functable' :info:build return getHash_si(&functable, id, -1); :info:build ^ :info:build 1 error generated. :info:build make: *** [func.o] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build indep.c:469:24: error: use of undeclared identifier 'entity' :info:build return getHash_si(&entity, q, -1); :info:build ^ :info:build 1 error generated. :info:build make: *** [indep.o] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/work/w3m-0.5.3' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/work/w3m-0.5.3" && /usr/bin/make -j2 -w all :info:build Exit code: 2 :error:build org.macports.build for port w3m returned: command execution failed :debug:build Error code: CHILDSTATUS 328 2 :debug:build 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" :info:build Warning: targets not executed for w3m: org.macports.install org.macports.build org.macports.destroot :notice:build Please see the log file for port w3m for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_w3m/w3m/main.log }}} -- Comment: Please remember to use WikiFormatting when writing in Trac. Attaching long logs is better than pasting them. We cannot rely on the output of the log you attached since it was not from a clean build attempt, as evidenced by the lines that say "Skipping completed". Please "sudo port clean w3m" and try again, and attach the new main.log if it fails again. -- Ticket URL: <https://trac.macports.org/ticket/35328#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35328: w3m @0.5.3 build failure: func.c:200:24: error: use of undeclared identifier 'functable' --------------------------------+------------------------------------------- Reporter: heineman@… | Owner: mnick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: w3m --------------------------------+------------------------------------------- Comment(by whcordis@…): Replying to [comment:1 ryandesign@…]:
Please remember to use WikiFormatting when writing in Trac. Attaching long logs is better than pasting them.
We cannot rely on the output of the log you attached since it was not from a clean build attempt, as evidenced by the lines that say "Skipping completed". Please "sudo port clean w3m" and try again, and attach the new main.log if it fails again.
Attached a clean build log as I'm seeing the same issue. -- Ticket URL: <https://trac.macports.org/ticket/35328#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35328: w3m @0.5.3 build failure: func.c:200:24: error: use of undeclared identifier 'functable' --------------------------------+------------------------------------------- Reporter: heineman@… | Owner: mnick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: w3m --------------------------------+------------------------------------------- Comment(by thomas.mccullough@…): This may be related to Ticket #35080. This port failed like the above when I tried installing gimp2 under Mountain Lion.[[BR]] I cleaned the failed port and tried installing just w3m. It now fails every time with the error given in Ticket #35080.[[BR]] Note that logs for both tickets share the line:[[BR]] {{{:info:build sed: RE error: illegal byte sequence}}} [[BR]][[BR]] The sed issue is attributed as the cause in Ticket #35080,[[BR]] where ryandesign@macports.org refers to [https://trac.macports.org/changeset/95011 r95011] for a similar type fix. -- Ticket URL: <https://trac.macports.org/ticket/35328#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35328: w3m @0.5.3 build failure: func.c:200:24: error: use of undeclared identifier 'functable' --------------------------------+------------------------------------------- Reporter: heineman@… | Owner: mnick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: w3m --------------------------------+------------------------------------------- Comment(by heineman@…): "sudo port clean w3m" did not help -- Ticket URL: <https://trac.macports.org/ticket/35328#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35328: w3m @0.5.3 build failure: func.c:200:24: error: use of undeclared identifier 'functable' --------------------------------+------------------------------------------- Reporter: heineman@… | Owner: mnick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: w3m --------------------------------+------------------------------------------- Comment(by elventear@…): I think this error might be related to #35378. The mktable utility, which creates a the functable.c file, segfaults. This utility seems to crashing due to problems with boehmgc. -- Ticket URL: <https://trac.macports.org/ticket/35328#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35328: w3m @0.5.3 build failure: func.c:200:24: error: use of undeclared identifier 'functable' -------------------------+-------------------------- Reporter: heineman@… | Owner: mnick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: w3m | -------------------------+-------------------------- Changes (by jmr@…): * keywords: => mountainlion -- Ticket URL: <https://trac.macports.org/ticket/35328#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35328: w3m @0.5.3 build failure: func.c:200:24: error: use of undeclared identifier 'functable' -------------------------+-------------------------- Reporter: heineman@… | Owner: mnick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: w3m | -------------------------+-------------------------- Comment (by jmr@…): Can someone attach the crash log for mktable? -- Ticket URL: <https://trac.macports.org/ticket/35328#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35328: w3m @0.5.3 build failure: func.c:200:24: error: use of undeclared identifier 'functable' -------------------------+-------------------------- Reporter: heineman@… | Owner: mnick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: w3m | -------------------------+-------------------------- Comment (by jmr@…): Also try the attached patch. -- Ticket URL: <https://trac.macports.org/ticket/35328#comment:20> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35328: w3m @0.5.3 build failure: func.c:200:24: error: use of undeclared identifier 'functable' -------------------------+-------------------------------- Reporter: heineman@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: w3m | -------------------------+-------------------------------- Changes (by macsforever2000@…): * owner: mnick@… => macports-tickets@… Comment: mnick has retired. -- Ticket URL: <https://trac.macports.org/ticket/35328#comment:22> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts