Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85448 - libmcal 0.7-r4 installs libs into /lib instead of /usr/lib - breaks PHP
Summary: libmcal 0.7-r4 installs libs into /lib instead of /usr/lib - breaks PHP
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-15 20:04 UTC by Ronald Hummelink
Modified: 2005-03-20 19:06 UTC (History)
1 user (show)

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


Attachments
new libdir patch (libmcal-0.7-libdir.patch,888 bytes, patch)
2005-03-16 01:49 UTC, Ronald Hummelink
Details | Diff
Right patch (libmcal-0.7-libdir.patch,924 bytes, patch)
2005-03-16 01:53 UTC, Ronald Hummelink
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald Hummelink 2005-03-15 20:04:41 UTC
latest mcal ebuild introduced a patch that puts mcal in /lib leaving headers in /usr/include (well it should be like that)

However the php-sapi eclass passes --with-mcal=/usr where it cannot find the libmcal.a
if i change the eclass to pass --with-mcal=/ it doesn't find the include files.
(this is mostly from a little bit of configure reading, as the logfile mentions like nothing)


screen output:
checking for external libmbfl... no
checking for MCAL support... yes
configure: error: Unable to locate your libmcal header files - mcal.h should be in the directory you specify or in the include/ subdirectory below it - default search location is /usr/local

config.log:
configure:46786: checking whether to enable multibyte regex support
configure:46811: checking for external libmbfl
configure:47519: checking for MCAL support


Reproducible: Always
Steps to Reproduce:
emerge mod_php with libmcal-0.7-r4 installed
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-16 01:40:11 UTC
why the hell is libmcal.a in /lib?
I don't see anything in a base system that needs it, and static libraries most definetly should NOT be in /lib.

eradicator: you did the multilib changes to libmcal, I think you've got a bug in them.
Comment 2 Ronald Hummelink 2005-03-16 01:49:01 UTC
Created attachment 53610 [details, diff]
new libdir patch

If he did not intend to move the lib, then i think the patch should be this.

Add back @prefix@/ before his change from lib/ to @libdir@/ (think that is the
multilib support he did, but i have no dual arch cpu...)
Comment 3 Ronald Hummelink 2005-03-16 01:53:19 UTC
Created attachment 53611 [details, diff]
Right patch

Edited patch file on other machine, attached old, sorry, this should be the
one.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-20 19:06:53 UTC
this is fixed in a revbump a few days ago.