Hi,
AFAIR Base:System had some project settings to compile all binaries with -fPIE
for security reasons since some time, right?
It seems that this setting is gone:
E.g. https://build.opensuse.org/package/live_build_log/Base:System/coreutils/ope…
...
[ 183s] coreutils.x86_64: W: position-independent-executable-suggested /usr/bin/whoami
[ 183s] coreutils.x86_64: W: position-independent-executable-suggested /usr/bin/yes
[ 183s] coreutils.x86_64: W: position-independent-executable-suggested /usr/lib64/coreutils/libstdbuf.so
[ 183s] This executable should be position independent (all binaries should). Check
[ 183s] that it is built with -fPIE/-fpie in compiler flags and -pie in linker flags.
[ 183s]
[ 183s] coreutils.x86_64: E: non-position-independent-executable (Badness: 10000) /usr/bin/timeout
[ 183s] This executable must be position independent. Check that it is built with
[ 183s] -fPIE/-fpie in compiler flags and -pie in linker flags.
[ 183s]
[ 183s] (none): E: badness 10000 exceeds threshold 1000, aborting.
[ 183s] 3 packages and 0 specfiles checked; 1 errors, 106 warnings.
[ 183s]
[ 183s]
[ 183s] wildcard2 failed "build coreutils.spec" at Tue Jul 3 08:23:33 UTC 2018.
[ 183s]
[ 183s] ### VM INTERACTION START ###
[ 186s] [ 177.710765] sysrq: SysRq : Power Off
[ 186s] [ 177.712977] reboot: Power down
[ 186s] ### VM INTERACTION END ###
[ 186s]
[ 186s] wildcard2 failed "build coreutils.spec" at Tue Jul 3 08:23:37 UTC 2018.
[ 186s]
Who ate all the pie? ;-)
Have a nice day,
Berny
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org
All,
I have a little editor that I build that has built for 13.1 to 42.3 without
error. However when enabling the Leap 15 repo for building, I get a failure to
build from source, e.g (an error on link due to symbol problems):
[ 94s] cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast
`pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2
-I/usr/include/gtksourceview-2.0/ -c -o obj/gtk_appdata.o gtk_appdata.c
[ 95s] cc -o bin/gtkwrite_dev obj/gtkwrite.o obj/gtk_windef.o
obj/gtk_toolbar.o obj/gtk_textview.o obj/gtk_statusbar.o obj/gtk_sourceview.o
obj/gtk_settings.o obj/gtk_print.o obj/gtk_menu.o obj/gtk_goto.o
obj/gtk_findreplace.o obj/gtk_filemon.o obj/gtk_filebuf.o obj/gtk_common_dlg.o
obj/gtk_charset.o obj/gtk_appdata.o -Wall -Wextra -pedantic -finline-functions
-std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2
-I/usr/include/gtksourceview-2.0/ `pkg-config --libs gtk+-2.0` -lgtksourceview-2.0
[ 95s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/libcairo.so:
undefined reference to `FT_Get_Var_Design_Coordinates'
[ 95s] /usr/lib64/libharfbuzz.so.0: undefined reference to `FT_Done_MM_Var'
[ 95s] /usr/lib64/libharfbuzz.so.0: undefined reference to
`FT_Get_Var_Blend_Coordinates'
[ 95s] collect2: error: ld returned 1 exit status
[ 95s] make: *** [Makefile:37: gtkwrite] Error 1
[ 95s] error: Bad exit status from /var/tmp/rpm-tmp.C2kJEn (%build)
[ 95s]
[ 95s]
[ 95s] RPM build errors:
[ 95s] Bad exit status from /var/tmp/rpm-tmp.C2kJEn (%build)
[ 95s]
[ 95s] cloud107 failed "build gtkwrite.spec" at Tue Jun 26 06:25:16 UTC 2018.
The package is:
https://build.opensuse.org/package/show/home:drankinatty/gtkwrite
Is there a problem with the new cairo or harfbuzz that isn't compatible with
42.3 versions?
--
David C. Rankin, J.D.,P.E.
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org