[MacPorts] #30097: qt4-mac file was built for unsupported file format which is not the architecture being linked (i386)
#30097: qt4-mac file was built for unsupported file format which is not the architecture being linked (i386) -----------------------------------+---------------------------------------- Reporter: seba.szwarc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.9.2 Keywords: qt4 | Port: qt4-mac -----------------------------------+---------------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/30097> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30097: qt4-mac file was built for unsupported file format which is not the architecture being linked (i386) -----------------------------------+---------------------------------------- Reporter: seba.szwarc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * keywords: qt4 => * priority: High => Normal * port: qt4-mac => Old description:
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
New description: 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 -- Comment: 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. -- Ticket URL: <https://trac.macports.org/ticket/30097#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30097: qt4-mac file was built for unsupported file format which is not the architecture being linked (i386) -----------------------------------+---------------------------------------- Reporter: seba.szwarc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: -----------------------------------+---------------------------------------- Comment(by seba.szwarc@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/30097#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30097: qt4-mac file was built for unsupported file format which is not the architecture being linked (i386) -----------------------------------+---------------------------------------- Reporter: seba.szwarc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: -----------------------------------+---------------------------------------- Comment(by seba.szwarc@…): ANd also I cannot change my qt4-mac port to +universal variant because dbus failed to compile with that setting.. -- Ticket URL: <https://trac.macports.org/ticket/30097#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30097: qt4-mac file was built for unsupported file format which is not the architecture being linked (i386) -----------------------------------+---------------------------------------- Reporter: seba.szwarc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Replying to [comment:3 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? -- Ticket URL: <https://trac.macports.org/ticket/30097#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30097: qt4-mac file was built for unsupported file format which is not the architecture being linked (i386) -----------------------------------+---------------------------------------- Reporter: seba.szwarc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: -----------------------------------+---------------------------------------- Comment(by seba.szwarc@…): 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? -- Ticket URL: <https://trac.macports.org/ticket/30097#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30097: qt4-mac file was built for unsupported file format which is not the architecture being linked (i386) -----------------------------------+---------------------------------------- Reporter: seba.szwarc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: -----------------------------------+---------------------------------------- Comment(by ryandesign@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/30097#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30097: qt4-mac file was built for unsupported file format which is not the architecture being linked (i386) -----------------------------------+---------------------------------------- Reporter: seba.szwarc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: -----------------------------------+---------------------------------------- Comment(by seba.szwarc@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/30097#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30097: qt4-mac file was built for unsupported file format which is not the architecture being linked (i386) ------------------------------------+--------------------------------------- Reporter: seba.szwarc@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: invalid | Keywords: Port: | ------------------------------------+--------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/30097#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts