Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245004 - "crossdev -t avr" tries to emerge avr-libc before gcc-avr
Summary: "crossdev -t avr" tries to emerge avr-libc before gcc-avr
Status: RESOLVED DUPLICATE of bug 230343
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-30 21:38 UTC by Sven
Modified: 2008-11-01 06:22 UTC (History)
0 users

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


Attachments
cross-avr-info.log (cross-avr-info.log,9.96 KB, text/plain)
2008-10-31 08:48 UTC, Sven
Details
cross-avr-avr-libc-headers.log (cross-avr-avr-libc-headers.log,2.08 KB, text/plain)
2008-10-31 08:49 UTC, Sven
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven 2008-10-30 21:38:57 UTC
Here's the output of crossdev -t avr:

# crossdev -t avr
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 * Host Portage ARCH:     amd64
 * Target Portage ARCH:   *
 * Target System:         avr
 * Stage:                 3 (C compiler & libc)

 * binutils:              binutils-[latest]
 * gcc:                   gcc-[latest]
 * libc:                  avr-libc-[latest]

 * PORTDIR_OVERLAY:       /usr/portage/local/temp
 * PORT_LOGDIR:           /var/log/portage
 * PKGDIR:                /usr/portage/packages/cross/avr
 * PORTAGE_TMPDIR:        /var/tmp/cross/avr
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _ 
 * Forcing the latest versions of {binutils,gcc}-config/gnuconfig ...                                                                                                 [ ok ]
 * Log: /var/log/portage/cross-avr-binutils.log
 * Emerging cross-binutils ...                                                                                                                                        [ ok ]
 * Log: /var/log/portage/cross-avr-avr-libc-headers.log
 * Emerging cross-avr-libc-headers ...

 * avr-libc failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-avr-info.log
 * /var/log/portage/cross-avr-avr-libc-headers.log


As you can see, crossdev tries to emerge cross-avr-avr-libc-headers. And here are the first lines of cross-avr-avr-libc-headers.log:

# cat /var/log/portage/cross-avr-avr-libc-headers.log

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) cross-avr/avr-libc-1.6.2
 * avr-libc-1.6.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                [ ok ]
 * avr-libc-manpages-1.6.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...       [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * Checking for avr-gcc ...
  [ !! ]
 * 
 * Failed to locate 'avr-gcc' in $PATH. You can install an AVR toolchain using:
 * $ crossdev -t avr


I hope, you can see the circle. "crossdev -t avr" fails with the message to do a "crossdev -t avr".


I also wonder, why crossdev tells me, that it'll emerge avr-libc-headers, and then it actually emerges avr-libc, according to the log.
Well, i notices that there is a crosscompile_opts_headers-only USE-flag. Apperantly, crossdev is supposed to enable that USE-flag during the first emerge of avr-libs.

Maybe it all goes wrong, because i'm using portage 2.2?


Anyway, here's my emerge --info:

# emerge --info
Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27.4 x86_64)
=================================================================
System uname: Linux-2.6.27.4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6850_@_3.00GHz-with-glibc2.2.5
Timestamp of tree: Thu, 30 Oct 2008 20:32:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mtune=nocona"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="distlocks preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ "
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/portage/local/temp /usr/portage/local/private /usr/portage/local/layman/desktop-effects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi adplug alsa amd64 amrnb amrwb ao berkdb binfilter bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cups dbus dirac dri dts dv dvd dvdr dvdread eds emboss encode evo extra fam ffmpeg fftw firefox flac fuse gdbm gif glitz gnome gpm graphics gstreamer gtk hal hddtemp hybrid-auth ia32 iconv iproute2 ipv6 isdnlog javacomm jpeg jpeg2k latex lcms libcaca libnotify libsamplerate lm_sensors mad midi mikmod mmx modplug mp2 mp3 mpeg mudflap multilib musepack ncurses nls nptl nptlonly nsplugin nvidia ogg openal opengl openmp pam pcre pdf perl plotutils png pppd python qt-static qt3-static qt3support quicktime readline reflection resolvconf rtc samba science sdl session sid sndfile speex spell spl sse sse2 sse3 ssl ssse3 startup-notification svg swat sysfs tcpd tex4ht theora tiff timidity truetype tta unicode usb vorbis wavpack wma wmp x264 xattr xcb xetex xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Steps to Reproduce:
Comment 1 Sven 2008-10-31 08:48:49 UTC
Created attachment 170394 [details]
cross-avr-info.log
Comment 2 Sven 2008-10-31 08:49:06 UTC
Created attachment 170396 [details]
cross-avr-avr-libc-headers.log
Comment 3 Iain Buchanan 2008-11-01 04:58:57 UTC
duplicate of bug 230343
Comment 4 SpanKY gentoo-dev 2008-11-01 06:22:16 UTC

*** This bug has been marked as a duplicate of bug 230343 ***