Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55327 - libvcd is no longer installed by vcdimager-0.7.20 (affects libcdio)
Summary: libvcd is no longer installed by vcdimager-0.7.20 (affects libcdio)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-27 06:46 UTC by Kristiaan Lenaerts
Modified: 2005-01-28 12:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
My proposed vcdimager-0.7.20-r2.ebuild (vcdimager-0.7.20-r2.ebuild,1.38 KB, text/plain)
2004-07-31 01:53 UTC, Curtis Magyar
Details
vcdimager-fixlibvcd-pc.patch (vcdimager-fixlibvcd-pc.patch,373 bytes, patch)
2004-07-31 01:54 UTC, Curtis Magyar
Details | Diff
vcdimager-autoconf-libxml2.patch (vcdimager-autoconf-libxml2.patch,308 bytes, patch)
2004-07-31 01:56 UTC, Curtis Magyar
Details | Diff
My proposed vcdimager-0.7.20-r2.ebuild (vcdimager-0.7.20-r2.ebuild,1.21 KB, text/plain)
2004-07-31 02:18 UTC, Curtis Magyar
Details
vcdimager-lvcdinfo-dep.patch (vcdimager-lvcdinfo-dep.patch,310 bytes, patch)
2004-07-31 02:20 UTC, Curtis Magyar
Details | Diff
My proposed vcdimager-0.7.20-r2.ebuild (vcdimager-0.7.20-r2.ebuild,1.23 KB, text/plain)
2004-07-31 02:50 UTC, Curtis Magyar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kristiaan Lenaerts 2004-06-27 06:46:07 UTC
libvcd(.so, .la, .a) is no longer installed by vcdimager, because it is an internal lib (according to the changelog). But in libvcdinfo.pc, used by pkg-config, there is a dependency on libvcd, and in libvcd.pc, -lvcd is added to the link-flags.
This results in ld complaining about a missing library, and the build of libcdio for example to fail.

steps to reproduce:
1. emerge vcdimager-0.7.20
2. emerge libcdio

possible solution is to delete the dependency on libvcd in libvcdinfo.pc, or delete -lvcd in the libs from libvcd.pc

I tried the last solution, and libcdio-0.68 builds without problems.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-07-03 17:26:26 UTC
*** Bug 55414 has been marked as a duplicate of this bug. ***
Comment 2 Curtis Magyar 2004-07-31 01:53:40 UTC
Created attachment 36508 [details]
My proposed vcdimager-0.7.20-r2.ebuild

Two patches to follow:
  vcdimager-fixlibvcd-pc.patch
  vcdimager-autoconf-libxml2.patch
Comment 3 Curtis Magyar 2004-07-31 01:54:52 UTC
Created attachment 36509 [details, diff]
vcdimager-fixlibvcd-pc.patch

Fixes the non installation of libvcd.pc
Comment 4 Curtis Magyar 2004-07-31 01:56:41 UTC
Created attachment 36510 [details, diff]
vcdimager-autoconf-libxml2.patch

Fixes libxml2 header locating, and ldflags
Comment 5 Curtis Magyar 2004-07-31 01:58:39 UTC
This bug has been bothering me for a while.  I took a different approach, and patched Makefile.am to actually install libvcd.pc. In the process of running aclocal/automake/autoconf though I found it broke the $XML_CFLAGS probably do to a newer automake or autoconf I guess.  I used automake 1.8, and autoconf 2.5 as the Makefile.in, and configure scripts say in the distributed tarball, but the micro versions were higher if that makes a difference.

In that process I discovered the little "--with-xml-prefix=/usr --disable-xmltest" if xml2 is in $USE.  It didn't like that, because it couldn't find my libxml2 headers.

Sooooo, I also patched configure.ac, to use pkg-config's PKG_CHECK_MODULES() to set $XML_CFLAGS instead of the AM_PATH_XML2() that they had, and it worked without disabling the test for header location.  Thats a good thing I think.

So I've attached the 3 files here if anyone wants to test them.
Comment 6 Curtis Magyar 2004-07-31 02:18:46 UTC
Created attachment 36512 [details]
My proposed vcdimager-0.7.20-r2.ebuild

This one actually works.
Comment 7 Curtis Magyar 2004-07-31 02:20:14 UTC
Created attachment 36513 [details, diff]
vcdimager-lvcdinfo-dep.patch

The right way is to remove the dep as the original bug report said.
Comment 8 Curtis Magyar 2004-07-31 02:22:39 UTC
Okay, that last one was a bit premature.  The right way is to remove the dependency from libvcdinfo.pc as the original bug said.  I still think the autoconf patch is a good idea though, though I guess it's entirely optional.
Comment 9 Curtis Magyar 2004-07-31 02:50:44 UTC
Created attachment 36515 [details]
My proposed vcdimager-0.7.20-r2.ebuild

Many, many apologies.  I realized the libxml2 patch, and autoconf should only
be done if xml2 is in USE.  This fixes that.
Comment 10 Don Seiler (RETIRED) gentoo-dev 2004-12-09 11:38:05 UTC
Re-emerging vcdimager-0.7.20-r2 fixes this problem.
Comment 11 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-28 12:43:43 UTC
as  Don Seiler already pointed out, the vcd lib is getting installed. marking as invalid