#33967 closed defect (wontfix)
thunderbird-x11 fails on MacOS 10.7 Lion: now.o compiled for i386
Reported by: | robert.p.fischer-1@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | cooljeanius (Eric Gallager) | |
Port: | thunderbird-x11 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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
Change History (3)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:2 Changed 11 years ago by neverpanic (Clemens Lang)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.