* [gentoo-devhelp] preserved libs
@ 2009-05-04 8:32 Thomas Kahle
2009-05-04 17:16 ` Peter Volkov
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Kahle @ 2009-05-04 8:32 UTC (permalink / raw
To: gentoo-devhelp
[-- Attachment #1: Type: text/plain, Size: 1105 bytes --]
Hi,
I am experimenting with the preserved libs feature of the latest portage.
I have an ebuild (sci-mathematics/Macaulay2 in the science overlay)
which builds a program depending on library A1.so.
Now A gets updated to A2.so but preserve libs is enabled, so portage
keeps a copy of A1.so and fills the set @preserved-rebuild.
Running emerge @preserved-rebuild rebuilds the package, but for some
reason the package again builds against A1.so, since configure checks
for the presence of A1.so.
After this rebuild A1.so will be removed and the program does not start.
Rebuilding it a second time, makes the cycle complete since now the only
version available is A2.so and everything is linked correctly.
So, where is the flaw?
Upstreams configure not finding the latest version ?
The ebuild ?
portage ?
Thanks.
Thomas
--
Thomas Kahle
The fundamental theorem of algebra is open source. Like any other
mathematical theorem it can be applied free of charge and everybody
has access to its proof and can convince himself how it works. Why
should software be any different?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-devhelp] preserved libs
2009-05-04 8:32 [gentoo-devhelp] preserved libs Thomas Kahle
@ 2009-05-04 17:16 ` Peter Volkov
0 siblings, 0 replies; 2+ messages in thread
From: Peter Volkov @ 2009-05-04 17:16 UTC (permalink / raw
To: Thomas Kahle; +Cc: gentoo-devhelp
В Пнд, 04/05/2009 в 10:32 +0200, Thomas Kahle пишет:
> a program depending on library A1.so.
> Now A gets updated to A2.so but preserve libs is enabled, so portage
> keeps a copy of A1.so and fills the set @preserved-rebuild.
> Running emerge @preserved-rebuild rebuilds the package... against A1.so
> So, where is the flaw?
Hi Thomas. This is one of the reasons why preserve-rebuild is still
masked. If you search bugzilla you'll find bug about this issue.
Actually this is error in package since configure script should find
latest version of A1.so or, may be, provide some way to select version
of the library (and then together with configure script ebuild needs to
be modified).
--
Peter.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-04 17:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-04 8:32 [gentoo-devhelp] preserved libs Thomas Kahle
2009-05-04 17:16 ` Peter Volkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox