<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>218753</bug_id>
          
          <creation_ts>2008-04-21 18:01 0000</creation_ts>
          <short_desc>[QA] dev-lang/python-2.5.2-r2 has executable stacks issues</short_desc>
          <delta_ts>2008-05-14 17:55:12 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>InSVN</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>sandro.bonazzola@gmail.com</reporter>
          <assigned_to>python@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>sandro.bonazzola@gmail.com</who>
            <bug_when>2008-04-21 18:01:53 0000</bug_when>
            <thetext>dev-lang/python-2.5.2-r2  USE=&quot;berkdb doc gdbm ipv6 ncurses readline ssl threads tk -bootstrap -build -examples -sqlite -ucs2 -wininst&quot;

QA: other
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-lang/python-2.5.2-r2/temp/scanelf-execstack.log
RWX --- --- usr/lib64/python2.5/lib-dynload/_ctypes.so</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sandro.bonazzola@gmail.com</who>
            <bug_when>2008-04-21 18:02:34 0000</bug_when>
            <thetext>Created an attachment (id=150514)
scanelf-execstack

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sandro.bonazzola@gmail.com</who>
            <bug_when>2008-04-21 18:03:36 0000</bug_when>
            <thetext># emerge --info
Portage 2.1.5_rc5 (default/linux/amd64/2008.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3500+
Timestamp of tree: Mon, 21 Apr 2008 15:45:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.2-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r1
ACCEPT_KEYWORDS=&quot;amd64 ~amd64&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-march=athlon64 -O2 -pipe&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config /var/lib/hsqldb&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/initng/daemon /etc/initng/net /etc/initng/system /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d&quot;
CXXFLAGS=&quot;-march=athlon64 -O2 -pipe&quot;
DISTDIR=&quot;/home/ftp/distfiles&quot;
EMERGE_DEFAULT_OPTS=&quot;--with-bdeps y&quot;
FEATURES=&quot;ccache collision-protect cvs distlocks elog java-strict metadata-transfer multilib-strict parallel-fetch sandbox sfperms sign strict stricter unmerge-orphans userfetch userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;ftp://mirror.switch.ch/mirror/gentoo/ &quot;
LANG=&quot;it_IT.UTF-8&quot;
LC_ALL=&quot;it_IT.UTF-8&quot;
LDFLAGS=&quot;&quot;
LINGUAS=&quot;it&quot;
PKGDIR=&quot;/home/ftp/packages&quot;
PORTAGE_COMPRESS=&quot;bzip2&quot;
PORTAGE_COMPRESS_FLAGS=&quot;-9&quot;
PORTAGE_RSYNC_EXTRA_OPTS=&quot; --timeout=800 --progress &quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/overlays/portage&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;3dnow 3dnowext 3ds 7zip X a52 aac acl acpi alsa amd64 amr apache2 arts audiofile avahi bash-completion berkdb bl branding bzip2 cairo cal3d caps ccache cdb cddb cdparanoia cdr cg chroot cli cpudetection cracklib crypt css cups curl custom-cflags dbus devhelp dga directfb disk-partition djvu dmi dovecot-sasl dri dts dv dvd dvdr dvdread emboss emerald encode epydoc erandom esd evo exif expat extrafilters fam fame ffmpeg firefox flac fltk foomaticdb fortran gd gdbm ggi gif gimp glib glibc-omitfp glitz glut gmp gnokii gnome gnutls gphoto2 gpm graphviz gsm gstreamer gtk gtkhtml guile hal hbci howl-compat iconv idn ieee1394 imagemagick imlib ipv6 isc isdnlog ithreads java javacomm javascript jbig jce jikes jpeg jpeg2k justify kde kdeenablefinal kdehiddenvisibility kqemu lcms ldap libcaca libnotify linuxthreads-tls lm_sensors logitech-mouse logrotate lzo mad mailwrapper matroska mbox mdb mhash midi mikmod mjpeg mmap mmx mmxext mng motif mozdevelop mp3 mpeg mppe-mppc msn mudflap multilib musepack musicbrainz mysql ncurses nfs nls nptl nptlonly nsplugin numeric nvidia odbc ode offensive ofx ogg ogre openexr opengl openmp oss pam parport pch pcre pdf perl php png povray ppds pppd print pulseaudio python qa qt3 qt3support qt4 quicktime quotes rdesktop readline reflection resolvconf restrict-javascript rtc samba scanner sdl session slang slp smime sndfile snmp speex spell spl sse sse2 ssl startup-notification subversion svg sysfs syslog tcpd test tetex tga theora threads tidy tiff timidity tk truetype unicode usb userlocales utempter v4l v4l2 vcd vda vorbis vorbis-psy wma wmf wmp xattr xcomposite xforms xine xinerama xml xorg xpm xprint xscreensaver xv xvid xvmc yv12 zeroconf zlib&quot; ALSA_CARDS=&quot;intel8x0&quot; ALSA_PCM_PLUGINS=&quot;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&quot; APACHE2_MODULES=&quot;actions alias auth_basic authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias&quot; APACHE2_MPMS=&quot;worker&quot; CAMERAS=&quot;canon directory panasonic pccam300 &quot; ELIBC=&quot;glibc&quot; FOO2ZJS_DEVICES=&quot;hp1005 hpp1005&quot; INPUT_DEVICES=&quot;mouse evdev keyboard&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;it&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;nvidia nv&quot;
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, MAKEOPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hawking@gentoo.org</who>
            <bug_when>2008-04-21 23:11:50 0000</bug_when>
            <thetext>This¹ patch should fix it. It&apos;s a dirty hack to pass -Wa,--noexecstack to cflags when building ctypes. This will be included in the next revision bump.

¹: http://overlays.gentoo.org/proj/python/changeset/57</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hawking@gentoo.org</who>
            <bug_when>2008-05-13 15:49:15 0000</bug_when>
            <thetext>2.5.2-r3 fixes this. Thanks for reporting :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sandro.bonazzola@gmail.com</who>
            <bug_when>2008-05-14 17:55:12 0000</bug_when>
            <thetext>Verified working. Thanks for fixing :-)</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>150514</attachid>
            <date>2008-04-21 18:02 0000</date>
            <desc>scanelf-execstack</desc>
            <filename>scanelf-execstack.log</filename>
            <type>text/plain</type>
            <data encoding="base64">UldYIC0tLSAtLS0gaW1hZ2UvdXNyL2xpYjY0L3B5dGhvbjIuNS9saWItZHlubG9hZC9fY3R5cGVz
LnNvClJXWCAtLS0gLS0tIHdvcmsvUHl0aG9uLTIuNS4yL2J1aWxkL2xpYi5saW51eC14ODZfNjQt
Mi41L19jdHlwZXMuc28KIVdYIC0tLSAtLS0gd29yay9QeXRob24tMi41LjIvYnVpbGQvdGVtcC5s
aW51eC14ODZfNjQtMi41L3Zhci90bXAvcG9ydGFnZS9kZXYtbGFuZy9weXRob24tMi41LjItcjIv
d29yay9QeXRob24tMi41LjIvTW9kdWxlcy9fY3R5cGVzL2xpYmZmaS9zcmMveDg2L3VuaXg2NC5v
Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>