[opensuse-buildservice] brp-rpath fails on openSUSE 11.2 build
I have three issues with the build service. First, when I login to my openSUSE account it puts me on some page empty except for some animated Novell navigation menu : https://build.opensuse.org/ICSIBroker/?""-T Second, 'osc status' does not return anything but this warning: WARNING: SSL certificate checks disabled. Connection is insecure! I'm using osc-0.123 on Fedora 11. Note I had to add 'sslcertck = 0' to my ~/.oscrc file in order to make osc do anything at all. Third, and most important, is that my package build fails on openSUSE 11.1/11.2 targets with this message: + /usr/lib/rpm/brp-rpath ERROR: RPATH "/usr/src/packages/BUILD/boron-0.1.0" on /var/tmp/boron-0.1.0- build/usr/bin/boron is not allowed ERROR: RPATH "/usr/src/packages/BUILD/boron-0.1.0" on /var/tmp/boron-0.1.0- build/usr/bin/boron is not allowed error: Bad exit status from /var/tmp/rpm-tmp.10687 (%install) I have no idea what this really means or how to fix it. My project does not use any ld -rpath option, if that is the RPATH being referred to. -Karl -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath ________________________________________ From: Karl Robillard [krobillard@san.rr.com] Sent: Friday, December 04, 2009 2:07 PM To: opensuse-buildservice@opensuse.org Subject: [opensuse-buildservice] brp-rpath fails on openSUSE 11.2 build I have three issues with the build service. First, when I login to my openSUSE account it puts me on some page empty except for some animated Novell navigation menu : https://build.opensuse.org/ICSIBroker/?""-T Second, 'osc status' does not return anything but this warning: WARNING: SSL certificate checks disabled. Connection is insecure! I'm using osc-0.123 on Fedora 11. Note I had to add 'sslcertck = 0' to my ~/.oscrc file in order to make osc do anything at all. Third, and most important, is that my package build fails on openSUSE 11.1/11.2 targets with this message: + /usr/lib/rpm/brp-rpath ERROR: RPATH "/usr/src/packages/BUILD/boron-0.1.0" on /var/tmp/boron-0.1.0- build/usr/bin/boron is not allowed ERROR: RPATH "/usr/src/packages/BUILD/boron-0.1.0" on /var/tmp/boron-0.1.0- build/usr/bin/boron is not allowed error: Bad exit status from /var/tmp/rpm-tmp.10687 (%install) I have no idea what this really means or how to fix it. My project does not use any ld -rpath option, if that is the RPATH being referred to. -Karl -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Freitag, 4. Dezember 2009 21:05:27 schrieb Michael_E_Brown@dell.com: ...
I have three issues with the build service.
First, when I login to my openSUSE account it puts me on some page empty except for some animated Novell navigation menu :
Hm, never heard of that. But you are able to use it afterwards, by manual correcting the url ? Can you tell, if this is a new behaviour ?
Second, 'osc status' does not return anything but this warning:
WARNING: SSL certificate checks disabled. Connection is insecure!
I'm using osc-0.123 on Fedora 11. Note I had to add 'sslcertck = 0' to my ~/.oscrc file in order to make osc do anything at all.
Please try to use the beta version of the upcomming osc 0.124. It has some extended search pathes for certificates for Fedora. http://download.opensuse.org/repositories/openSUSE:Tools:Unstable/ I want to release this one as 0.124 ASAP.
Third, and most important, is that my package build fails on openSUSE 11.1/11.2 targets with this message:
+ /usr/lib/rpm/brp-rpath ERROR: RPATH "/usr/src/packages/BUILD/boron-0.1.0" on /var/tmp/boron-0.1.0- build/usr/bin/boron is not allowed ERROR: RPATH "/usr/src/packages/BUILD/boron-0.1.0" on /var/tmp/boron-0.1.0- build/usr/bin/boron is not allowed error: Bad exit status from /var/tmp/rpm-tmp.10687 (%install)
I have no idea what this really means or how to fix it. My project does not use any ld -rpath option, if that is the RPATH being referred to.
Somewhere there is a -rpath. Maybe some libtool or some other tool is adding it. You have to find this and remove it. Maybe this happens only add "make install DESTDIR=..." times. Please note that this is really a critical security hole. With this -rpath compiled in, every user can let every other user run his code, if this user is starting this application. This is not something academic. If there was ever a release as package with this inside, the users should be notified about this .. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Friday 04 December 2009 13:26:39 Adrian Schröter wrote:
First, when I login to my openSUSE account it puts me on some page empty except for some animated Novell navigation menu :
Hm, never heard of that. But you are able to use it afterwards, by manual correcting the url ?
Can you tell, if this is a new behaviour ?
Yes, I have a bookmarked link which works. I had not used the service in a while; it's new to me. I just go to http://build.opensuse.org/, click the login button at the top of the page, enter my info and then I'm sent to the empty ICSIBroker page. This happens in Firefox and Konqueror. -Karl -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Friday 04 December 2009 12:05:27 Michael_E_Brown@dell.com wrote:
https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
I'm using CMake, which uses -rpath by default. It always seems that tools which try too hard to be helpful end up causing trouble like this. The solution which worked for me is to add the following to the CMakeLists.txt: set(CMAKE_SKIP_RPATH true) -Karl -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
Karl Robillard
-
Michael_E_Brown@Dell.com