Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77880 - libmng doesn't compile against lcms, even though it DEPENDs on it
Summary: libmng doesn't compile against lcms, even though it DEPENDs on it
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High major
Assignee: Chris White (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-13 12:25 UTC by David Leverton
Modified: 2005-04-03 12:51 UTC (History)
2 users (show)

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


Attachments
patch for libmng-1.0.4.ebuild (libmng-1.0.4.patch,730 bytes, patch)
2005-01-13 12:26 UTC, David Leverton
Details | Diff
patch for libmng-1.0.5.ebuild (libmng-1.0.5.patch,737 bytes, patch)
2005-01-13 12:27 UTC, David Leverton
Details | Diff
patch for libmng-1.0.7.ebuild (libmng-1.0.7.patch,818 bytes, patch)
2005-01-13 12:30 UTC, David Leverton
Details | Diff
patch for libmng-1.0.8.ebuild (libmng-1.0.8.patch,834 bytes, patch)
2005-01-13 12:31 UTC, David Leverton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Leverton 2005-01-13 12:25:52 UTC
libmng versions 1.0.4, 1.0.5, 1.0.7 and 1.0.8 DEPEND on the lcms library, but they don't actually compile against it.  This happens because they expect lcms.h, but the header file is present as lcms/lcms.h.  The ebuilds already patch against the source file that includes it, but not the part of configure that checks whether it is present - as a result, it doesn't get as far as trying to include the header file.

Reproducible: Always
Steps to Reproduce:
1. emerge libmng, any of the versions mentioned above.
2a. Watch the output from configure for messages about lcms.h
2b. When it has compiled, run "ldd /usr/lib/libmng.so"

Actual Results:  
2a. configure says that lcms.h is not present.
2b. libmng.so is not linked against liblcms.so

Expected Results:  
2a. configure should find lcms.h (actually lcms/lcms.h)
2b. libmng.so should be linked against liblcms.so

Patches coming....
Comment 1 David Leverton 2005-01-13 12:26:44 UTC
Created attachment 48415 [details, diff]
patch for libmng-1.0.4.ebuild
Comment 2 David Leverton 2005-01-13 12:27:49 UTC
Created attachment 48416 [details, diff]
patch for libmng-1.0.5.ebuild
Comment 3 David Leverton 2005-01-13 12:30:15 UTC
Created attachment 48417 [details, diff]
patch for libmng-1.0.7.ebuild
Comment 4 David Leverton 2005-01-13 12:31:33 UTC
Created attachment 48418 [details, diff]
patch for libmng-1.0.8.ebuild
Comment 5 Ed Catmur 2005-03-07 04:43:26 UTC
I should point out that more recent versions of lcms-1.13.ebuild fix this bug within LCMS. I'm a little surprised the r-version wasn't bumped.
Comment 6 Gregorio Guidi (RETIRED) gentoo-dev 2005-04-03 12:51:39 UTC
This should be fixed in libmng-1.0.8-r1