Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546364 - app-emulation/openstack-guest-agents-unix-1.39.1 breaks with sys-libs/glibc-2.20-r2
Summary: app-emulation/openstack-guest-agents-unix-1.39.1 breaks with sys-libs/glibc-2...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Robin Johnson
URL: https://github.com/rackerlabs/opensta...
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: glibc-2.20
  Show dependency tree
 
Reported: 2015-04-12 14:11 UTC by Chicago
Modified: 2017-08-23 20:49 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chicago 2015-04-12 14:11:32 UTC
After upgrading to glibc v2.20-r2, Nova Agent fails to start on boot. Attempts to recompile the package exit with "all warnings being treated as errors".

Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. update sys-libs/glibc to latest stable, version 2.20-r2
3. emerge =app-emulation/openstack-guest-agents-unix-1.39.1
Actual Results:  
>>> Compiling source in /var/tmp/portage/app-emulation/openstack-guest-agents-unix-1.39.1/work/openstack-guest-agents-unix-1.39.1 ...
make -j1 
Making all in lib
make[1]: Entering directory '/var/tmp/portage/app-emulation/openstack-guest-agents-unix-1.39.1/work/openstack-guest-agents-unix-1.39.1/lib'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I../lib -I/usr/include/python2.7 -Wall -Werror  -DAGENT_VERSION=\"1.39.1\" -fvisibility=hidden -O2 -march=corei7 -fno-strict-aliasing -I/usr/include/python2.7 -c -o plugin.lo plugin.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../lib -I/usr/include/python2.7 -Wall -Werror -DAGENT_VERSION=\"1.39.1\" -fvisibility=hidden -O2 -march=corei7 -fno-strict-aliasing -I/usr/include/python2.7 -c plugin.c  -fPIC -DPIC -o .libs/plugin.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../lib -I/usr/include/python2.7 -Wall -Werror -DAGENT_VERSION=\"1.39.1\" -fvisibility=hidden -O2 -march=corei7 -fno-strict-aliasing -I/usr/include/python2.7 -c plugin.c -o plugin.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I../lib -I/usr/include/python2.7 -Wall -Werror  -DAGENT_VERSION=\"1.39.1\" -fvisibility=hidden -O2 -march=corei7 -fno-strict-aliasing -I/usr/include/python2.7 -c -o logging.lo logging.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../lib -I/usr/include/python2.7 -Wall -Werror -DAGENT_VERSION=\"1.39.1\" -fvisibility=hidden -O2 -march=corei7 -fno-strict-aliasing -I/usr/include/python2.7 -c logging.c  -fPIC -DPIC -o .libs/logging.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../lib -I/usr/include/python2.7 -Wall -Werror -DAGENT_VERSION=\"1.39.1\" -fvisibility=hidden -O2 -march=corei7 -fno-strict-aliasing -I/usr/include/python2.7 -c logging.c -o logging.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -I../include -I../lib -I/usr/include/python2.7 -Wall -Werror  -DAGENT_VERSION=\"1.39.1\" -fvisibility=hidden -O2 -march=corei7 -fno-strict-aliasing -I/usr/include/python2.7  -Wl,-O1 -Wl,--as-needed -L/usr/lib -L/usr/local/lib -o libagent.la -rpath /usr/share/nova-agent/1.39.1/lib plugin.lo logging.lo  -lpthread -lcrypt 
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/plugin.o .libs/logging.o   -L/usr/lib -L/usr/local/lib -lpthread -lcrypt  -O2 -march=corei7 -Wl,-O1 -Wl,--as-needed   -Wl,-soname -Wl,libagent.so.0 -o .libs/libagent.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libagent.so.0" && ln -s "libagent.so.0.0.0" "libagent.so.0")
libtool: link: (cd ".libs" && rm -f "libagent.so" && ln -s "libagent.so.0.0.0" "libagent.so")
libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libagent.a  plugin.o logging.o
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libagent.a
libtool: link: ( cd ".libs" && rm -f "libagent.la" && ln -s "../libagent.la" "libagent.la" )
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I../lib -I/usr/include/python2.7 -Wall -Werror  -DAGENT_VERSION=\"1.39.1\" -fvisibility=hidden -O2 -march=corei7 -fno-strict-aliasing -I/usr/include/python2.7 -c -o agentlib.lo agentlib.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../lib -I/usr/include/python2.7 -Wall -Werror -DAGENT_VERSION=\"1.39.1\" -fvisibility=hidden -O2 -march=corei7 -fno-strict-aliasing -I/usr/include/python2.7 -c agentlib.c  -fPIC -DPIC -o .libs/agentlib.o
In file included from /usr/include/stdio.h:27:0,
                 from agentlib.c:26:
/usr/include/features.h:148:3: error: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Werror=cpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^
cc1: all warnings being treated as errors
Makefile:479: recipe for target 'agentlib.lo' failed
make[1]: *** [agentlib.lo] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-emulation/openstack-guest-agents-unix-1.39.1/work/openstack-guest-agents-unix-1.39.1/lib'
Makefile:484: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
 * ERROR: app-emulation/openstack-guest-agents-unix-1.39.1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/openstack-guest-agents-unix-1.39.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/openstack-guest-agents-unix-1.39.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/openstack-guest-agents-unix-1.39.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/openstack-guest-agents-unix-1.39.1/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/openstack-guest-agents-unix-1.39.1/work/openstack-guest-agents-unix-1.39.1'
 * S: '/var/tmp/portage/app-emulation/openstack-guest-agents-unix-1.39.1/work/openstack-guest-agents-unix-1.39.1'

Expected Results:  
Built satisfactorily -- started the service on boot without issue.

Portage 2.2.14 (python 2.7.9-final-0, hardened/linux/amd64/no-multilib, gcc-4.8.4, glibc-2.20-r2, 3.18.9-hardened x86_64)
=================================================================
System uname: Linux-3.18.9-hardened-x86_64-Intel-R-_Xeon-R-_CPU_E5-2670_0_@_2.60GHz-with-gentoo-2.2
KiB Mem:     2045980 total,   1007656 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Sat, 11 Apr 2015 02:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-lang/perl:            5.20.2
dev-lang/python:          2.7.9-r1, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.6
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r2
Repositories: gentoo Cloud-Servers
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=corei7"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=corei7"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
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://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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="/var/lib/layman/Cloud-Servers"
SYNC="rsync://rsync25.us.gentoo.org/gentoo-portage"
USE="acl amd64 bash-completion berkdb bidi bzip2 caps cdb cli cracklib crypt custom-cflags cvs cxx dbi dri expat fam fortran freetds gdbm geoip git gmp gnutls guile hardened iconv icu idn iodbc ipv6 justify kerberos ldap libav lzma lzo mbox mmx mmxext modules mpi mssql mysql ncurses nls nptl odbc offensive openmp pam pax_kernel pcre perl postgres python readline sasl session skey slp spell sqlite sse sse2 ssl static-libs subversion syslog tcl tcpd threads udev unicode urandom xattr xinetd xml 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" CPU_FLAGS_X86="mmx mmxext sse sse2" CURL_SSL="gnutls" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" 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="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Chicago 2015-04-12 14:15:05 UTC
Temporary work-around is to add '>=sys-libs/glibc-2.20-r2' into /etc/portage/package.mask
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-08-05 03:04:14 UTC
you still have problems with this? (no new versions of anything fix it)?
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2017-08-23 20:49:35 UTC
(In reply to Matthew Thode ( prometheanfire ) from comment #3)
> you still have problems with this? (no new versions of anything fix it)?

No response since 2015