| Summary: | dev-lang/python-2.6.5-r2: Upgrade broken | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Paul Osmialowski <newchief> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | dark, gentoo, gothiger |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build log from temp directory
List of files inside image/ Files from image not present after install List of files inside image/ after ebuild install build.log from dev-lang/python-2.6.5-r3/temp |
||
|
Description
Paul Osmialowski
2010-06-24 11:51:40 UTC
Created attachment 236391 [details]
build log from temp directory
Forgotten to mention that revert to python-2.6.4-r1 was successfull, I could eselect back to python-2.6.
Same problem on my hardened gentoo box. Tried recompiling python:2.6 and python:3.1 several times, ran revdep-rebuild but portage will still keep the lib-dynload almost empty. I'll attach the image/ file-listing and a list of files not found in the system after install finished. # emerge --info Portage 2.1.8.3 (hardened/linux/x86, gcc-4.3.4, glibc-2.11.2-r0, 2.6.28-hardened-r9TCQS i686) ================================================================= System uname: Linux-2.6.28-hardened-r9TCQS-i686-Intel-R-_Xeon-TM-_CPU_1700MHz-with-gentoo-1.12.13 Timestamp of tree: Sun, 18 Jul 2010 09:45:02 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 2.4 [disabled] app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA ut2003 skype-eula dlj-1.1 sun-bcla-java-vm" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="assume-digests distlock distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://mirror.netcologne.de/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.lagis.at/ http://mirror.bytemark.co.uk/gentoo/ http://mirror.netcologne.de/gentoo/ http://mirror.muntinternet.net/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="de_DE@euro" LC_ALL="de_DE@euro" LDFLAGS="-Wl,-O1" LINGUAS="de en" 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="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="S3TC X509 a52 aac aalib acl acpi activefilter aim alsa apache2 async atm audiofile auth authdaemond authfile authlib avahi bash-completion bcmath berkdb big-tables bittorrent bonjour branding bzip2 ccache cdb cdda cddb cdinstall cdio cdparanoia cdr cdrom cdsound chroot cjk clamav clamd cli cluster corefonts cracklib crosscompile crypt css csv ctype cups curl curlwrappers cxx d daap daemon dbus dedicated dhcp directfb dlopen domain-aware dri dts dv dvb dvbplayer dvd dvdr dvdread dvi dx dxr3 dxr3-audio-denoise dynagraph eap-tls eds elf emboss encode examples exif extensions extraengine extrafilters extramodules extras fam fame fastcgi fbcon fbdev fbsplash festival ffmpeg finger flac fontconfig fortran fping fpx ftp fuse gadu gcj gd gdbm geldkarte geoip gif gmail gnutls gphoto2 gpm gps graphicsmagick gs gsm gstreamer gtalk gzip h323 hal hardened hash howl howl-compat html http httpd hub iconv icq id3 idea idn ieee1394 ifp imagemagick imap imlib immqt-bc inifile ipalias ipfilter ipod iproute2 ipsec ipv6 irc isdnlog jad java java6 javascript jce john jpeg jpeg2k jpgraph json junit kerberos krb4 lame large-domain largenet largeterminal latin1 ldap ldapsam libcaca libclamav libdsk libg++ libgd libnotify libvisual libwww lids lights lm_sensors login-watch logrotate logwatch lynxkeymap lzo m17n-lib mad mail maildir mdnsresponder-compat meanwhile memcache memlimit messages mgetty mhash mikmod mime mimencode mjpeg mmap mmx mod_irc mod_muc mode-owner modperl modplug mods modules motif mp3 mp4 mpe mpe-sdk mpeg mschap msn mudflap multipath multitarget multiuser musepack music musicbrainz mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nat ncurses net netserver network network-cron nfs nls nptl nptlonly ntfs objc objc++ objc-gc offensive ogg openal openexr opengl openmp oscar oss overlays pam password patented pcre pdf pdo perl php pic plotutils pmount png posix postfix ppds pppd procmail ps python quotas radius rar rdesktop rdp readline realms reflection rpc samba sametime sasl scenarios scp screen sdl sensord server session sftp sharedext simplexml snmp soap spell spl sqlite sqlite3 sse sse2 ssl subtitles subversion svg swat sysfs taglib tcl tcp tcp-zebra tcpd tcpmd5 themes theora threads tiff tk tokenizer tools transcode transparent-proxy truetype udev underscores unicode urandom usb user-homedirs vda vhosts vnc vorbis web webdav webmail win32codecs wma wmf x264 x86 xanim xface xfs xine xinetd xml xpm xvid zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev matrox vesa vga mga" 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, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Created attachment 239239 [details]
List of files inside image/
Created attachment 239241 [details]
Files from image not present after install
With dev-lang/python-2.6.5-r3 /usr/lib/python2.6/lib-dynload/ will be as empty: # ls /usr/lib/python2.6/lib-dynload/ pdflib_py.a pdflib_py.la pdflib_py.so pdflib_py.so.0 pdflib_py.so.0.0.0 Are all needed files present in "${D}" after running the following command?
ebuild "$(portageq envvar PORTDIR)/dev-lang/python/python-2.6.5-r3.ebuild" install
Created attachment 239577 [details] List of files inside image/ after ebuild install I did >>> ebuild "$(portageq envvar PORTDIR)/dev-lang/python/python-2.6.5-r3.ebuild" install cd /var/tmp/portage/ find dev-lang/python-2.6.5-r3/image/ -print0 | xargs -0 vdir -d > python-2.6.5-r3_image.list <<< and attached the output. At first glance the missing files are missing (did grep for dyn). Hello, Did you tried to remove python 3.1 ? I had some issues like this on my amd64, so after wasting time on this I fixed my gentoo following this procedure : - Download Python 2.6.5 sources from a gentoo mirror - eselect python set 2 (python 3.1) - emerge -C dev-lang/python-3.1 - Compile and install Python manually ( http://wiki.braineed.ath.cx/doku.php?id=python_unmerged ) - emerge =dev-lang/python-2.6.5-r3 (To have a proper python installation) - Check that python 2.6 is selected as main python interpreter with eselect (eselect python list) This works perfectly for my workstation. It seems that gentoo isn't ready for python 3.* as they say. (In reply to comment #8) It's absurd. Python 3 doesn't affect build system of Python 2. (In reply to comment #7) Please attach build log of dev-lang/python-2.6.5-r3. Created attachment 239691 [details]
build.log from dev-lang/python-2.6.5-r3/temp
Here is the build.log requested.
I manually checked for lib-dynload contents and just reran the find command, to see, that the direct ls and the second find invocation both show a populatet directory.
I ran the find-command from history to ensure I did not change any parameter. Any explanations for this?
(In reply to comment #11) Are needed files present now in /usr/lib/python2.6/lib-dynload after normal installation? I'm seeing the same issue with r2 and r3. Please test newer versions. |