[opensuse-packaging] Questons with RPATH
Hello Mates, acttually i'm working on qt-mobility package. Actually it builds, but not to the end. <<< SNIP + /usr/lib/rpm/brp-rpath ERROR: RPATH "/home/user/qt/lib" on /home/abuild/rpmbuild/BUILDROOT/qt- mobility-1.2.0-7.1.x86_64/usr/lib64/qt4/bin/qml_device is not allowed ERROR: RPATH "/home/user/qt/lib/usr/lib64" on /home/abuild/rpmbuild/BUILDROOT/qt- mobility-1.2.0-7.1.x86_64/usr/lib64/qt4/bin/qml_device is not allowed ERROR: RPATH "/home/user/qt/lib" on /home/abuild/rpmbuild/BUILDROOT/qt- mobility-1.2.0-7.1.x86_64/usr/lib64/qt4/bin/qml_device is not allowed ERROR: RPATH "/home/user/qt/lib/usr/lib64" on /home/abuild/rpmbuild/BUILDROOT/qt- mobility-1.2.0-7.1.x86_64/usr/lib64/qt4/bin/qml_device is not allowed
SNAP.
Does anyone knows how to fix this? Greetings Sascha -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
giving project location would really help... On Fri, Jun 1, 2012 at 11:26 PM, Sascha Manns <Sascha.Manns@open-slx.de> wrote:
Hello Mates,
acttually i'm working on qt-mobility package. Actually it builds, but not to the end.
<<< SNIP + /usr/lib/rpm/brp-rpath ERROR: RPATH "/home/user/qt/lib" on /home/abuild/rpmbuild/BUILDROOT/qt- mobility-1.2.0-7.1.x86_64/usr/lib64/qt4/bin/qml_device is not allowed ERROR: RPATH "/home/user/qt/lib/usr/lib64" on /home/abuild/rpmbuild/BUILDROOT/qt- mobility-1.2.0-7.1.x86_64/usr/lib64/qt4/bin/qml_device is not allowed ERROR: RPATH "/home/user/qt/lib" on /home/abuild/rpmbuild/BUILDROOT/qt- mobility-1.2.0-7.1.x86_64/usr/lib64/qt4/bin/qml_device is not allowed ERROR: RPATH "/home/user/qt/lib/usr/lib64" on /home/abuild/rpmbuild/BUILDROOT/qt- mobility-1.2.0-7.1.x86_64/usr/lib64/qt4/bin/qml_device is not allowed
SNAP.
Does anyone knows how to fix this?
Greetings Sascha -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Dnia piątek, 1 czerwca 2012 23:26:11 Sascha Manns pisze:
Hello Mates,
acttually i'm working on qt-mobility package. Actually it builds, but not to the end.
<<< SNIP + /usr/lib/rpm/brp-rpath ERROR: RPATH "/home/user/qt/lib" on /home/abuild/rpmbuild/BUILDROOT/qt- mobility-1.2.0-7.1.x86_64/usr/lib64/qt4/bin/qml_device is not allowed ERROR: RPATH "/home/user/qt/lib/usr/lib64" on /home/abuild/rpmbuild/BUILDROOT/qt- mobility-1.2.0-7.1.x86_64/usr/lib64/qt4/bin/qml_device is not allowed ERROR: RPATH "/home/user/qt/lib" on /home/abuild/rpmbuild/BUILDROOT/qt- mobility-1.2.0-7.1.x86_64/usr/lib64/qt4/bin/qml_device is not allowed ERROR: RPATH "/home/user/qt/lib/usr/lib64" on /home/abuild/rpmbuild/BUILDROOT/qt- mobility-1.2.0-7.1.x86_64/usr/lib64/qt4/bin/qml_device is not allowed
SNAP.
Does anyone knows how to fix this?
How the offending binary was linked? Examine the command and the environment. Chris -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hello Kristof and Boris, Am Samstag, 2. Juni 2012, 11:52:19 schrieb Křištof Želechovski:
Dnia piątek, 1 czerwca 2012 23:26:11 Sascha Manns pisze:
Hello Mates,
acttually i'm working on qt-mobility package. Actually it builds, but not to the end.
<<< SNIP + /usr/lib/rpm/brp-rpath ERROR: RPATH "/home/user/qt/lib" on /home/abuild/rpmbuild/BUILDROOT/qt- mobility-1.2.0-7.1.x86_64/usr/lib64/qt4/bin/qml_device is not allowed ERROR: RPATH "/home/user/qt/lib/usr/lib64" on /home/abuild/rpmbuild/BUILDROOT/qt- mobility-1.2.0-7.1.x86_64/usr/lib64/qt4/bin/qml_device is not allowed ERROR: RPATH "/home/user/qt/lib" on /home/abuild/rpmbuild/BUILDROOT/qt- mobility-1.2.0-7.1.x86_64/usr/lib64/qt4/bin/qml_device is not allowed ERROR: RPATH "/home/user/qt/lib/usr/lib64" on /home/abuild/rpmbuild/BUILDROOT/qt- mobility-1.2.0-7.1.x86_64/usr/lib64/qt4/bin/qml_device is not allowed
SNAP.
Does anyone knows how to fix this?
How the offending binary was linked? Examine the command and the environment. ATM the package is on a not (yet) published OBS Instance.
The Spec can found in: http://paste.opensuse.org/6050867 and the Patches there: http://paste.opensuse.org/65722045. I've used the master.tar.gz from there: http://qt.gitorious.org/qt- mobility/qt-mobility/trees/master Greetings Sascha -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Fri, 01 Jun 2012 23:26:11 +0200, Sascha Manns <Sascha.Manns@open-slx.de> wrote:
ERROR:?RPATH?"/home/user/qt/lib"? ERROR:?RPATH?"/home/user/qt/lib/usr/lib64"? ERROR:?RPATH?"/home/user/qt/lib"? ERROR:?RPATH?"/home/user/qt/lib/usr/lib64"?
There are two possible ways to fix it: a) Check the makefiles for places where it passes an explicit -rpath or similiar. b) Use chrpath to change the rpath definition in the binaries to "" i.e. an empty string. Rpath is needed when a shared library used by a binary is installed in a place that is not configured in /etc/ld.so.conf and thus not found automatically by the dynamic loader. hth Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (4)
-
Boris Manojlovic
-
Křištof Želechovski
-
Philipp Thomas
-
Sascha Manns