New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #24187 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

kdelibs4 fails to build universal

Reported by: payam.minoofar@… Owned by: snc@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: sharky@…
Port: kdelibs4

Description (last modified by snc@…) (diff)

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

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

Change History

Changed 3 years ago by payam.minoofar@…

Complete debug output of kdepimlibs4 universal compilation.

comment:1 Changed 3 years ago by jmr@…

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

Please remember to cc the maintainers.

comment:2 Changed 3 years ago by snc@…

  • Summary changed from kdepimlibs4.4.1 fails to build universal to kdelibs4 fails to build universal
  • Port changed from kdepimlibs4 to kdelibs4
  • Description modified (diff)

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 3 years ago by snc@…

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 3 years ago by snc@…

and lipo -info

thanks!

comment:5 Changed 3 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 3 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 3 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 3 years ago by snc@…

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

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.