Subject: pkg/19035: audio/faad2 build fails with audio/libsndfile
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/13/2002 10:44:56
>Number:         19035
>Category:       pkg
>Synopsis:       audio/faad2 build fails with audio/libsndfile
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 13 01:45:00 PST 2002
>Originator:     Lubos Vrbka
>Release:        NetBSD 1.6
		Masaryk University
System: NetBSD bethany 1.6 NetBSD 1.6 (GENERIC) #0: Sun Sep 8 19:43:40 UTC 2002 i386
Architecture: i386
Machine: i386
Build of the audio/faad2 package (needed for the graphics/mplayer) fails. Faad2 requires presence of audio/libsndfile library. This can be installed with no problems. Configure of faad2 reports:
checking for sf_perror in -lsndfile... no
checking for sndfile.h... yes
configure: error: 
  *** FAAD requires libsndfile to be installed first.
  *** A copy of it is included in common/libsndfile.
*** Error code 1
make: stopped in /usr/pkgsrc/audio/faad2

Libsndfile is installed (libraries are present in /usr/pkg/lib), pkg-info reports it also as  installed:

# pkg_info  | grep libsndfile
libsndfile-1.0.1    library for reading and writing audio files

This problem wasn't present in NetBSD-1.6 formal release pkgsrc; packages faad2 and libsndfile were not required for the build of mplayer and were not part of the package collection.

	cd /usr/pkgsrc/audio/faad2 && make