<?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>63762</bug_id>
          
          <creation_ts>2004-09-12 03:37 0000</creation_ts>
          <short_desc>(toolchain) egenix-mx-base won&apos;t compile when python has -fstack-protector enabled.</short_desc>
          <delta_ts>2005-03-15 08:08:42 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>Hardened</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>kl@vsen.dk</reporter>
          <assigned_to>hardened@gentoo.org</assigned_to>
          <cc>askwar@digitalprojects.com</cc>
    
    <cc>merlin@gentoo.org</cc>
    
    <cc>python@gentoo.org</cc>
    
    <cc>rich0@gentoo.org</cc>
    
    <cc>sandino@sandino.net</cc>

      

      
          <long_desc isprivate="0">
            <who>kl@vsen.dk</who>
            <bug_when>2004-09-12 03:37:13 0000</bug_when>
            <thetext>Hi guys,

Just installed a new gcc with stack-smashing protection - and while
recompiling modules with stack-smashing protection, I got this message:
--
copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -&gt;
/var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l
ib/python2.3/site-packages/mx/Misc
copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -&gt;
/var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/
python2.3/site-packages/mx/Misc
writing byte-compilation script
&apos;/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py&apos;
/usr/bin/python -O
/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py
usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47:
SyntaxWarning: name &apos;debugging&apos; is use
d prior to global declaration
python: stack smashing attack in function symtable_node()
error: command &apos;/usr/bin/python&apos; terminated by signal 6

!!! ERROR: dev-python/egenix-mx-base-2.0.5 failed.
!!! Function distutils_src_install, Line 43, Exitcode 1
!!! (no error message)

so it seems egenix-mx-base causes a bufferoverflow in python which is caught by the stack-protector.

p.s. it&apos;s python-2.3.3-r1.
p.s. I&apos;m using gcc-3.4.1 with USE flags: hardened pie pic and -fstack-protector

Reproducible: Always
Steps to Reproduce:
1.emerge python with -fstac-protector in CFLAGS
2.emerge egenix-mx-base.


Actual Results:  
emerge failed.

Expected Results:  
finished emerging :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kl@vsen.dk</who>
            <bug_when>2004-09-12 03:38:37 0000</bug_when>
            <thetext>I reported it to egenix - and here&apos;s what they said:
http://lists.egenix.com/mailman-archives/egenix-users/2004-September/000476.html</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2004-09-28 18:52:52 0000</bug_when>
            <thetext>Please report this to the upstream maintainers. I don&apos;t think anybody on the hardened team uses that software.

Get the author to audit said function. But also be sure your python is not compiled with -O3 and -fstack-protector-all. (python does not like -O3 and -all)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nigelenki@comcast.net</who>
            <bug_when>2004-09-29 22:44:12 0000</bug_when>
            <thetext>/usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpqVXq7h.py
usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name &apos;debugging&apos; is used prior to global declaration
&gt;&gt;&gt;python&lt;&lt;&lt;: stack smashing attack in function symtable_node()
error: command &apos;/usr/bin/python&apos; terminated by signal 6

!!! ERROR: dev-python/egenix-mx-base-2.0.5 failed.

This is dying in *python* mind you (note the &gt;&gt;&gt;&lt;&lt;&lt; emphasising the program).  Is it to be blamed on egenix for causing an overflow, or on python for having a condition in which a buffer overflows?

this is needed for postgresql, btw.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kl@vsen.dk</who>
            <bug_when>2004-09-29 23:45:13 0000</bug_when>
            <thetext>I agree it&apos;s a bug in python (as i did state - bufferoverflow in Python) - triggered by egenix.
The CFLAGS  I&apos;ve compiled python with are these:
CFLAGS=&quot;-march=i586 -m3dnow -O2 -pipe -fomit-frame-pointer -ffast-math -falign-functions=4 -falign-jumps=4 -fstack-protector -ftracer -fweb&quot;
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>danorris@gmail.com</who>
            <bug_when>2004-12-03 07:37:12 0000</bug_when>
            <thetext>I get the same problem in amd64 non-hardened, with egenix-mx-base-2.0.5 and python-2.3.4. Here&apos;s my emerge info:

Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3,sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS=&quot;amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=athlon64 -O3 -pipe -funroll-loops -fomit-frame-pointer&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
COMPILER=&quot;&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=athlon64 -O3 -pipe -funroll-loops -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks sandbox&quot;
GENTOO_MIRRORS=&quot;http://mirrors.tds.net/gentoo ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;X acpi aim alsa amd64 apache2 apm avi bash-completion berkdb bitmap-fonts bzlib cdr crypt ctype cups directfb divx4linux doc dvd dvdr encode esd ethereal f77 fftw flac fortran ftp gd gif gnome gpm gtk gtk2 gtkhtml hardened icq innodb ipv6 java jikes joystick jp2 jpeg junit lzw lzw-tiff mad mpeg multilib mysql mysqli ncurses nls nocd offensive oggvorbis openal opengl oscar oss pam pcre pdflib perl png posix postgres python qt quicktime readline samba sdl shared sharedmem soap sockets spell ssl svg tcpd tidy tiff truetype unicode usb userlocales vhosts videos wxwindows xine xml2 xmms xpm xrandr xv xvid yahoo zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mystilleef@gmail.com</who>
            <bug_when>2004-12-16 14:49:45 0000</bug_when>
            <thetext>Same problem here. How is this issue being resolved?

