[MacPorts] #35328: w3m @0.5.3 build failure: func.c:200:24: error: use of undeclared identifier 'functable'
MacPorts
noreply at macports.org
Thu Jul 26 09:33:02 PDT 2012
#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
More information about the macports-tickets
mailing list