Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362611 - dev-python/papyon-0.5.4 - setup.py: File "/usr/lib64/python2.7/site-packages/Crypto/Util/number.py", line 432 [...]: SystemError: unknown opcode
Summary: dev-python/papyon-0.5.4 - setup.py: File "/usr/lib64/python2.7/site-packages/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-08 14:51 UTC by Laurento Frittella (mrfree)
Modified: 2013-03-22 21:11 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,4.26 KB, text/plain)
2011-04-08 14:51 UTC, Laurento Frittella (mrfree)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurento Frittella (mrfree) 2011-04-08 14:51:14 UTC
Created attachment 269025 [details]
build.log

# emerge --info
Portage 2.1.9.45 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r2, 2.6.38-ck x86_64)
=================================================================
System uname: Linux-2.6.38-ck-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.0.2
Timestamp of tree: Fri, 08 Apr 2011 10:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.2_p8
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.38 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL skype-eula sun-bcla-java-vm AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.linuxant.fr/distfiles.gentoo.org/ http://de-mirror.org/distro/gentoo/"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu,-O1 -Wl,--as-needed"
LINGUAS="it en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/lib/layman/mv /var/lib/layman/sunrise /var/lib/layman/x11 /var/lib/layman/zugaina /var/lib/layman/desktop-effects /var/lib/layman/lcd-filtering /var/lib/layman/gnome /usr/portage /usr/local/portage /var/lib/layman/lcd-filtering"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr applet avahi berkdb bluetooth bzip2 cairo cdr cli cracklib crypt css cups cxx dbus djvu dri dts dvd dvdr dvdread encode exif ffmpeg fftw flac foomaticdb fortran gallium gconf gdbm gif gnome gnome-keyring gnome-print gnutls gpm gstreamer gtk gtk3 iconv idn introspection ipod ipv6 java jpeg jpeg2k keyring lame laptop latex lcms libnotify logrotate lzma lzo mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses networkmanager newspr nls nptl nptlonly nsplugin offensive ogg openal opengl openmp pam pcre pdf perl png policykit ppds pppd pulseaudio python qt3support quicktime readline samba schroedinger sdl semantic-desktop session spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs system-sqlite tcpd tetex theora threads tiff truetype udev unicode usb v4l2 vaapi vala vorbis vpx wifi x264 xattr xcb xcomposite xinerama xml xorg xulrunner xv xvid xvmc zeroconf 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 mmap_emul 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-04-08 16:49:13 UTC
Pretty weird error. Might have to do with Python 2.6 vs. Python 2.7.

Can you try with 2.6?
Comment 2 Pacho Ramos gentoo-dev 2011-04-11 09:30:00 UTC
Unable to reproduce, did you run "python-updater" after updating python?
Comment 3 Laurento Frittella (mrfree) 2011-04-11 09:38:07 UTC
Yup, I've ran 'python-update' switching from 2.6 to 2.7
Comment 4 Pacho Ramos gentoo-dev 2011-05-08 10:43:00 UTC
Please retry with 0.5.5
Comment 5 Laurento Frittella (mrfree) 2011-08-31 12:16:05 UTC
Same issue with 0.5.5 version
Comment 6 Laurento Frittella (mrfree) 2011-08-31 12:34:34 UTC
Ok it was a problem with dev-python/pycrypto, some file like /usr/lib64/python2.7/site-packages/Crypto/pct_warnings.py{c,o} doesn't seems to be replaced by a simple emerge recompiling the same package version

After a good:
# emerge -C dev-python/pycrypto && emerge -1 dev-python/pycrypto

All works now
Comment 7 Pacho Ramos gentoo-dev 2011-08-31 12:53:54 UTC
The problem looks to be in pycrypto then :-/
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-01-20 12:27:20 UTC
$ LC_ALL=C ls /usr/lib64/python2.7/site-packages/Crypto/pct_warnings.py* -l
-rw-r--r-- 1 root root 2295 May 24  2012 
/usr/lib64/python2.7/site-packages/Crypto/pct_warnings.py
-rw-r--r-- 1 root root 2195 Jun 20  2012 
/usr/lib64/python2.7/site-packages/Crypto/pct_warnings.pyc
-rw-r--r-- 1 root root 2195 Jun 20  2012 
/usr/lib64/python2.7/site-packages/Crypto/pct_warnings.pyo

so I guess this is what python herd was talking about when talking about the 
pros and cons of having .pyc/.pyo managed ebuild and not by eclass postinst.

This should be easily solved by moving the package to distutils-r1.eclass.
Comment 9 Olivier Crete (RETIRED) gentoo-dev 2013-01-21 15:35:40 UTC
Don't waste your time, this package is abandonned upstream.. And Microsoft will turn off the server in less than two months, on March 15, 2013.
Comment 10 Pacho Ramos gentoo-dev 2013-01-21 18:50:44 UTC
(In reply to comment #9)
> Don't waste your time, this package is abandonned upstream.. And Microsoft
> will turn off the server in less than two months, on March 15, 2013.

Will probably need to wait until it's treecleaned before closing its bugs as wontfix :/
Comment 11 Pacho Ramos gentoo-dev 2013-01-21 18:57:14 UTC
Looks like both (papyon and telepathy-butterfly) could be treecleaned as nothing (I just dropped emesene version needing papyon) need them
Comment 12 Markos Chandras (RETIRED) gentoo-dev 2013-03-22 21:11:50 UTC
gone