Opened 5 years ago

Closed 4 years ago

#34161 closed defect (fixed)

qt4-mac doesn't build on mac os 10.6.8 (snow leopard)

Reported by: mparchet@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: mkae (Marko Käning), pixilla (Bradley Giesbrecht)
Port: qt4-mac

Description

Hello,

I have a machine with mac os 10.6.8 And I can't install qt4-mac.

Below, here is the console output

sudo port install qt4-mac--->  Computing dependencies for qt4-mac--->  Building qt4-mac
 sudo port install qt4-mac--->  Computing dependencies for qt4-mac--->  Building qt4-mac
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for qt4-mac is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/qt4-mac/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

See attachment the log file.

Can you help me please ?

Best regards

mparchet

Attachments (1)

main.log (34.1 KB) - added by mparchet@… 5 years ago.

Download all attachments as: .zip

Change History (7)

Changed 5 years ago by mparchet@…

comment:1 Changed 5 years ago by michaelld (Michael Dickens)

Do the following:

sudo port clean qt4-mac
sudo port selfupdate
sudo port install qt4-mac

If the build errors out again, copy the log file to your desktop, compress it, and attach that to this ticket. Somehow QMake is using clang++ for compiling instead of Apple's g++, which is causing issues because clang doesn't play nicely with pre-compiled headers.

comment:2 Changed 5 years ago by ryandesign (Ryan Schmidt)

  • Cc michaelld@… removed
  • Keywords qt4-mac removed
  • Owner changed from macports-tickets@… to michaelld@…

comment:3 Changed 5 years ago by mkae (Marko Käning)

  • Cc mk@… added

Cc Me!

comment:4 Changed 5 years ago by mkae (Marko Käning)

  • Summary changed from qt4-mac don't don't build on mac os 10.6.8 (snow leopard) to qt4-mac doesn't build on mac os 10.6.8 (snow leopard)

comment:5 Changed 5 years ago by pixilla (Bradley Giesbrecht)

  • Cc pixilla@… added

Cc Me!

comment:6 Changed 4 years ago by michaelld (Michael Dickens)

  • Resolution set to fixed
  • Status changed from new to closed

FIxed in r94241. Please do the following

sudo port clean qt4-mac
sudo port selfupdate

and then try to install or upgrade qt4-mac again. I'm closing this ticket, since it now refers to an old version of qt4-mac. Please open a new ticket if this issue persists with the new qt4-mac.

Note: See TracTickets for help on using tickets.