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

Bug 233467

Summary: sbcl-1.0.18 fails - executable stacks
Product: Gentoo Linux Reporter: Paulo J. Matos <paulo>
Component: [OLD] DevelopmentAssignee: Common Lisp Bugs <common-lisp>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Scanelf execstack file

Description Paulo J. Matos 2008-07-31 10:00:23 UTC
Documentation:
 man /var/tmp/portage/dev-lisp/sbcl-1.0.18/image//usr/share/man/man1/sbcl.1
cp: cannot stat `doc/manual/*.info': No such file or directory
cp: cannot stat `doc/manual/*.info-*': No such file or directory
cp: cannot stat `doc/manual/*.pdf': No such file or directory
>>> Completed installing sbcl-1.0.18 into /var/tmp/portage/dev-lisp/sbcl-1.0.18/image/

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/bin/sbcl
   usr/lib64/sbcl/sb-bsd-sockets/a.out
   usr/lib64/sbcl/sb-posix/a.out
ecompressdir: bzip2 -9 /usr/share/man
ecompressdir: bzip2 -9 /usr/share/info

 * 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.
 *  For more information, see http://hardened.gentoo.org/gnu-stack.xml
 *  Please include this file in your report:
 *  /var/tmp/portage/dev-lisp/sbcl-1.0.18/temp/scanelf-execstack.log
 * RWX --- --- usr/bin/sbcl

 * ERROR: dev-lisp/sbcl-1.0.18 failed.
 * Call stack:
 *       misc-functions.sh, line 715:  Called install_qa_check
 *       misc-functions.sh, line 233:  Called die
 * The specific snippet of code:
 *                      die "Aborting due to QA concerns: ${die_msg}"
 *  The die message:
 *   Aborting due to QA concerns:  execstacks
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-lisp/sbcl-1.0.18/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lisp/sbcl-1.0.18/temp/environment'.
!!! post install failed; exiting.

Reproducible: Always
Comment 1 Paulo J. Matos 2008-07-31 10:01:03 UTC
Created attachment 161826 [details]
Scanelf execstack file
Comment 2 Paulo J. Matos 2008-07-31 10:01:41 UTC
Portage 2.2_rc4 (default/linux/amd64/2008.0/developer, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.18-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.18-gentoo-r4-x86_64-Intel-R-_Pentium-R-_D_CPU_3.40GHz-with-glibc2.2.5
Timestamp of tree: Thu, 31 Jul 2008 02:01:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r9, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildsyspkg ccache collision-protect cvs digest distlocks fixpackages multilib-strict parallel-fetch preserve-libs sandbox sfperms sign splitdebug strict stricter unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="R X Xaw3d a52 aac aalib accessibility acl acpi ada aiglx akamaru alsa amarok amazon amd64 apache2 arts artworkextra asf aspnet aspnet2 athena auctex audiofile avahi avalon-framework avalon-logkit backtrace bashlogger bcp berkdb big-tables bjam blas blender-game bluetooth bogofilter bonobo boo branding bzip2 cairo calendar captury cdda cddb cdio cdparanoia cdr chicken cli corba cpudetection cracklib crypt css ctype cups curl cursors cvs cvsgraph cxx daap dbus dc1394 dcraw designer-plugin device-mapper dga dhcp divx djvu dnd dri dv dvb dvd dvdr dvdread dvi dxr3 eap-tls eds effects emacs emboss emerald encode enscript eolconv escreen esd etwin evdev evo examples exif expat extra extra-algorithms extra-cardsets extraengine extrafilters extraicons extramodules extras fam fame fastcgi fat ffmpeg firefox flac fluidsynth fortran ftp gd gdbm gdm gif gimp gimpprint gkrellm glade glep glib glitz glut gmail gmedia gmp gpm grammar graphviz gstreamer gtk gtkhtml guile gzip-el hal haskell hddtemp hfs highlight howl htmlhandbook httpd icons iconv imagemagick imlib inkjar isdnlog ithreads jabber jack java javascript jfs jikes jingle jpeg jpeg2k kde kdm kerberos keyring kig-scripting kpathsea lapack latex latin1 ldb leim lesstif libcaca libffi libgda libnotify libssh2 libwww lm_sensors log4j lua lzo mad math mbox md5sum mdnsresponder-compat midi mikmod mjpeg mmx mng mod_irc mod_muc mod_pubsub mod_python moneyplex mono motif mozbranding mozdevelop mozdom mozsha1 mp3 mp4 mp4live mpeg mplayer mppe-mppc msn mudflap multilib musicbrainz mysql nautilus ncurses neXt network-cron networking networkmanager nls nntp nova nptl nptlonly nsplugin ntfs nvidia objc objc++ objc-gc ocaml octave ogg openal opengl openmp ots pam pascal pbm pcre pdf perforce perl php pike plotutils plugins png pop posix postgres postscript povray ppds pppd preview-latex pyste python qt-static qt3 qt3support qt4 quicktime radius rar rdesktop readline realmedia reflection regex reiser4 reiserfs replytolist ruby samba sametime sasl scsh sdl sdl-image sensord server servletapi session skins slang slp sndfile snmp soap solver sound speex spell spl sql sqlite sqlite3 sse sse2 ssl startup-notification stream subtitles subversion svg svnserve swig sysfs t1lib tagwriting tcl tcltk tcpd tetex theora thesaurus threads tidy tiff timidity tk toolkit-scroll-bars tools truetype type1 unicode usb utempter v4l v4l2 vcd vim-syntax visualization vorbis wmf wmp wordperfect wxwindows x264 xcomposite xface xfs xft xine xml xmlreader xmlrpc xmlwriter xorg xpm xrandr xscreensaver xsl xulrunner xv xvid yaz zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-08-03 14:52:05 UTC
It seems that this is a *feature* of sbcl, and upstream people won't fix it soon. I added to the 1.0.18 and 1.0.19 ebulds a QA_EXECSTACK entry, in order to disable the warnings/failures(when "strict stricter" is in FEATURES), for now. This is a workaround, but I don't think we are able to fix it ourselves( I already tried, but it leads to non working sbcl executable). Stelian, thanks for helping with this. I resolve the bug as CANTFIX.