View previous topic :: View next topic |
Author |
Message |
wdsci Tux's lil' helper
Joined: 02 Oct 2007 Posts: 149 Location: US
|
Posted: Sun May 09, 2010 10:46 pm Post subject: Packages requiring libpng 1.2 failing to build |
|
|
I did an emerge -uaND world today, and it's been maybe a couple weeks since my last one, so there were a lot of packages to update. So far the emerge has failed about 5 times with make errors on various packages, and when I look at the errors in detail, they all seem to be related to PNG image handling code in some way. Most recently I got this nice little message:
Code: | /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libpng12.so.0, needed by /usr/lib64/libkhtml.so.5.4.0, not found (try using -rpath or -rpath-link) |
so it seems like kde-base/kinfocenter, at least, requires specifically version 1.2 of libpng. As part of my world update, I upgraded to libpng 1.4.2, which I guess would explain why it's having problems, but if these packages require libpng 1.2 specifically, shouldn't that be marked in the ebuild? Have I discovered a bug? I've tried searching for information about this on the forums and Bugzilla and it seems odd that I'm not finding anything, unless I'm the only one having this problem. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun May 09, 2010 10:54 pm Post subject: |
|
|
Have you tried "revdep-rebuild" since the last time you updated media-libs/libpng ? |
|
Back to top |
|
|
wdsci Tux's lil' helper
Joined: 02 Oct 2007 Posts: 149 Location: US
|
Posted: Sun May 09, 2010 11:00 pm Post subject: |
|
|
No, I'll try that and see if it fixes anything. (Incidentally, the update to libpng 1.4.2 occurred about 2 hours ago and emerge has been running continuously since then, except for when it fails and I restart it with --resume --skipfirst, so it's not a circumstance under which I'd expect to need to run revdep-rebuild right away) |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun May 09, 2010 11:11 pm Post subject: |
|
|
From what I read, the libpng 1.2 to 1.4 upgrade will require a lot of packages to be rebuilt.
https://forums.gentoo.org/viewtopic-t-818570.html
ps. I will probably do this upgrade on my own machines tomorrow. |
|
Back to top |
|
|
wdsci Tux's lil' helper
Joined: 02 Oct 2007 Posts: 149 Location: US
|
Posted: Mon May 10, 2010 1:28 am Post subject: |
|
|
Thanks for the pointer to the thread... not sure why I didn't find that when I was looking earlier.
Anyway, revdep-rebuild just failed on media-gfx/graphviz, so maybe I'll look into filing a bug report on that. |
|
Back to top |
|
|
Lazhu n00b
Joined: 02 Sep 2005 Posts: 7
|
Posted: Mon May 10, 2010 6:32 am Post subject: |
|
|
Had the same trouble yestereve. revdep-rebuild doesn't help, and so the lafilefixer. The only way right now is to symlink libpng14 to libpng12, it seems. Or to replace 'lpng12' by 'lpng' in all respective .la files |
|
Back to top |
|
|
razer l33t
Joined: 08 Oct 2004 Posts: 893 Location: Paris - France
|
Posted: Mon May 10, 2010 7:14 am Post subject: |
|
|
Lazhu wrote: | The only way right now is to symlink libpng14 to libpng12, it seems. |
Confirmed, it's working for gnome-base/* and seems to be the only way |
|
Back to top |
|
|
Odysseus Apprentice
Joined: 23 Jun 2004 Posts: 250 Location: Miami, FL. I miss San Francisco!!!
|
Posted: Mon May 10, 2010 10:08 pm Post subject: |
|
|
razer wrote: | Lazhu wrote: | The only way right now is to symlink libpng14 to libpng12, it seems. |
Confirmed, it's working for gnome-base/* and seems to be the only way |
Symlinking libpng14 to libpng12 is a hack that will allow you to rebuild, but not a good idea, IMHO.
A better but longer way is to first make sure you've already prefetched any needed files. So 'emerge -euvNDf world'.
Then 'emerge --oneshot libpng'.
Run 'lafilefixer --justfixit'
Then 'emerge --oneshot cairo pango libglade GTK+' (omit emerging any which aren't installed) They should all build OK, but if any fail to build don't worry. They'll be fixed in the next couple of steps.
Now 'lafilefixer --justfixit' then 'revdep-rebuild'.
Go out and do something, see a movie, have a few drinks, spend time with your wife or kids.... whatever your going to have a bunch of apps to rebuild anywhere from 50 to well over 100.
The main thing is they should all compile fine now.
When finished you can run 'revdep-rebuild' again just to be safe or if you're anal 'emerge -e system' , but you should already be good to go
I hope this helps
Ciao
Edit: This thread is now stickied to the top of the forum with more help, examples: https://forums.gentoo.org/viewtopic-p-6277134.html#6277134 |
|
Back to top |
|
|
Gankfest l33t
Joined: 01 Aug 2007 Posts: 946 Location: Miami Beach, FL
|
Posted: Mon May 10, 2010 11:25 pm Post subject: Re: Packages requiring libpng 1.2 failing to build |
|
|
wdsci wrote: | I did an emerge -uaND world today, and it's been maybe a couple weeks since my last one, so there were a lot of packages to update. So far the emerge has failed about 5 times with make errors on various packages, and when I look at the errors in detail, they all seem to be related to PNG image handling code in some way. Most recently I got this nice little message:
Code: | /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libpng12.so.0, needed by /usr/lib64/libkhtml.so.5.4.0, not found (try using -rpath or -rpath-link) |
so it seems like kde-base/kinfocenter, at least, requires specifically version 1.2 of libpng. As part of my world update, I upgraded to libpng 1.4.2, which I guess would explain why it's having problems, but if these packages require libpng 1.2 specifically, shouldn't that be marked in the ebuild? Have I discovered a bug? I've tried searching for information about this on the forums and Bugzilla and it seems odd that I'm not finding anything, unless I'm the only one having this problem. |
Did you read the sticky posted at the top of the thread? _________________ Gankfest™ (>")> ~*
Everyone has to start somewhere, it depends on where you end up that counts! (>")> |
|
Back to top |
|
|
Odysseus Apprentice
Joined: 23 Jun 2004 Posts: 250 Location: Miami, FL. I miss San Francisco!!!
|
Posted: Tue May 11, 2010 12:05 am Post subject: Re: Packages requiring libpng 1.2 failing to build |
|
|
paradox6996 wrote: | wdsci wrote: | I did an emerge -uaND world today, and it's been maybe a couple weeks since my last one, so there were a lot of packages to update. So far the emerge has failed about 5 times with make errors on various packages, and when I look at the errors in detail, they all seem to be related to PNG image handling code in some way. Most recently I got this nice little message:
Code: | /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libpng12.so.0, needed by /usr/lib64/libkhtml.so.5.4.0, not found (try using -rpath or -rpath-link) |
so it seems like kde-base/kinfocenter, at least, requires specifically version 1.2 of libpng. As part of my world update, I upgraded to libpng 1.4.2, which I guess would explain why it's having problems, but if these packages require libpng 1.2 specifically, shouldn't that be marked in the ebuild? Have I discovered a bug? I've tried searching for information about this on the forums and Bugzilla and it seems odd that I'm not finding anything, unless I'm the only one having this problem. |
Did you read the sticky posted at the top of the thread? |
This thread started before the other thread was moved and made a sticky by the admin. Here's a quote from that "sticky thread", "Posted: Mon May 10, 2010 7:32 am" "Moved from Gentoo Chat to Portage & Programming and made sticky."
So the "sticky" thread didn't get moved here and became a "sticky" until nearly a day after the OP started this one.
Ciao |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|