Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187856 - media-libs/libsndfile broken dependencies
Summary: media-libs/libsndfile broken dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-05 22:25 UTC by Charles Duffy
Modified: 2007-08-06 11:35 UTC (History)
2 users (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 Charles Duffy 2007-08-05 22:25:21 UTC
Without pkgconfig installed, libsndfile fails to compile, as follows:

===
./configure: line 28257: syntax error near unexpected token `SQLITE3,'
./configure: line 28257: `      PKG_CHECK_MODULES(SQLITE3, sqlite3 >= 3.2, ac_cv_sqlite3=yes, ac_cv_sqlite3=no)'

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/media-libs/libsndfile-1.0.17/work/libsndfile-1.0.17/config.log

!!! ERROR: media-libs/libsndfile-1.0.17 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  libsndfile-1.0.17.ebuild, line 37:   Called econf '--enable-sqlite' '--disable-flac' '--disable-alsa' '--disable-werror' '--disable-gcc-pipe' '--disable-dependency-tracking'
  ebuild.sh, line 586:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-libs/libsndfile-1.0.17/temp/build.log'.
=== 

Reproducible: Always

Steps to Reproduce:
1. unmerge pkgconfig
2. attempt to emerge libsndfile
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-05 22:36:18 UTC
It's actually wrong with all the deps, missing DEPEND altogether.

--- libsndfile-1.0.17.ebuild	2007-06-21 08:40:50.000000000 +0200
+++ libsndfile-1.0.17.ebuild	2007-08-06 00:34:40.000000000 +0200
@@ -22,6 +22,9 @@
 	alsa? ( media-libs/alsa-lib )
 	sqlite? ( >=dev-db/sqlite-3.2 )"
 
+DEPEND="${RDEPEND}
+	dev-util/pkgconfig"
+
 src_unpack() {
 	unpack ${A}
 	cd "${S}"
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2007-08-06 11:35:19 UTC
done, thanks