Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97506 - pylint should remove testcases from install
Summary: pylint should remove testcases from install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-30 08:53 UTC by Patrick Lauer
Modified: 2006-02-06 14:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2005-06-30 08:53:22 UTC
* Byte compiling python modules for python-2.4 .. ...
Compiling
/usr/lib/python2.4/site-packages/pylint/test/input/func_continue_not_in_loop.py ...
  File
"/usr/lib/python2.4/site-packages/pylint/test/input/func_continue_not_in_loop.py",
line 8
    continue
SyntaxError: 'continue' not properly in loop

Compiling
/usr/lib/python2.4/site-packages/pylint/test/input/func_syntax_error.py ...
  File
"/usr/lib/python2.4/site-packages/pylint/test/input/func_syntax_error.py", line 1
    def toto
            ^
SyntaxError: invalid syntax
Compiling
/usr/lib/python2.4/site-packages/pylint/test/input/func_unknown_encoding.py ...
Sorry: MemoryError: ()
Compiling
/usr/lib/python2.4/site-packages/pylint/test/input/func_continue_not_in_loop.py ...
  File
"/usr/lib/python2.4/site-packages/pylint/test/input/func_continue_not_in_loop.py",
line 8
    continue
SyntaxError: 'continue' not properly in loop

Compiling
/usr/lib/python2.4/site-packages/pylint/test/input/func_syntax_error.py ...
  File
"/usr/lib/python2.4/site-packages/pylint/test/input/func_syntax_error.py", line 1
    def toto
            ^
SyntaxError: invalid syntax

Compiling
/usr/lib/python2.4/site-packages/pylint/test/input/func_unknown_encoding.py ...
Sorry: MemoryError: ()                                                    [ !! ]
>>> Regenerating /etc/ld.so.cache...
>>> dev-python/pylint-0.7.0 merged.
>>> Recording dev-python/pylint in "world" favorites file...

Reproducible: Always
Steps to Reproduce:
1. emerge pylint
2.
3.



Expected Results:  
should break and exit or compile cleanly 

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12 i686)
=================================================================
System uname: 2.6.12 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acpi alsa apache2 apm avi
bash-completion berkdb bidi bigger-fonts bitmap-fonts bootsplash ccache cdda
cddb cdparanoia cdr chroot crypt cups curl dga divx4linux dv dvd dvdr dvdread
ecc eds emboss encode esd fam fbcon ffmpeg fftw foomaticdb fortran gd
gd-external gdbm gif gimp gimpprint glep gmp gphoto2 gpm graphviz gstreamer
imagemagick imlib ipv6 jabber jack jikes jit jpeg jpeg2k kde kdeenablefinal
ladcca libg++ libwww lm_sensors lzo lzw-tiff mad matroska mhash mikmod mime
mjpeg mmx mmxext mng motif mozilla mozsvg mp3 mpeg mpeg4 ncurses nls nptl nvidia
ogg oggvorbis openal opengl oss pam parse-clocks pdf pdflib perl physfs png
python qt quicktime readline real recode ruby samba sdl spell sqlite sse sse2
ssl tcltk tcpd tetex threads tiff transcode truetype truetype-fonts type1-fonts
utf8 vorbis win32codecs wxgtk1 xine xml2 xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2005-06-30 10:48:17 UTC
this is non-fatal. there is nothing wrong with the emerge, just that we're compiling files in pylint that are 
deliberately broken for testing purposes. 

have you tried running pylint after that?

maybe we should move those out of site-packages or just not install them
Comment 2 Marien Zwart (RETIRED) gentoo-dev 2006-01-19 09:20:19 UTC
The pylint-0.9.0 ebuild runs those tests in src_test and does not install them. Please test and close if it works for you.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2006-02-06 14:10:14 UTC
i can confirm this fix. closing.