[kde-freebsd] ports/180434: [ports] multimedia/phonon: ia64: /usr/local/lib/libqzeitgeist.so.0.8.0: could not read symbols: File in wrong format
Anton Shterenlikht
mexas at bris.ac.uk
Fri Aug 2 15:10:01 UTC 2013
The following reply was made to PR ports/180434; it has been noted by GNATS.
From: Anton Shterenlikht <mexas at bris.ac.uk>
To: bug-followup at freebsd.org
Cc:
Subject: ports/180434: [ports] multimedia/phonon: ia64: /usr/local/lib/libqzeitgeist.so.0.8.0: could not read symbols: File in wrong format
Date: Fri, 2 Aug 2013 16:08:10 +0100 (BST)
I know what the problem is. sysutils/qzeitgeist builds
shared libs as SYSV instead of FreeBSD:
http://www.freebsd.org/cgi/query-pr.cgi?pr=180999
I found the solution to this, and I managed
to build sysutils/qzeitgeist with FreeBSD shared libs,
see the above PR.
sysutils/qzeitgeist must be fixed properly,
but in the meantime, the above solution works.
I can now build phonon, however, the exact same problem
shows up with the phonon port - it installs
SYSV shared libs:
# ldd /usr/local/kde4/lib/libphonon.so
ldd: /usr/local/kde4/lib/libphonon.so: not a FreeBSD ELF shared object
# file /usr/local/kde4/lib/libphonon.so.4.6.0
/usr/local/kde4/lib/libphonon.so.4.6.0: ELF 64-bit LSB shared object, IA-64, version 1 (SYSV), dynamically linked, stripped
#
and the solution is also exactly as for sysutils/qzeitgeist,
i.e. install from under ${WRKDIR}.
Note specifically the lines starting with "Installing",
and with "Set runtime path":
# pwd
/usr/ports/multimedia/phonon/work/phonon-4.6.0
# make install
[ 0%] Built target phonon_automoc
[ 64%] Built target phonon
[ 64%] Built target phononexperimental_automoc
[100%] Built target phononexperimental
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/local/kde4/lib/../libdata/pkgconfig/phonon.pc
-- Up-to-date: /usr/local/kde4/lib/cmake/phonon/PhononConfig.cmake
-- Up-to-date: /usr/local/kde4/lib/cmake/phonon/PhononConfigVersion.cmake
-- Up-to-date: /usr/local/kde4/lib/cmake/phonon/PhononTargets.cmake
-- Up-to-date: /usr/local/kde4/lib/cmake/phonon/PhononTargets-release.cmake
-- Up-to-date: /usr/local/share/qt4/mkspecs/modules/qt_phonon.pri
-- Up-to-date: /usr/local/kde4/share/phonon/buildsystem/cmake_uninstall.cmake.in
-- Up-to-date: /usr/local/kde4/share/phonon/buildsystem/COPYING-CMAKE-SCRIPTS
-- Up-to-date: /usr/local/kde4/share/phonon/buildsystem/FindAutomoc4.cmake
-- Up-to-date: /usr/local/kde4/share/phonon/buildsystem/FindPackageHandleStandardArgs.cmake
-- Up-to-date: /usr/local/kde4/share/phonon/buildsystem/FindPhononInternal.cmake
-- Up-to-date: /usr/local/kde4/share/phonon/buildsystem/PhononMacros.cmake
-- Up-to-date: /usr/local/kde4/share/phonon/buildsystem/FindQt4.cmake
-- Up-to-date: /usr/local/kde4/share/phonon/buildsystem/MacroEnsureVersion.cmake
-- Up-to-date: /usr/local/kde4/share/phonon/buildsystem/MacroLogFeature.cmake
-- Up-to-date: /usr/local/kde4/share/phonon/buildsystem/MacroOptionalFindPackage.cmake
-- Up-to-date: /usr/local/kde4/share/phonon/buildsystem/MacroPushRequiredVars.cmake
-- Up-to-date: /usr/local/kde4/share/phonon/buildsystem/PhononMacros.cmake
-- Up-to-date: /usr/local/kde4/share/phonon/buildsystem/Qt4ConfigDependentSettings.cmake
-- Up-to-date: /usr/local/kde4/share/phonon/buildsystem/Qt4Macros.cmake
-- Installing: /usr/local/kde4/lib/libphonon.so.4.6.0
-- Up-to-date: /usr/local/kde4/lib/libphonon.so.4
-- Up-to-date: /usr/local/kde4/lib/libphonon.so
-- Set runtime path of "/usr/local/kde4/lib/libphonon.so.4.6.0" to "lib:/usr/local/lib/qt4:/usr/local/lib"
-- Up-to-date: /usr/local/kde4/include/phonon/abstractaudiooutput.h
-- Up-to-date: /usr/local/kde4/include/phonon/abstractmediastream.h
-- Up-to-date: /usr/local/kde4/include/phonon/abstractvideooutput.h
-- Up-to-date: /usr/local/kde4/include/phonon/addoninterface.h
-- Up-to-date: /usr/local/kde4/include/phonon/audiodataoutput.h
-- Up-to-date: /usr/local/kde4/include/phonon/audiodataoutputinterface.h
-- Up-to-date: /usr/local/kde4/include/phonon/audiooutput.h
-- Up-to-date: /usr/local/kde4/include/phonon/audiooutputinterface.h
-- Up-to-date: /usr/local/kde4/include/phonon/backendcapabilities.h
-- Up-to-date: /usr/local/kde4/include/phonon/backendinterface.h
-- Up-to-date: /usr/local/kde4/include/phonon/effect.h
-- Up-to-date: /usr/local/kde4/include/phonon/effectinterface.h
-- Up-to-date: /usr/local/kde4/include/phonon/effectparameter.h
-- Up-to-date: /usr/local/kde4/include/phonon/effectwidget.h
-- Up-to-date: /usr/local/kde4/include/phonon/globalconfig.h
-- Up-to-date: /usr/local/kde4/include/phonon/globaldescriptioncontainer.h
-- Up-to-date: /usr/local/kde4/include/phonon/mediacontroller.h
-- Up-to-date: /usr/local/kde4/include/phonon/medianode.h
-- Up-to-date: /usr/local/kde4/include/phonon/mediaobject.h
-- Up-to-date: /usr/local/kde4/include/phonon/mediaobjectinterface.h
-- Up-to-date: /usr/local/kde4/include/phonon/mediasource.h
-- Up-to-date: /usr/local/kde4/include/phonon/mrl.h
-- Up-to-date: /usr/local/kde4/include/phonon/objectdescription.h
-- Up-to-date: /usr/local/kde4/include/phonon/objectdescriptionmodel.h
-- Up-to-date: /usr/local/kde4/include/phonon/path.h
-- Up-to-date: /usr/local/kde4/include/phonon/phonon_export.h
-- Up-to-date: /usr/local/kde4/include/phonon/phonondefs.h
-- Up-to-date: /usr/local/kde4/include/phonon/platformplugin.h
-- Up-to-date: /usr/local/kde4/include/phonon/pulsesupport.h
-- Up-to-date: /usr/local/kde4/include/phonon/seekslider.h
-- Up-to-date: /usr/local/kde4/include/phonon/streaminterface.h
-- Up-to-date: /usr/local/kde4/include/phonon/videoplayer.h
-- Up-to-date: /usr/local/kde4/include/phonon/videowidget.h
-- Up-to-date: /usr/local/kde4/include/phonon/videowidgetinterface.h
-- Up-to-date: /usr/local/kde4/include/phonon/volumefadereffect.h
-- Up-to-date: /usr/local/kde4/include/phonon/volumefaderinterface.h
-- Up-to-date: /usr/local/kde4/include/phonon/volumeslider.h
-- Up-to-date: /usr/local/kde4/include/phonon/phononnamespace.h
-- Up-to-date: /usr/local/kde4/share/dbus-1/interfaces/org.kde.Phonon.AudioOutput.xml
-- Installing: /usr/local/kde4/lib/libphononexperimental.so.4.6.0
-- Up-to-date: /usr/local/kde4/lib/libphononexperimental.so.4
-- Up-to-date: /usr/local/kde4/lib/libphononexperimental.so
-- Set runtime path of "/usr/local/kde4/lib/libphononexperimental.so.4.6.0" to "lib:/usr/local/lib/qt4:/usr/local/lib"
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/abstractaudiodataoutput.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/abstractvideodataoutput.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/audiodataoutput.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/audiodataoutputinterface.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/audioformat.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/avcapture.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/avcaptureinterface.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/backendcapabilities.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/backendinterface.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/export.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/mediasource.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/objectdescription.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/snapshotinterface.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/packet.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/packetpool.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/phononnamespace.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/videodataoutput.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/videodataoutput2.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/videodataoutputinterface.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/videoframe.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/videoframe2.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/videowidget.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/visualization.h
-- Up-to-date: /usr/local/kde4/include/phonon/experimental/globalconfig.h
-- Up-to-date: /usr/local/kde4/include/phonon/AbstractAudioOutput
-- Up-to-date: /usr/local/kde4/include/phonon/AbstractMediaStream
-- Up-to-date: /usr/local/kde4/include/phonon/AbstractVideoOutput
-- Up-to-date: /usr/local/kde4/include/phonon/AddonInterface
-- Up-to-date: /usr/local/kde4/include/phonon/AudioCaptureDevice
-- Up-to-date: /usr/local/kde4/include/phonon/AudioCaptureDeviceModel
-- Up-to-date: /usr/local/kde4/include/phonon/AudioChannelDescription
-- Up-to-date: /usr/local/kde4/include/phonon/AudioChannelDescriptionModel
-- Up-to-date: /usr/local/kde4/include/phonon/AudioDataOutput
-- Up-to-date: /usr/local/kde4/include/phonon/AudioOutput
-- Up-to-date: /usr/local/kde4/include/phonon/AudioOutputDevice
-- Up-to-date: /usr/local/kde4/include/phonon/AudioOutputDeviceModel
-- Up-to-date: /usr/local/kde4/include/phonon/AudioOutputInterface
-- Up-to-date: /usr/local/kde4/include/phonon/AudioOutputInterface40
-- Up-to-date: /usr/local/kde4/include/phonon/AudioOutputInterface42
-- Up-to-date: /usr/local/kde4/include/phonon/AvCapture
-- Up-to-date: /usr/local/kde4/include/phonon/BackendCapabilities
-- Up-to-date: /usr/local/kde4/include/phonon/BackendInterface
-- Up-to-date: /usr/local/kde4/include/phonon/Effect
-- Up-to-date: /usr/local/kde4/include/phonon/EffectDescription
-- Up-to-date: /usr/local/kde4/include/phonon/EffectDescriptionModel
-- Up-to-date: /usr/local/kde4/include/phonon/EffectInterface
-- Up-to-date: /usr/local/kde4/include/phonon/EffectParameter
-- Up-to-date: /usr/local/kde4/include/phonon/EffectWidget
-- Up-to-date: /usr/local/kde4/include/phonon/Global
-- Up-to-date: /usr/local/kde4/include/phonon/GlobalDescriptionContainer
-- Up-to-date: /usr/local/kde4/include/phonon/MediaController
-- Up-to-date: /usr/local/kde4/include/phonon/MediaNode
-- Up-to-date: /usr/local/kde4/include/phonon/MediaObject
-- Up-to-date: /usr/local/kde4/include/phonon/MediaObjectInterface
-- Up-to-date: /usr/local/kde4/include/phonon/MediaSource
-- Up-to-date: /usr/local/kde4/include/phonon/Mrl
-- Up-to-date: /usr/local/kde4/include/phonon/ObjectDescription
-- Up-to-date: /usr/local/kde4/include/phonon/ObjectDescriptionData
-- Up-to-date: /usr/local/kde4/include/phonon/ObjectDescriptionModel
-- Up-to-date: /usr/local/kde4/include/phonon/ObjectDescriptionModelData
-- Up-to-date: /usr/local/kde4/include/phonon/Path
-- Up-to-date: /usr/local/kde4/include/phonon/PlatformPlugin
-- Up-to-date: /usr/local/kde4/include/phonon/SeekSlider
-- Up-to-date: /usr/local/kde4/include/phonon/StreamInterface
-- Up-to-date: /usr/local/kde4/include/phonon/SubtitleDescription
-- Up-to-date: /usr/local/kde4/include/phonon/SubtitleDescriptionModel
-- Up-to-date: /usr/local/kde4/include/phonon/VideoCaptureDevice
-- Up-to-date: /usr/local/kde4/include/phonon/VideoCaptureDeviceModel
-- Up-to-date: /usr/local/kde4/include/phonon/VideoPlayer
-- Up-to-date: /usr/local/kde4/include/phonon/VideoWidget
-- Up-to-date: /usr/local/kde4/include/phonon/VideoWidgetInterface
-- Up-to-date: /usr/local/kde4/include/phonon/VideoWidgetInterface44
-- Up-to-date: /usr/local/kde4/include/phonon/VideoWidgetInterfaceLatest
-- Up-to-date: /usr/local/kde4/include/phonon/VolumeFaderEffect
-- Up-to-date: /usr/local/kde4/include/phonon/VolumeFaderInterface
-- Up-to-date: /usr/local/kde4/include/phonon/VolumeSlider
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/AbstractAudioOutput
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/AbstractMediaStream
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/AbstractVideoOutput
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/AddonInterface
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/AudioDevice
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/AudioDeviceEnumerator
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/AudioOutput
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/AudioOutputDevice
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/AudioOutputDeviceModel
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/AudioOutputInterface
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/BackendCapabilities
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/BackendInterface
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/Effect
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/EffectDescription
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/EffectDescriptionModel
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/EffectInterface
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/EffectParameter
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/EffectWidget
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/Global
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/MediaController
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/MediaNode
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/MediaObject
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/MediaObjectInterface
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/MediaSource
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/ObjectDescription
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/ObjectDescriptionModel
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/Path
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/PlatformPlugin
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/SeekSlider
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/StreamInterface
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/VideoPlayer
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/VideoWidget
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/VideoWidgetInterface
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/VolumeFaderEffect
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/VolumeFaderInterface
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/VolumeSlider
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/Experimental/AbstractVideoDataOutp
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/Experimental/AudioDataOutput
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/Experimental/SnapshotInterface
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/Experimental/VideoDataOutput
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/Experimental/VideoDataOutputInterf
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/Experimental/VideoFrame
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/Experimental/VideoFrame2
-- Up-to-date: /usr/local/kde4/include/KDE/Phonon/Experimental/Visualization
# file /usr/local/kde4/lib/libphonon.so.4.6.0
/usr/local/kde4/lib/libphonon.so.4.6.0: ELF 64-bit LSB shared object, IA-64, version 1 (FreeBSD), dynamically linked, not stripped
# ldd /usr/local/kde4/lib/libphonon.so
/usr/local/kde4/lib/libphonon.so:
libQtCore.so.4 => /usr/local/lib/qt4/libQtCore.so.4 (0x120ce8000)
libQtGui.so.4 => /usr/local/lib/qt4/libQtGui.so.4 (0x1212f6000)
libqzeitgeist.so.1 => /usr/local/lib/libqzeitgeist.so.1 (0x12036c000)
libQtDBus.so.4 => /usr/local/lib/qt4/libQtDBus.so.4 (0x122b0a000)
libQtDeclarative.so.4 => /usr/local/lib/qt4/libQtDeclarative.so.4 (0x122c560
libQtScript.so.4 => /usr/local/lib/qt4/libQtScript.so.4 (0x1235aa000)
libQtSvg.so.4 => /usr/local/lib/qt4/libQtSvg.so.4 (0x123b4c000)
libQtXmlPatterns.so.4 => /usr/local/lib/qt4/libQtXmlPatterns.so.4 (0x123c280
libQtTest.so.4 => /usr/local/lib/qt4/libQtTest.so.4 (0x1248a4000)
libQtXml.so.4 => /usr/local/lib/qt4/libQtXml.so.4 (0x1248f8000)
libQtSql.so.4 => /usr/local/lib/qt4/libQtSql.so.4 (0x1249a4000)
libQtNetwork.so.4 => /usr/local/lib/qt4/libQtNetwork.so.4 (0x124a3a000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x124d48000)
libm.so.5 => /lib/libm.so.5 (0x124f34000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x1203c0000)
libthr.so.3 => /lib/libthr.so.3 (0x124fb2000)
libc.so.7 => /lib/libc.so.7 (0x12008c000)
libz.so.6 => /lib/libz.so.6 (0x125000000)
libgthread-2.0.so.0 => /usr/local/lib/libgthread-2.0.so.0 (0x125036000)
libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x125048000)
libintl.so.9 => /usr/local/lib/libintl.so.9 (0x12520a000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x12522c000)
libpng15.so.15 => /usr/local/lib/libpng15.so.15 (0x12535c000)
libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x1253c8000)
libSM.so.6 => /usr/local/lib/libSM.so.6 (0x1254f2000)
libICE.so.6 => /usr/local/lib/libICE.so.6 (0x125510000)
libXrender.so.1 => /usr/local/lib/libXrender.so.1 (0x125550000)
libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 (0x125574000)
libXext.so.6 => /usr/local/lib/libXext.so.6 (0x1255ea000)
libX11.so.6 => /usr/local/lib/libX11.so.6 (0x12561e000)
libicui18n.so.50 => /usr/local/lib/libicui18n.so.50 (0x125834000)
libpcre.so.3 => /usr/local/lib/libpcre.so.3 (0x125c3e000)
libbz2.so.4 => /usr/lib/libbz2.so.4 (0x125cc2000)
libxcb.so.2 => /usr/local/lib/libxcb.so.2 (0x125cf6000)
libXau.so.6 => /usr/local/lib/libXau.so.6 (0x125d36000)
libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x125d4a000)
libpthread-stubs.so.0 => /usr/local/lib/libpthread-stubs.so.0 (0x125d62000)
librpcsvc.so.5 => /usr/lib/librpcsvc.so.5 (0x125d74000)
libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x125d92000)
libicuuc.so.50 => /usr/local/lib/libicuuc.so.50 (0x125dee000)
libicudata.so.50 => /usr/local/lib/libicudata.so.50 (0x12609e000)
#
I think something is wrong with the port's Makefile
More information about the kde-freebsd
mailing list