[opensuse-factory] VirtualBox build failure
Recently, VirtualBox builds started failing with messages like [ 4886s] virtualbox-qt.i586: E: non-position-independent-executable (Badness: 10000) /usr/lib/virtualbox/VirtualBox [ 4886s] This executable must be position independent. Check that it is built with [ 4886s] -fPIE/-fpie in compiler flags and -pie in linker flags. [ 4886s] [ 4886s] (none): E: badness 60000 exceeds threshold 1000, aborting. It seems a recent change in rpmlint has caused these failures. The global CFLAGS for the kernel module builds does have a "-fno-pie" option; however, when I remove it, the build fails with the following: cc1: error: code model kernel does not support PIC mode I will try to fix this error, but until I do, VirtualBox will not be available for Factory and Tumbleweed. Is there any way to change rpmlint's behavior while this problem is being fixed? Larry -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi Larry! On 07/16/2018 04:35 PM, Larry Finger wrote:
Is there any way to change rpmlint's behavior while this problem is being fixed?
I think you can try adding an rpmlintrc file to add an override for this error:
https://en.opensuse.org/openSUSE:Packaging_checks#Building_Packages_in_spite...
Adrian -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 07/16/2018, 04:35 PM, Larry Finger wrote:
Recently, VirtualBox builds started failing with messages like
[ 4886s] virtualbox-qt.i586: E: non-position-independent-executable (Badness: 10000) /usr/lib/virtualbox/VirtualBox [ 4886s] This executable must be position independent. Check that it is built with [ 4886s] -fPIE/-fpie in compiler flags and -pie in linker flags. [ 4886s] [ 4886s] (none): E: badness 60000 exceeds threshold 1000, aborting.
It seems a recent change in rpmlint has caused these failures.
I think changes in python. I hit that yesterday: https://build.opensuse.org/request/show/622940 The full distro should be rebuilt IMO. There are many hidden failures due to py 3.6 -> 3.7 change. Like this, gdb and others. thanks, -- js suse labs -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 07/16/2018, 05:29 PM, Jiri Slaby wrote:
On 07/16/2018, 04:35 PM, Larry Finger wrote:
Recently, VirtualBox builds started failing with messages like
[ 4886s] virtualbox-qt.i586: E: non-position-independent-executable (Badness: 10000) /usr/lib/virtualbox/VirtualBox [ 4886s] This executable must be position independent. Check that it is built with [ 4886s] -fPIE/-fpie in compiler flags and -pie in linker flags. [ 4886s] [ 4886s] (none): E: badness 60000 exceeds threshold 1000, aborting.
It seems a recent change in rpmlint has caused these failures.
I think changes in python. I hit that yesterday: https://build.opensuse.org/request/show/622940
The full distro should be rebuilt IMO. There are many hidden failures due to py 3.6 -> 3.7 change. Like this, gdb and others.
FTR the gdb change needed: https://build.opensuse.org/package/rdiff/openSUSE:Factory:zSystems/gdb?opackage=gdb&oproject=devel:gcc&full_diff=true
thanks, -- js suse labs -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, 2018-07-16 at 17:37 +0200, Jiri Slaby wrote:
On 07/16/2018, 05:29 PM, Jiri Slaby wrote:
On 07/16/2018, 04:35 PM, Larry Finger wrote:
Recently, VirtualBox builds started failing with messages like
[ 4886s] virtualbox-qt.i586: E: non-position-independent-executable (Badness: 10000) /usr/lib/virtualbox/VirtualBox [ 4886s] This executable must be position independent. Check that it is built with [ 4886s] -fPIE/-fpie in compiler flags and -pie in linker flags. [ 4886s] [ 4886s] (none): E: badness 60000 exceeds threshold 1000, aborting.
It seems a recent change in rpmlint has caused these failures.
I think changes in python. I hit that yesterday: https://build.opensuse.org/request/show/622940
The full distro should be rebuilt IMO. There are many hidden failures due to py 3.6 -> 3.7 change. Like this, gdb and others.
FTR the gdb change needed:
thanks,
oh - and python 3.7 is not yet in Factory/Tumbleweed - so this obviously cannot cause these errors Cheers Dominique
On Mon, 2018-07-16 at 17:29 +0200, Jiri Slaby wrote:
On 07/16/2018, 04:35 PM, Larry Finger wrote:
Recently, VirtualBox builds started failing with messages like
[ 4886s] virtualbox-qt.i586: E: non-position-independent-executable (Badness: 10000) /usr/lib/virtualbox/VirtualBox [ 4886s] This executable must be position independent. Check that it is built with [ 4886s] -fPIE/-fpie in compiler flags and -pie in linker flags. [ 4886s] [ 4886s] (none): E: badness 60000 exceeds threshold 1000, aborting.
It seems a recent change in rpmlint has caused these failures.
I think changes in python. I hit that yesterday: https://build.opensuse.org/request/show/622940
The full distro should be rebuilt IMO. There are many hidden failures due to py 3.6 -> 3.7 change. Like this, gdb and others.
Nah, that was 'file 5.33' update (now differentiates between PIE executables and PIE shared objects), which required also rpmlint changes - but the sequence was not done in all cases. openSUSE:Factory has this long solved already again though (fixed this first thing in the morning on Monday) Cheers Dominique
On 07/16/2018 04:42 PM, Dominique Leuenberger / DimStar wrote:
Nah, that was 'file 5.33' update (now differentiates between PIE executables and PIE shared objects), which required also rpmlint changes - but the sequence was not done in all cases. openSUSE:Factory has this long solved already again though (fixed this first thing in the morning on Monday)
Dominique, By Monday afternoon (USA Central time), VirtualBox built without any changes. And those people that say I procrastinate too much were wrong. :) Thanks for the update on what caused the problem. Larry -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
El 16-07-2018 a las 10:35, Larry Finger escribió:
Recently, VirtualBox builds started failing with messages like
[ 4886s] virtualbox-qt.i586: E: non-position-independent-executable (Badness: 10000) /usr/lib/virtualbox/VirtualBox [ 4886s] This executable must be position independent. Check that it is built with [ 4886s] -fPIE/-fpie in compiler flags and -pie in linker flags. [ 4886s] [ 4886s] (none): E: badness 60000 exceeds threshold 1000, aborting.
It seems a recent change in rpmlint has caused these failures.
The global CFLAGS for the kernel module builds does have a "-fno-pie" option; however, when I remove it, the build fails with the following:
cc1: error: code model kernel does not support PIC mode
I will try to fix this error, but until I do, VirtualBox will not be available for Factory and Tumbleweed.
Is there any way to change rpmlint's behavior while this problem is being fixed?
Larry
Well.. -fno-pie only for building kernel code should solve that problem. however it errors out for the executable /usr/lib/virtualbox/VirtualBox instead.. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (6)
-
Cristian Rodríguez
-
Dominique Leuenberger / DimStar
-
Jiri Slaby
-
John Paul Adrian Glaubitz
-
Larry Finger
-
Peter Suetterlin