Opened 12 years ago
Closed 7 years ago
#35328 closed defect (fixed)
w3m @0.5.3 build failure: func.c:200:24: error: use of undeclared identifier 'functable'
Reported by: | heineman@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | mountainlion | Cc: | whcordis@…, alex@…, domiman@…, nuclearbandaid@…, wilane@…, lawrence.ong@…, AP1010, rwc@…, jowens@…, tirath@…, razzfazz (Daniel Becker), devin.plompier@…, cooljeanius (Eric Gallager) |
Port: | w3m |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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
Attachments (2)
Change History (25)
comment:1 follow-up: 2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to mnick@… |
Port: | w3m added |
comment:2 Changed 12 years ago by whcordis@…
Replying to 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.
comment:5 Changed 12 years ago by tommccullough-tenica
This may be related to Ticket #35080. This port failed like the above when I tried installing gimp2 under Mountain Lion.
I cleaned the failed port and tried installing just w3m. It now fails every time with the error given in Ticket #35080.
Note that logs for both tickets share the line:
:info:build sed: RE error: illegal byte sequence
The sed issue is attributed as the cause in Ticket #35080,
where ryandesign@… refers to r95011 for a similar type fix.
comment:16 Changed 12 years ago by elventear (Pepe Barbe)
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.
comment:18 Changed 12 years ago by jmroot (Joshua Root)
Keywords: | mountainlion added |
---|
comment:19 Changed 12 years ago by jmroot (Joshua Root)
Can someone attach the crash log for mktable?
Changed 12 years ago by jmroot (Joshua Root)
Attachment: | LC_CTYPE.diff added |
---|
comment:22 Changed 11 years ago by mf2k (Frank Schima)
Owner: | changed from mnick@… to macports-tickets@… |
---|
mnick has retired.
comment:23 Changed 7 years ago by l2dy (Zero King)
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.