Opened 13 years ago

Closed 13 years ago

#30097 closed defect (invalid)

qt4-mac file was built for unsupported file format which is not the architecture being linked (i386)

Reported by: Behinder (behinder) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Using recent qt4-mac 4.7.3 it compiles ok however during compilation of saxsview program there are problems with some included inqt4 libraries: and I got result:

ld: warning: ignoring file /opt/local/lib/libQtSvg.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file /opt/local/lib/libQtGui.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file /opt/local/lib/libQtXml.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file /opt/local/lib/libQtCore.dylib, file was built for unsupported file format which is not the architecture being linked (i386)

Attached logfile from compilation

Attachments (1)

make.log (188.6 KB) - added by Behinder (behinder) 13 years ago.
saxsview compilation log

Download all attachments as: .zip

Change History (9)

Changed 13 years ago by Behinder (behinder)

Attachment: make.log added

saxsview compilation log

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: qt4 removed
Port: qt4-mac removed
Priority: HighNormal

What is "saxsview"? I don't see a port for that in MacPorts. Are you trying to compile it manually? If so, it sounds like you're trying to compile it universally, but your qt4-mac is not installed universally. To fix that, reinstall the qt4-mac port with the +universal variant. Alternately, don't build saxsview universally.

comment:2 Changed 13 years ago by Behinder (behinder)

Saxsview is a tool for previewing data files done by software for analyzing neutron scattering data. It is available on saxsview.sourceforge.net. I am trying to build it manually according to author's instructions and in result I got such errors. I don't know how to control compilation of saxsview - it is done by cmake and then make. My qt4-mac is installed only with +quartz variant.

comment:3 Changed 13 years ago by Behinder (behinder)

ANd also I cannot change my qt4-mac port to +universal variant because dbus failed to compile with that setting..

comment:4 in reply to:  3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Replying to seba.szwarc@…:

ANd also I cannot change my qt4-mac port to +universal variant because dbus failed to compile with that setting..

Works fine here. Can you attach a logfile for that dbus universal build failure?

comment:5 Changed 13 years ago by Behinder (behinder)

Ok after reboot everything went smoothly, however I needed to force uninstall dbus and dbus-glib and reinstall them once again. Building of qt4-mac went ok however there was some errors during process...where macports stores logs of recent install?

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

If installing qt4-mac went ok, then MacPorts has already deleted the log. Unless you had previously indicated your desire to keep logs of successful installs by setting "keeplogs yes" in macports.conf. Any MacPorts logs would be in /opt/local/var/macports/logs.

comment:7 Changed 13 years ago by Behinder (behinder)

Thanks a lot. It looks we can close ticket. Installing qt4-mac went ok but maybe some errors during that process makes now saxsview doesnt behave as supposed. Need to check it further.

comment:8 Changed 13 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.