Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413995 - nacl-toolchain-newlib (required by Chromium) won't emerge
Summary: nacl-toolchain-newlib (required by Chromium) won't emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard: ht-wanted
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-29 15:09 UTC by Tim Press
Modified: 2012-05-04 13:02 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 Tim Press 2012-04-29 15:09:11 UTC
On a recent update, Chromium pulled in dev-lang/nacl-toolchain-newlib-0_p8034 which failed to emerge, as did _p7311 when I tried that, with the same error.  Below is the last bit of the build log for _p7311:

=========
gcc  -I/var/tmp/portage/dev-lang/nacl-toolchain-newlib-0_p7311/work/SRC/gcc/libcpp -I. -I/var/tmp/portage/dev-lang/nacl-toolchain-newlib-0_p7311/work/SRC/gcc/libcpp/../include -I/var/tmp/portage/dev-lang/nacl-toolchain-newlib-0_p7311/work/SRC/gcc/libcpp/include  -O2 -march=k8 -O2 -pipe -O2 -Dinhibit_libc -D__gthr_posix_h -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long  -I/var/tmp/portage/dev-lang/nacl-toolchain-newlib-0_p7311/work/SRC/gcc/libcpp -I. -I/var/tmp/portage/dev-lang/nacl-toolchain-newlib-0_p7311/work/SRC/gcc/libcpp/../include -I/var/tmp/portage/dev-lang/nacl-toolchain-newlib-0_p7311/work/SRC/gcc/libcpp/include  -c -o init.o -MT init.o -MMD -MP -MF .deps/init.Tpo /var/tmp/portage/dev-lang/nacl-toolchain-newlib-0_p7311/work/SRC/gcc/libcpp/init.c
rm -f libcpp.a
ar cru libcpp.a charset.o directives.o directives-only.o errors.o expr.o files.o identifiers.o init.o lex.o line-map.o macro.o mkdeps.o pch.o symtab.o traditional.o
ranlib libcpp.a
gcc -O2 -march=k8 -O2 -pipe -O2 -Dinhibit_libc -D__gthr_posix_h -s -Wl,-O1 -Wl,--as-needed -o makedepend \
  makedepend.o libcpp.a ../libiberty/libiberty.a \
   
make[3]: Leaving directory `/var/tmp/portage/dev-lang/nacl-toolchain-newlib-0_p7311/work/BUILD/build-pregcc-x86_64-nacl/libcpp'
make[3]: Entering directory `/var/tmp/portage/dev-lang/nacl-toolchain-newlib-0_p7311/work/BUILD/build-pregcc-x86_64-nacl/gcc'
make[3]: *** No rule to make target `en_GB.UTF-8', needed by `native'.  Stop.
make[3]: Leaving directory `/var/tmp/portage/dev-lang/nacl-toolchain-newlib-0_p7311/work/BUILD/build-pregcc-x86_64-nacl/gcc'
make[2]: *** [all-gcc] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-lang/nacl-toolchain-newlib-0_p7311/work/BUILD/build-pregcc-x86_64-nacl'
make[1]: *** [BUILD/stamp-x86_64-nacl-pregcc] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-lang/nacl-toolchain-newlib-0_p7311/work'
make: *** [build-with-newlib] Error 2
 [31;01m*[0m ERROR: dev-lang/nacl-toolchain-newlib-0_p7311 failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of 'emerge --info =dev-lang/nacl-toolchain-newlib-0_p7311',
 [31;01m*[0m the complete build log and the output of 'emerge -pqv =dev-lang/nacl-toolchain-newlib-0_p7311'.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-lang/nacl-toolchain-newlib-0_p7311/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-lang/nacl-toolchain-newlib-0_p7311/temp/environment'.
 [31;01m*[0m S: '/var/tmp/portage/dev-lang/nacl-toolchain-newlib-0_p7311/work'
=========

here is make.conf:

=========
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=k8 -O2 -pipe"
CXXFLAGS="-march=k8 -O2 -pipe"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"

#
USE="-qt4 -hal avahi bash-completion consolekit dbus mmx ncurses oss policykit pam readline samba sse sse2 ssl svga syslog tk udev zeroconf"

MAKEOPTS="-j4"
#MAKEOPTS="-j1"

PORTAGE_RSYNC_RETRIES="3"


GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.bytemark.co.uk/gentoo/ "

SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"


INPUT_DEVICES="evdev"
#below once removed to try to get DirectFB to work but to no avail
VIDEO_CARDS="radeon"
LINGUAS="en en_GB cy"
CAMERAS="canon ptp2"

PORTDIR_OVERLAY="/usr/local/portage"

ACCEPT_LICENSE="*"

PORTAGE_ELOG_CLASSES="log warn error info"
PORTAGE_ELOG_SYSTEM="save" 

# this is apparently preferred over eselect python
USE_PYTHON="2.7"

#so layman can work
source /var/lib/layman/make.conf
ACCEPT_KEYWORDS="~amd64"
========

and here is the output of env

========
MANPATH=/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.22/man:/etc/java-config/system-vm/man/
SSH_AGENT_PID=8475
TERM=rxvt-unicode
SHELL=/bin/bash
XDG_SESSION_COOKIE=fa2f4da86fd345a6dae6dc1b00000010-1335697073.655409-1234611067
VBOX_APP_HOME=/usr/lib64/virtualbox
WINDOWID=31457289
HUSHLOGIN=FALSE
GNOME_KEYRING_CONTROL=/tmp/keyring-bhloau
SBCL_HOME=/usr/lib64/sbcl
USER=timothy
PRELINK_PATH_MASK=/usr/lib64/klibc:/opt/eagle-5.11.0:/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
GDK_USE_XFT=1
SSH_AUTH_SOCK=/tmp/ssh-EouoHWzC8470/agent.8470
CONFIG_PROTECT_MASK=/etc/gentoo-release /etc/sandbox.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/dconf /etc/ca-certificates.conf /etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/revdep-rebuild /etc/splash
PAGER=/usr/bin/less
XDG_CONFIG_DIRS=/etc/xdg
PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3:/home/timothy/.cabal/bin:/home/timothy/.cabal/bin
MAIL=/var/mail/timothy
SBCL_SOURCE_ROOT=/usr/lib64/sbcl/src
LC_COLLATE=C
PWD=/home/timothy/hacking/bugs/chrommium
DISTCC_LOG=
JAVA_HOME=/etc/java-config-2/current-system-vm
EDITOR=/bin/nano
JAVAC=/etc/java-config-2/current-system-vm/bin/javac
GNOME_KEYRING_PID=3353
LANG=en_GB.UTF-8
GSETTINGS_BACKEND=dconf
QT_GRAPHICSSYSTEM=raster
DCCC_PATH=/usr/lib64/distcc/bin
DISTCC_VERBOSE=
COLORFGBG=15;default
HOME=/home/timothy
SHLVL=4
JDK_HOME=/etc/java-config-2/current-system-vm
LOGNAME=timothy
LESS=-R -M --shift 5
PYTHONPATH=/usr/lib/python2.6:/usr/lib/python2.6/site-packages:/usr/lib/python2.7:/usr/lib/python2.7/site-packages
GCC_SPECS=
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-02kuWSG9Dv,guid=f7dee3297f2920e9e86dce5400000ded
XDG_DATA_DIRS=/usr/local/share:/usr/share:/usr/share/gdm
LESSOPEN=|lesspipe %s
INFOPATH=/usr/share/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.22/info
LANGUAGES=en_GB.UTF-8
WINDOWPATH=7
DISPLAY=:0.0
OPENGL_PROFILE=xorg-x11
XSESSION=fluxbox
CONFIG_PROTECT=/usr/share/gnupg/qualified.txt
COLORTERM=rxvt-xpm
XAUTHORITY=/home/timothy/.Xauthority
_=/usr/bin/env

==========

Hope this is enough information.
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-04-30 16:09:26 UTC
Please attach full build log.
Comment 2 Mike Gilbert gentoo-dev 2012-04-30 18:28:48 UTC
> LANGUAGES=en_GB.UTF-8

I suspect this is the problem. You have set an environment variable the the build system uses in a different way.

Please unset it.
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-05-03 09:12:02 UTC
(In reply to comment #2)
> > LANGUAGES=en_GB.UTF-8
> 
> I suspect this is the problem. You have set an environment variable the the
> build system uses in a different way.
> 
> Please unset it.

Fixed in CVS, nacl-toolchain-newlib-0_p8034.

Thanks Mike for excellent diagnosis of the problem. I usually avoid adding workarounds for "weird" environments, but LANGUAGES seems a pretty generic and reasonable variable, so it makes sense to me to modify the ebuild here.
Comment 4 Tim Press 2012-05-04 13:02:11 UTC
I unset LANGUAGES and it emerged fine, thanks.  I assume you don't need the build log now, say if you do.