Bug 88053 - hydrogen build should depend on libsndfile
Bug#: 88053 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: sound@gentoo.org Reported By: joshuascheid@yahoo.com
Component: Unspecified
URL: 
Summary: hydrogen build should depend on libsndfile
Keywords:  
Status Whiteboard: 
Opened: 2005-04-05 09:59 0000
Description:   Opened: 2005-04-05 09:59 0000
I'm trying to build media-sound/hydrogen-0.9.0 and it seems to need another
dependency.

% emerge -uDpv hydrogen
[ebuild  N    ] media-sound/hydrogen-0.9.0  +alsa +jack -ladspa 0 kB 
[ebuild  N    ] media-libs/libsndfile-1.0.11  -static 796 kB 
[ebuild  N    ] media-sound/jack-audio-connection-kit-0.99.0-r1  +alsa
(-altivec) -caps -debug -doc -jack-tmpfs +oss -portaudio 705 kB 
[ebuild  N    ] media-plugins/alsa-jack-1.0.8  0 kB 
[ebuild  N    ] media-plugins/xmms-jack-0.10  569 kB 

So 'it' doesn't think that libsndfile should be there first.  But during
configure for hydrogen:

checking for pkg-config... /usr/bin/pkg-config
checking for sndfile... Package sndfile was not found in the pkg-config search
path.
Perhaps you should add the directory containing `sndfile.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sndfile' found
configure: error: "sndfile library not found. Website:
http://www.mega-nerd.com/libsndfile/"

I will try to workaround this by explicitly building libsndfile.

Reproducible: Always
Steps to Reproduce:
1. emerge -uD hydrogen

Actual Results:  
Hydrogen build fails due to failed dependency.

Expected Results:  
Hydrogen build succeeds with correct dependencies.

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20041102-r1,
2.4.28-gentoo-r8 i686)
=================================================================
System uname: 2.4.28-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 1600MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar  1 2005,
01:50:03)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2, 2.4.19-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.osuosl.org/
http://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups
curl
divx4linux emboss encode esd fam flac font-server foomaticdb fortran gdbm gif
gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jack
java jpeg libg++ libwww mad mikmod motif mozilla mp3 mpeg mysql ncurses nls
offensive oggvorbis opengl oss pam pda pdflib perl png ppds python quicktime
readline ruby sdl slang spell sse ssl svga tcltk tcpd theora threads tiff
truetype truetype-fonts type1-fonts usb xml xml2 xmms xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

------- Comment #1 From Josh Scheid 2005-04-05 10:00:25 0000 -------
Created an attachment (id=55375) [details]
config.log

------- Comment #2 From Eric Shattow 2005-04-05 16:28:46 0000 -------
"Depend on libsndfile. Closes #88053"  In CVS. Thanks for reporting.