Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 118258

Summary: pike 7.6.50 fails, insecure runpaths
Product: Gentoo Linux Reporter: Kim Nilsson <gentoo.bug>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kim Nilsson 2006-01-08 01:02:03 UTC
I've checked the 110136 info for 7.6.24 and even if I follow the instructions there and I've seen that the 7.6.50 ebuild has those "fixes" default it still fails! This is what it looks like for me.
**

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-lang/pike-7.6.50  USE="bzip2 crypt gdbm gif gmp gtk jpeg mmx mysql opengl pcre pdflib sdl ssl tiff truetype zlib -debug -doc -fftw -hardened -kerberos -mime -scanner -svg" 17,110 kB

Total size of downloads: 17,110 kB

**
I say YES and let it rip ...
After a while it list the following to show what is being installed:
**

Pike v7.6 release 50 configuration summary

install information:
prefix........ /usr
pike binary... /usr/bin/pike
pike library.. /usr/pike/7.6.50/lib

system information:
system.... Linux 2.6.14-gentoo-r5
uname..... Linux N-S 2.6.14-gentoo-r5 #1 SMP Sat Dec 17 08:30:07 CET 2005 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux
hostname.. N-S
user...... root

build information:
source path..... /var/tmp/portage/pike-7.6.50/work/Pike-v7.6.50/src
build path...... /var/tmp/portage/pike-7.6.50/work/Pike-v7.6.50/build/linux-2.6.14-gentoo-r5-i686
cpp............. gcc -E
cc.............. /var/tmp/portage/pike-7.6.50/work/Pike-v7.6.50/build/linux-2.6.14-gentoo-r5-i686/smartlink gcc
ld.............. $(CC) $(CFLAGS)
cc shared.......  -fPIC -DDYNAMIC_MODULE
ld shared....... -rdynamic
pike............
install......... /bin/install -c
shared object... .so
libs............ -ldl -lrt -lnsl -lm  -lpthread -lcrypt
cross-compiled.. no
CPPFLAGS........ -I/var/tmp/portage/pike-7.6.50/work/Pike-v7.6.50/build/linux-2.6.14-gentoo-r5-i686/bundles/include -I/usr/X11R6/include
CFLAGS (opt).... -O3 -pipe -fomit-frame-pointer
CFLAGS (warn)...
CFLAGS (misc)... -mtune=pentium4 -march=pentium4
LDFLAGS......... -L/var/tmp/portage/pike-7.6.50/work/Pike-v7.6.50/build/linux-2.6.14-gentoo-r5-i686/bundles/lib -R/usr/local/lib -L/usr/local/lib -R/usr/X11R6/lib -L/usr/X11R6/lib -rdynamic

features:
dynamic loading..... yes
threads............. yes (posix)
signal handler...... SIGCHILD
cdebug.............. no
rtldebug............ no
dmalloc............. no
mmx................. no (mmx.h found, but mmx operations failed)
byte code format.... ia32
module reloc........ no
use machine code.... yes
int type............ long (4 bytes)
float type.......... float (4 bytes) (ieee little endian)
pointer size........ 4 bytes
svalue size......... 8 bytes (2+2+4)

Bz2................. yes (using libbz2)
DVB................. no (missing linux/dvb/sec.h - version 3 api?)
GL.................. yes
GTK................. yes
GTK.GlArea.......... no (dependencies failed)
GTK.GladeXML........ no (dependencies failed)
Gdbm................ yes
Gmp (bignums)....... yes (version 4.1.4, using libgmp)
Gnome............... no (applet-widget.h not found)
Gz.................. yes (libz)
Image............... yes
Image.FreeType...... yes
Image.GIF........... yes
Image.JPEG.......... yes
Image.SVG........... no (forced without)
Image.TIFF.......... yes
Image.TTF........... yes
Image.XFace......... yes
Java................ no (no known JVM found)
Math................ yes
Mird................ no (libmird/mird.h not found)
Mysql............... yes (libmysqlclient)
Nettle.............. yes
Odbc................ no (dependencies failed)
Oracle.............. no (dependencies failed)
PDF.PDFlib.......... yes
PDF.Panda........... no (dependencies failed)
Perl................ no (use --with-perl to compile it)
Postgres............ no (dependencies failed)
Regexp.PCRE......... yes (libpcre)
SDL................. yes
SDL_mixer........... yes
Ssleay.............. no (dependencies failed)
sybase.............. no (dependencies failed)

Warnings and notes summary:

WARNING: -fno-omit-frame-pointer used for interpret.c,
since the use of machine code is broken by -fomit-frame-pointer.

**
Then I just let it continue.

In the end it fails with the following info:
**

