Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 445920 - sys-apps/systemd-196 fails to build with minimal conf
Summary: sys-apps/systemd-196 fails to build with minimal conf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-04 13:35 UTC by richardfisher
Modified: 2012-12-04 16:56 UTC (History)
0 users

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 richardfisher 2012-12-04 13:35:17 UTC
With a very limited/minimal system, systemd fails at the autoconf stage. The same config used to build 195.



Reproducible: Always

Actual Results:  
 * Package:    sys-apps/systemd-196
 * Repository: gentoo
 * Maintainer: systemd@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux python_single_target_python2_7 python_targets_python2_7 userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking systemd-196.tar.xz to /mnt/tmp0/gentoo/pn/portage/sys-apps/systemd-196/work
>>> Source unpacked in /mnt/tmp0/gentoo/pn/portage/sys-apps/systemd-196/work
>>> Preparing source in /mnt/tmp0/gentoo/pn/portage/sys-apps/systemd-196/work/systemd-196 ...
 * Applying 196-0001-Disable-udev-targets.patch ...
 [ ok ]
 * Running elibtoolize in: systemd-196/build-aux/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 * Automake used for the package (1.12.2) differs from
 * the installed version (1.12.5).
 * Running eautoreconf in '/mnt/tmp0/gentoo/pn/portage/sys-apps/systemd-196/work/systemd-196' ...
 * Running intltoolize --automake --copy --force ...
 [ ok ]
 * Skipping 'gtkdocize --copy' due gtkdocize not installed
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I m4 ...
 [ ok ]
 * Running autoconf ...
 [ !! ]

 * Failed Running autoconf !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /mnt/tmp0/gentoo/pn/portage/sys-apps/systemd-196/temp/autoconf.out

 * ERROR: sys-apps/systemd-196 failed (prepare phase):
 *   Failed Running autoconf !
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 4581:  Called eautomake
 *   environment, line 1461:  Called eautoreconf
 *   environment, line 1512:  Called eautoconf
 *   environment, line 1435:  Called autotools_run_tool '--at-m4flags' 'autoconf'
 *   environment, line 1026:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/systemd-196'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/systemd-196'`.
/usr/lib64/portage/bin/isolated-functions.sh: line 215: wait: `Failed Running autoconf !': not a pid or valid job spec
 * The complete build log is located at '/mnt/tmp0/gentoo/pn/portage/sys-apps/systemd-196/temp/build.log'.
 * The ebuild environment file is located at '/mnt/tmp0/gentoo/pn/portage/sys-apps/systemd-196/temp/environment'.
 * Working directory: '/mnt/tmp0/gentoo/pn/portage/sys-apps/systemd-196/work/systemd-196'
 * S: '/mnt/tmp0/gentoo/pn/portage/sys-apps/systemd-196/work/systemd-196'



Portage 2.1.11.33 (default/linux/amd64/10.0/no-multilib, gcc-4.7.2, glibc-2.16.0, 3.6.9+ x86_64)
=================================================================
System uname: Linux-3.6.9+-x86_64-Intel-R-_Core-TM-_i5-2400_CPU_@_3.10GHz-with-gentoo-2.2
Timestamp of tree: Tue, 04 Dec 2012 10:00:01 +0000
ld GNU ld (Linux/GNU Binutils) 2.23.51.0.6.20121123
app-shells/bash:          4.2_p39
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.6
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.69
sys-devel/automake:       1.12.5
sys-devel/binutils:       2.23.51.0.6
sys-devel/gcc:            4.7.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo x-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -foptimize-register-move -fgcse-after-reload -ftree-loop-distribution -ftree-vectorize -fpredictive-commoning -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/mnt/tmp0/gentoo/distfiles/"
EMERGE_DEFAULT_OPTS="--jobs=6 --load-average=6.5"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news nodoc noinfo noman notitles parallel-fetch protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
MAKEOPTS="--jobs=6 --load-average=6.5"
PKGDIR="/pkg"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--quiet --no-motd --stats --compress-level=9 --recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/tmp0/gentoo/pn"
PORTDIR="/mnt/tmp0/gentoo/portage"
PORTDIR_OVERLAY="/etc/local/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 cleartype cli cxx dri graphite iconv mmx modules nptl openmp pcre pppd session sse sse2 threads truetype udev unicode zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" 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 1 Rafał Mużyło 2012-12-04 15:26:17 UTC
>  * Failed Running autoconf !
>  * 
>  * Include in your bugreport the contents of:
>  * 
>  *   /mnt/tmp0/gentoo/pn/portage/sys-apps/systemd-196/temp/autoconf.out
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-04 15:46:03 UTC
Please attach that file to this bug report.

/mnt/tmp0/gentoo/pn/portage/sys-apps/systemd-196/temp/autoconf.out
Comment 3 richardfisher 2012-12-04 15:51:51 UTC
Now I remember, I saw this ages ago. I don't think that it picks up this dependancy as it depends on ssh pulling that in. Anyway, here it is:

***** autoconf *****
***** PWD: /mnt/tmp0/gentoo/pn/portage/sys-apps/systemd-196/work/systemd-196
***** autoconf

configure.ac:80: error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:415: error: possibly undefined macro: AM_PATH_LIBGCRYPT
Comment 4 richardfisher 2012-12-04 15:53:39 UTC
Ahh, I saw this ages ago, and I was going to file a bug:

[ebuild  N     ] sys-apps/systemd-196  USE="-acl -audit -cryptsetup -gcrypt -http -lzma -pam -python -qrcode (-selinux) -tcpd -vanilla -xattr" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 0 kB

Basically, I cannot have any crypto stuff in this build. It seems that systemd is pulling this in either way. I think that this is a pulse problem.
Comment 5 richardfisher 2012-12-04 15:57:28 UTC
I think that this was around in 195 too. I think I had to change the configure script to ignore libgrcypt. Sorry if I have wasted your time.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-12-04 16:30:24 UTC
I understand what the problem is and I will fix it in the next few hours. I'm just going to check whether any more deps are enforced like that.
Comment 7 richardfisher 2012-12-04 16:49:37 UTC
Thanks. I remember I configured it manually about a month ago, but I forgot about it. Its not urgent, and I can just run configure without the --crypt flag from memory.

Thanks again for the speedy reply

> I understand what the problem is and I will fix it in the next few hours.
> I'm just going to check whether any more deps are enforced like that.
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-12-04 16:56:07 UTC
I have committed a cheap hack which should handle it. If it doesn't, please do not hesitate from reopening the bug.