Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 218666

Summary: media-libs/libsndfile - eautoreconf fails with >=sys-devel/libtool-2.2
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) <polynomial-c>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 212763    

Description Lars Wendler (Polynomial-C) gentoo-dev 2008-04-21 00:26:50 UTC
libsndfile fails during eautoreconf when >=libtool-2.2 is installed:

 * Running automake --add-missing --copy ...                              [ !! ]

 * Failed Running automake !
 *
 * Include in your bugreport the contents of:
 *
 *   /home/.portage/tmp/portage/media-libs/libsndfile-1.0.17-r1/temp/automake-16453.out

The content of that file looks like this:

***** automake *****
***** automake --add-missing --copy

src/Makefile.am:38: compiling `file_io.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'
/usr/share/automake-1.10/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL
/usr/share/automake-1.10/am/depend2.am:   The usual way to define `am__fastdepCXX' is to add `AC_PROG_CXX'
/usr/share/automake-1.10/am/depend2.am:   to `configure.ac' and run `aclocal' and `autoconf' again.
tests/Makefile.am: C++ source seen but `CXX' is undefined
tests/Makefile.am:   The usual way to define `CXX' is to add `AC_PROG_CXX'
tests/Makefile.am:   to `configure.ac' and run `autoconf' again.


The fix is the same as for bug# 212772:

sed -i -e '/AC_PROG_CC/aAC_PROG_CXX' "${S}"/configure.ac

Reproducible: Always

Steps to Reproduce: