[MacPorts] #33967: thunderbird-x11 fails on MacOS 10.7 Lion: now.o compiled for i386
MacPorts
noreply at macports.org
Mon Apr 9 21:21:12 PDT 2012
#33967: thunderbird-x11 fails on MacOS 10.7 Lion: now.o compiled for i386
-----------------------------------------+----------------------------------
Reporter: robert.p.fischer-1@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: thunderbird-x11
-----------------------------------------+----------------------------------
Old description:
> thunderbird-x11 fails to compile. I just did a "sudo port -d sync".
>
> Relevant log is below. For some reason, it seems to be compiling now.o
> for 32-bit instead of 64-bit.
>
> -- Bob
>
> :info:build gmake[3]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.mac
> ports.org_trunk_dports_mail_thunderbird-x11/thunderbird-x11/work/mozilla/directory/c-sdk/config'
> :info:build /Developer/usr/bin/llvm-gcc-4.2 now.o -o now
> :info:build ld: warning: ignoring file now.o, file was built for i386
> which is not the architecture being linked (x86_64)
> :info:build Undefined symbols for architecture x86_64:
> :info:build "_main", referenced from:
> :info:build start in crt1.10.6.o
> :info:build ld: symbol(s) not found for architecture x86_64
> :info:build collect2: ld returned 1 exit status
New description:
thunderbird-x11 fails to compile. I just did a "`sudo port -d sync`".
Relevant log is below. For some reason, it seems to be compiling now.o
for 32-bit instead of 64-bit.
-- Bob
{{{
:info:build gmake[3]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.mac
ports.org_trunk_dports_mail_thunderbird-x11/thunderbird-x11/work/mozilla/directory/c-sdk/config'
:info:build /Developer/usr/bin/llvm-gcc-4.2 now.o -o now
:info:build ld: warning: ignoring file now.o, file was built for i386
which is not the architecture being linked (x86_64)
:info:build Undefined symbols for architecture x86_64:
:info:build "_main", referenced from:
:info:build start in crt1.10.6.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build collect2: ld returned 1 exit status
}}}
--
Comment(by ryandesign@…):
Yes, the intention is that thunderbird-x11 be compiled 32-bit; that's the
purpose of the line "supported_archs i386 ppc" in the portfile. The
surprising part, and the reason the build fails, is that when trying to
create "now" from "now.o", it's forgetting to use the -arch flags that
were used in every previous step, thus it's trying to make "now" 64-bit,
which of course won't work because "now.o" is 32-bit as it should be.
Unfortunately this port has no maintainer so someone will have to
volunteer to figure out what's wrong and submit a patch.
--
Ticket URL: <https://trac.macports.org/ticket/33967#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list