[MacPorts] #24184: Spidermonkey build failure (undefined symbols) on 32-bit OS X 10.6
MacPorts
noreply at macports.org
Wed Mar 24 08:29:46 PDT 2010
#24184: Spidermonkey build failure (undefined symbols) on 32-bit OS X 10.6
------------------------------------+---------------------------------------
Reporter: breaker.dave@… | Owner: akitada@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: spidermonkey
------------------------------------+---------------------------------------
Changes (by jmr@…):
* owner: macports-tickets@… => akitada@…
* keywords: spidernonkey javascript =>
* port: 1.7.0 => spidermonkey
Old description:
> The spidermonkey port on 32bit OS X 10.6/32bit firmware fails.
>
> macports.conf settings are:
>
> build_arch i386
>
> # machine architectures
> universal_archs i386
>
>
> The following ports are currently installed:
> apache2 @2.2.14_1+darwin+preforkmpm (active)
> apr @1.3.12_1 (active)
> apr-util @1.3.9_2 (active)
> bzip2 @1.0.5_3+darwin (active)
> db46 @4.6.21_6 (active)
> expat @2.0.1_0 (active)
> gperf @3.0.4_0 (active)
> icu @4.3.4_0 (active)
> libiconv @1.13.1_0 (active)
> ncurses @5.7_0+darwin_10 (active)
> ncursesw @5.7_0+darwin_10 (active)
> openssl @0.9.8m_0+darwin (active)
> pcre @7.9_0 (active)
> readline @6.1.000_1+darwin (active)
> sqlite3 @3.6.23_0 (active)
> xercesc @2.8.0_2+darwin (active)
> zlib @1.2.4_1 (active)
>
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/spidermonkey
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/spidermonkey
> DEBUG: OS Platform: darwin
> DEBUG: OS Version: 10.2.0
> DEBUG: Mac OS X Version: 10.6
> DEBUG: System Arch: i386
> DEBUG: setting option os.universal_supported to yes
> DEBUG: org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.unload registered provides 'unload', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
> existing procedure. Target override will not be provided
> DEBUG: Using group file
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
> DEBUG: Reading variant descriptions from
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
> DEBUG: universal variant already exists, so not adding the default one
> DEBUG: Requested variant darwin is not provided by port spidermonkey.
> DEBUG: Requested variant i386 is not provided by port spidermonkey.
> DEBUG: Requested variant macosx is not provided by port spidermonkey.
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline
> DEBUG: epoch: in tree: 0 installed: 0
> DEBUG: readline 6.1.000_1 exists in the ports tree
> DEBUG: readline 6.1.000_1 +darwin is the latest installed
> DEBUG: readline 6.1.000_1 +darwin is active
> DEBUG: Merging existing variants darwin into variants
> DEBUG: new fully merged portvariants:
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline
> DEBUG: OS Platform: darwin
> DEBUG: OS Version: 10.2.0
> DEBUG: Mac OS X Version: 10.6
> DEBUG: System Arch: i386
> DEBUG: setting option os.universal_supported to yes
> DEBUG: org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.unload registered provides 'unload', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
> existing procedure. Target override will not be provided
> DEBUG: Using group file
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
> DEBUG: Reading variant descriptions from
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
> DEBUG: universal variant already exists, so not adding the default one
> DEBUG: Requested variant i386 is not provided by port readline.
> DEBUG: Requested variant macosx is not provided by port readline.
> DEBUG: Executing variant darwin provides darwin
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
> DEBUG: epoch: in tree: 0 installed: 0
> DEBUG: ncurses 5.7_0 exists in the ports tree
> DEBUG: ncurses 5.7_0 +darwin_10 is the latest installed
> DEBUG: ncurses 5.7_0 +darwin_10 is active
> DEBUG: Merging existing variants darwin_10 into variants
> DEBUG: new fully merged portvariants:
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
> DEBUG: OS Platform: darwin
> DEBUG: OS Version: 10.2.0
> DEBUG: Mac OS X Version: 10.6
> DEBUG: System Arch: i386
> DEBUG: setting option os.universal_supported to yes
> DEBUG: org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.unload registered provides 'unload', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
> existing procedure. Target override will not be provided
> DEBUG: Using group file
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
> DEBUG: Reading variant descriptions from
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
> DEBUG: universal variant already exists, so not adding the default one
> DEBUG: Requested variant darwin is not provided by port ncurses.
> DEBUG: Requested variant i386 is not provided by port ncurses.
> DEBUG: Requested variant macosx is not provided by port ncurses.
> DEBUG: Executing variant darwin_10 provides darwin_10
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
> DEBUG: epoch: in tree: 0 installed: 0
> DEBUG: ncursesw 5.7_0 exists in the ports tree
> DEBUG: ncursesw 5.7_0 +darwin_10 is the latest installed
> DEBUG: ncursesw 5.7_0 +darwin_10 is active
> DEBUG: Merging existing variants darwin_10 into variants
> DEBUG: new fully merged portvariants:
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
> DEBUG: OS Platform: darwin
> DEBUG: OS Version: 10.2.0
> DEBUG: Mac OS X Version: 10.6
> DEBUG: System Arch: i386
> DEBUG: setting option os.universal_supported to yes
> DEBUG: org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.unload registered provides 'unload', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
> existing procedure. Target override will not be provided
> DEBUG: Using group file
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
> DEBUG: Reading variant descriptions from
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
> DEBUG: universal variant already exists, so not adding the default one
> DEBUG: Requested variant darwin is not provided by port ncursesw.
> DEBUG: Requested variant i386 is not provided by port ncursesw.
> DEBUG: Requested variant macosx is not provided by port ncursesw.
> DEBUG: Executing variant darwin_10 provides darwin_10
> DEBUG: No need to upgrade! ncursesw 5.7_0 >= ncursesw 5.7_0
> DEBUG: No need to upgrade! ncurses 5.7_0 >= ncurses 5.7_0
> DEBUG: No need to upgrade! readline 6.1.000_1 >= readline 6.1.000_1
> ---> Computing dependencies for spidermonkey
> DEBUG: Searching for dependency: nspr
> DEBUG: Didn't find receipt, going to depspec regex for: nspr
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/nspr
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/nspr
> DEBUG: OS Platform: darwin
> DEBUG: OS Version: 10.2.0
> DEBUG: Mac OS X Version: 10.6
> DEBUG: System Arch: i386
> DEBUG: setting option os.universal_supported to yes
> DEBUG: org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.unload registered provides 'unload', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
> existing procedure. Target override will not be provided
> DEBUG: Using group file
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
> DEBUG: Reading variant descriptions from
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
> DEBUG: universal variant already exists, so not adding the default one
> DEBUG: Requested variant darwin is not provided by port nspr.
> DEBUG: Requested variant i386 is not provided by port nspr.
> DEBUG: Requested variant macosx is not provided by port nspr.
> DEBUG: Searching for dependency: readline
> DEBUG: Found Dependency: receipt exists for readline
> DEBUG: Executing org.macports.main (nspr)
> DEBUG: Skipping completed org.macports.fetch (nspr)
> DEBUG: Skipping completed org.macports.checksum (nspr)
> DEBUG: Skipping completed org.macports.extract (nspr)
> DEBUG: Skipping completed org.macports.patch (nspr)
> DEBUG: Skipping completed org.macports.configure (nspr)
> ---> Building nspr
> DEBUG: Executing org.macports.build (nspr)
> DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
> DEBUG: Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_nspr/work/nspr-4.8.3/mozilla/nsprpub"
> && /usr/bin/make -j3 all'
> /usr/bin/make -j1 -C config export
> make[1]: warning: -jN forced in submake: disabling jobserver mode.
> /usr/bin/gcc-4.2 now.o -L/opt/local/lib -o now
> ld: warning: in now.o, file is not of required architecture
> Undefined symbols:
> "_main", referenced from:
> start in crt1.10.6.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[1]: *** [now] Error 1
> make: *** [export] Error 2
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_nspr/work/nspr-4.8.3/mozilla/nsprpub"
> && /usr/bin/make -j3 all " returned error 2
> DEBUG: Backtrace: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_nspr/work/nspr-4.8.3/mozilla/nsprpub"
> && /usr/bin/make -j3 all " returned error 2
> while executing
> "command_exec build"
> (procedure "portbuild::build_main" line 9)
> invoked from within
> "$procedure $targetname"
> Warning: the following items did not execute (for nspr):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> Error: The following dependencies failed to build: nspr
> Error: Status 1 encountered during processing.
New description:
The spidermonkey port on 32bit OS X 10.6/32bit firmware fails.
macports.conf settings are:
{{{
build_arch i386
# machine architectures
universal_archs i386
}}}
{{{
The following ports are currently installed:
apache2 @2.2.14_1+darwin+preforkmpm (active)
apr @1.3.12_1 (active)
apr-util @1.3.9_2 (active)
bzip2 @1.0.5_3+darwin (active)
db46 @4.6.21_6 (active)
expat @2.0.1_0 (active)
gperf @3.0.4_0 (active)
icu @4.3.4_0 (active)
libiconv @1.13.1_0 (active)
ncurses @5.7_0+darwin_10 (active)
ncursesw @5.7_0+darwin_10 (active)
openssl @0.9.8m_0+darwin (active)
pcre @7.9_0 (active)
readline @6.1.000_1+darwin (active)
sqlite3 @3.6.23_0 (active)
xercesc @2.8.0_2+darwin (active)
zlib @1.2.4_1 (active)
}}}
{{{
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/spidermonkey
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/spidermonkey
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
DEBUG: Using group file
/opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from
/opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port spidermonkey.
DEBUG: Requested variant i386 is not provided by port spidermonkey.
DEBUG: Requested variant macosx is not provided by port spidermonkey.
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: readline 6.1.000_1 exists in the ports tree
DEBUG: readline 6.1.000_1 +darwin is the latest installed
DEBUG: readline 6.1.000_1 +darwin is active
DEBUG: Merging existing variants darwin into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
DEBUG: Using group file
/opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from
/opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant i386 is not provided by port readline.
DEBUG: Requested variant macosx is not provided by port readline.
DEBUG: Executing variant darwin provides darwin
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: ncurses 5.7_0 exists in the ports tree
DEBUG: ncurses 5.7_0 +darwin_10 is the latest installed
DEBUG: ncurses 5.7_0 +darwin_10 is active
DEBUG: Merging existing variants darwin_10 into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
DEBUG: Using group file
/opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from
/opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port ncurses.
DEBUG: Requested variant i386 is not provided by port ncurses.
DEBUG: Requested variant macosx is not provided by port ncurses.
DEBUG: Executing variant darwin_10 provides darwin_10
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: ncursesw 5.7_0 exists in the ports tree
DEBUG: ncursesw 5.7_0 +darwin_10 is the latest installed
DEBUG: ncursesw 5.7_0 +darwin_10 is active
DEBUG: Merging existing variants darwin_10 into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
DEBUG: Using group file
/opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from
/opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port ncursesw.
DEBUG: Requested variant i386 is not provided by port ncursesw.
DEBUG: Requested variant macosx is not provided by port ncursesw.
DEBUG: Executing variant darwin_10 provides darwin_10
DEBUG: No need to upgrade! ncursesw 5.7_0 >= ncursesw 5.7_0
DEBUG: No need to upgrade! ncurses 5.7_0 >= ncurses 5.7_0
DEBUG: No need to upgrade! readline 6.1.000_1 >= readline 6.1.000_1
---> Computing dependencies for spidermonkey
DEBUG: Searching for dependency: nspr
DEBUG: Didn't find receipt, going to depspec regex for: nspr
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/nspr
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/nspr
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
DEBUG: Using group file
/opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from
/opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port nspr.
DEBUG: Requested variant i386 is not provided by port nspr.
DEBUG: Requested variant macosx is not provided by port nspr.
DEBUG: Searching for dependency: readline
DEBUG: Found Dependency: receipt exists for readline
DEBUG: Executing org.macports.main (nspr)
DEBUG: Skipping completed org.macports.fetch (nspr)
DEBUG: Skipping completed org.macports.checksum (nspr)
DEBUG: Skipping completed org.macports.extract (nspr)
DEBUG: Skipping completed org.macports.patch (nspr)
DEBUG: Skipping completed org.macports.configure (nspr)
---> Building nspr
DEBUG: Executing org.macports.build (nspr)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_nspr/work/nspr-4.8.3/mozilla/nsprpub"
&& /usr/bin/make -j3 all'
/usr/bin/make -j1 -C config export
make[1]: warning: -jN forced in submake: disabling jobserver mode.
/usr/bin/gcc-4.2 now.o -L/opt/local/lib -o now
ld: warning: in now.o, file is not of required architecture
Undefined symbols:
"_main", referenced from:
start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [now] Error 1
make: *** [export] Error 2
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_nspr/work/nspr-4.8.3/mozilla/nsprpub"
&& /usr/bin/make -j3 all " returned error 2
DEBUG: Backtrace: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_nspr/work/nspr-4.8.3/mozilla/nsprpub"
&& /usr/bin/make -j3 all " returned error 2
while executing
"command_exec build"
(procedure "portbuild::build_main" line 9)
invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for nspr):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: The following dependencies failed to build: nspr
Error: Status 1 encountered during processing.
}}}
--
Comment:
Please remember to preview and use WikiFormatting, and cc the maintainer.
Please show the output of `sysctl hw.cpu64bit_capable`. BTW, although it
likely has nothing to do with this problem, setting universal_archs to a
single arch makes no sense.
--
Ticket URL: <http://trac.macports.org/ticket/24184#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list