Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Watch out for the libpng 1.4 update
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Gankfest
l33t
l33t


Joined: 01 Aug 2007
Posts: 946
Location: Miami Beach, FL

PostPosted: Tue May 11, 2010 12:49 am    Post subject: Reply with quote

Odysseus wrote:
paradox6996 wrote:
Ok, so did what the first poster said. revdep-rebuild didn't fix any packages, when I go to emerge compiz-fusion I get this:

Code:
-Wl,-soname -Wl,libnotification.so -o .libs/libnotification.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng12


So wtf, how do I fix it?


Read my first post in this thread and d2_racing post right below mine. They are a bit higher up on this page.

You're going to need to run 'lafilefixer --justfixit'. Follow directions and read. Your problem should be solved.

Ciao


Na did what both of you said and still have the same emerge fail and revdep-rebuild doesn't rebuild anything. Any other suggestions?
_________________
Gankfest™ (>")> ~*

Everyone has to start somewhere, it depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
Odysseus
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 250
Location: Miami, FL. I miss San Francisco!!!

PostPosted: Tue May 11, 2010 1:00 am    Post subject: Reply with quote

paradox6996 wrote:
Odysseus wrote:
paradox6996 wrote:
Ok, so did what the first poster said. revdep-rebuild didn't fix any packages, when I go to emerge compiz-fusion I get this:

Code:
-Wl,-soname -Wl,libnotification.so -o .libs/libnotification.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng12


So wtf, how do I fix it?


Read my first post in this thread and d2_racing post right below mine. They are a bit higher up on this page.

You're going to need to run 'lafilefixer --justfixit'. Follow directions and read. Your problem should be solved.

Ciao


Na did what both of you said and still have the same emerge fail and revdep-rebuild doesn't rebuild anything. Any other suggestions?


It's a hack but you can try to symlink libpng14 to libpng12 then try the above procedure. See if that helps.

Cross your fingers.

Good luck

Ciao
Back to top
View user's profile Send private message
Gankfest
l33t
l33t


Joined: 01 Aug 2007
Posts: 946
Location: Miami Beach, FL

PostPosted: Tue May 11, 2010 1:12 am    Post subject: Reply with quote

Odysseus wrote:
paradox6996 wrote:
Odysseus wrote:
paradox6996 wrote:
Ok, so did what the first poster said. revdep-rebuild didn't fix any packages, when I go to emerge compiz-fusion I get this:

Code:
-Wl,-soname -Wl,libnotification.so -o .libs/libnotification.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng12


So wtf, how do I fix it?


Read my first post in this thread and d2_racing post right below mine. They are a bit higher up on this page.

You're going to need to run 'lafilefixer --justfixit'. Follow directions and read. Your problem should be solved.

Ciao


Na did what both of you said and still have the same emerge fail and revdep-rebuild doesn't rebuild anything. Any other suggestions?


It's a hack but you can try to symlink libpng14 to libpng12 then try the above procedure. See if that helps.

Cross your fingers.

Good luck

Ciao


It's kool that's what I did the first time, I'll just mask 1.4 and go back to 1.2. Why people release something that isn't needed by anything and will break your system is beyond me. I would of waited until it was needed and then released an ebuild that worked. Instead of releasing this crap and then having to hack libraries and then cross my fingers. Thanx for the help tho! :)
_________________
Gankfest™ (>")> ~*

Everyone has to start somewhere, it depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
Odysseus
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 250
Location: Miami, FL. I miss San Francisco!!!

PostPosted: Tue May 11, 2010 1:28 am    Post subject: Reply with quote

paradox6996 wrote:
Odysseus wrote:
paradox6996 wrote:
Odysseus wrote:
paradox6996 wrote:
Ok, so did what the first poster said. revdep-rebuild didn't fix any packages, when I go to emerge compiz-fusion I get this:

Code:
-Wl,-soname -Wl,libnotification.so -o .libs/libnotification.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng12


So wtf, how do I fix it?


Read my first post in this thread and d2_racing post right below mine. They are a bit higher up on this page.

You're going to need to run 'lafilefixer --justfixit'. Follow directions and read. Your problem should be solved.

Ciao


Na did what both of you said and still have the same emerge fail and revdep-rebuild doesn't rebuild anything. Any other suggestions?


It's a hack but you can try to symlink libpng14 to libpng12 then try the above procedure. See if that helps.

Cross your fingers.

Good luck

Ciao


It's kool that's what I did the first time, I'll just mask 1.4 and go back to 1.2. Why people release something that isn't needed by anything and will break your system is beyond me. I would of waited until it was needed and then released an ebuild that worked. Instead of releasing this crap and then having to hack libraries and then cross my fingers. Thanx for the help tho! :)


