* [gentoo-user] glibc (and gcc) build fails: /bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
@ 2014-07-22 13:48 Sid S
2014-07-22 13:58 ` Alec Ten Harmsel
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Sid S @ 2014-07-22 13:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 17326 bytes --]
Not sure what relevant information to provide. My system works and I can
compile other ebuilds normally, except, it seems, gcc and glibc. Searching
for the error in the tile doesn't give me much - what it does give me
doesn't seem to apply to my instance of the error, or at least what I know
about it (patches, etc). A common "solution" is to switch to a non-multilib
profile, but I need multilib. I am using the hardened profile with selinux,
but it doesn't seem to be an issue with either of those (it's usually
pretty obvious if it is).
`MAKEOPTS="-j1" emerge glibc`:
x86_64-pc-linux-gnu-gcc -m32 rpcgen.c -c -std=gnu99 -fgnu89-inline
-O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants
-fno-stack-protector -fno-strict-aliasing -frounding-math -pipe
-Wstrict-prototypes -Wa,-mtune=i686 -U_FORTIFY_SOURCE -DPIC -DPIC
-DPIC -D_RPC_THREAD_SAFE_ -I../include
-I/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc
-I/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl
-I../nptl/sysdeps/unix/sysv/linux/i386/i686
-I../sysdeps/unix/sysv/linux/i386/i686
-I../nptl/sysdeps/unix/sysv/linux/i386
-I../nptl/sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/x86
-I../sysdeps/unix/sysv/linux/i386/nptl
-I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
-I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv
-I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix
-I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/i386/i686/fpu/multiarch -I../sysdeps/i386/i686/fpu
-I../sysdeps/i386/i686/multiarch -I../nptl/sysdeps/i386/i686
-I../sysdeps/i386/i686 -I../sysdeps/i386/i486
-I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/x86/fpu
-I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/x86
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754 -I../sysdeps/generic -I../nptl -I../ports -I..
-I../libio -I. -nostdinc -isystem
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib32/include
-isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include-fixed -isystem
/usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h
-DNOT_IN_libc=1 -D_RPC_THREAD_SAFE_ -o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen.o
-MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen.o.dt
-MT /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen.o
x86_64-pc-linux-gnu-gcc -m32 -pie -Wl,-O1 -nostdlib -nostartfiles -o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen
-Wl,-dynamic-linker=/lib32/ld-linux.so.2 -Wl,-O1 -Wl,--as-needed
-Wl,-z,combreloc -Wl,-z,relro
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/Scrt1.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crti.o
`x86_64-pc-linux-gnu-gcc -m32 --print-file-name=crtbeginS.o`
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_main.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_hout.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_cout.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_parse.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_scan.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_util.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_svcout.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_clntout.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_tblout.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_sample.o
-Wl,-rpath-link=/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/libc_nonshared.a
-Wl,--as-needed
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld.so
-Wl,--no-as-needed -lgcc `x86_64-pc-linux-gnu-gcc -m32
--print-file-name=crtendS.o`
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crtn.o
x86_64-pc-linux-gnu-gcc -m32
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_main.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_hout.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_cout.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_parse.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_scan.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_util.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_svcout.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_clntout.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_tblout.o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_sample.o
-o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen
CPP='x86_64-pc-linux-gnu-gcc -m32 -E -x c-header'
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen
-Y ../scripts -c rpcsvc/bootparam_prot.x -o
/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.T
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen:
No such file or directory
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp]
Error 127
make[2]: Leaving directory
`/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory
`/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17'
make: *** [all] Error 2
emake failed
* ERROR: sys-libs/glibc-2.17::gentoo failed (compile phase):
* make for x86 failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 3145: Called eblit-run 'src_compile'
* environment, line 915: Called eblit-glibc-src_compile
* src_compile.eblit, line 259: Called src_compile
* environment, line 3145: Called eblit-run 'src_compile'
* environment, line 915: Called eblit-glibc-src_compile
* src_compile.eblit, line 267: Called toolchain-glibc_src_compile
* src_compile.eblit, line 166: Called die
* The specific snippet of code:
* emake || die "make for ${ABI} failed"
*
* If you need support, post the output of `emerge --info
'=sys-libs/glibc-2.17::gentoo'`,
* the complete build log and the output of `emerge -pqv
'=sys-libs/glibc-2.17::gentoo'`.
* The complete build log is located at
'/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/sys-libs/glibc-2.17/temp/environment'.
* Working directory:
'/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl'
* S: '/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17'
>>> Failed to emerge sys-libs/glibc-2.17, Log file:
>>> '/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'
* Messages for package sys-libs/glibc-2.17:
* ERROR: sys-libs/glibc-2.17::gentoo failed (compile phase):
* make for x86 failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 3145: Called eblit-run 'src_compile'
* environment, line 915: Called eblit-glibc-src_compile
* src_compile.eblit, line 259: Called src_compile
* environment, line 3145: Called eblit-run 'src_compile'
* environment, line 915: Called eblit-glibc-src_compile
* src_compile.eblit, line 267: Called toolchain-glibc_src_compile
* src_compile.eblit, line 166: Called die
* The specific snippet of code:
* emake || die "make for ${ABI} failed"
*
* If you need support, post the output of `emerge --info
'=sys-libs/glibc-2.17::gentoo'`,
* the complete build log and the output of `emerge -pqv
'=sys-libs/glibc-2.17::gentoo'`.
* The complete build log is located at
'/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/sys-libs/glibc-2.17/temp/environment'.
* Working directory:
'/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl'
* S: '/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17'
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="-O2 -pipe"
CXXFLAGS="${CFLAGS}"
# 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"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="mmx sse sse2 utf-8 X pulseaudio alsa"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
PORTDIR_OVERLAY="/usr/local/portage"
MAKEOPTS="-j8"
GRUB_PLATFORMS="efi-64 pc"
POLICY_TYPES="strict"
VIDEO_CARDS="intel nouveau nvidia"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/
rsync://mirror.mcs.anl.gov/gentoo/
ftp://mirror.mcs.anl.gov/pub/gentoo/
http://www.gtlib.gatech.edu/pub/gentoo
rsync://rsync.gtlib.gatech.edu/gentoo
ftp://ftp.gtlib.gatech.edu/pub/gentoo http://lug.mtu.edu/gentoo/
ftp://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
`emerge --info '=sys-libs/glibc-2.17::gentoo'`:
Portage 2.2.8-r1 (hardened/linux/amd64/selinux, gcc-4.7.3, glibc-2.17,
3.15.5-hardened-r1 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.15.5-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-4700HQ_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem: 16308416 total, 10943532 free
KiB Swap: 0 total, 0 free
Timestamp of tree: Tue, 22 Jul 2014 10:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash: 4.2_p45
dev-java/java-config: 2.2.0
dev-lang/python: 2.7.6, 3.3.3
dev-util/cmake: 2.8.12.2
dev-util/pkgconfig: 0.28-r1
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.12.4
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.13.4
sys-devel/binutils: 2.23.2
sys-devel/gcc: 4.7.3-r1
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4.2-r1
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc: 2.17
Repositories: gentoo x-portage
Installed sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified
distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch
preserve-libs protect-owned sandbox selinux sesandbox sfperms strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv
usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/
rsync://mirror.mcs.anl.gov/gentoo/
ftp://mirror.mcs.anl.gov/pub/gentoo/
http://www.gtlib.gatech.edu/pub/gentoo
rsync://rsync.gtlib.gatech.edu/gentoo
ftp://ftp.gtlib.gatech.edu/pub/gentoo http://lug.mtu.edu/gentoo/
ftp://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--omit-dir-times --compress --force --whole-file --delete --stats
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cli cracklib crypt cxx dri gdbm
hardened iconv ipv6 justify mmx modules multilib ncurses nls nptl
open_perms openmp pam pax_kernel pcre pulseaudio readline selinux
session sse sse2 ssl tcpd unconfined unicode urandom utf-8 xtpax zlib"
ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd
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" CALLIGRA_FEATURES="kexi words flow plan sheets
stage tables krita karbon braindump author" 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 ublox ubx" GRUB_PLATFORMS="efi-64 pc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice"
PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7"
PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20"
USERLAND="GNU" VIDEO_CARDS="intel 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, LC_ALL,
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
=================================================================
Package Settings
=================================================================
sys-libs/glibc-2.17 was built with the following:
USE="hardened (multilib) (selinux) -debug -gd -nscd -profile -suid
-systemtap -vanilla" ABI_X86="64"
CFLAGS="-pipe -O2 -fno-strict-aliasing -fno-stack-protector"
CXXFLAGS="-pipe -O2 -fno-strict-aliasing"
`emerge -pqv '=sys-libs/glibc-2.16::gentoo'`:
[ebuild R ] sys-libs/glibc-2.17 USE="hardened (multilib)
(selinux) -debug -gd -nscd -profile -suid -systemtap -vanilla"
* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
The build log is kind of large, tell me if the whole thing is needed.
Regards.
[-- Attachment #2: Type: text/html, Size: 20744 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] glibc (and gcc) build fails: /bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
2014-07-22 13:48 [gentoo-user] glibc (and gcc) build fails: /bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory Sid S
@ 2014-07-22 13:58 ` Alec Ten Harmsel
2014-07-22 14:50 ` Sid S
2014-07-22 15:36 ` Stroller
2014-07-23 15:39 ` Stroller
2 siblings, 1 reply; 12+ messages in thread
From: Alec Ten Harmsel @ 2014-07-22 13:58 UTC (permalink / raw
To: gentoo-user
I've had some problems with this in the past on non-hardened... you
have IA32 emulation turned on in the kernel right?
Also, not sure if this is just me, but the really long lines (like the
top 4) run off the end of my screen and I can't see them at all.
Alec
On Tue 22 Jul 2014 09:48:54 AM EDT, Sid S wrote:
> Not sure what relevant information to provide. My system works and I
> can compile other ebuilds normally, except, it seems, gcc and glibc.
> Searching for the error in the tile doesn't give me much - what it
> does give me doesn't seem to apply to my instance of the error, or at
> least what I know about it (patches, etc). A common "solution" is to
> switch to a non-multilib profile, but I need multilib. I am using the
> hardened profile with selinux, but it doesn't seem to be an issue with
> either of those (it's usually pretty obvious if it is).
>
> `MAKEOPTS="-j1" emerge glibc`:
> x86_64-pc-linux-gnu-gcc -m32 rpcgen.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-stack-protector -fno-strict-aliasing -frounding-math -pipe -Wstrict-prototypes -Wa,-mtune=i686 -U_FORTIFY_SOURCE -DPIC -DPIC -DPIC -D_RPC_THREAD_SAFE_ -I../include -I/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc -I/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/i386/nptl -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -
I
../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu/multiarch -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686/multiarch -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/x86/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/x86 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib32/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DNOT_IN_libc=1 -D_RPC_THREAD_SAFE_ -o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen.o -MD -MP -MF /var/tmp/portage/sys-libs/gl
i
bc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen.o.dt -MT /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen.o
> x86_64-pc-linux-gnu-gcc -m32 -pie -Wl,-O1 -nostdlib -nostartfiles -o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen -Wl,-dynamic-linker=/lib32/ld-linux.so.2 -Wl,-O1 -Wl,--as-needed -Wl,-z,combreloc -Wl,-z,relro /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/Scrt1.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crti.o `x86_64-pc-linux-gnu-gcc -m32 --print-file-name=crtbeginS.o` /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_main.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_hout.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_cout.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_parse.o /var/tmp/portage/sys-libs
/
glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_scan.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_util.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_svcout.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_clntout.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_tblout.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_sample.o -Wl,-rpath-link=/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-lib
s
/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6 /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/libc_nonshared.a -Wl,--as-needed /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld.so -Wl,--no-as-needed -lgcc `x86_64-pc-linux-gnu-gcc -m32 --print-file-name=crtendS.o` /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crtn.o
> x86_64-pc-linux-gnu-gcc -m32 /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_main.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_hout.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_cout.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_parse.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_scan.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_util.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_svcout.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_clntout.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_tblout.o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x8
6
-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_sample.o -o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen
> CPP='x86_64-pc-linux-gnu-gcc -m32 -E -x c-header' /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.T
> /bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
> make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Error 127
> make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17/sunrpc'
> make[1]: *** [sunrpc/others] Error 2
> make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17'
> make: *** [all] Error 2
> emake failed
> * ERROR: sys-libs/glibc-2.17::gentoo failed (compile phase):
> * make for x86 failed
> *
> * Call stack:
> * ebuild.sh, line 93: Called src_compile
> * environment, line 3145: Called eblit-run 'src_compile'
> * environment, line 915: Called eblit-glibc-src_compile
> * src_compile.eblit, line 259: Called src_compile
> * environment, line 3145: Called eblit-run 'src_compile'
> * environment, line 915: Called eblit-glibc-src_compile
> * src_compile.eblit, line 267: Called toolchain-glibc_src_compile
> * src_compile.eblit, line 166: Called die
> * The specific snippet of code:
> * emake || die "make for ${ABI} failed"
> *
> * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.17::gentoo'`,
> * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.17::gentoo'`.
> * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'.
> * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.17/temp/environment'.
> * Working directory: '/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl'
> * S: '/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17'
>
> >>> Failed to emerge sys-libs/glibc-2.17, Log file:
>
> >>> '/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'
>
> * Messages for package sys-libs/glibc-2.17:
>
> * ERROR: sys-libs/glibc-2.17::gentoo failed (compile phase):
> * make for x86 failed
> *
> * Call stack:
> * ebuild.sh, line 93: Called src_compile
> * environment, line 3145: Called eblit-run 'src_compile'
> * environment, line 915: Called eblit-glibc-src_compile
> * src_compile.eblit, line 259: Called src_compile
> * environment, line 3145: Called eblit-run 'src_compile'
> * environment, line 915: Called eblit-glibc-src_compile
> * src_compile.eblit, line 267: Called toolchain-glibc_src_compile
> * src_compile.eblit, line 166: Called die
> * The specific snippet of code:
> * emake || die "make for ${ABI} failed"
> *
> * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.17::gentoo'`,
> * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.17::gentoo'`.
> * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'.
> * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.17/temp/environment'.
> * Working directory: '/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl'
> * S: '/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17'
>
> 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="-O2 -pipe"
> CXXFLAGS="${CFLAGS}"
> # 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"
> # These are the USE flags that were used in addition to what is provided by the
> # profile used for building.
> USE="mmx sse sse2 utf-8 X pulseaudio alsa"
> PORTDIR="/usr/portage"
> DISTDIR="${PORTDIR}/distfiles"
> PKGDIR="${PORTDIR}/packages"
>
> PORTDIR_OVERLAY="/usr/local/portage"
>
> MAKEOPTS="-j8"
>
> GRUB_PLATFORMS="efi-64 pc"
>
> POLICY_TYPES="strict"
>
> VIDEO_CARDS="intel nouveau nvidia"
>
> GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ rsync://mirror.mcs.anl.gov/gentoo/ <http://mirror.mcs.anl.gov/gentoo/> ftp://mirror.mcs.anl.gov/pub/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo <http://rsync.gtlib.gatech.edu/gentoo> ftp://ftp.gtlib.gatech.edu/pub/gentoo http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/"
>
> SYNC="rsync://rsync.us.gentoo.org/gentoo-portage <http://rsync.us.gentoo.org/gentoo-portage>"
>
> `emerge --info '=sys-libs/glibc-2.17::gentoo'`:
> Portage 2.2.8-r1 (hardened/linux/amd64/selinux, gcc-4.7.3, glibc-2.17, 3.15.5-hardened-r1 x86_64)
> =================================================================
> System Settings
> =================================================================
> System uname: Linux-3.15.5-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-4700HQ_CPU_@_2.40GHz-with-gentoo-2.2
> KiB Mem: 16308416 total, 10943532 free
> KiB Swap: 0 total, 0 free
> Timestamp of tree: Tue, 22 Jul 2014 10:45:01 +0000
> ld GNU ld (GNU Binutils) 2.23.2
> app-shells/bash: 4.2_p45
> dev-java/java-config: 2.2.0
> dev-lang/python: 2.7.6, 3.3.3
> dev-util/cmake: 2.8.12.2
> dev-util/pkgconfig: 0.28-r1
> sys-apps/baselayout: 2.2
> sys-apps/openrc: 0.12.4
> sys-apps/sandbox: 2.6-r1
> sys-devel/autoconf: 2.13, 2.69
> sys-devel/automake: 1.13.4
> sys-devel/binutils: 2.23.2
> sys-devel/gcc: 4.7.3-r1
> sys-devel/gcc-config: 1.7.3
> sys-devel/libtool: 2.4.2-r1
> sys-devel/make: 3.82-r4
> sys-kernel/linux-headers: 3.13 (virtual/os-headers)
> sys-libs/glibc: 2.17
> Repositories: gentoo x-portage
> Installed sets: @steam
> ACCEPT_KEYWORDS="amd64"
> ACCEPT_LICENSE="* -@EULA"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-O2 -pipe"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
> CXXFLAGS="-O2 -pipe"
> DISTDIR="/usr/portage/distfiles"
> FCFLAGS="-O2 -pipe"
> FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
> FFLAGS="-O2 -pipe"
> GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ rsync://mirror.mcs.anl.gov/gentoo/ <http://mirror.mcs.anl.gov/gentoo/> ftp://mirror.mcs.anl.gov/pub/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo <http://rsync.gtlib.gatech.edu/gentoo> ftp://ftp.gtlib.gatech.edu/pub/gentoo http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/"
> LANG="en_US.utf8"
> LDFLAGS="-Wl,-O1 -Wl,--as-needed"
> MAKEOPTS="-j8"
> PKGDIR="/usr/portage/packages"
> PORTAGE_CONFIGROOT="/"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/usr/local/portage"
> SYNC="rsync://rsync.us.gentoo.org/gentoo-portage <http://rsync.us.gentoo.org/gentoo-portage>"
> USE="X acl alsa amd64 berkdb bzip2 cli cracklib crypt cxx dri gdbm hardened iconv ipv6 justify mmx modules multilib ncurses nls nptl open_perms openmp pam pax_kernel pcre pulseaudio readline selinux session sse sse2 ssl tcpd unconfined unicode urandom utf-8 xtpax zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan
s
heets stage tables krita karbon braindump author" 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 ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
>
> =================================================================
> Package Settings
> =================================================================
>
> sys-libs/glibc-2.17 was built with the following:
> USE="hardened (multilib) (selinux) -debug -gd -nscd -profile -suid -systemtap -vanilla" ABI_X86="64"
> CFLAGS="-pipe -O2 -fno-strict-aliasing -fno-stack-protector"
> CXXFLAGS="-pipe -O2 -fno-strict-aliasing"
>
> `emerge -pqv '=sys-libs/glibc-2.16::gentoo'`:
> [ebuild R ] sys-libs/glibc-2.17 USE="hardened (multilib) (selinux) -debug -gd -nscd -profile -suid -systemtap -vanilla"
>
> * IMPORTANT: 1 news items need reading for repository 'gentoo'.
> * Use eselect news to read news items.
>
> The build log is kind of large, tell me if the whole thing is needed.
>
> Regards.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] glibc (and gcc) build fails: /bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
2014-07-22 13:58 ` Alec Ten Harmsel
@ 2014-07-22 14:50 ` Sid S
2014-07-22 15:27 ` Alec Ten Harmsel
0 siblings, 1 reply; 12+ messages in thread
From: Sid S @ 2014-07-22 14:50 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 19246 bytes --]
I have IA32 emulation enabled but none of its suboptions (I read I don't
need them).
Sorry about the lines running off, my client does not auto-wrap with
newlines and it
seems yours does not either.
.
On Tue, Jul 22, 2014 at 8:58 AM, Alec Ten Harmsel <alec@alectenharmsel.com>
wrote:
> I've had some problems with this in the past on non-hardened... you
> have IA32 emulation turned on in the kernel right?
>
> Also, not sure if this is just me, but the really long lines (like the
> top 4) run off the end of my screen and I can't see them at all.
>
> Alec
>
> On Tue 22 Jul 2014 09:48:54 AM EDT, Sid S wrote:
> > Not sure what relevant information to provide. My system works and I
> > can compile other ebuilds normally, except, it seems, gcc and glibc.
> > Searching for the error in the tile doesn't give me much - what it
> > does give me doesn't seem to apply to my instance of the error, or at
> > least what I know about it (patches, etc). A common "solution" is to
> > switch to a non-multilib profile, but I need multilib. I am using the
> > hardened profile with selinux, but it doesn't seem to be an issue with
> > either of those (it's usually pretty obvious if it is).
> >
> > `MAKEOPTS="-j1" emerge glibc`:
> > x86_64-pc-linux-gnu-gcc -m32 rpcgen.c -c -std=gnu99 -fgnu89-inline -O2
> -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-stack-protector
> -fno-strict-aliasing -frounding-math -pipe -Wstrict-prototypes
> -Wa,-mtune=i686 -U_FORTIFY_SOURCE -DPIC -DPIC -DPIC -D_RPC_THREAD_SAFE_
> -I../include
> -I/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc
> -I/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl
> -I../nptl/sysdeps/unix/sysv/linux/i386/i686
> -I../sysdeps/unix/sysv/linux/i386/i686
> -I../nptl/sysdeps/unix/sysv/linux/i386
> -I../nptl/sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/x86
> -I../sysdeps/unix/sysv/linux/i386/nptl -I../sysdeps/unix/sysv/linux/i386
> -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread
> -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux
> -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/inet
> -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv
> -I../sysdeps/unix/sysv -
> I
> ../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix
> -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu/multiarch
> -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686/multiarch
> -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486
> -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/x86/fpu
> -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/x86
> -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
> -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
> -I../sysdeps/ieee754 -I../sysdeps/generic -I../nptl -I../ports -I..
> -I../libio -I. -nostdinc -isystem
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib32/include -isystem
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include-fixed -isystem /usr/include
> -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DNOT_IN_libc=1
> -D_RPC_THREAD_SAFE_ -o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen.o
> -MD -MP -MF /var/tmp/portage/sys-libs/gl
> i
> bc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen.o.dt -MT
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen.o
> > x86_64-pc-linux-gnu-gcc -m32 -pie -Wl,-O1 -nostdlib -nostartfiles -o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen
> -Wl,-dynamic-linker=/lib32/ld-linux.so.2 -Wl,-O1 -Wl,--as-needed
> -Wl,-z,combreloc -Wl,-z,relro
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/Scrt1.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crti.o
> `x86_64-pc-linux-gnu-gcc -m32 --print-file-name=crtbeginS.o`
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_main.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_hout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_cout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_parse.o
> /var/tmp/portage/sys-libs
> /
> glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_scan.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_util.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_svcout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_clntout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_tblout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_sample.o
> -Wl,-rpath-link=/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-lib
> s
> /glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/libc_nonshared.a
> -Wl,--as-needed
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld.so
> -Wl,--no-as-needed -lgcc `x86_64-pc-linux-gnu-gcc -m32
> --print-file-name=crtendS.o`
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crtn.o
> > x86_64-pc-linux-gnu-gcc -m32
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_main.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_hout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_cout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_parse.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_scan.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_util.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_svcout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_clntout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_tblout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x8
> 6
> -x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_sample.o -o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen
> > CPP='x86_64-pc-linux-gnu-gcc -m32 -E -x c-header'
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen
> -Y ../scripts -c rpcsvc/bootparam_prot.x -o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.T
> > /bin/sh:
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen:
> No such file or directory
> > make[2]: ***
> [/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp]
> Error 127
> > make[2]: Leaving directory
> `/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17/sunrpc'
> > make[1]: *** [sunrpc/others] Error 2
> > make[1]: Leaving directory
> `/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17'
> > make: *** [all] Error 2
> > emake failed
> > * ERROR: sys-libs/glibc-2.17::gentoo failed (compile phase):
> > * make for x86 failed
> > *
> > * Call stack:
> > * ebuild.sh, line 93: Called src_compile
> > * environment, line 3145: Called eblit-run 'src_compile'
> > * environment, line 915: Called eblit-glibc-src_compile
> > * src_compile.eblit, line 259: Called src_compile
> > * environment, line 3145: Called eblit-run 'src_compile'
> > * environment, line 915: Called eblit-glibc-src_compile
> > * src_compile.eblit, line 267: Called toolchain-glibc_src_compile
> > * src_compile.eblit, line 166: Called die
> > * The specific snippet of code:
> > * emake || die "make for ${ABI} failed"
> > *
> > * If you need support, post the output of `emerge --info
> '=sys-libs/glibc-2.17::gentoo'`,
> > * the complete build log and the output of `emerge -pqv
> '=sys-libs/glibc-2.17::gentoo'`.
> > * The complete build log is located at
> '/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'.
> > * The ebuild environment file is located at
> '/var/tmp/portage/sys-libs/glibc-2.17/temp/environment'.
> > * Working directory:
> '/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl'
> > * S: '/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17'
> >
> > >>> Failed to emerge sys-libs/glibc-2.17, Log file:
> >
> > >>> '/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'
> >
> > * Messages for package sys-libs/glibc-2.17:
> >
> > * ERROR: sys-libs/glibc-2.17::gentoo failed (compile phase):
> > * make for x86 failed
> > *
> > * Call stack:
> > * ebuild.sh, line 93: Called src_compile
> > * environment, line 3145: Called eblit-run 'src_compile'
> > * environment, line 915: Called eblit-glibc-src_compile
> > * src_compile.eblit, line 259: Called src_compile
> > * environment, line 3145: Called eblit-run 'src_compile'
> > * environment, line 915: Called eblit-glibc-src_compile
> > * src_compile.eblit, line 267: Called toolchain-glibc_src_compile
> > * src_compile.eblit, line 166: Called die
> > * The specific snippet of code:
> > * emake || die "make for ${ABI} failed"
> > *
> > * If you need support, post the output of `emerge --info
> '=sys-libs/glibc-2.17::gentoo'`,
> > * the complete build log and the output of `emerge -pqv
> '=sys-libs/glibc-2.17::gentoo'`.
> > * The complete build log is located at
> '/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'.
> > * The ebuild environment file is located at
> '/var/tmp/portage/sys-libs/glibc-2.17/temp/environment'.
> > * Working directory:
> '/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl'
> > * S: '/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17'
> >
> > 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="-O2 -pipe"
> > CXXFLAGS="${CFLAGS}"
> > # 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"
> > # These are the USE flags that were used in addition to what is provided
> by the
> > # profile used for building.
> > USE="mmx sse sse2 utf-8 X pulseaudio alsa"
> > PORTDIR="/usr/portage"
> > DISTDIR="${PORTDIR}/distfiles"
> > PKGDIR="${PORTDIR}/packages"
> >
> > PORTDIR_OVERLAY="/usr/local/portage"
> >
> > MAKEOPTS="-j8"
> >
> > GRUB_PLATFORMS="efi-64 pc"
> >
> > POLICY_TYPES="strict"
> >
> > VIDEO_CARDS="intel nouveau nvidia"
> >
> > GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ rsync://
> mirror.mcs.anl.gov/gentoo/ <http://mirror.mcs.anl.gov/gentoo/>
> ftp://mirror.mcs.anl.gov/pub/gentoo/
> http://www.gtlib.gatech.edu/pub/gentoo rsync://
> rsync.gtlib.gatech.edu/gentoo <http://rsync.gtlib.gatech.edu/gentoo>
> ftp://ftp.gtlib.gatech.edu/pub/gentoo http://lug.mtu.edu/gentoo/
> ftp://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/"
> >
> > SYNC="rsync://rsync.us.gentoo.org/gentoo-portage <
> http://rsync.us.gentoo.org/gentoo-portage>"
> >
> > `emerge --info '=sys-libs/glibc-2.17::gentoo'`:
> > Portage 2.2.8-r1 (hardened/linux/amd64/selinux, gcc-4.7.3, glibc-2.17,
> 3.15.5-hardened-r1 x86_64)
> > =================================================================
> > System Settings
> > =================================================================
> > System uname:
> Linux-3.15.5-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-4700HQ_CPU_@
> _2.40GHz-with-gentoo-2.2
> > KiB Mem: 16308416 total, 10943532 free
> > KiB Swap: 0 total, 0 free
> > Timestamp of tree: Tue, 22 Jul 2014 10:45:01 +0000
> > ld GNU ld (GNU Binutils) 2.23.2
> > app-shells/bash: 4.2_p45
> > dev-java/java-config: 2.2.0
> > dev-lang/python: 2.7.6, 3.3.3
> > dev-util/cmake: 2.8.12.2
> > dev-util/pkgconfig: 0.28-r1
> > sys-apps/baselayout: 2.2
> > sys-apps/openrc: 0.12.4
> > sys-apps/sandbox: 2.6-r1
> > sys-devel/autoconf: 2.13, 2.69
> > sys-devel/automake: 1.13.4
> > sys-devel/binutils: 2.23.2
> > sys-devel/gcc: 4.7.3-r1
> > sys-devel/gcc-config: 1.7.3
> > sys-devel/libtool: 2.4.2-r1
> > sys-devel/make: 3.82-r4
> > sys-kernel/linux-headers: 3.13 (virtual/os-headers)
> > sys-libs/glibc: 2.17
> > Repositories: gentoo x-portage
> > Installed sets: @steam
> > ACCEPT_KEYWORDS="amd64"
> > ACCEPT_LICENSE="* -@EULA"
> > CBUILD="x86_64-pc-linux-gnu"
> > CFLAGS="-O2 -pipe"
> > CHOST="x86_64-pc-linux-gnu"
> > CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
> > CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
> /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild
> /etc/sandbox.d /etc/terminfo"
> > CXXFLAGS="-O2 -pipe"
> > DISTDIR="/usr/portage/distfiles"
> > FCFLAGS="-O2 -pipe"
> > FEATURES="assume-digests binpkg-logs config-protect-if-modified
> distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch
> preserve-libs protect-owned sandbox selinux sesandbox sfperms strict
> unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv
> usersandbox usersync xattr"
> > FFLAGS="-O2 -pipe"
> > GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ rsync://
> mirror.mcs.anl.gov/gentoo/ <http://mirror.mcs.anl.gov/gentoo/>
> ftp://mirror.mcs.anl.gov/pub/gentoo/
> http://www.gtlib.gatech.edu/pub/gentoo rsync://
> rsync.gtlib.gatech.edu/gentoo <http://rsync.gtlib.gatech.edu/gentoo>
> ftp://ftp.gtlib.gatech.edu/pub/gentoo http://lug.mtu.edu/gentoo/
> ftp://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/"
> > LANG="en_US.utf8"
> > LDFLAGS="-Wl,-O1 -Wl,--as-needed"
> > MAKEOPTS="-j8"
> > PKGDIR="/usr/portage/packages"
> > PORTAGE_CONFIGROOT="/"
> > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
> --omit-dir-times --compress --force --whole-file --delete --stats
> --human-readable --timeout=180 --exclude=/distfiles --exclude=/local
> --exclude=/packages"
> > PORTAGE_TMPDIR="/var/tmp"
> > PORTDIR="/usr/portage"
> > PORTDIR_OVERLAY="/usr/local/portage"
> > SYNC="rsync://rsync.us.gentoo.org/gentoo-portage <
> http://rsync.us.gentoo.org/gentoo-portage>"
> > USE="X acl alsa amd64 berkdb bzip2 cli cracklib crypt cxx dri gdbm
> hardened iconv ipv6 justify mmx modules multilib ncurses nls nptl
> open_perms openmp pam pax_kernel pcre pulseaudio readline selinux session
> sse sse2 ssl tcpd unconfined unicode urandom utf-8 xtpax zlib" ABI_X86="64"
> 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"
> APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow
> plan
> s
> heets stage tables krita karbon braindump author" 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 ublox
> ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="keyboard mouse evdev"
> KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
> lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
> presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice"
> PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7"
> PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20"
> USERLAND="GNU" VIDEO_CARDS="intel 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, LC_ALL,
> PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
> PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
> >
> > =================================================================
> > Package Settings
> > =================================================================
> >
> > sys-libs/glibc-2.17 was built with the following:
> > USE="hardened (multilib) (selinux) -debug -gd -nscd -profile -suid
> -systemtap -vanilla" ABI_X86="64"
> > CFLAGS="-pipe -O2 -fno-strict-aliasing -fno-stack-protector"
> > CXXFLAGS="-pipe -O2 -fno-strict-aliasing"
> >
> > `emerge -pqv '=sys-libs/glibc-2.16::gentoo'`:
> > [ebuild R ] sys-libs/glibc-2.17 USE="hardened (multilib) (selinux)
> -debug -gd -nscd -profile -suid -systemtap -vanilla"
> >
> > * IMPORTANT: 1 news items need reading for repository 'gentoo'.
> > * Use eselect news to read news items.
> >
> > The build log is kind of large, tell me if the whole thing is needed.
> >
> > Regards.
>
>
[-- Attachment #2: Type: text/html, Size: 23185 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] glibc (and gcc) build fails: /bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
2014-07-22 14:50 ` Sid S
@ 2014-07-22 15:27 ` Alec Ten Harmsel
0 siblings, 0 replies; 12+ messages in thread
From: Alec Ten Harmsel @ 2014-07-22 15:27 UTC (permalink / raw
To: gentoo-user
Yeah, Thunderbird doesn't handle long lines well, I guess.
Hmmm... I have no experience with Gentoo Hardened, but the file that
caused failure due to not existing, 'cross-rpcgen', is created by gcc
the step immediately before without error. There really shouldn't be a
problem.
Are you in the process of switching to hardened right now? Why are you
rebuilding glibc and gcc? I'm not sure I'll be able to help, but
getting a bit more background might shed some light on something.
Alec
On Tue 22 Jul 2014 10:50:20 AM EDT, Sid S wrote:
> I have IA32 emulation enabled but none of its suboptions (I read I
> don't need them).
>
> Sorry about the lines running off, my client does not auto-wrap with
> newlines and it
> seems yours does not either.
>
> .
>
>
> On Tue, Jul 22, 2014 at 8:58 AM, Alec Ten Harmsel
> <alec@alectenharmsel.com <mailto:alec@alectenharmsel.com>> wrote:
>
> I've had some problems with this in the past on non-hardened... you
> have IA32 emulation turned on in the kernel right?
>
> Also, not sure if this is just me, but the really long lines (like the
> top 4) run off the end of my screen and I can't see them at all.
>
> Alec
>
> On Tue 22 Jul 2014 09:48:54 AM EDT, Sid S wrote:
> > Not sure what relevant information to provide. My system works and I
> > can compile other ebuilds normally, except, it seems, gcc and glibc.
> > Searching for the error in the tile doesn't give me much - what it
> > does give me doesn't seem to apply to my instance of the error,
> or at
> > least what I know about it (patches, etc). A common "solution" is to
> > switch to a non-multilib profile, but I need multilib. I am
> using the
> > hardened profile with selinux, but it doesn't seem to be an
> issue with
> > either of those (it's usually pretty obvious if it is).
> >
> > `MAKEOPTS="-j1" emerge glibc`:
> > x86_64-pc-linux-gnu-gcc -m32 rpcgen.c -c -std=gnu99
> -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings
> -fmerge-all-constants -fno-stack-protector -fno-strict-aliasing
> -frounding-math -pipe -Wstrict-prototypes -Wa,-mtune=i686
> -U_FORTIFY_SOURCE -DPIC -DPIC -DPIC -D_RPC_THREAD_SAFE_
> -I../include
> -I/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc
> -I/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl
> -I../nptl/sysdeps/unix/sysv/linux/i386/i686
> -I../sysdeps/unix/sysv/linux/i386/i686
> -I../nptl/sysdeps/unix/sysv/linux/i386
> -I../nptl/sysdeps/unix/sysv/linux/x86
> -I../sysdeps/unix/sysv/linux/x86
> -I../sysdeps/unix/sysv/linux/i386/nptl
> -I../sysdeps/unix/sysv/linux/i386
> -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread
> -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux
> -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
> -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
> -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -
> I
> ../sysdeps/unix/i386 -I../nptl/sysdeps/unix
> -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix
> -I../sysdeps/i386/i686/fpu/multiarch -I../sysdeps/i386/i686/fpu
> -I../sysdeps/i386/i686/multiarch -I../nptl/sysdeps/i386/i686
> -I../sysdeps/i386/i686 -I../sysdeps/i386/i486
> -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu
> -I../sysdeps/x86/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386
> -I../sysdeps/x86 -I../sysdeps/wordsize-32
> -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64
> -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
> -I../sysdeps/generic -I../nptl -I../ports -I.. -I../libio -I.
> -nostdinc -isystem
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib32/include
> -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include-fixed
> -isystem /usr/include -D_LIBC_REENTRANT -include
> ../include/libc-symbols.h -DNOT_IN_libc=1 -D_RPC_THREAD_SAFE_
> -o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen.o
> -MD -MP -MF /var/tmp/portage/sys-libs/gl
> i
> bc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen.o.dt
> -MT
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen.o
> > x86_64-pc-linux-gnu-gcc -m32 -pie -Wl,-O1 -nostdlib
> -nostartfiles -o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen
> -Wl,-dynamic-linker=/lib32/ld-linux.so.2 -Wl,-O1 -Wl,--as-needed
> -Wl,-z,combreloc -Wl,-z,relro
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/Scrt1.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crti.o
> `x86_64-pc-linux-gnu-gcc -m32 --print-file-name=crtbeginS.o`
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_main.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_hout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_cout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_parse.o
> /var/tmp/portage/sys-libs
> /
> glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_scan.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_util.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_svcout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_clntout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_tblout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpc_sample.o
> -Wl,-rpath-link=/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-lib
> s
> /glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/libc_nonshared.a
> -Wl,--as-needed
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld.so
> -Wl,--no-as-needed -lgcc `x86_64-pc-linux-gnu-gcc -m32
> --print-file-name=crtendS.o`
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crtn.o
> > x86_64-pc-linux-gnu-gcc -m32
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_main.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_hout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_cout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_parse.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_scan.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_util.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_svcout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_clntout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_tblout.o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x8
> 6
> -x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpc_sample.o -o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen
> > CPP='x86_64-pc-linux-gnu-gcc -m32 -E -x c-header'
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen
> -Y ../scripts -c rpcsvc/bootparam_prot.x -o
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.T
> > /bin/sh:
> /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen:
> No such file or directory
> > make[2]: ***
> [/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp]
> Error 127
> > make[2]: Leaving directory
> `/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17/sunrpc'
> > make[1]: *** [sunrpc/others] Error 2
> > make[1]: Leaving directory
> `/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17'
> > make: *** [all] Error 2
> > emake failed
> > * ERROR: sys-libs/glibc-2.17::gentoo failed (compile phase):
> > * make for x86 failed
> > *
> > * Call stack:
> > * ebuild.sh, line 93: Called src_compile
> > * environment, line 3145: Called eblit-run 'src_compile'
> > * environment, line 915: Called eblit-glibc-src_compile
> > * src_compile.eblit, line 259: Called src_compile
> > * environment, line 3145: Called eblit-run 'src_compile'
> > * environment, line 915: Called eblit-glibc-src_compile
> > * src_compile.eblit, line 267: Called
> toolchain-glibc_src_compile
> > * src_compile.eblit, line 166: Called die
> > * The specific snippet of code:
> > * emake || die "make for ${ABI} failed"
> > *
> > * If you need support, post the output of `emerge --info
> '=sys-libs/glibc-2.17::gentoo'`,
> > * the complete build log and the output of `emerge -pqv
> '=sys-libs/glibc-2.17::gentoo'`.
> > * The complete build log is located at
> '/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'.
> > * The ebuild environment file is located at
> '/var/tmp/portage/sys-libs/glibc-2.17/temp/environment'.
> > * Working directory:
> '/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl'
> > * S: '/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17'
> >
> > >>> Failed to emerge sys-libs/glibc-2.17, Log file:
> >
> > >>> '/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'
> >
> > * Messages for package sys-libs/glibc-2.17:
> >
> > * ERROR: sys-libs/glibc-2.17::gentoo failed (compile phase):
> > * make for x86 failed
> > *
> > * Call stack:
> > * ebuild.sh, line 93: Called src_compile
> > * environment, line 3145: Called eblit-run 'src_compile'
> > * environment, line 915: Called eblit-glibc-src_compile
> > * src_compile.eblit, line 259: Called src_compile
> > * environment, line 3145: Called eblit-run 'src_compile'
> > * environment, line 915: Called eblit-glibc-src_compile
> > * src_compile.eblit, line 267: Called
> toolchain-glibc_src_compile
> > * src_compile.eblit, line 166: Called die
> > * The specific snippet of code:
> > * emake || die "make for ${ABI} failed"
> > *
> > * If you need support, post the output of `emerge --info
> '=sys-libs/glibc-2.17::gentoo'`,
> > * the complete build log and the output of `emerge -pqv
> '=sys-libs/glibc-2.17::gentoo'`.
> > * The complete build log is located at
> '/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'.
> > * The ebuild environment file is located at
> '/var/tmp/portage/sys-libs/glibc-2.17/temp/environment'.
> > * Working directory:
> '/var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl'
> > * S: '/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17'
> >
> > 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="-O2 -pipe"
> > CXXFLAGS="${CFLAGS}"
> > # 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"
> > # These are the USE flags that were used in addition to what is
> provided by the
> > # profile used for building.
> > USE="mmx sse sse2 utf-8 X pulseaudio alsa"
> > PORTDIR="/usr/portage"
> > DISTDIR="${PORTDIR}/distfiles"
> > PKGDIR="${PORTDIR}/packages"
> >
> > PORTDIR_OVERLAY="/usr/local/portage"
> >
> > MAKEOPTS="-j8"
> >
> > GRUB_PLATFORMS="efi-64 pc"
> >
> > POLICY_TYPES="strict"
> >
> > VIDEO_CARDS="intel nouveau nvidia"
> >
> > GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/
> rsync://mirror.mcs.anl.gov/gentoo/
> <http://mirror.mcs.anl.gov/gentoo/>
> <http://mirror.mcs.anl.gov/gentoo/>
> ftp://mirror.mcs.anl.gov/pub/gentoo/
> http://www.gtlib.gatech.edu/pub/gentoo
> rsync://rsync.gtlib.gatech.edu/gentoo
> <http://rsync.gtlib.gatech.edu/gentoo>
> <http://rsync.gtlib.gatech.edu/gentoo>
> ftp://ftp.gtlib.gatech.edu/pub/gentoo http://lug.mtu.edu/gentoo/
> ftp://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/"
> >
> > SYNC="rsync://rsync.us.gentoo.org/gentoo-portage
> <http://rsync.us.gentoo.org/gentoo-portage>
> <http://rsync.us.gentoo.org/gentoo-portage>"
> >
> > `emerge --info '=sys-libs/glibc-2.17::gentoo'`:
> > Portage 2.2.8-r1 (hardened/linux/amd64/selinux, gcc-4.7.3,
> glibc-2.17, 3.15.5-hardened-r1 x86_64)
> > =================================================================
> > System Settings
> > =================================================================
> > System uname:
> Linux-3.15.5-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-4700HQ_CPU_@_2.40GHz-with-gentoo-2.2
> > KiB Mem: 16308416 total, 10943532 free
> > KiB Swap: 0 total, 0 free
> > Timestamp of tree: Tue, 22 Jul 2014 10:45:01 +0000
> > ld GNU ld (GNU Binutils) 2.23.2
> > app-shells/bash: 4.2_p45
> > dev-java/java-config: 2.2.0
> > dev-lang/python: 2.7.6, 3.3.3
> > dev-util/cmake: 2.8.12.2
> > dev-util/pkgconfig: 0.28-r1
> > sys-apps/baselayout: 2.2
> > sys-apps/openrc: 0.12.4
> > sys-apps/sandbox: 2.6-r1
> > sys-devel/autoconf: 2.13, 2.69
> > sys-devel/automake: 1.13.4
> > sys-devel/binutils: 2.23.2
> > sys-devel/gcc: 4.7.3-r1
> > sys-devel/gcc-config: 1.7.3
> > sys-devel/libtool: 2.4.2-r1
> > sys-devel/make: 3.82-r4
> > sys-kernel/linux-headers: 3.13 (virtual/os-headers)
> > sys-libs/glibc: 2.17
> > Repositories: gentoo x-portage
> > Installed sets: @steam
> > ACCEPT_KEYWORDS="amd64"
> > ACCEPT_LICENSE="* -@EULA"
> > CBUILD="x86_64-pc-linux-gnu"
> > CFLAGS="-O2 -pipe"
> > CHOST="x86_64-pc-linux-gnu"
> > CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
> > CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf
> /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
> /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
> > CXXFLAGS="-O2 -pipe"
> > DISTDIR="/usr/portage/distfiles"
> > FCFLAGS="-O2 -pipe"
> > FEATURES="assume-digests binpkg-logs config-protect-if-modified
> distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch
> preserve-libs protect-owned sandbox selinux sesandbox sfperms
> strict unknown-features-warn unmerge-logs unmerge-orphans
> userfetch userpriv usersandbox usersync xattr"
> > FFLAGS="-O2 -pipe"
> > GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/
> rsync://mirror.mcs.anl.gov/gentoo/
> <http://mirror.mcs.anl.gov/gentoo/>
> <http://mirror.mcs.anl.gov/gentoo/>
> ftp://mirror.mcs.anl.gov/pub/gentoo/
> http://www.gtlib.gatech.edu/pub/gentoo
> rsync://rsync.gtlib.gatech.edu/gentoo
> <http://rsync.gtlib.gatech.edu/gentoo>
> <http://rsync.gtlib.gatech.edu/gentoo>
> ftp://ftp.gtlib.gatech.edu/pub/gentoo http://lug.mtu.edu/gentoo/
> ftp://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/"
> > LANG="en_US.utf8"
> > LDFLAGS="-Wl,-O1 -Wl,--as-needed"
> > MAKEOPTS="-j8"
> > PKGDIR="/usr/portage/packages"
> > PORTAGE_CONFIGROOT="/"
> > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms
> --times --omit-dir-times --compress --force --whole-file --delete
> --stats --human-readable --timeout=180 --exclude=/distfiles
> --exclude=/local --exclude=/packages"
> > PORTAGE_TMPDIR="/var/tmp"
> > PORTDIR="/usr/portage"
> > PORTDIR_OVERLAY="/usr/local/portage"
> > SYNC="rsync://rsync.us.gentoo.org/gentoo-portage
> <http://rsync.us.gentoo.org/gentoo-portage>
> <http://rsync.us.gentoo.org/gentoo-portage>"
> > USE="X acl alsa amd64 berkdb bzip2 cli cracklib crypt cxx dri
> gdbm hardened iconv ipv6 justify mmx modules multilib ncurses nls
> nptl open_perms openmp pam pax_kernel pcre pulseaudio readline
> selinux session sse sse2 ssl tcpd unconfined unicode urandom utf-8
> xtpax zlib" ABI_X86="64" 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"
> APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan
> s
> heets stage tables krita karbon braindump author" 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 ublox ubx"
> GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="keyboard mouse evdev"
> KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
> lb216 lcdm001 mtxorb ncurses text"
> LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
> OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5"
> PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7
> python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU"
> VIDEO_CARDS="intel 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,
> LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS,
> PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
> >
> > =================================================================
> > Package Settings
> > =================================================================
> >
> > sys-libs/glibc-2.17 was built with the following:
> > USE="hardened (multilib) (selinux) -debug -gd -nscd -profile
> -suid -systemtap -vanilla" ABI_X86="64"
> > CFLAGS="-pipe -O2 -fno-strict-aliasing -fno-stack-protector"
> > CXXFLAGS="-pipe -O2 -fno-strict-aliasing"
> >
> > `emerge -pqv '=sys-libs/glibc-2.16::gentoo'`:
> > [ebuild R ] sys-libs/glibc-2.17 USE="hardened (multilib)
> (selinux) -debug -gd -nscd -profile -suid -systemtap -vanilla"
> >
> > * IMPORTANT: 1 news items need reading for repository 'gentoo'.
> > * Use eselect news to read news items.
> >
> > The build log is kind of large, tell me if the whole thing is
> needed.
> >
> > Regards.
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] glibc (and gcc) build fails: /bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
2014-07-22 13:48 [gentoo-user] glibc (and gcc) build fails: /bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory Sid S
2014-07-22 13:58 ` Alec Ten Harmsel
@ 2014-07-22 15:36 ` Stroller
2014-07-22 16:15 ` Sid S
2014-07-23 15:39 ` Stroller
2 siblings, 1 reply; 12+ messages in thread
From: Stroller @ 2014-07-22 15:36 UTC (permalink / raw
To: gentoo-user
On Tue, 22 July 2014, at 2:48 pm, Sid S <r030t1@gmail.com> wrote:
> ...
> The build log is kind of large, tell me if the whole thing is needed.
The file you sent would have been half the size, if you'll excuse me nagging, if you'd sent it in plaintext, rather than HTML.
Stroller.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] glibc (and gcc) build fails: /bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
2014-07-22 15:36 ` Stroller
@ 2014-07-22 16:15 ` Sid S
2014-07-22 16:26 ` Alec Ten Harmsel
2014-07-23 15:33 ` Stroller
0 siblings, 2 replies; 12+ messages in thread
From: Sid S @ 2014-07-22 16:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1004 bytes --]
>Are you in the process of switching to hardened right now? Why are you
rebuilding glibc and gcc?
No, I set up my system as hardened. They originally got rebuilt (and I
noticed the failure) when I set up a package set for running some games
(using the steam client) and rebuilt the package set. They are the packages
listed here: http://wiki.gentoo.org/wiki/Steam.
>The file you sent would have been half the size, if you'll excuse me
nagging, if you'd sent it in plaintext, rather than HTML.
Did something strange happen? I figured the code blocks would just be
surrounded by
styling tags. Sorry about that.
On Tue, Jul 22, 2014 at 10:36 AM, Stroller <stroller@stellar.eclipse.co.uk>
wrote:
>
> On Tue, 22 July 2014, at 2:48 pm, Sid S <r030t1@gmail.com> wrote:
> > ...
> > The build log is kind of large, tell me if the whole thing is needed.
>
> The file you sent would have been half the size, if you'll excuse me
> nagging, if you'd sent it in plaintext, rather than HTML.
>
> Stroller.
>
>
>
[-- Attachment #2: Type: text/html, Size: 1634 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] glibc (and gcc) build fails: /bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
2014-07-22 16:15 ` Sid S
@ 2014-07-22 16:26 ` Alec Ten Harmsel
2014-07-23 13:47 ` Sid S
2014-07-23 15:33 ` Stroller
1 sibling, 1 reply; 12+ messages in thread
From: Alec Ten Harmsel @ 2014-07-22 16:26 UTC (permalink / raw
To: gentoo-user
Wow, running Steam on Hardened. Seems ambitious.
I'll try and help as much as possible. Can you:
1. Reply with a list of actions/commands you did that led up to this
point
2. Attach the full build log
Also
> They originally got rebuilt (and I noticed the failure)
Do you mean I tried to install @steam and it failed once it got to
glibc, or were you running with --keep-going and figured it out in
hindsight?
Did you do a deep update before doing all of this?
I've only been running Gentoo for a couple of years, so sorry for
asking all these questions. Most of the time a build fails on my
machine it's because I've done something really, really stupid, so just
don't want to make the mistake of diving in way too deep and then
figuring out it was a simple issue.
Alec
On Tue 22 Jul 2014 12:15:08 PM EDT, Sid S wrote:
> >Are you in the process of switching to hardened right now? Why are you
> rebuilding glibc and gcc?
>
> No, I set up my system as hardened. They originally got rebuilt (and I
> noticed the failure) when I set up a package set for running some
> games (using the steam client) and rebuilt the package set. They are
> the packages listed here: http://wiki.gentoo.org/wiki/Steam.
>
> >The file you sent would have been half the size, if you'll excuse me
> nagging, if you'd sent it in plaintext, rather than HTML.
>
> Did something strange happen? I figured the code blocks would just be
> surrounded by
> styling tags. Sorry about that.
>
>
>
> On Tue, Jul 22, 2014 at 10:36 AM, Stroller
> <stroller@stellar.eclipse.co.uk
> <mailto:stroller@stellar.eclipse.co.uk>> wrote:
>
>
> On Tue, 22 July 2014, at 2:48 pm, Sid S <r030t1@gmail.com
> <mailto:r030t1@gmail.com>> wrote:
> > ...
> > The build log is kind of large, tell me if the whole thing is
> needed.
>
> The file you sent would have been half the size, if you'll excuse
> me nagging, if you'd sent it in plaintext, rather than HTML.
>
> Stroller.
>
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] glibc (and gcc) build fails: /bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
2014-07-22 16:26 ` Alec Ten Harmsel
@ 2014-07-23 13:47 ` Sid S
2014-07-25 12:39 ` Alec Ten Harmsel
0 siblings, 1 reply; 12+ messages in thread
From: Sid S @ 2014-07-23 13:47 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 3631 bytes --]
Message delivery has been failing, sorry if this is received twice.
>Wow, running Steam on Hardened. Seems ambitious.
Most things work after grsec is clubbed over the head (sadly the only real
option in a lot of cases).
>1. Reply with a list of actions/commands you did that led up to this
point
I untared a file extracted from the Valve-provided .deb to /. I then
created the package set and emerged
it; it failed while compiling glibc. Something during these steps
apparently broke glibc/gcc
(with a different error than I am asking about now), so I had to reinstall
them from
http://tinderbox.dev.gentoo.org and copy a bunch of headers from the 64 bit
directory to a 32 bit one.
Now I'm getting this error.
I think part of it goes back to when I initially extracted the
Valve-provided .tar.gz... It seems to have
overwritten a lot of files, but I assumed and have been told this is not
the default behavior, or even
really possible (it would have had to clear pre-existing directories).
>Do you mean I tried to install @steam and it failed once it got to
glibc, or were you running with --keep-going and figured it out in
hindsight?
It failed immediately, I did not use --keep-going.
>Did you do a deep update before doing all of this?
Yes.
>2. Attach the full build log
It's too long to include in the message body. What is the best way to send
it? If you do not mind visiting an external link, here is one:
http://bpaste.net/show/488606/.
On Tue, Jul 22, 2014 at 11:26 AM, Alec Ten Harmsel <alec@alectenharmsel.com>
wrote:
> Wow, running Steam on Hardened. Seems ambitious.
>
> I'll try and help as much as possible. Can you:
>
> 1. Reply with a list of actions/commands you did that led up to this
> point
> 2. Attach the full build log
>
> Also
>
> > They originally got rebuilt (and I noticed the failure)
>
> Do you mean I tried to install @steam and it failed once it got to
> glibc, or were you running with --keep-going and figured it out in
> hindsight?
>
> Did you do a deep update before doing all of this?
>
> I've only been running Gentoo for a couple of years, so sorry for
> asking all these questions. Most of the time a build fails on my
> machine it's because I've done something really, really stupid, so just
> don't want to make the mistake of diving in way too deep and then
> figuring out it was a simple issue.
>
> Alec
>
> On Tue 22 Jul 2014 12:15:08 PM EDT, Sid S wrote:
> > >Are you in the process of switching to hardened right now? Why are you
> > rebuilding glibc and gcc?
> >
> > No, I set up my system as hardened. They originally got rebuilt (and I
> > noticed the failure) when I set up a package set for running some
> > games (using the steam client) and rebuilt the package set. They are
> > the packages listed here: http://wiki.gentoo.org/wiki/Steam.
> >
> > >The file you sent would have been half the size, if you'll excuse me
> > nagging, if you'd sent it in plaintext, rather than HTML.
> >
> > Did something strange happen? I figured the code blocks would just be
> > surrounded by
> > styling tags. Sorry about that.
> >
> >
> >
> > On Tue, Jul 22, 2014 at 10:36 AM, Stroller
> > <stroller@stellar.eclipse.co.uk
> > <mailto:stroller@stellar.eclipse.co.uk>> wrote:
> >
> >
> > On Tue, 22 July 2014, at 2:48 pm, Sid S <r030t1@gmail.com
> > <mailto:r030t1@gmail.com>> wrote:
> > > ...
> > > The build log is kind of large, tell me if the whole thing is
> > needed.
> >
> > The file you sent would have been half the size, if you'll excuse
> > me nagging, if you'd sent it in plaintext, rather than HTML.
> >
> > Stroller.
> >
> >
> >
>
>
[-- Attachment #2: Type: text/html, Size: 5013 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] glibc (and gcc) build fails: /bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
2014-07-23 13:47 ` Sid S
@ 2014-07-25 12:39 ` Alec Ten Harmsel
2014-07-25 16:41 ` Douglas J Hunley
0 siblings, 1 reply; 12+ messages in thread
From: Alec Ten Harmsel @ 2014-07-25 12:39 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 4662 bytes --]
It looks like your MAKEOPTS that you set before the command isn't
respected; I see 'make -j8' all through the build log, resulting in make
trying to run something that's still being built.
Regardless of whether or not this has been a problem in the past, can
you try setting MAKEOPTS in make.conf to either "" or "-j1"?
Also, I saw a warning that you had an incompatible version of autoconf,
which may (who really knows?) cause the parallel build failure.
Hope this helps,
Alec
On 07/23/2014 09:47 AM, Sid S wrote:
> Message delivery has been failing, sorry if this is received twice.
>
> >Wow, running Steam on Hardened. Seems ambitious.
>
> Most things work after grsec is clubbed over the head (sadly the only
> real option in a lot of cases).
>
> >1. Reply with a list of actions/commands you did that led up to this
> point
>
> I untared a file extracted from the Valve-provided .deb to /. I then
> created the package set and emerged
> it; it failed while compiling glibc. Something during these steps
> apparently broke glibc/gcc
> (with a different error than I am asking about now), so I had to
> reinstall them from
> http://tinderbox.dev.gentoo.org and copy a bunch of headers from the
> 64 bit directory to a 32 bit one.
> Now I'm getting this error.
>
> I think part of it goes back to when I initially extracted the
> Valve-provided .tar.gz... It seems to have
> overwritten a lot of files, but I assumed and have been told this is
> not the default behavior, or even
> really possible (it would have had to clear pre-existing directories).
>
> >Do you mean I tried to install @steam and it failed once it got to
> glibc, or were you running with --keep-going and figured it out in
> hindsight?
>
> It failed immediately, I did not use --keep-going.
>
> >Did you do a deep update before doing all of this?
>
> Yes.
>
> >2. Attach the full build log
>
> It's too long to include in the message body. What is the best way to
> send it? If you do not mind visiting an external link, here is one:
> http://bpaste.net/show/488606/.
>
>
>
> On Tue, Jul 22, 2014 at 11:26 AM, Alec Ten Harmsel
> <alec@alectenharmsel.com <mailto:alec@alectenharmsel.com>> wrote:
>
> Wow, running Steam on Hardened. Seems ambitious.
>
> I'll try and help as much as possible. Can you:
>
> 1. Reply with a list of actions/commands you did that led up to this
> point
> 2. Attach the full build log
>
> Also
>
> > They originally got rebuilt (and I noticed the failure)
>
> Do you mean I tried to install @steam and it failed once it got to
> glibc, or were you running with --keep-going and figured it out in
> hindsight?
>
> Did you do a deep update before doing all of this?
>
> I've only been running Gentoo for a couple of years, so sorry for
> asking all these questions. Most of the time a build fails on my
> machine it's because I've done something really, really stupid, so
> just
> don't want to make the mistake of diving in way too deep and then
> figuring out it was a simple issue.
>
> Alec
>
> On Tue 22 Jul 2014 12:15:08 PM EDT, Sid S wrote:
> > >Are you in the process of switching to hardened right now? Why
> are you
> > rebuilding glibc and gcc?
> >
> > No, I set up my system as hardened. They originally got rebuilt
> (and I
> > noticed the failure) when I set up a package set for running some
> > games (using the steam client) and rebuilt the package set. They are
> > the packages listed here: http://wiki.gentoo.org/wiki/Steam.
> >
> > >The file you sent would have been half the size, if you'll
> excuse me
> > nagging, if you'd sent it in plaintext, rather than HTML.
> >
> > Did something strange happen? I figured the code blocks would
> just be
> > surrounded by
> > styling tags. Sorry about that.
> >
> >
> >
> > On Tue, Jul 22, 2014 at 10:36 AM, Stroller
> > <stroller@stellar.eclipse.co.uk
> <mailto:stroller@stellar.eclipse.co.uk>
> > <mailto:stroller@stellar.eclipse.co.uk
> <mailto:stroller@stellar.eclipse.co.uk>>> wrote:
> >
> >
> > On Tue, 22 July 2014, at 2:48 pm, Sid S <r030t1@gmail.com
> <mailto:r030t1@gmail.com>
> > <mailto:r030t1@gmail.com <mailto:r030t1@gmail.com>>> wrote:
> > > ...
> > > The build log is kind of large, tell me if the whole thing is
> > needed.
> >
> > The file you sent would have been half the size, if you'll
> excuse
> > me nagging, if you'd sent it in plaintext, rather than HTML.
> >
> > Stroller.
> >
> >
> >
>
>
[-- Attachment #2: Type: text/html, Size: 8043 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] glibc (and gcc) build fails: /bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
2014-07-22 16:15 ` Sid S
2014-07-22 16:26 ` Alec Ten Harmsel
@ 2014-07-23 15:33 ` Stroller
1 sibling, 0 replies; 12+ messages in thread
From: Stroller @ 2014-07-23 15:33 UTC (permalink / raw
To: gentoo-user
On Tue, 22 July 2014, at 5:15 pm, Sid S <r030t1@gmail.com> wrote:
> ...
>> The file you sent would have been half the size, if you'll excuse me nagging, if you'd sent it in plaintext, rather than HTML.
>
> Did something strange happen? I figured the code blocks would just be surrounded by
> styling tags. Sorry about that.
"Styling tags" make the email HTML, which increases its size by at least a factor of 2 or 3.
Emails sent to mailing lists should have no "style" or fonts applied at all.
Your last email was HTML, too.
Stroller.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] glibc (and gcc) build fails: /bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
2014-07-22 13:48 [gentoo-user] glibc (and gcc) build fails: /bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory Sid S
2014-07-22 13:58 ` Alec Ten Harmsel
2014-07-22 15:36 ` Stroller
@ 2014-07-23 15:39 ` Stroller
2 siblings, 0 replies; 12+ messages in thread
From: Stroller @ 2014-07-23 15:39 UTC (permalink / raw
To: gentoo-user
On Tue, 22 July 2014, at 2:48 pm, Sid S <r030t1@gmail.com> wrote:
> …
> /bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
A top Google hit for "/bin/sh: cross-rpcgen No such file or directory" is this thread:
http://forums.gentoo.org/viewtopic-p-6719073.html
Did you check the last 2 or 3 comments already?
Stroller.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2014-07-25 16:41 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-22 13:48 [gentoo-user] glibc (and gcc) build fails: /bin/sh: /var/tmp/portage/sys-libs/glibc-2.17/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory Sid S
2014-07-22 13:58 ` Alec Ten Harmsel
2014-07-22 14:50 ` Sid S
2014-07-22 15:27 ` Alec Ten Harmsel
2014-07-22 15:36 ` Stroller
2014-07-22 16:15 ` Sid S
2014-07-22 16:26 ` Alec Ten Harmsel
2014-07-23 13:47 ` Sid S
2014-07-25 12:39 ` Alec Ten Harmsel
2014-07-25 16:41 ` Douglas J Hunley
2014-07-23 15:33 ` Stroller
2014-07-23 15:39 ` Stroller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox