Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 633710 - sys-cluster/vzctl-4.9.4 fails to compile with 'all-recursive' error
Summary: sys-cluster/vzctl-4.9.4 fails to compile with 'all-recursive' error
Status: RESOLVED DUPLICATE of bug 604230
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-07 17:04 UTC by Joakim
Modified: 2017-10-07 20:30 UTC (History)
0 users

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


Attachments
Build log (vzctrl-4.9.4-build.log,80.37 KB, text/plain)
2017-10-07 17:04 UTC, Joakim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim 2017-10-07 17:04:30 UTC
Created attachment 498048 [details]
Build log

This package has compiled earlier but now fails, ending like this (full build log attached separately):

"ssing-field-initializers -D_FILE_OFFSET_BITS=64 -c fs.c  -fPIC -DPIC -o .libs/fs.o
env.c: In function 'exec_container_init':
env.c:319:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write(arg->err_p, &ret, sizeof(ret));
  ^
env.c: In function 'vz_env_create':
env.c:509:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(STDIN_FILENO, &ret, sizeof(ret));
    ^
env.c: In function 'vps_start_custom':
env.c:769:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write(old_wait_p[1], &ret, sizeof(ret));
   ^
exec.c: In function 'vps_real_exec':
exec.c:224:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write(st[1], &ret, sizeof(ret));
   ^
make[2]: Leaving directory '/var/tmp/portage/sys-cluster/vzctl-4.9.4/work/vzctl-4.9.4/src/lib'
make[1]: *** [Makefile:665: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-cluster/vzctl-4.9.4/work/vzctl-4.9.4/src'
make: *** [Makefile:461: all-recursive] Error 1
 * ERROR: sys-cluster/vzctl-4.9.4::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-cluster/vzctl-4.9.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-cluster/vzctl-4.9.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-cluster/vzctl-4.9.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-cluster/vzctl-4.9.4/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-cluster/vzctl-4.9.4/work/vzctl-4.9.4'
 * S: '/var/tmp/portage/sys-cluster/vzctl-4.9.4/work/vzctl-4.9.4'

>>> Failed to emerge sys-cluster/vzctl-4.9.4, Log file:

>>>  '/var/tmp/portage/sys-cluster/vzctl-4.9.4/temp/build.log'

 * Messages for package sys-cluster/vzctl-4.9.4:

 * ERROR: sys-cluster/vzctl-4.9.4::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-cluster/vzctl-4.9.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-cluster/vzctl-4.9.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-cluster/vzctl-4.9.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-cluster/vzctl-4.9.4/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-cluster/vzctl-4.9.4/work/vzctl-4.9.4'
 * S: '/var/tmp/portage/sys-cluster/vzctl-4.9.4/work/vzctl-4.9.4'"

merc ~ # emerge --info
Portage 2.3.11 (python 3.5.4-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.25-r7, 4.13.5-gentoo x86_64)
=================================================================
System uname: Linux-4.13.5-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5450_@_3.00GHz-with-gentoo-2.4.1
KiB Mem:    32940600 total,  32200776 free
KiB Swap:    5011452 total,   5011452 free
Timestamp of repository gentoo: Sat, 07 Oct 2017 13:00:01 +0000
Head commit of repository gentoo: 2e4814f45754dda7687601cd881f829bf7f3c600
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p1.0) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.5.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.32::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1::gentoo
sys-devel/gcc:            4.8.5::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.9.0::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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 multilib-strict 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://gentoo.supp.name/ http://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://mirror.dkm.cz/gentoo/ rsync://mirror.dkm.cz/gentoo/ ftp://mirror.dkm.cz/gentoo/ https://mirror.dkm.cz/gentoo/ ftp://gentoo.mirror.web4u.cz/ http://gentoo.mirror.web4u.cz/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ithreads logrotate modules multilib ncurses nls nptl openmp openvz pam pcre readline seccomp session ssl tcpd unicode urandom vz-kernel xattr 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" 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-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Joakim 2017-10-07 18:06:51 UTC
I did search before submitting the bug but nothing came up, now however via Google I found out this probably is a duplicate of https://bugs.gentoo.org/show_bug.cgi?id=604230 but I will leave that call to a dev. 

As mentioned above, this package has compiled earlier and now fails, although it's on another box than this one. I'm moving the server to new hw, that's the reason. On the old server I have it compiled and working, but a recompile now fails there as well, so something must have changed, glibc?

I have tried to recompile with gcc-5.4.0, 4.9.4 and 4.8.5 all failing the same way, but all gcc's compiled with latest glibc. I cannot recall which version of gcc and glibc that was used for the once succesful compile of vzctl-4.9.4

btw, I have also tried to compile vxctl-4.9.3, 4.9.2, 4.9.1, 4.8, 4.7.2 and they all fail the same way.
Comment 2 Joakim 2017-10-07 20:30:20 UTC

*** This bug has been marked as a duplicate of bug 604230 ***