Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407647 - net-dns/dnsmasq-2.60 - x86_64-pc-linux-gnu-gcc: en_GB: No such file or directory
Summary: net-dns/dnsmasq-2.60 - x86_64-pc-linux-gnu-gcc: en_GB: No such file or directory
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-10 09:00 UTC by Neil Bothwick
Modified: 2012-03-14 09:38 UTC (History)
1 user (show)

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


Attachments
Build log (net-dns:dnsmasq-2.60:20120310-085233.log,2.27 KB, text/plain)
2012-03-10 09:00 UTC, Neil Bothwick
Details
environment file, as requested (environment,77.32 KB, text/plain)
2012-03-13 11:44 UTC, Neil Bothwick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Bothwick 2012-03-10 09:00:49 UTC
Created attachment 304813 [details]
Build log

Emerging dnsmasq fails with


x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -DNO_CONNTRACK -DHAVE_DBUS -DHAVE_IDN -DNO_IPV6 -DNO_LUASCRIPT -DNO_SCRIPT -DNO_DHCP6 en_GB -DVERSION='"2.60"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include           -c rfc1035.c
x86_64-pc-linux-gnu-gcc: en_GB: No such file or directory
x86_64-pc-linux-gnu-gcc: en_GB: No such file or directory

LINGUAS="" emerge dnsmasq

gives the same error.


emerge --info | head -n 35
Portage 2.2.0_alpha90 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r2, 3.2.9-gentoo x86_64)
=================================================================
System uname: Linux-3.2.9-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_D510_@_1.66GHz-with-gentoo-2.1
Timestamp of tree: Sat, 10 Mar 2012 07:15:01 +0000
ccache version 3.1.7 [disabled]
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5.1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo digimed
Installed sets: @temp
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/mnt/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --jobs 2 --usepkg"

FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ http://gentoo.blueyonder.co.uk ftp://gentoo.blueyonder.co.uk/mirrors/gentoo ftp://ftp.easynet.nl/mirror/gentoo/"
LANG="en_GB"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/mnt/portage/packages/marvin"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500 --progress"
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="/var/portage"
PORTDIR_OVERLAY="/mnt/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow amd64 apache2 bzip2 cli cracklib crypt cups curl cxx dbus dri fam foomaticdb fortran ftp gd gdbm gmp gnutls iconv idn imap jpeg logrotate maildir mbox mmx modules mudflap multilib mysql ncurses netboot nptl nptlonly openmp pcre png ppds pppd readline session snmp sse sse2 ssl svg sysfs tcpd threads unicode usb vhosts xml xorg zlib zsh-completion" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020 hp1022" 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" LINGUAS="en_GB" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" 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

Build log attached
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-13 09:50:50 UTC
 * The ebuild environment file is located at '/var/tmp/portage/net-dns/dnsmasq-2.60/temp/environment'.

Please attach that.
Comment 2 Neil Bothwick 2012-03-13 11:44:54 UTC
Created attachment 305175 [details]
environment file, as requested
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-13 23:08:27 UTC
(In reply to comment #2)
> Created attachment 305175 [details]
> environment file, as requested

From your environment:
declare -x i18n="en_GB"

The top level Makefile sets this:
./Makefile: i18n=-DLOCALEDIR=\'\"$(LOCALEDIR)\"\' \

which is then used in:

.c.o:
    $(CC) $(CFLAGS) $(COPTS) $(i18n) $(build_cflags) $(RPM_OPT_FLAGS) -c $<


Can you check whether i18n=en_GB is set in the environment of the shell that runs emerge, please?
Comment 4 Neil Bothwick 2012-03-13 23:39:27 UTC
Yes it is, in /etc/env.d/02locale, a file that has not been modified since July 2009. Removing it allows the package to emerge successfully.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-14 04:31:38 UTC
(In reply to comment #4)
> Yes it is, in /etc/env.d/02locale, a file that has not been modified since
> July 2009. Removing it allows the package to emerge successfully.

Can you check what package owns that file?
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-14 04:35:51 UTC
I actually have *one* system that has the file, but it's been there even longer and its contents differ:

epia ~ # ls -l /etc/env.d/02locale
-rw-r--r-- 1 root root 21 Aug  9  2005 /etc/env.d/02locale
epia ~ # cat /etc/env.d/02locale
LC_ALL="en_US.UTF-8"

Let's say it's safe to remove and get on with it. :)
Comment 7 Neil Bothwick 2012-03-14 09:38:37 UTC
No package own it, I created to get round some locale issues at some time. It comes up on the lists and forums from time to time and may even be mentioned in the docs somewhere, but 2009 was a long time ago.

It's odd that this particular release of dnsmasq has the problem when nothing else does (I have the same file on all my boxes).