Portage 2.0.51-r8 (hardened/x86, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.7-hardened-r17 i686)
=================================================================
System uname: 2.6.7-hardened-r17 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 15 2004, 08:16:14)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r1
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-w -pipe -funit-at-a-time -ftracer -frename-registers -fweb     -march=athlon -Os -fomit-frame-pointer -fforce-addr -s -fPIC -fpic&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-w -pipe -funit-at-a-time -ftracer -frename-registers -fweb           -march=athlon -Os -fomit-frame-pointer -fforce-addr -s -fPIC -fpic&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache digest distlocks fixpackages sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage//packages/x86/&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage /usr/local/bmg-main&quot;
SYNC=&quot;rsync://rsync.namerica.gentoo.org/gentoo-portage&quot;
USE=&quot;3dnow 3dnowex X alsa avi bindist bonobo cdparanoia cdr crypt curl dlloader dvd encode erandom esd faad fam flac gif gnome gnutls gstreamer gtk gtk2 hal hardened howl imagemagick imlib ithreads jpeg libwww live mad mmx mmx2 mng mpeg ncurses network nls nptl nptlonly oggvorbis opengl oss pam pic pie png quicktime readline real rtc speex spell ssl svg tcpd tetex theora threads tiff truetype truetype-fonts unicode usb userlocales wmf x86 xine xml xml2 xv zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dario@ronzani.it</who>
            <bug_when>2004-12-20 04:46:16 0000</bug_when>
            <thetext>Helo,

I have &quot;bypass&quot; the problem by deleting the file pytag.py from the tarball, because in the link http://lists.egenix.com/mailman-archives/egenix-users/2004-September/000476.html posted by klavs klavsen the developer of this program say &quot;pytag.py is no longer used or maintained, so you can safely delete it&quot;

also I had do this command to recreate the diggest information: 
ebuild egenix-mx-base-2.0.5.ebuild digest

also with the version 2.0.6 find in the http://www.egenix.com/ the problem persist.

Hope to be usefull, By Dario</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>askwar@digitalprojects.com</who>
            <bug_when>2004-12-31 01:33:42 0000</bug_when>
            <thetext>Is -fstack-protector automatically enabled when a hardened toolchain is used? I&apos;m also seeing this issue:

writing byte-compilation script &apos;/var/tmp/portage/egenix-mx-base-2.0.6/temp/tmpu2q9MO.py&apos;
/usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.6/temp/tmpu2q9MO.py
usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name &apos;debugging&apos; is used prior to global declaration
python: stack smashing attack in function symtable_node()
error: command &apos;/usr/bin/python&apos; terminated by signal 6

!!! ERROR: dev-python/egenix-mx-base-2.0.6 failed.


However, in my CFLAGS, there&apos;s no -fstack-protector specified by me. But I did compile python with a hardened gcc:


10:29:26 askwar@alturo:/tmp $ gcc --version
gcc (GCC) 3.4.3 20041125 (Gentoo Hardened Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)



10:32:08 askwar@alturo:/tmp $ emerge info
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r1.PHP2.06 i686)
=================================================================
System uname: 2.6.10-gentoo-r1.PHP2.06 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 31 2004, 10:25:08)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=pentium4 -O2 -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-fomit-frame-pointer -pipe -O2 -march=pentium4&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache collision-protect distlocks sandbox sfperms&quot;
GENTOO_MIRRORS=&quot;http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://194.117.158.29/&quot;
LDFLAGS=&quot;-O1&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 acl apache2 apm arts async avi bzlib crypt cscope cups curl curlwrappers diet djbfft encode exif fam flash foomaticdb ftp fwdzone gd gdbm gif hal hardened iconv imagemagick imap immqt-bc ithreads javascript jpeg libedit libwww lzo lzw lzw-tiff mad maildir mailwrapper mbox mmap mmx mng mpeg mysql ncurses nls no-old-linux noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces nptl offensive oggvorbis opengl oss pam parse-clocks pcntl pcre pdflib perl pic pie png posix postgres pwdb python qt quicktime readline recode sasl sdl shared slang sockets spell sse ssl sysvipc tcpd tiff truetype unicode vhosts xfs xml2 xmms xv zlib linguas_de&quot;



