Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge glibc-2.23-r2 failed.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
se ven
n00b
n00b


Joined: 22 Feb 2016
Posts: 18

PostPosted: Mon May 23, 2016 1:17 pm    Post subject: emerge glibc-2.23-r2 failed. Reply with quote

An issue to emerge glibc, output like
http://pastebin.com/pPVmn0cm
(i trunked it because it's so huge):
Edit: kernel has been updated, but fail log not change.
Code:

.././scripts/mkinstalldirs /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc
.././scripts/mkinstalldirs /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc
CPP='x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed -E -x c-header' /var/tmp/portage/sys-libs/glibc-2.23-r2/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.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.T
.././scripts/mkinstalldirs /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc
CPP='x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed -E -x c-header' /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen -Y ../scripts -c rpcsvc/nlm_prot.x -o /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xnlm_prot.T
CPP='x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed -E -x c-header' /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen -Y ../scripts -c rpcsvc/rstat.x -o /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xrstat.T
CPP='x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed -E -x c-header' /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen -Y ../scripts -c rpcsvc/yppasswd.x -o /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xyppasswd.T
mkdir -p -- /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc
mkdir -p -- /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc
.././scripts/mkinstalldirs /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc
mkdir -p -- /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
Makefile:202: recipe for target '/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xnlm_prot.stmp' failed
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xnlm_prot.stmp] Error 127
make[2]: *** Waiting for unfinished jobs....
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
Makefile:202: recipe for target '/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xrstat.stmp' failed
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xrstat.stmp] Error 127
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
Makefile:202: recipe for target '/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xyppasswd.stmp' failed
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xyppasswd.stmp] Error 127
CPP='x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed -E -x c-header' /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen -Y ../scripts -h rpcsvc/nlm_prot.x -o /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/nlm_prot.T
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
Makefile:202: recipe for target '/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp' failed
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Error 127
CPP='x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed -E -x c-header' /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen -Y ../scripts -h rpcsvc/bootparam_prot.x -o /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/bootparam_prot.T
CPP='x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed -E -x c-header' /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen -Y ../scripts -h rpcsvc/rstat.x -o /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/rstat.T
CPP='x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed -E -x c-header' /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen -Y ../scripts -h rpcsvc/yppasswd.x -o /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/yppasswd.T
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
Makefile:192: recipe for target '/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/nlm_prot.stmp' failed
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/nlm_prot.stmp] Error 127
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
Makefile:192: recipe for target '/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/bootparam_prot.stmp' failed
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/bootparam_prot.stmp] Error 127
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
Makefile:192: recipe for target '/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/rstat.stmp' failed
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/rstat.stmp] Error 127
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: No such file or directory
Makefile:192: recipe for target '/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/yppasswd.stmp' failed
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/yppasswd.stmp] Error 127
make[2]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.23-r2/work/glibc-2.23/sunrpc'
Makefile:215: recipe for target 'sunrpc/others' failed
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.23-r2/work/glibc-2.23'
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl'
 * ERROR: sys-libs/glibc-2.23-r2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.23-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.23-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.23-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.23-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/glibc-2.23-r2/work/glibc-2.23'
 * S: '/var/tmp/portage/sys-libs/glibc-2.23-r2/work/glibc-2.23'

>>> Failed to emerge sys-libs/glibc-2.23-r2, Log file:

>>>  '/var/tmp/portage/sys-libs/glibc-2.23-r2/temp/build.log'

and emerge --info:
Code:

# emerge --info '=sys-libs/glibc-2.23-r2::gentoo'
Portage 2.3.0_rc1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.3.0, glibc-2.22-r4, 4.6.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.6.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:    16289056 total,   7532304 free
KiB Swap:    4975612 total,   4975612 free
Timestamp of repository gentoo: Fri, 03 Jun 2016 07:15:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2-r2::gentoo
sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://mirrors.163.com/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
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="-march=native -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 sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo/"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 avahi ayatana berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac foomatic fortran freerdp gdbm gif glamor gpm gtk iconv ipv6 java jpeg kde kipi lcms ldap libnotify m17n-lib mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcmcia pcre pdf perl phonon plasma png policykit postscript ppds qml qt3support qt4 qt5 readline rpc sdl seccomp semantic-desktop session spell sse sse2 ssh ssl startup-notification static-libs svg symlink tcpd telepathy tiff tk truetype udev udisks unicode upower usb vorbis vte widgets wifi wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zeroconf 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" CPU_FLAGS_X86="mmx mmxext sse sse2" 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" INPUT_DEVICES="evdev keyboard mouse synaptics" 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_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia intel fbdev v41 vesa vga" 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:  CC, CPPFLAGS, CTARGET, CXX, 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.22-r4::gentoo was built with the following:
USE="(multilib) (policykit) -debug -gd (-hardened) -nscd -profile (-selinux) -suid -systemtap -vanilla" ABI_X86="64"
CFLAGS="-march=native -pipe -O2 -fno-strict-aliasing -fno-stack-protector"
CXXFLAGS="-march=native -pipe -O2 -fno-strict-aliasing -fno-stack-protector"

Code:

# emerge -pqv '=sys-libs/glibc-2.23-r2::gentoo'
[ebuild     U ] sys-libs/glibc-2.23-r2 [2.22-r4] USE="(multilib) rpc%* -audit% -caps% -debug -gd (-hardened) -nscd -profile (-selinux) -suid -systemtap -vanilla"

and config:
Code:

# zgrep IA32 /proc/config.gz
CONFIG_IA32_EMULATION=y
CONFIG_IA32_AOUT=y

not sure whats probiem is ...


Last edited by se ven on Mon Jun 06, 2016 8:56 am; edited 1 time in total
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Tue May 24, 2016 3:18 pm    Post subject: Reply with quote

add the "rpc" useflag
Back to top
View user's profile Send private message
se ven
n00b
n00b


Joined: 22 Feb 2016
Posts: 18

PostPosted: Thu May 26, 2016 11:03 am    Post subject: Reply with quote

roarinelk wrote:
add the "rpc" useflag

not fine. same issue.
Back to top
View user's profile Send private message
se ven
n00b
n00b


Joined: 22 Feb 2016
Posts: 18

PostPosted: Tue Sep 27, 2016 1:47 am    Post subject: Reply with quote

Code:

# file /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen
/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, not stripped

Code:

# ldd /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen
        not a dynamic executable
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum