Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323009 - sys-libs/glibc-2.9_p20081201-r3 src_unpack can't find glibc ports
Summary: sys-libs/glibc-2.9_p20081201-r3 src_unpack can't find glibc ports
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: MIPS Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-06 22:12 UTC by Maksim 'max_posedon' Melnikau
Modified: 2010-06-08 05:00 UTC (History)
1 user (show)

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


Attachments
crossdev mipsel-gentoo-linux-gnueabi glibc build log (cross-mipsel-gentoo-linux-gnueabi-glibc-headers.log,4.50 KB, text/plain)
2010-06-07 06:55 UTC, Maksim 'max_posedon' Melnikau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim 'max_posedon' Melnikau 2010-06-06 22:12:08 UTC
* CPV:  cross-mipsel-gentoo-linux-gnueabi/glibc-2.9_p20081201-r3
 * REPO: kde
 * USE:  crosscompile_opts_headers-only elibc_glibc kernel_linux nls userland_GNU x86
>>> Unpacking source...
>>> Unpacking glibc-2.9-20081201.tar.bz2 to /mnt/floppy/data/gentoo/tmp/cross/mipsel-gentoo-linux-gnueabi/portage/cross-mipsel-gentoo-linux-gnueabi/glibc-2.9_p20081201-r3/work
>>> Unpacking glibc-2.9-ports-2.9.tar.bz2 to /mnt/floppy/data/gentoo/tmp/cross/mipsel-gentoo-linux-gnueabi/portage/cross-mipsel-gentoo-linux-gnueabi/glibc-2.9_p20081201-r3/work/glibc-2.9-20081201
 * ERROR: cross-mipsel-gentoo-linux-gnueabi/glibc-2.9_p20081201-r3 failed:
 *   glibc-2.9-ports-2.9.tar.bz2 does not exist
 * 
 * Call stack:
 *          ebuild.sh, line   48:  Called src_unpack
 *        environment, line 3727:  Called eblit-run 'src_unpack'
 *        environment, line 1171:  Called eblit-glibc-src_unpack
 *   src_unpack.eblit, line  143:  Called toolchain-glibc_src_unpack
 *   src_unpack.eblit, line   83:  Called unpack_pkg 'ports' '2.9'
 *   src_unpack.eblit, line   70:  Called unpack 'glibc-2.9-ports-2.9.tar.bz2'
 *          ebuild.sh, line  355:  Called die
 * The specific snippet of code:
 *              [[ ! -s ${srcdir}${x} ]] && die "${x} does not exist"
 * 
 * If you need support, post the output of 'emerge --info =cross-mipsel-gentoo-linux-gnueabi/glibc-2.9_p20081201-r3',
 * the complete build log and the output of 'emerge -pqv =cross-mipsel-gentoo-linux-gnueabi/glibc-2.9_p20081201-r3'.
 * This ebuild is from an overlay named 'kde': '/var/lib/layman/kde/'
 * The complete build log is located at '/mnt/floppy/data/gentoo/tmp/cross/mipsel-gentoo-linux-gnueabi/portage/cross-mipsel-gentoo-linux-gnueabi/glibc-2.9_p20081201-r3/temp/build.log'.
 * The ebuild environment file is located at '/mnt/floppy/data/gentoo/tmp/cross/mipsel-gentoo-linux-gnueabi/portage/cross-mipsel-gentoo-linux-gnueabi/glibc-2.9_p20081201-r3/temp/environment'.
 * S: '/mnt/floppy/data/gentoo/tmp/cross/mipsel-gentoo-linux-gnueabi/portage/cross-mipsel-gentoo-linux-gnueabi/glibc-2.9_p20081201-r3/work/glibc-2.9-20081201'
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-06-07 00:59:20 UTC
Hello Maksim,

can you provide the build.log, environment (file locations are mentioned at the end of the failing emerge process) plus ass the output of `emerge --info` as a comment. This helps the maintainer to trace down the problem or see if it would be fixed by updaing the overlay.

And please add [<name of the overlay this ebuild is from>] at the beginning of the summary line. It looks like it's from kde-overlay. 

Thanks, Michael
Comment 2 Maksim 'max_posedon' Melnikau 2010-06-07 06:55:07 UTC
Created attachment 234361 [details]
crossdev mipsel-gentoo-linux-gnueabi glibc build log