First of all you do understand / know that your running an unstable / testing arch , correct? If you want stable then change your arch in make.conf, but even then occasionally something new gets added that breaks your system when there is a significant change. For most of us we understand and accept that this is a drawback for running Gentoo. It's a source based, running Distro. since everything is directly compiled against whatever is on your particular system it sometimes requires a lot of recompiling. If you don't like it run Debian or Fedora.

It's just like when you have to upgrade GCC, and rebuild your system. Getting upset solves nothing!

The sticky warning of this major update to libpng and asking for volunteers to test it was posted at the top of this forum back in March. Instead of complaining about how screwed-up this update is, perhaps you can post a thorough bug report. Or help out next time.

Ciao


Last edited by Odysseus on Wed May 12, 2010 2:03 am; edited 1 time in total
Back to top
View user's profile Send private message
Gankfest
l33t
l33t


Joined: 01 Aug 2007
Posts: 946
Location: Miami Beach, FL

PostPosted: Tue May 11, 2010 1:39 am    Post subject: Reply with quote

Just to say I help out a lot more than you around here, but anyway I quit smoking today, I'm a bit testing my bad! ;P No one is perfect so lets just move on!
_________________
Gankfest™ (>")> ~*

Everyone has to start somewhere, it depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
Odysseus
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 250
Location: Miami, FL. I miss San Francisco!!!

PostPosted: Tue May 11, 2010 1:44 am    Post subject: Reply with quote

paradox6996 wrote:
Just to say I help out a lot more than you around here, but anyway I quit smoking today, I'm a bit testing my bad! ;P No one is perfect so lets just move on!


I can understand that. I've quit trying to smoke 3 times so far this year and still can't stop. I've lost count about how many other times I've tried to quit.

Getting back.... what exactly is failing to compile for you, besides compiz-fusion? Have you tried skipping it then trying to rebuild later?

Anyhow Good luck!

Ciao
Back to top
View user's profile Send private message
FishB8
l33t
l33t


Joined: 17 Mar 2003
Posts: 820

PostPosted: Tue May 11, 2010 4:48 am    Post subject: Reply with quote

app-office/gnumeric-1.10.3 fails to build. (after lafilefixer and revdep-rebuild)
_________________
"...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin
Back to top
View user's profile Send private message
arnvidr
l33t
l33t


Joined: 19 Aug 2004
Posts: 629
Location: Oslo, Norway

PostPosted: Tue May 11, 2010 5:35 am    Post subject: Reply with quote

Martux wrote:
@arnvidr:
You got nxclient to compile? HOW???
I didn't. Updating system installed 1.4, updating world downgraded it again. Anyway, the problem is gone now, the old version is now slotted automatically.
_________________
Noone wrote:
anything
Back to top
View user's profile Send private message
gregool
Guru
Guru


Joined: 26 Nov 2007
Posts: 336
Location: Lille

PostPosted: Tue May 11, 2010 7:39 am    Post subject: Reply with quote

ssuominen wrote:

1. # emerge cairo pango gtk+ atk libglade qt-gui
1.b # Try revdep-rebuild again, with luck, you get a bit futher now


I owe you one ssuominen ! i couldn't figure out what would be the right order to emerge everything properly !
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Tue May 11, 2010 9:26 am    Post subject: Reply with quote

media-libs/libpng-1.4.2 installs now brute force script to /usr/sbin:

Code:

#!/bin/bash

echo "Run revdep-rebuild before this. This brute force script will rename"
echo "rest of -lpng12 and libpng12.la entries in your systems .la files."

[[ -d /usr/lib64 ]] && lib_suffix=64

libdir=/usr/lib${lib_suffix}

find ${libdir} -name '*.la' | xargs sed -i -e '/^dependency_libs/s:-lpng12:-lpng14:'
find ${libdir} -name '*.la' | xargs sed -i -e '/^dependency_libs/s:libpng12.la:libpng14.la:'

# WTFPL-2


That, with combination of revdep-rebuild, you should quite easily recover the system.
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Tue May 11, 2010 11:04 am    Post subject: Reply with quote

Did an emerge --sync.
After that emerge -uDp world.
This is the result:
Code:


These are the packages that would be merged, in order:

Calculating dependencies  .... done!
[ebuild     U ] sys-libs/timezone-data-2010i [2010b]
[ebuild  NS   ] media-libs/libpng-1.2.43-r2 [1.2.40]
[uninstall    ] media-libs/libpng-1.2.40
[blocks b     ] <media-libs/libpng-1.2.43-r2 ("<media-libs/libpng-1.2.43-r2" is blocking media-libs/libpng-1.2.43-r2)
[ebuild     U ] sys-apps/man-pages-3.24 [3.23]

I am sorry to not grasp the meaning of a package blocking itself.
I am not going ahead with this.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
Bitspyer
Apprentice
Apprentice


Joined: 17 Dec 2002
Posts: 211
Location: Mainz, Germany

PostPosted: Tue May 11, 2010 11:15 am    Post subject: Reply with quote

Attention!

vmware-player needs libpng12.so.0 !

Solution

emerge libpng:1.2

ln -s /usr/lib64/libpng12.so.0.43.0 /usr/lib64/libpng12.so.0
_________________
Der Weg zur Dunklen Seite... Schneller er ist, verführerischer, leichter.
Back to top
View user's profile Send private message
gemini91
Guru
Guru


Joined: 27 Nov 2003
Posts: 317
Location: Naples, Fl

PostPosted: Tue May 11, 2010 12:44 pm    Post subject: Reply with quote

When this first showed up, the end of last week. I masked ligpng-1.4*. Then
found this report and followed it for a few days. I decided today to try the update
again. I followed this procedure from 'Odysseus"
Code:

'emerge --oneshot libpng', 'lafilefixer --justfixit', 'emerge --oneshot cairo pango libglade GTK+' (omit emerging any which aren't installed) , 'lafilefixer --justfixit', 'revdep-rebuild' and for sanity's sake 'revdep-rebuild' again.

It worked with out any problems what-so-ever.
Back to top
View user's profile Send private message
gordonp
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2005
Posts: 102

PostPosted: Tue May 11, 2010 2:35 pm    Post subject: Reply with quote

I have read through the entire 3 pages of this thread (as the time of writing), so I was sort of prepared when my first stable amd64 system saw the libpng upgrade... lafilefixer and revdep-rebuild were completing without invoking any repair-work.

But still:

Code:
dragon ~ # emerge -pDNuv world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS   ] media-libs/libpng-1.2.43-r1 [1.2.43-r2] 0 kB
[blocks B     ] <media-libs/libpng-1.2.43-r2 ("<media-libs/libpng-1.2.43-r2" is blocking media-libs/libpng-1.2.43-r2)

Total: 1 package (1 in new slot), Size of downloads: 0 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('ebuild', '/', 'media-libs/libpng-1.2.43-r1', 'merge') pulled in by
    media-libs/libpng:1.2 required by ('installed', '/', 'net-misc/nxclient-3.4.0.5', 'nomerge')

  ('installed', '/', 'media-libs/libpng-1.2.43-r2', 'nomerge') pulled in by
    media-libs/libpng required by ('installed', '/', 'kde-base/kdelibs-4.3.5', 'nomerge')
    >=media-libs/libpng-1.2.5 required by ('installed', '/', 'app-text/ghostscript-gpl-8.64-r3', 'nomerge')
    media-libs/libpng required by ('installed', '/', 'x11-themes/xcursor-themes-1.0.2', 'nomerge')
    (and 44 more)


I have no idea what (if anything) to do, at this point. I don't have the specified "media-libs/libpng:1.2" slotted package installed, yet I've had nxclient installed and working for a while, now (I am remote from this machine right now, and cannot check if nxclient is still working today)...?

...what to do?
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Tue May 11, 2010 4:38 pm    Post subject: Reply with quote

I second gordonp's opinion. why has the slotting (which worked perfectly yesterday) been made undone?
Now the blocker is up again on two machines here.
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6145
Location: Dallas area

PostPosted: Tue May 11, 2010 5:50 pm    Post subject: Reply with quote

media-libs/libpng-1.2.40:1.2
media-libs/libpng-1.2.43-r1:1.2
media-libs/libpng-1.2.43-r2:0
media-libs/libpng-1.4.2:0


notice the slotting after each png release,

Yesterday or the day before libpng-1.2.40 was the only stable (amd64)
today it's all but libpng-1.4.2
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Tue May 11, 2010 5:55 pm    Post subject: Reply with quote

Thanks Anon-E-moose. Does that mean that I would have to downgrade and rebuild all packages against libpng-1.2?
I don't want that, because my system works with both 12 and 1.4 installed. How do I tell portage that it should keep both versions installed for now?
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6145
Location: Dallas area

PostPosted: Tue May 11, 2010 6:10 pm    Post subject: Reply with quote

If you have both already installed then adding something like
Code:
media-libs/libpng:1.2

to the /var/lib/portage/world file should keep the 1.2 version.

And I would add libpng-1.2.43-r2 to /etc/portage/package.mask as it is a "slot 0" like 1.4.2
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Tue May 11, 2010 6:15 pm    Post subject: Reply with quote

Anon-E-moose wrote:

And I would add libpng-1.2.43-r2 to /etc/portage/package.mask as it is a "slot 0" like 1.4.2


Great! That fixed it, thanks. Sometimes portage can be confusing, even after all those years :lol:
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Tue May 11, 2010 9:02 pm    Post subject: Reply with quote

Quote:
And I would add libpng-1.2.43-r2 to /etc/portage/package.mask as it is a "slot 0" like 1.4.2


I'm confused about this - this morning I upgraded to libpng-1.2.43-r2.

It is now the *only* libpng I have installed. Everything works fine.

Of course, .43 puts in a libpng12.so.0 symlink.
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
azp
Guru
Guru


Joined: 16 Nov 2003
Posts: 456
Location: Sweden

PostPosted: Tue May 11, 2010 9:39 pm    Post subject: Reply with quote

I started trying to fix this issue before checking out this thread. First I had issues with the xf86-video-ati, so I reverted mesa and libdrm (to non-X11 overlay), and then ran revdep-rebuild. That showed me that libpng was also an issue, and I let it run until it was done. Didn't fix everything though, so I'm trying out lafilefixer now.

I just took out the big guns a couple of hours ago an ran

emerge -e gdm

which has been rebuilding 385 packages. Thank god for 8 cores and 4Gb of memory, right? There still seems to be some issues though, I'll need to check revdep-rebuild again afterwards. I'm just keeping my fingers crossed, hehe. I live in Sweden but I'm in Germany for 2 weeks, and my GF likes using the computer while I'm gone, hehe. And now there's no GUI =)
Thank Satan for SSH!
_________________
Weeks of coding can save you hours of planning.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6145
Location: Dallas area

PostPosted: Tue May 11, 2010 10:13 pm    Post subject: Reply with quote

albright wrote:
Quote:
And I would add libpng-1.2.43-r2 to /etc/portage/package.mask as it is a "slot 0" like 1.4.2


I'm confused about this - this morning I upgraded to libpng-1.2.43-r2.

It is now the *only* libpng I have installed. Everything works fine.

Of course, .43 puts in a libpng12.so.0 symlink.


You shouldn't have a problem then
the quote above is if one is trying to keep 1.2.40 and the new 1.4.2 at the same time.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
xiber
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 245
Location: Fremont, CA

PostPosted: Tue May 11, 2010 11:45 pm    Post subject: Reply with quote

Gotta love these innocent looking portage updates. Usually pretty good at avoiding them, but not this time. So now, I stuck at building cairo:
Code:
checking for cairo's PNG functions feature...
configure: WARNING: Could not find libpng in the pkg-config search path


Well, I have:
Code:
[I--] [ ~] media-libs/libpng-1.2.43-r1 (1.2)
[I--] [ ~] media-libs/libpng-1.4.2 (0)

and ran
Code:
lafilefixer --justfixit

Now trying to build cairo. Also: cat /usr/lib/pkgconfig/libpng.pc
Code:
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/libpng14

Name: libpng
Description: Loads and saves PNG files
Version: 1.4.2
Libs: -L${libdir} -lpng14
Libs.private: -lz -lm
Cflags: -I${includedir}


So I don't understand why pkg-config can't find the new libpng.

SOLVED: I'm using a different cairo ebuild that was missing a patch for libpng14.
_________________
Athlon XP-M 2600 @ 2.3 GHz OC | Abit NF7-S r2.0 | 2x512MB PC3200 | 6600GT OC | Audigy 2 | Gentoo | 2005

Athlon 64 X2 4600 @ 2.4 GHz | Asus M2N-SLI DLX | 4x1GB PC6400 | 7600GT KO | 7HD @ 3.1TB | OpenSolaris SXCE | 2007


Last edited by xiber on Wed May 12, 2010 1:02 am; edited 2 times in total
Back to top
View user's profile Send private message
lightvhawk0
Guru
Guru


Joined: 07 Nov 2003
Posts: 388

PostPosted: Wed May 12, 2010 12:58 am    Post subject: Reply with quote

Code:
IOS lib # ln -s /usr/lib64/libpng.a /usr/lib64/libpng12.a
IOS lib # ln -s /usr/lib64/libpng.la /usr/lib64/libpng12.la
IOS lib # ln -s /usr/lib64/libpng.so /usr/lib64/libpng12.so
IOS lib # ln -s /usr/lib64/libpng.so /usr/lib64/libpng12.so.0


everything compiles now hahahaha
_________________
If God has made us in his image, we have returned him the favor. - Voltaire
Back to top
View user's profile Send private message
Cr0t
l33t
l33t


Joined: 27 Apr 2002
Posts: 944
Location: USA

PostPosted: Wed May 12, 2010 1:49 am    Post subject: Reply with quote

lightvhawk0 wrote:
Code:
IOS lib # ln -s /usr/lib64/libpng.a /usr/lib64/libpng12.a
IOS lib # ln -s /usr/lib64/libpng.la /usr/lib64/libpng12.la
IOS lib # ln -s /usr/lib64/libpng.so /usr/lib64/libpng12.so
IOS lib # ln -s /usr/lib64/libpng.so /usr/lib64/libpng12.so.0


everything compiles now hahahaha

I pretty much did the same thing lol
_________________
cya
    ©®0t
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 3 of 9

 
Jump to:  
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