>>> Install pike-7.6.50 into /var/tmp/portage/pike-7.6.50/image/ category dev-lang
make[1]: Entering directory `/var/tmp/portage/pike-7.6.50/work/Pike-v7.6.50'

Configure arguments: --prefix=/usr --disable-make_conf --disable-noopty-retry --without-cdebug --with-Bz2 --without-rtldebug --with-nettle --without-fftw --with-gdbm --with-gif --with-gmp --with-bignums --with-GTK --with-jpeglib --without-Kerberos --without-MIME --with-mmx --with-mysql --with-GL --with-GLUT --with-_Regexp_PCRE --with-libpdf --without-sane --with-SDL --with-SDL_mixer --with-ssleay --without-svg --with-tifflib --with-ttflib --with-freetype --with-zlib --without-_Ffmpeg
Use `make CONFIGUREARGS="..." ...' to change them.
They will be retained in the build directory.

Making install in build/linux-2.6.14-gentoo-r5-i686
make[2]: Entering directory `/var/tmp/portage/pike-7.6.50/work/Pike-v7.6.50/build/linux-2.6.14-gentoo-r5-i686'
   Installing Pike in /var/tmp/portage/pike-7.6.50/image/usr, please wait...

   Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
Could not resolv Getopt. (Perhaps the installed pike tree has been moved.)
lib/master.pike:2338: master()->__lambda_65598_1_line_2335("Getopt",UNDEFINED)
Dumping of some modules failed (not fatal) (0x0000000a)
   Pike installation completed successfully.
make[2]: Leaving directory `/var/tmp/portage/pike-7.6.50/work/Pike-v7.6.50/build/linux-2.6.14-gentoo-r5-i686'
make[1]: Leaving directory `/var/tmp/portage/pike-7.6.50/work/Pike-v7.6.50'
man:
prepallstrip:
strip: i686-pc-linux-gnu-strip --strip-unneeded
   /usr/bin/pike
   /usr/lib/pike/modules/DVB.so
   /usr/lib/pike/modules/Parser.pmod/_parser.so
   /usr/lib/pike/modules/Postgres.so
   /usr/lib/pike/modules/Bz2.so
   /usr/lib/pike/modules/___Oracle.so
   /usr/lib/pike/modules/SANE.so
   /usr/lib/pike/modules/Gmp.so
   /usr/lib/pike/modules/GL.so
   /usr/lib/pike/modules/Perl.so
   /usr/lib/pike/modules/PDF.so
   /usr/lib/pike/modules/_Image_JPEG.so
   /usr/lib/pike/modules/SDL.so
   /usr/lib/pike/modules/Nettle.so
   /usr/lib/pike/modules/Pipe.so
   /usr/lib/pike/modules/Ssleay.so
   /usr/lib/pike/modules/_Image_GIF.so
   /usr/lib/pike/modules/Image.so
   /usr/lib/pike/modules/Gettext.so
   /usr/lib/pike/modules/_Image_XFace.so
   /usr/lib/pike/modules/spider.so
   /usr/lib/pike/modules/___Math.so
   /usr/lib/pike/modules/____Charset.so
   /usr/lib/pike/modules/_Image_SVG.so
   /usr/lib/pike/modules/___Gz.so
   /usr/lib/pike/modules/_Image_TTF.so
   /usr/lib/pike/modules/___Yp.so
   /usr/lib/pike/modules/GLUT.so
   /usr/lib/pike/modules/___Mird.so
   /usr/lib/pike/modules/_Image_TIFF.so
   /usr/lib/pike/modules/___GTK.so
   /usr/lib/pike/modules/CommonLog.so
   /usr/lib/pike/modules/Mysql.so
   /usr/lib/pike/modules/sybase.so
   /usr/lib/pike/modules/_Image_FreeType.so
   /usr/lib/pike/modules/HTTPAccept.so
   /usr/lib/pike/modules/_ADT.so
   /usr/lib/pike/modules/Gdbm.so
   /usr/lib/pike/modules/_Roxen.so
   /usr/lib/pike/modules/____Regexp_PCRE.so
   /usr/lib/pike/modules/Msql.so
   /usr/lib/pike/modules/___Regexp.so
   /usr/lib/pike/modules/___Java.so
   /usr/lib/pike/modules/Unicode.so
   /usr/lib/pike/modules/Shuffler.so
   /usr/lib/pike/modules/Odbc.so

QA Notice: the following files contain insecure RUNPATH's
 Please file a bug about this at http://bugs.gentoo.org/
 For more information on this issue, kindly review:
 http://bugs.gentoo.org/81745
/var/tmp/portage/pike-7.6.50/work/Pike-v7.6.50/build/linux-2.6.14-gentoo-r5-i686/bundles/lib:/usr/local/lib:/usr/X11R6/lib usr/bin/pike


QA Notice: the following files contain executable stacks
 Files with executable stacks will not work properly (or at all!)
 on some architectures/operating systems.  A bug should be filed
 at http://bugs.gentoo.org/ to make sure the file is fixed.
RWX --- --- usr/lib/pike/modules/Image.so


!!! ERROR: dev-lang/pike-7.6.50 failed.
!!! Function dyn_install, Line 1094, Exitcode 0
!!! Aborting due to serious QA concerns with RUNPATH/RPATH
!!! If you need support, post the topmost build error, NOT this status message.

**
I hav no clue how to fix that. Hopefully someone else does. Good luck!
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-08 01:23:49 UTC

*** This bug has been marked as a duplicate of 116795 ***