Its not from KDE, that is just like crossdev works -> finds first overlay, and create few ebuild links there.

max_posedon glibc # ls -la /usr/local/portage/cross-mipsel-gentoo-linux-gnueabi
total 0
drwxr-xr-x  2 root root 200 Jun  7 09:47 .
drwxr-xr-x 11 root root 400 Jun  7 09:41 ..
lrwxrwxrwx  1 root root  31 Jun  7 09:47 binutils -> /usr/portage/sys-devel/binutils
lrwxrwxrwx  1 root root  26 Jun  7 09:47 gcc -> /usr/portage/sys-devel/gcc
lrwxrwxrwx  1 root root  26 Jun  7 09:47 gdb -> /usr/portage/sys-devel/gdb
lrwxrwxrwx  1 root root  27 Jun  7 09:47 glibc -> /usr/portage/sys-libs/glibc
lrwxrwxrwx  1 root root  29 Jun  7 09:47 insight -> /usr/portage/dev-util/insight
lrwxrwxrwx  1 root root  37 Jun  7 09:47 linux-headers -> /usr/portage/sys-kernel/linux-headers

Problem is somewhere in ebuild, it checks one file:
* glibc-2.9-ports-20081201.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...

But trying unpack another:
>>> Unpacking glibc-2.9-ports-2.9.tar.bz2 ... 
 *   glibc-2.9-ports-2.9.tar.bz2 does not exist
Comment 3 Maksim 'max_posedon' Melnikau 2010-06-07 06:56:06 UTC
Portage 2.2_rc67 (default/linux/x86/10.0/desktop/kde, gcc-4.5.0, glibc-2.11.1-r0, 2.6.34-gentoo i686)
=================================================================
System uname: Linux-2.6.34-gentoo-i686-Genuine_Intel-R-_CPU_T2130_@_1.86GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 25 May 2010 21:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3, 4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.7b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -march=native"
DISTDIR="/media/sheeva/linux/gentoo/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en ru be_BY"
MAKEOPTS="-j3"
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="/home/data/gentoo/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amr amrnb amrwb ao audiofile avahi berkdb bluetooth branding bzip2 cairo cddb cdr chm cli consolekit cracklib crypt css cups curl cxx dbus device-mapper djvu doc dri dts dvd dvdr emacs emboss emovix encode exif fam ffmpeg firefox flac ftp gdbm gif git gnutls gps gstreamer hal iconv imagemagick jabber jpeg jpeg2k kde kerberos laptop lcms ldap libcaca libnotify lm_sensors lzma mad mikmod mmap mmx mng modules mp3 mp4 mpeg mplayer mudflap musicbrainz ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf plasma png policykit postgres ppds pppd pulseaudio qt3support qt4 readline reflection rss rtc ruby samba sasl sdl semantic-desktop session slang smp sndfile spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs tcpd theora threads tiff truetype unicode usb vim-pager vim-syntax vorbis webkit x264 x86 xattr xcb xine xinerama xml xorg xulrunner xv xvid xvmc zeroconf zlib zsh-completion" ALSA_CARDS="hda-intel usb-audio" 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 authn_alias 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" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru be_BY" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Michael Weber (RETIRED) gentoo-dev 2010-06-07 07:50:44 UTC
(In reply to comment #2)
> Its not from KDE, that is just like crossdev works -> finds first overlay, and
> create few ebuild links there.
My fault, I've pushed the local, non-layman overlay to the first location to prevent crossdev from accidentally adding it to some other overlay. I've talked to someone about it but there's no easy way to get the right location (w/o parsing laymans config. This would qualify for a enhancement bug on it's own, anyway. From /etc/make.conf:
 source /var/lib/layman/make.conf
 PORTDIR_OVERLAY="/usr/local/portage ${PORTDIR_OVERLAY}"


Comment 5 solar (RETIRED) gentoo-dev 2010-06-07 20:41:25 UTC
This bug may be related to the use of an invalid CHOST name. 
*-gnieabi is going ARM only.
Comment 6 Maksim 'max_posedon' Melnikau 2010-06-07 21:30:09 UTC
(In reply to comment #5)
> This bug may be related to the use of an invalid CHOST name. 
> *-gnieabi is going ARM only.
switched to -gnu
issue still present, and exactly the same.

 * glibc-2.9-ports-20081201.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
vs
 *   glibc-2.9-ports-2.9.tar.bz2 does not exist