</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>askwar@digitalprojects.com</who>
            <bug_when>2004-12-31 01:33:48 0000</bug_when>
            <thetext>*** Bug 76215 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>evilshenaniganz@yahoo.com</who>
            <bug_when>2005-01-06 23:44:03 0000</bug_when>
            <thetext>I am having the same problem with this egenix-mx-base.  All this stuff floating around about -O2, -O3, -fstack-protector-all seems to yield the same problem for me.  First, here is my gcc info:

Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs
Configured with: /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.3 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3 --host=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-shared --enable-threads=posix --disable-multilib --enable-java-awt=gtk --enable-languages=c,c++,f77,objc,java
Thread model: posix
gcc version 3.4.3 20041125 (Gentoo Hardened Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)

Secondly, here is my emerge info:

Gentoo Base System version 1.6.8
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-nitro4 i686)
=================================================================
System uname: 2.6.9-nitro4 i686 Intel(R) Pentium(R) M processor 1300MHz
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan  6 2005, 23:36:22)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=pentium4 -O2 -pipe -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=pentium4 -O2 -pipe -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks sandbox sfperms&quot;
GENTOO_MIRRORS=&quot;http://192.168.0.104/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo&quot;
LDFLAGS=&quot;&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
###USE FLAGS WERE CUT DOWN TO RELEVANT USE FLAGS TO SAVE SPACE, THERE ARE MANY MORE IN MY /etc/make.conf###
USE=&quot;X berkdb doc gdbm ipv6 ncurses readline ssl tcltk&quot;

I ran six cases, each time recompiling python with different CFLAGS/CXXFLAGS.  The cases are:

1.  -march=pentium4 -O2 -pipe -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer
2.  -march=pentium4 -O2 -fstack-protector -pipe -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer
3.  -march=pentium4 -O2 -fstack-protector-all -pipe -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer
4.  -march=pentium4 -O3 -pipe -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer
5.  -march=pentium4 -O3 -fstack-protector -pipe -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer
6.  -march=pentium4 -O3 -fstack-protector-all -pipe -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer

Taking excerpts of successfull building up to the point of failure from each attempt to build egenix-mx-base yielded the following results for every case:

copying build/lib.linux-i686-2.3/mx/DateTime/Parser.py -&gt; /var/tmp/portage/egenix-mx-base-2.0.6/image/usr/lib/python2.3/site-packages/mx/DateTime
copying build/lib.linux-i686-2.3/mx/DateTime/__init__.py -&gt; /var/tmp/portage/egenix-mx-base-2.0.6/image/usr/lib/python2.3/site-packages/mx/DateTime
copying build/lib.linux-i686-2.3/mx/DateTime/Feasts.py -&gt; /var/tmp/portage/egenix-mx-base-2.0.6/image/usr/lib/python2.3/site-packages/mx/DateTime
copying build/lib.linux-i686-2.3/mx/__init__.py -&gt; /var/tmp/portage/egenix-mx-base-2.0.6/image/usr/lib/python2.3/site-packages/mx
writing byte-compilation script &apos;/var/tmp/portage/egenix-mx-base-2.0.6/temp/tmppzCfWB.py&apos;
/usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.6/temp/tmppzCfWB.py
usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name &apos;debugging&apos; is used prior to global declaration
python: stack smashing attack in function symtable_node()
error: command &apos;/usr/bin/python&apos; terminated by signal 6

!!! ERROR: dev-python/egenix-mx-base-2.0.6 failed.
!!! Function distutils_src_install, Line 43, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

---
to be sure the results were identical i ran each excerpt through a word processors and each excerpt had the same characteristics:
Words:  76
Characters (no spaces):  1118
Characters (with spaces):  1181
Paragraphs:  13
Lines:  20
---

Hope this helps in tracking down this bug.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>merlin@gentoo.org</who>
            <bug_when>2005-01-09 22:31:57 0000</bug_when>
            <thetext>I&apos;m able to get this to build nicely by simply removing pytag.py during the unpack stage.

Does anyone have any objections to resolving the bug in this manner?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>evilshenaniganz@yahoo.com</who>
            <bug_when>2005-01-10 11:03:26 0000</bug_when>
            <thetext>I successfully built egenix-mx-base-2.0.6 as well by removing /var/tmp/portage/egenix-mx-base-2.0.6/work/egenix-mx-base-2.0.6/mx/TextTools/Examples/pytag.py  I forget where I read it, but isn&apos;t pytag.py considered to be deprecated?  Can anyone verify this?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liquidx@gentoo.org</who>
            <bug_when>2005-01-13 09:17:29 0000</bug_when>
            <thetext>removed pytag.py from egenix-mx-base .. hardened please verify?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2005-01-22 10:44:04 0000</bug_when>
            <thetext>Alastair nobody @hardened sems to use or run this program.
I think we will have to wait for the userbase to confirm.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liquidx@gentoo.org</who>
            <bug_when>2005-03-15 08:08:42 0000</bug_when>
            <thetext>assuming fixed. reopen if found otherwise.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>