Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374561 - >=media-libs/libcanberra-0.28-r1 fails at autoconf phase (ANY autoconf dying)
Summary: >=media-libs/libcanberra-0.28-r1 fails at autoconf phase (ANY autoconf dying)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-09 17:02 UTC by Piotrek Juzwiak
Modified: 2011-07-21 23:16 UTC (History)
1 user (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 Piotrek Juzwiak 2011-07-09 17:02:58 UTC
I am unable to compile libcanberra above version 0.26 with any version of autoconf, autoconf dying. I have masked >libcanberra-0.26 and compiled succesfully the old version.

Reproducible: Always

Steps to Reproduce:
1.Install libcanberra with version above 0.26 (0.28-r1 and 0.28-r2)
2.
3.
Actual Results:  
cat /dev/shm/portage/media-libs/libcanberra-0.28-r2/temp/autoconf.out
***** autoconf *****
***** PWD: /dev/shm/portage/media-libs/libcanberra-0.28-r2/work/libcanberra-0.28
***** autoconf

configure.ac:69: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
m4/attributes.m4:35: CC_CHECK_CFLAGS_SILENT is expanded from...
m4/attributes.m4:49: CC_CHECK_CFLAGS is expanded from...
configure.ac:69: the top level
configure.ac:396: error: possibly undefined macro: AM_GCONF_SOURCE_2
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

Expected Results:  
libcanberra should compile :)

emerge --info

Portage 2.1.10.4 (default/linux/x86/10.0, gcc-4.5.2, glibc-2.13-r3, 2.6.38.6-26.rc1.fc15.i686 i686)
=================================================================
System uname: Linux-2.6.38.6-26.rc1.fc15.i686-i686-AMD_Athlon-tm-_II_X2_255_Processor-with-gentoo-2.0.3
Timestamp of tree: Sat, 09 Jul 2011 02:00:01 +0000
app-shells/bash:          4.2_p10
dev-lang/python:          2.7.2, 3.1.4, 3.2
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r3
Repositories: gentoo kde
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi bash-completion berkdb branding bzip2 caps cdr cli consolekit cracklib crypt css cxx dbus dga djvu dri dts dvd dvdr exif exiv fam ffmpeg flac fontconfig fortran gdbm gif gles gpm gstreamer gzip hddtemp iconv icu ipod jpeg jpeg2k kde kipi kontact lame lm_sensors lzma lzo matroska memlimit mmap mmx mng modules mp3 mp4 mpeg mudflap musicbrainz ncurses networkmanager nls nptl nptlonly offensive ogg openal opengl openmp openvg pam pcre pdf plasma png policykit pulseaudio python qt4 quicktime readline semantic-desktop session sse sse2 sse3 ssl svg svga sysfs systemd taglib tcpd theora threads tiff truetype unicode vaapi vorbis wavpack wpd x264 x86 xattr xcb xcomposite xorg xv xvid zlib" ALSA_CARDS="hda-intel" 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" DRACUT_MODULES="biosdevname caps plymouth syslog" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-07-09 17:10:31 UTC
> configure.ac:396: error: possibly undefined macro: AM_GCONF_SOURCE_2
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.

Missing /usr/share/aclocal/gconf-2.m4.   You will get that by installing gnome-base/gconf.    But yeah, the ebuild should handle this single file from SRC_URI instead.
Comment 2 Piotrek Juzwiak 2011-07-09 17:32:29 UTC
Installing gconf fixed it though i'd love to install libcanberra with as few dependencies as possible ;)
Comment 3 Pacho Ramos gentoo-dev 2011-07-10 18:43:51 UTC
+  10 Jul 2011; Pacho Ramos <pacho@gentoo.org> -libcanberra-0.28-r1.ebuild,
+  libcanberra-0.28-r2.ebuild, +files/gconf-2.m4:
+  gconf-2.m4 is needed for autoconf, bug #374561 by Piotrek Juzwiak. Also
+  handle .la files removal better (bug #374573 by Piotrek Juzwiak). Remove old.
+
Comment 4 Piotrek Juzwiak 2011-07-21 23:16:20 UTC
Just wanted to thank You so much for fixing this. Probably it's just thrashing and making unnecessary noise but THANK YOU SO MUCH.