public inbox for gentoo-hardened@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-hardened] offtopic: libpng upgrade
@ 2011-09-22 19:23 "Tóth Attila"
  2011-09-22 19:46 ` Ian Fox
  2011-09-23  6:54 ` Graham Murray
  0 siblings, 2 replies; 5+ messages in thread
From: "Tóth Attila" @ 2011-09-22 19:23 UTC (permalink / raw
  To: gentoo-hardened

I've suspected, that it won't be a torch-light procession.
But reality exceeded my expectations.
Around 60 packages failed out of approx 100! I've followed the ebuild's
advice, that I leave the old library in place and revdep all packages
linked to it.
Acutally it would be better to remove the old library immediately, because
a bunch of packages still tried to use -lpng14 for linking. In those case
removing the old libs seems to help most of the time. But it will take
another day to roll over the packages.
Of course some packages will still fail. But it could spare me a day of
useless compiles failing at the end while linking if I would have removed
the old library for the first time.
-- 
dr Tóth Attila, Radiológus, 06-20-825-8057
Attila Toth MD, Radiologist, +36-20-825-8057




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-hardened] offtopic: libpng upgrade
  2011-09-22 19:23 [gentoo-hardened] offtopic: libpng upgrade "Tóth Attila"
@ 2011-09-22 19:46 ` Ian Fox
  2011-09-23  6:54 ` Graham Murray
  1 sibling, 0 replies; 5+ messages in thread
From: Ian Fox @ 2011-09-22 19:46 UTC (permalink / raw
  To: gentoo-hardened

[-- Attachment #1: Type: text/plain, Size: 1197 bytes --]

While this is only a temporary solution untill old packages start using
libpng1.5, emering libpng-1.4.8-r2, since it's in a 1.4 slot, fixed all of
the compile errors for me, and kept my 1.5.  I don't know if there were any
issues with that version, but I have not run into any.

On 22 September 2011 15:23, "Tóth Attila" <atoth@atoth.sote.hu> wrote:

> I've suspected, that it won't be a torch-light procession.
> But reality exceeded my expectations.
> Around 60 packages failed out of approx 100! I've followed the ebuild's
> advice, that I leave the old library in place and revdep all packages
> linked to it.
> Acutally it would be better to remove the old library immediately, because
> a bunch of packages still tried to use -lpng14 for linking. In those case
> removing the old libs seems to help most of the time. But it will take
> another day to roll over the packages.
> Of course some packages will still fail. But it could spare me a day of
> useless compiles failing at the end while linking if I would have removed
> the old library for the first time.
> --
> dr Tóth Attila, Radiológus, 06-20-825-8057
> Attila Toth MD, Radiologist, +36-20-825-8057
>
>
>

[-- Attachment #2: Type: text/html, Size: 1578 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-hardened] offtopic: libpng upgrade
  2011-09-22 19:23 [gentoo-hardened] offtopic: libpng upgrade "Tóth Attila"
  2011-09-22 19:46 ` Ian Fox
@ 2011-09-23  6:54 ` Graham Murray
       [not found]   ` <5CFE360B-76E7-4D08-89BA-E01A5039FEB5@gmail.com>
  1 sibling, 1 reply; 5+ messages in thread
From: Graham Murray @ 2011-09-23  6:54 UTC (permalink / raw
  To: gentoo-hardened

[-- Attachment #1: Type: text/plain, Size: 1087 bytes --]

On Thu, 2011-09-22 at 20:23 +0100, "Tóth Attila" wrote:
> I've suspected, that it won't be a torch-light procession.
> But reality exceeded my expectations.
> Around 60 packages failed out of approx 100! I've followed the
> ebuild's
> advice, that I leave the old library in place and revdep all packages
> linked to it.
> Acutally it would be better to remove the old library immediately,
> because
> a bunch of packages still tried to use -lpng14 for linking. In those
> case
> removing the old libs seems to help most of the time. But it will take
> another day to roll over the packages.
> Of course some packages will still fail. But it could spare me a day
> of
> useless compiles failing at the end while linking if I would have
> removed
> the old library for the first time.

I found that the "problem" was .la files where the library does NOT link
in libpng but the .la file contains png14. Neither revdep-rebuild nor
'emerge @preserver-rebuild' caught these and I had to manually identify
and re-emerge the packages whose .la files referenced png14.


[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 6229 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-hardened] offtopic: libpng upgrade
       [not found]   ` <5CFE360B-76E7-4D08-89BA-E01A5039FEB5@gmail.com>
@ 2011-09-23 12:40     ` Graham Murray
  2011-09-24 14:10       ` Michael Delaney
  0 siblings, 1 reply; 5+ messages in thread
From: Graham Murray @ 2011-09-23 12:40 UTC (permalink / raw
  To: gentoo-hardened

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

On Fri, 2011-09-23 at 12:02 +0100, Michael Delaney wrote:
> How about "lafilefixer --justfixit" ?
> 
The .la files still contained references to png14 after that had been
run.


[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 6229 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-hardened] offtopic: libpng upgrade
  2011-09-23 12:40     ` Graham Murray
@ 2011-09-24 14:10       ` Michael Delaney
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Delaney @ 2011-09-24 14:10 UTC (permalink / raw
  To: gentoo-hardened@lists.gentoo.org

Is it possible that /usr/lib/libpng.so  is still pointing to the old png14 lib? May have to remove and re-point symlink then run lafilefixer, revdeprebuild. etc.  Hope this helps.

On Sep 23, 2011, at 8:40, Graham Murray <gmurray@webwayone.co.uk> wrote:

> On Fri, 2011-09-23 at 12:02 +0100, Michael Delaney wrote:
>> How about "lafilefixer --justfixit" ?
>> 
> The .la files still contained references to png14 after that had been
> run.
> 



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-24 15:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-22 19:23 [gentoo-hardened] offtopic: libpng upgrade "Tóth Attila"
2011-09-22 19:46 ` Ian Fox
2011-09-23  6:54 ` Graham Murray
     [not found]   ` <5CFE360B-76E7-4D08-89BA-E01A5039FEB5@gmail.com>
2011-09-23 12:40     ` Graham Murray
2011-09-24 14:10       ` Michael Delaney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox