Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348271 - cross-ppu/binutils-2.21 : fail to compile
Summary: cross-ppu/binutils-2.21 : fail to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-09 14:37 UTC by Chr0nos
Modified: 2010-12-15 23:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chr0nos 2010-12-09 14:37:29 UTC
hi, i have a problem when tring to compile cross-ppu/binutils-2.21

StarK adamaru # crossdev -t ppu
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 * crossdev version:      20101011
 * Host Portage ARCH:     amd64
 * Target Portage ARCH:   ppc64
 * Target System:         ppu
 * Stage:                 4 (C/C++ compiler)

 * binutils:              binutils-[latest]
 * gcc:                   gcc-[latest]
 * headers:               linux-headers-[latest]
 * libc:                  -[latest]

 * PORTDIR_OVERLAY:       /var/lib/layman/sunrise
 * PORT_LOGDIR:           /var/log/portage
 * PORTAGE_CONFIGROOT:    
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  - 
--- Invalid atom in /etc/portage/package.keywords: cross-ppu/[latest]
 * Forcing the latest versions of {binutils,gcc}-config/gnuconfig ...                                                                                                                                                                                                    [ ok ]
 * Log: /var/log/portage/cross-ppu-binutils.log
 * Emerging cross-binutils ...

 * binutils failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-ppu-info.log
 * /var/log/portage/cross-ppu-binutils.log
StarK adamaru # cat /var/log/portage/cross-ppu-binutils.log
--- Invalid atom in /etc/portage/package.keywords: cross-ppu/[latest]

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) cross-ppu/binutils-2.21 from sunrise
 * binutils-2.21.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                 [ ok ]
 * binutils-2.21-patches-1.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...     [ ok ]
 * Package:    cross-ppu/binutils-2.21
 * Repository: sunrise
 * Maintainer: toolchain@gentoo.org
 * USE:  amd64 elibc_glibc kernel_linux multilib nls userland_GNU
>>> Unpacking source...
>>> Unpacking binutils-2.21.tar.bz2 to /var/tmp/portage/cross-ppu/binutils-2.21/work
>>> Unpacking binutils-2.21-patches-1.0.tar.bz2 to /var/tmp/portage/cross-ppu/binutils-2.21/work
 * Applying various patches (bugfixes/updates) ...
 *   03_all_binutils-2.15.92.0.2-ppc64-pie.patch ...
 [ ok ]
 *   08_all_binutils-RPATH_ENVVAR-smack.patch ...
 [ ok ]
 *   12_all_sh-targets.patch ...
 [ ok ]
 *   20_all_ld-sysroot.patch ...
 [ ok ]
 *   30_all_binutils-2.20-flexible-tests.patch ...
 [ ok ]
 *   63_all_binutils-2.21-pt-pax-flags-20101209.patch ...
 [ ok ]
 *   65_all_binutils-2.20-amd64-32bit-path.patch ...
 [ ok ]
 *   66_all_binutils-2.18.50.0.2-warn-textrel.patch ...
 [ ok ]
 *   75_all_binutils-default-test-flags.patch ...
 [ ok ]
 *   76_all_use-new-ld-dtags.patch ...
 [ ok ]
 *   77_all_generate-gnu-hash.patch ...
 [ ok ]
 *   78_all_use-relro.patch ...
 [ ok ]
 *   91_all_libiberty-pic.patch ...
 [ ok ]
 * Done with patching
 * Fixing misc issues in configure files
 * Using GNU config files from /usr/share/gnuconfig
 *   Updating config.sub
 [ ok ]
 *   Updating config.guess
 [ ok ]
 * Running elibtoolize in: binutils-2.21/
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
>>> Source unpacked in /var/tmp/portage/cross-ppu/binutils-2.21/work
>>> Compiling source in /var/tmp/portage/cross-ppu/binutils-2.21/work/binutils-2.21 ...

 *  CATEGORY: cross-ppu
 *    CBUILD: x86_64-pc-linux-gnu
 *     CHOST: x86_64-pc-linux-gnu
 *   CTARGET: ppu
 *    CFLAGS:  -O2 -mtune=core2 -march=core2 -pipe
 *   LDFLAGS: -Wl,-O1 -Wl,--as-needed

./configure --enable-gold --enable-plugins --without-included-gettext --build=x86_64-pc-linux-gnu --with-sysroot=/usr/ppu --enable-secureplt --prefix=/usr --host=x86_64-pc-linux-gnu --target=ppu --datadir=/usr/share/binutils-data/ppu/2.21 --infodir=/usr/share/binutils-data/ppu/2.21/info --mandir=/usr/share/binutils-data/ppu/2.21/man --bindir=/usr/x86_64-pc-linux-gnu/ppu/binutils-bin/2.21 --libdir=/usr/lib/binutils/ppu/2.21 --libexecdir=/usr/lib/binutils/ppu/2.21 --includedir=/usr/lib/binutils/ppu/2.21/include --enable-64-bit-bfd --enable-shared --disable-werror
configure: loading site script /usr/share/config.site
configure: loading site script /usr/share/crossdev/include/site/linux
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... Invalid configuration `ppu': machine `ppu' not recognized
configure: error: /bin/sh /var/tmp/portage/cross-ppu/binutils-2.21/work/binutils-2.21/config.sub ppu failed
 * ERROR: cross-ppu/binutils-2.21 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3375:  Called toolchain-binutils_src_compile
 *   environment, line 4047:  Called die
 * The specific snippet of code:
 *       "${S}"/configure "$@" || die;
 * 
 * If you need support, post the output of 'emerge --info =cross-ppu/binutils-2.21',
 * the complete build log and the output of 'emerge -pqv =cross-ppu/binutils-2.21'.
 * This ebuild is from an overlay named 'sunrise': '/var/lib/layman/sunrise/'
 * The complete build log is located at '/var/tmp/portage/cross-ppu/binutils-2.21/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/cross-ppu/binutils-2.21/temp/environment'.
 * S: '/var/tmp/portage/cross-ppu/binutils-2.21/work/binutils-2.21'

>>> Failed to emerge cross-ppu/binutils-2.21, Log file:

>>>  '/var/tmp/portage/cross-ppu/binutils-2.21/temp/build.log'

 * Messages for package cross-ppu/binutils-2.21:
 * ERROR: cross-ppu/binutils-2.21 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3375:  Called toolchain-binutils_src_compile
 *   environment, line 4047:  Called die
 * The specific snippet of code:
 *       "${S}"/configure "$@" || die;
 * 
 * If you need support, post the output of 'emerge --info =cross-ppu/binutils-2.21',
 * the complete build log and the output of 'emerge -pqv =cross-ppu/binutils-2.21'.
 * This ebuild is from an overlay named 'sunrise': '/var/lib/layman/sunrise/'
 * The complete build log is located at '/var/tmp/portage/cross-ppu/binutils-2.21/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/cross-ppu/binutils-2.21/temp/environment'.
 * S: '/var/tmp/portage/cross-ppu/binutils-2.21/work/binutils-2.21'


 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
StarK adamaru # emerge --info
Portage 2.2.0_alpha7 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.5, glibc-2.12.1-r3, 2.6.36-gentoo x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-x86_64-Intel-R-_Core-TM-_i3_CPU_540_@_3.07GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 09 Dec 2010 12:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.3 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r2
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/ccache:     3.1.3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
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.4.5, 4.5.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo sunrise multimedia voyageur games gamerlay-stable
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -mtune=core2 -march=core2 -pipe"
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/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/terminfo"
CXXFLAGS="-O2 -mtune=core2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ "
LANG="fr_FR"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j5"
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/sunrise /var/lib/layman/multimedia /var/lib/layman/voyageur /var/lib/layman/games /var/lib/layman/gamerlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk hal iconv ipv6 jpeg lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python qt3support qt4 readline samba sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode usb vorbis x264 xcb 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 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" 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="wacom joystick evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-09 17:32:19 UTC
$ crossdev 
Usage: crossdev [options] --target TARGET
[...]
Target (-t) takes a tuple ARCH-VENDOR-OS-LIBC; see 'crossdev -t help'


Provide a full target..
Comment 2 Chr0nos 2010-12-15 23:20:56 UTC
i tried with:
crossdev --target ppu 

the error is EXACTLY the same, and other times i've done "crossdev -t avr" (for example) and it's perfectly work :s