Opened 14 years ago

Closed 14 years ago

#24187 closed defect (fixed)

kdelibs4 fails to build universal

Reported by: payam.minoofar@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: sharky@…
Port: kdelibs4

Description (last modified by nerdling (Jeremy Lavergne))

Hi,

I got no response from the Macports users list. So, I thought I'd open a bug. I keep getting this exact same error every time. Everything else--qt4-mac, akonadi, etc.--has been built successfully as a universal binary. I don't know what's breaking.

Attachments (1)

kdepimlibs4.4.1error.txt (547.7 KB) - added by payam.minoofar@… 14 years ago.
Complete debug output of kdepimlibs4 universal compilation.

Download all attachments as: .zip

Change History (9)

Changed 14 years ago by payam.minoofar@…

Attachment: kdepimlibs4.4.1error.txt added

Complete debug output of kdepimlibs4 universal compilation.

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Cc: sharky@… added
Owner: changed from macports-tickets@… to snc@…

Please remember to cc the maintainers.

comment:2 Changed 14 years ago by nerdling (Jeremy Lavergne)

Description: modified (diff)
Port: kdelibs4 added; kdepimlibs4 removed
Summary: kdepimlibs4.4.1 fails to build universalkdelibs4 fails to build universal

In the error log, you'll see these lines:

ld: warning: in /opt/local/lib/libkio.5.4.0.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libkdeui.5.4.0.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libkdecore.5.4.0.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libsolid.4.4.0.dylib, file is not of required architecture

They are all provided by kdelibs4.

comment:3 Changed 14 years ago by nerdling (Jeremy Lavergne)

If you get a chance, could you send me the results of:

otool -L /opt/local/lib/libkio.dylib

This'll clue me in as to which architecture is being left out.

comment:4 Changed 14 years ago by nerdling (Jeremy Lavergne)

and lipo -info

thanks!

comment:5 Changed 14 years ago by payam.minoofar@…

Gladly.

otool output:

[payam-imac:~] payam% otool -L /opt/local/lib/libkio.dylib
/opt/local/lib/libkio.dylib:
	/opt/local/lib/libkio.5.dylib (compatibility version 5.0.0, current version 5.4.0)
	/opt/local/lib/libkdeui.5.dylib (compatibility version 5.0.0, current version 5.4.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.4)
	/opt/local/lib/libstreamanalyzer.0.dylib (compatibility version 0.0.0, current version 0.6.3)
	/opt/local/lib/libstreams.0.dylib (compatibility version 0.0.0, current version 0.6.3)
	/opt/local/lib/libsolid.4.dylib (compatibility version 4.0.0, current version 4.4.0)
	/opt/local/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/QtNetwork (compatibility version 4.6.0, current version 4.6.2)
	/opt/local/libexec/qt4-mac/lib/QtXml.framework/Versions/4/QtXml (compatibility version 4.6.0, current version 4.6.2)
	/opt/local/lib/libkdecore.5.dylib (compatibility version 5.0.0, current version 5.4.0)
	/opt/local/libexec/qt4-mac/lib/QtDBus.framework/Versions/4/QtDBus (compatibility version 4.6.0, current version 4.6.2)
	/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/QtCore (compatibility version 4.6.0, current version 4.6.2)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 123.0.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 152.0.0)
	/opt/local/libexec/qt4-mac/lib/QtSvg.framework/Versions/4/QtSvg (compatibility version 4.6.0, current version 4.6.2)
	/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui (compatibility version 4.6.0, current version 4.6.2)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)

Lipo output:

[payam-imac:~] payam% lipo -info /opt/local/lib/libkio.dylib
Architectures in the fat file: /opt/local/lib/libkio.dylib are: x86_64 i386 

comment:6 Changed 14 years ago by payam.minoofar@…

I got the same failure after trying to build the package after successfully installing parallel builds of kdelibs4 4.4.2 and the many other new packages that came down the pipe this morning.

comment:7 Changed 14 years ago by payam.minoofar@…

So, after the recent slew of updated packages, kdelibs4 version 4.4.2_0 built successfully as parallel builds on my 10.6.3 machine. If nobody else has any problems, then maybe this bug can be closed.

comment:8 Changed 14 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

The dependencies of KDE cannot build universal so it cannot either. Disabling universal build in 4.4.3 (r67364).

Note: See TracTickets for help on using tickets.