When I try to run crossdev -t armv7a-hardfloat-linux-gnueabi, I got error on glibc-2.15-r2 >>> Emerging (1 of 1) cross-armv7a-hardfloat-linux-gnueabi/glibc-2.15-r2 from local * glibc-2.15.tar.xz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * glibc-ports-2.15.tar.xz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * glibc-2.15-patches-18.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking glibc-2.15.tar.xz to /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/glibc-2.15-r2/work unpack glibc-2.15.tar.xz: file format not recognized. Ignoring. /usr/local/portage/overlay/cross-armv7a-hardfloat-linux-gnueabi/glibc/files/eblits/src_unpack.eblit: ligne 95 : cd: /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/glibc-2.15-r2/work/glibc-2.15: Aucun fichier ou dossier de ce type touch: impossible de faire un touch « locale/C-translit.h »: Aucun fichier ou dossier de ce type >>> Unpacking glibc-ports-2.15.tar.xz to /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/glibc-2.15-r2/work unpack glibc-ports-2.15.tar.xz: file format not recognized. Ignoring. mv: impossible d'évaluer « glibc-ports-2.15 »: Aucun fichier ou dossier de ce type * ERROR: cross-armv7a-hardfloat-linux-gnueabi/glibc-2.15-r2 failed (unpack phase): * (no error message) * * Call stack: * ebuild.sh, line 85: Called src_unpack * environment, line 3465: Called eblit-run 'src_unpack' * environment, line 826: Called eblit-glibc-src_unpack * src_unpack.eblit, line 168: Called toolchain-glibc_src_unpack * src_unpack.eblit, line 98: Called unpack_pkg 'ports' '2.15' * src_unpack.eblit, line 77: Called die * The specific snippet of code: * [[ -n $1 ]] && { mv ${a} $1 || die ; } * * If you need support, post the output of `emerge --info '=cross-armv7a-hardfloat-linux-gnueabi/glibc-2.15-r2'`, * the complete build log and the output of `emerge -pqv '=cross-armv7a-hardfloat-linux-gnueabi/glibc-2.15-r2'`. * This ebuild is from an overlay named 'local': '/usr/local/portage/overlay/' * The complete build log is located at '/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/glibc-2.15-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/glibc-2.15-r2/temp/environment'. * Working directory: '/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/glibc-2.15-r2/work' * S: '/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/glibc-2.15-r2/work/glibc-2.15' >>> Failed to emerge cross-armv7a-hardfloat-linux-gnueabi/glibc-2.15-r2, Log file: Reproducible: Always
Created attachment 315997 [details] cross-armv7a-hardfloat-linux-gnueabi-info.log
Created attachment 315999 [details] cross-armv7a-hardfloat-linux-gnueabi-glibc-headers.log
emerge --info Portage 2.2.0_alpha110 (default/linux/amd64/10.0/no-multilib, gcc-4.7.1, glibc-2.15-r2, 3.4.3-gentoo x86_64) ================================================================= System uname: Linux-3.4.3-gentoo-x86_64-AMD_Athlon-tm-64_X2_Dual_Core_Processor_4400+-with-gentoo-2.1 Timestamp of tree: Mon, 18 Jun 2012 19:30:01 +0000 app-shells/bash: 4.2_p29 dev-lang/python: 2.7.3-r2, 3.2.3-r1 dev-util/cmake: 2.8.8-r3 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.10.3 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.12.1 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.7.1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.4 (virtual/os-headers) sys-libs/glibc: 2.15-r2 Repositories: gentoo local pandaboard pd-overlay proaudio Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE freedist" CBUILD="x86_64-gentoo-linux-gnu" CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native" CHOST="x86_64-gentoo-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native" DISTDIR="/var/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y --buildpkg --quiet-build=n" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg candy config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LANG="fr_BE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed" LINGUAS="fr" MAKEOPTS="-j5" PKGDIR="/var/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/overlay /var/lib/layman/pandaboard /var/lib/layman/pd-overlay /var/lib/layman/pro-audio" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X aac acl alsa amd64 amr apng branding btrfs bzip2 cairo cdda cddb cli consolekit cracklib crypt cups cxx dbus device-mapper dri dssi encode exif fat fftw flac fortran gif gpm gstreamer gt3 gtk gudev hwdb iconv id3tag jack jpeg ladspa lame libsamplerate lxde mmx modules mp3 mpeg mudflap ncurses nls nptl ntfs ogg opengl openmp osc pam pcre pdf png policykit pppd qt qt3support qt4 readline rubberband samba sdl session sqlite sse sse2 ssl svg tcpd threads tiff truetype udev unicode usb vorbis wmf x264 xcb xetex xorg xvid zlib" ALSA_CARDS="ice1712 hda-intel usb-audio virmidi" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="usb-af9015" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, USE_PYTHON
same problem for i686-gentoo-linux-gnu
Created attachment 316019 [details] cross-i686-gentoo-linux-gnu-info.log
Created attachment 316021 [details] cross-i686-gentoo-linux-gnu-glibc-headers.log
I tried many versions of crossdev. Even those who worked in january don't work anymore. I guess there is something changed in the eclasses...
Hello, The problem is not only related to arm platform. Please see the i686 logs too.
this really makes no sense. make sure your tree is fully synced up, and if it still fails, run: emerge cross-armv7a-hardfloat-linux-gnueabi/glibc --debug >& log and post the full log as an attachment
(In reply to comment #9) > this really makes no sense. make sure your tree is fully synced up, and if > it still fails, run: > > emerge cross-armv7a-hardfloat-linux-gnueabi/glibc --debug >& log > > and post the full log as an attachment Hello, The title of the bug report has been changed by someone else. The original title was "crossdev cannot build glibc-headers (arm, i686)". I call "crossdev -t" and it blocks on glibc-headers, at least for armv7a-hardfloat-linux-gnueabi and i686-pc-linux-gnu
Hello, The problem seems to come with glibc-2.15. The file glibc-ports was compressed in bz2 for version 2.14, and in xz with version 2.15...
Created attachment 316349 [details] LANG=C emerge cross-armv7a-hardfloat-linux-gnueabi/glibc --debug >& log SpanKY, Here is the asked log. I could run crossdev for ARM with glibc 2.14, but not 2.15.
`unpacker` on your system appears to just be executing `unpack`. that's wrong. have you modified your portage install or something ?
(In reply to comment #13) > `unpacker` on your system appears to just be executing `unpack`. That's not what I see in the call stack. It looks to me like it's calling the unpack_pkg function from $PORTDIR/sys-libs/glibc/files/eblits/src_unpack.eblit.
(In reply to comment #14) look further. glibc's eblit src_unpack calls unpacker. this is the expansion of the glibc code: if has ${a}.tar.xz ${A} ; then unpacker ${a}.tar.xz ... + a=glibc-2.15 + has glibc-2.15.tar.xz glibc-2.15.tar.xz glibc-ports-2.15.tar.xz glibc-2.15-patches-18.tar.bz2 + local needle=glibc-2.15.tar.xz + shift + local x + for x in '"$@"' + '[' glibc-2.15.tar.xz = glibc-2.15.tar.xz ']' + return 0 + unpacker glibc-2.15.tar.xz + local x + local y + local myfail + local tarvars ... that `local` output is clearly portage's `unpack`, not the `unpacker` from the unpacker.eclass. i don't use variables like that in the eclass.
Well, unpack_pkg calls unpack right there: if has ${a}.tar.xz ${A} ; then unpacker ${a}.tar.xz else unpack ${a}.tar.bz2 fi
(In reply to comment #16) as the trace shows, the first branch of the "if" is executed (the `unpacker`), not the 2nd branch (the `unpack`). it says explicitly: + unpacker glibc-2.15.tar.xz if the 2nd branch was called, the `has` would have returned 1, and we would have seen the line: + unpack glibc-2.15.tar.xz
The part of the log quoted in comment #15 doesn't look like the unpack in latest portage which starts like this: unpack() { local srcdir local x local y local myfail So, maybe the user has overridden unpacker() in /etc/portage/bashrc or something. We should have a look at the content of the ebuild environment file: /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/glibc-2.15-r2/temp/environment
Hello, I use portage 2.2 "beta ;-)" as shown in emerge --info. And I did NOT touch portage or eblits or eclasses. This is a vanilla ~arch Gentoo.
I do have a bashrc, to enable/disable DISTCC only.
Please attach this file: /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/glibc-2.15-r2/temp/environment
Created attachment 316507 [details] /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/glibc-2.15-r2/temp/environment
The debug output shows that unpacker() function coming from the pro-audio overlay: ++ printf '%s\n' 'inherit: unpacker -> /var/lib/layman/pro-audio/eclass/unpacker.eclass' I guess you have customized eclass configuration. Maybe something in /etc/portage/repos.conf? Or maybe something special in $overlay/metadata/layout.conf?
(In reply to comment #23) > The debug output shows that unpacker() function coming from the pro-audio > overlay: > > ++ printf '%s\n' 'inherit: unpacker -> > /var/lib/layman/pro-audio/eclass/unpacker.eclass' > > I guess you have customized eclass configuration. Maybe something in > /etc/portage/repos.conf? Or maybe something special in > $overlay/metadata/layout.conf? I will contact the pro-audio maintainers to remove that code.
removing unpacker.eclass from the pro-audio overlay fixed the problem. Thank you for the help!
no idea who the maintainer of this overlay is. the wranglers can sort it ;).
The undesirable unpack.eclass has been removed from pro-audio overlay. Bug fixed.