Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384837 - sys-libs/glibc fail with missing localedata/stubs fatal error on hardened and <sys-apps/sandbox-2.5
Summary: sys-libs/glibc fail with missing localedata/stubs fatal error on hardened and...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-28 19:28 UTC by Lisa Seelye
Modified: 2012-06-23 02:55 UTC (History)
1 user (show)

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


Attachments
Build failure snippet (gentoo-bug-384837-buildfailuresnippet.txt,10.78 KB, text/plain)
2011-09-28 19:29 UTC, Lisa Seelye
Details
Build log for 2.13-r4 (build.log.tar.gz,298.48 KB, application/octet-stream)
2011-09-29 19:32 UTC, Lisa Seelye
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lisa Seelye 2011-09-28 19:28:23 UTC
While compiling glibc-2.12.2 and 2.13-r4, which I've keyworded via /etc/portage/package.keywords for this test, I receive a fatal error regarding the inability to find localedata/stubs during src_compile.

Reproducible: Always

Steps to Reproduce:
1. emerge -u glibc
Actual Results:  
Fails to install

Expected Results:  
I expected glibc to successfully compile and install and maybe provide me with winning lottery numbers.

root@titanium bin # emerge --info
Portage 2.1.10.3 (hardened/linux/x86, gcc-4.3.4, glibc-2.11.2-r3, 2.6.25-hardened-r8 i686)
=================================================================
System uname: Linux-2.6.25-hardened-r8-i686-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.2
Timestamp of tree: Wed, 28 Sep 2011 18:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     1.3.7, 2.1.11-r3
dev-lang/python:          2.4.6, 2.5.4-r4, 2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:          2.4-r9
dev-util/cmake:           2.8.1-r2
dev-util/pkgconfig:       0.25-r2
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.68
sys-devel/automake:       1.5, 1.7.9-r1, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            3.4.6-r2, 4.3.4, 4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.11.2-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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="-march=pentium-m -Os -pipe"
DISTDIR="/mnt/gentoo_distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/mnt/gentoo_distfiles"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 bash-completion berkdb bzip2 clamav cli cracklib crypt cups cxx dri encode exif fam gdbm gpm hardened iconv modules mudflap ncurses nptl nptlonly offensive openmp pam pax_kernel pcre perl pic pppd python readline sasl session snmp sse sse2 ssl sysfs tcpd urandom vhosts vim-syntax x86 xattr xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="access auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so auth_baisc mime_magic proxy_balancer proxy_http vhost_alias filter unique_id authz_default authz_host auth_basic authn_alias authn_anon authn_dbd authn_dbm uthn_default authn_file authz_dbm authz_groupfile authz_owner authz_user cern_meta charset_lite dav_fs dav_lock dbd disk_cache dumpio ext_filter file_cache ident imagemap log_forensic mem_cache proxy_ajp proxy_connect proxy_ftp version" APACHE2_MPMS="prefork" 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" 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" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lisa Seelye 2011-09-28 19:29:16 UTC
Created attachment 288115 [details]
Build failure snippet
Comment 2 SpanKY gentoo-dev 2011-09-29 18:57:28 UTC
post the *full* build log as an attachment
Comment 3 Lisa Seelye 2011-09-29 19:32:00 UTC
Created attachment 288265 [details]
Build log for 2.13-r4

You got it, Spanky!
Comment 4 SpanKY gentoo-dev 2011-10-01 06:15:19 UTC
hmm, you've got one sandbox error in there:
ISE UTIMENSAT((null)): Success
    abs_path: (null)
    res_path: (null)
/proc/11750/cmdline: gzip -9n /var/tmp/portage/sys-libs/glibc-2.13-r4/image//usr/share/i18n/charmaps/IBM1162 

try upgrading to sandbox-2.5.  if that doesn't help, is your gzip binary static ?  if so, can you rebuild it dynamically ?
Comment 5 Lisa Seelye 2011-10-01 17:50:16 UTC
(In reply to comment #4)
> hmm, you've got one sandbox error in there:
> ISE UTIMENSAT((null)): Success
>     abs_path: (null)
>     res_path: (null)
> /proc/11750/cmdline: gzip -9n
> /var/tmp/portage/sys-libs/glibc-2.13-r4/image//usr/share/i18n/charmaps/IBM1162 
> 
> try upgrading to sandbox-2.5.  if that doesn't help, is your gzip binary static
> ?  if so, can you rebuild it dynamically ?

That worked, however it's hosed the rest of my system. I'm now facing bug #332927.
Comment 6 Kete Tefid 2011-11-06 19:40:58 UTC
Worked for me for other packages.
Comment 7 SpanKY gentoo-dev 2012-06-23 02:55:44 UTC
sandbox-2.5 is stable now, so prob don't care if this only breaks with older versions ...