[MacPorts] #20992: qt4-mac +universal fails due to -arch problems

MacPorts noreply at macports.org
Tue Nov 24 15:36:42 PST 2009


#20992: qt4-mac +universal fails due to -arch problems
---------------------------------+------------------------------------------
 Reporter:  jochen@…             |       Owner:  erickt@…           
     Type:  defect               |      Status:  new                
 Priority:  Normal               |   Milestone:                     
Component:  ports                |     Version:  1.8.0              
 Keywords:  Qt universal -arch   |        Port:  qt4-mac            
---------------------------------+------------------------------------------

Comment(by smgava@…):

 Replying to [comment:13 macsforever2000@…]:
 > Replying to [comment:11 smgava@…]:
 > > ok, then do you mean that qt4-mac will build ok not universal? i have
 an x86_64 mac and would very much like to get this package built, how then
 can i tell macports to build for that arch only? macports builds universal
 by default...

 hmm, seems like its actually building for 1386 and x86_64... (details
 below) ??

 >
 > Yes, qt4-mac builds just fine on Snow Leopard on 64-bit Intel Macs.
 There have been some problems building it, see also #20199 but that is not
 the problem you are seeing. Macports does not, however, build universal by
 default. Can you post the output of {{{port installed}}}?

 i attached it as a file.

 >
 > You probably changed something in your macports.conf file to make
 universal the default. What does your "build_arch" line look like? If you
 are running from svn trunk (1.8.99), I recommend you delete or move aside
 your macports.conf file and use the default one. You can find those files
 in {{{/opt/local/etc/macports}}} unless you have a different $prefix.
 Warning: you likely will have to reinstall all of the dependents of
 qt4-mac as non-universal too. The easiest thing to do it uninstall
 everything and reinstall what you need.

 i'll attach my macports.conf file too. but i've never changed it since i
 originally installed 1.8.1 and then svn over the top.

 >
 > > if you can change ticket flags, can you update this one to version
 1.8.99 too? thnx
 >
 > Well other people have reported the problem with version 1.8.0 and the
 latest release is 1.8.1. The version of macports is not terribly important
 in this case and is not the cause of the problem.

 ok. thanks for the pointers, i'll try re-installing for x86_64 only from
 1.8.1 (i got this error there too which is why i tried 1.8.99) and report
 how it goes. hopefully i don't strike any of the other problem :/  this
 whole thing started with trying to install the port of digikam, which
 pulled in qt4 giving the error here and kdelibs4 which gave a different
 problem i've also filed a bug for.

-- 
Ticket URL: <http://trac.macports.org/ticket/20992#comment:14>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list