Summary: | media-video/vcdimager-2.0.1[abi_x86_32] configure: error: Required libcdio library (> 2.0.0) not found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fabio Coatti <fabio.coatti> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | polynomial-c |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | http://savannah.gnu.org/support/?109494 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
config.log
emerge.log Patch |
Description
Fabio Coatti
2018-04-09 07:03:37 UTC
Created attachment 526896 [details]
config.log
Created attachment 526898 [details]
emerge.log
configure.ac contains: """ dnl system PKG_CHECK_MODULES(LIBCDIO, libcdio >= 2.0.0, [], [AC_MSG_ERROR(Required libcdio library (> 2.0.0) not found. Please get libcdio from http://www.gnu.org/software/libcdio/ and install it.)]) AC_SUBST(LIBCDIO_LIBS) AC_SUBST(LIBCDIO_CFLAGS) """ Your /usr/lib32/pkgconfig/libcdio.pc might be missing or corrupted or unreadable by portage user... Rebuild dev-libs/libcdio. tried it, no changes That is the reason why I didn't bump vcdimager-2.0.1 When this problem occurs, PKG_CONFIG variable is empty. Documentation of PKG_CHECK_MODULES macro contains: """ dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], dnl [ACTION-IF-NOT-FOUND]) dnl -------------------------------------------------------------- dnl Since: 0.4.0 dnl dnl Note that if there is a possibility the first call to dnl PKG_CHECK_MODULES might not happen, you should be sure to include an dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac """ configure.ac contains: """ if test "x$enable_cli_fe" = "xyes" -o "x$enable_xml_fe" = "xyes"; then PKG_CHECK_MODULES(LIBPOPT, popt, [], [enable_cli_fe=no; enable_xml_fe=no]) fi if test "x$enable_xml_fe" = "xyes"; then PKG_CHECK_MODULES(XML, libxml-2.0 >= 2.3.8, [], [enable_xml_fe=no]) fi ... dnl system PKG_CHECK_MODULES(LIBCDIO, libcdio >= 2.0.0, [], [AC_MSG_ERROR(Required libcdio library (> 2.0.0) not found. Please get libcdio from http://www.gnu.org/software/libcdio/ and install it.)]) AC_SUBST(LIBCDIO_LIBS) AC_SUBST(LIBCDIO_CFLAGS) PKG_CHECK_MODULES(LIBISO9660, libiso9660 >= 2.0.0, [], [AC_MSG_ERROR(Required libiso9660 library (part of libcdio) not found. Please get libcdio from http://www.gnu.org/software/libcdio/ and install it.)]) AC_SUBST(LIBISO9660_CFLAGS) AC_SUBST(LIBISO9660_LIBS) """ PKG_PROG_PKG_CONFIG is not explicitly called in configure.ac. Created attachment 526958 [details, diff]
Patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6530beb3ab90ebca0a9a5cc65b20e305b6c151b2 commit 6530beb3ab90ebca0a9a5cc65b20e305b6c151b2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2018-04-09 19:58:43 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-04-10 07:13:49 +0000 media-video/vcdimager: Fix building for non-native ABIs. Closes: https://bugs.gentoo.org/652832 media-video/vcdimager/files/vcdimager-2.0.1-pkg-config.patch | 11 +++++++++++ media-video/vcdimager/vcdimager-2.0.1.ebuild | 12 ++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) |