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
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Fri Jul 02, 2010 10:30 am    Post subject: Reply with quote

dufeu wrote:
sidamos wrote:


Anything else I can do?

Thanks!

Instead of the manual emerges you're currently doing, you may want to follow the process I outlined. Basically, manually unmerge libpng-1.2*, delete any libpng12.so* artifacts and run revdep-rebuild.

Then try emerging thunderbird.

The process I've outlined wont hurt your system. You can report if it helps or doesn't help back here.


I followed Flameeyes' suggestions here to get a clean system , including rebuilding anything needed by revdep.
http://blog.flameeyes.eu/2010/06/29/stable-users-libpng-update

Finally I added libpng-1.2 in a slot to get opera back.

For the moment all seems to work nicely.
8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Sat Jul 03, 2010 12:58 pm    Post subject: Reply with quote

I haven´t gotten far yet but I´ve about tried almost anything to get out of this mess.
I now deleted all residual libpng12.so* items in /usr/lib and started revdep-rebuild -i again.
Let´s see how far we get this time :?

Normally I prefer to keep my postings civilized and friendly.
In this case I feel like speaking my mind for a change:

I really AM mad as hell. This quagmire is unworthy for Gentoo.
I am certain I will have it solved somehow sometime within the next couple of hours
but as it stands my system is practically unusable.
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sat Jul 03, 2010 1:30 pm    Post subject: Reply with quote

make sure you follow Flameeye's thread and remove both 1.2 and 1.4 , then emerge 1.4 otherwise it will try to incorporate 1.2 if it finds it.

I found out a long time ago that I needed to keep a clone of my gentoo root partition so this kind of crap does not stop me using the system just when I need it.

My basic strategy is to get /home /boot , portage , portage_tmpdir and other non essentials off the root partition. At a pinch I can keep it down to 8GB with a fairly full system.

I add an extra line in grub and make a dupe of this partition every couple of weeks . That way if the shit hits the fan I reboot to the clone and worry about it all when I have some time.

Much as I like the flexibility ,yes, the amount of maintenance effort required by gentoo is pretty ridiculous. I'm seriously looking at Fedora now.
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Sat Jul 03, 2010 1:49 pm    Post subject: Reply with quote

Gentree,

Quote:
make sure you follow Flameeye's thread and remove both 1.2 and 1.4 , then emerge 1.4 otherwise it will try to incorporate 1.2 if it finds it.


I haven´t. Revdep-rebuild hasn´t stopped at a package yet. We´ll see...

Quote:
I found out a long time ago that I needed to keep a clone of my gentoo root partition so this kind of crap does not stop me using the system just when I need it.


Hope you haven´t misunderstood; the system itself is running and usable. There are many applications though that don´t even start because they are looking for libpng12.so*, claws-mail, kaffeine, gimp, you name it ... the list grows longer.
It is not a real emergency like when system won´t work. I was going over the top here, may be because I wanted to make sure no one misses the point.

Quote:
Much as I like the flexibility ,yes, the amount of maintenance effort required by gentoo is pretty ridiculous. I'm seriously looking at Fedora now.


The effort is tremendous sometimes but still worth the trouble as I cannot imagine using any other distro. I tried out a few before Gentoo and didn´t like them and even today I compare others to Gentoo and still come to the same conclusion:
no other distro matches Gentoo.

Nevertheless with all due respect this libpng update should have been accomplished much more smoothly and elegantly.
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Sat Jul 03, 2010 2:48 pm    Post subject: Reply with quote

Gentree wrote:
make sure you follow Flameeye's thread and remove both 1.2 and 1.4 , then emerge 1.4 otherwise it will try to incorporate 1.2 if it finds it.


That *only* applies to a case if you build a binpkg out of libpng-1.4. In fact what you are suggesting makes the upgrade more difficult.
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sat Jul 03, 2010 3:27 pm    Post subject: Reply with quote

Thanks for the correction. I had not appreciated that only applies binpkg.

That said I now have a totally 1.4 dependant system and only the binary Opera, that I cannot rebuild, depending on 1.2

Hopefully that make it a stable situation and I won't have to revisit this problem later.




Code:
Hope you haven´t misunderstood; the system itself is running and usable.

Well while Opera was out of commission I had not access to my emails, logins and bookmarks. That is not a great help when trying to resolve a problem that you need web access to solve.

My root clone means I can be at a fully operational state within minutes.

Recently I unmerged crosstools and it borked gcc. Any attempt to build anything gave : Bus error.

I was able to reboot, make a binpkg on clone and emerge -k to fix. Round trip 10min.

It a strategy I developed after being caught out a few times by gentoo updates , like the expat-2.0 fiasco and others. 8 to 20 gigs is nothing these days and a 100% byte for byte backup of the system files is a life saver at times.

When someone breaks branch on the portage tree, I don't want to be sitting on it!

8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Sat Jul 03, 2010 3:45 pm    Post subject: Reply with quote

Quote:
My root clone means I can be at a fully operational state within minutes.


Sounds pretty sophisticated. If I am not mistaken you run a hardened system, Gentree?
I don´t and I am certain I couldn´t keep up with the demands of administrating such a configuration.
:lol:
Good ol´ gentoo-sources 2.6.33-r2, reliable and easy to maintain, if it weren´t for "bugs" like this upgrade
which forces many a roundtrips here as well - had to throw off all things compiz of the system to get
one complete revdep-tour running: first step to regaining control. 8O
But it isn´t over yet: it is 5 of 30 that compile right now.

EDIT:
It´s done; struggled with it for a day. The only thing that worked for me - to sum it up - was to manually delete all libpng12.so* files ( there were many left ) in /usr/lib. :wink:


Last edited by EasterParade on Sat Jul 03, 2010 6:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
sonicwim
n00b
n00b


Joined: 28 Jan 2005
Posts: 26
Location: Wevelgem, Belgium

PostPosted: Sat Jul 03, 2010 5:14 pm    Post subject: Not much seemed to work until... Reply with quote

Guys and gals,

I've tried about everything suggested here but ended up breaking my box even more... :?

It all stared a few days ago when upgrading Pidgin to the latest version started bitching about GTK+ not being installed and when I attempted to re-emerge GTK+ this failed as well because libpng-1.2 was nowhere to be seen!
But I could still run programs that use GTK+ so I was not too worried that revdep-rebuild could not be started due blocking packages.

After slotting libpng, trying the fix script and lafilefixer I could not even start new stuff in KDE because libpng was missing so I was starting to get nervous :o

But in the end running this allowed me to update the world:

Code:
emerge cairo pango gtk+ atk libglade qt-gui


revdep-rebuild still b0rks cause kdelibs-4.4.4 is installed but there's still quite some 4.4.3 stuff (with 4.4.4 slots in most cases) but this is kinda not in the scope of this...

Good luck to y'all!

Wimmy
Back to top
View user's profile Send private message
sylvain_
n00b
n00b


Joined: 13 Aug 2007
Posts: 56

PostPosted: Sat Jul 03, 2010 6:25 pm    Post subject: -1 Reply with quote

i can confirm that doing "emerge -1 cairo pango gtk+ atk libglade qt-gui" is the first thing to do (because of package order crashing in revdep-rebuild).
i have a working system now, but revdep-rebuild was crashing so i did a lot of "emerge -1 things" like gd gdal gegl gimp dev-lang/R cmake, a lot more, and a lot of libs (do those first)

if you have KDE, this update makes sense, but complain poor gnome users...

i may add that i'm currently waiting alot after my hexacore CPU :D because last 2 months where the most build time ever seen since 2006 to me (i didnt updated since 6 months before)
it should compile x16 comparing to now :D
_________________
hunhun ça vaux mieux que pan tu l'aura
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Sat Jul 03, 2010 9:59 pm    Post subject: Reply with quote

I followed the procedure at generic "...-pc-linux-gnu/bin/ld: cannot find -lpng12 bug for broken .la and .pc files.

I paid particular attention to Comment #25 as I am a paludis user. Comment #25 creates a slotted libpng. The first pass of reconcilio --library libpng12.so.0 repaired about 113 packages. The second pass of reconcilio --library libpng12.so.0 shows no packages. I am now ready to get rid of the slot to go to a pure libpng 1.4. How can I do so when these 24 packages are left that require the slot. This could also be an ebuild error, as some of these packages have DEPENDS with versions greater than or equal to both the slot (1.2) and the system (1.4)? In this case the slot is pulled in. The 24 that remain are:
Code:
bedroom_gentoo 04:29 PM ecyoung # paludis --uninstall libpng:1.2
Building unmerge list... done

These packages will be uninstalled:

* app-emulation/wine-1.2_rc5:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* app-office/mozilla-sunbird-0.9:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* app-office/openoffice-3.2.0:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* app-text/ghostscript-gpl-8.71-r1:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* app-text/poppler-0.12.4-r3:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* dev-java/icedtea6-bin-1.8.0:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* dev-python/wxpython-2.8.10.1:2.8::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* games-emulation/dosbox-0.73:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* media-gfx/blender-2.49a:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* media-gfx/gimp-2.6.8:2::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* media-gfx/fbgrab-1.0:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* media-gfx/imagemagick-6.6.1.2:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* media-gfx/splashutils-1.5.4.3-r2:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* media-libs/gegl-0.0.22:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* media-libs/sdl-image-1.2.10-r1:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* media-libs/vigra-1.6.0:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* media-video/mplayer-1.0_rc4_p20091026-r1:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* net-libs/webkit-gtk-1.1.15.4:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* net-print/cups-1.3.11-r1:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* x11-apps/xcursorgen-1.0.3:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* x11-libs/cairo-1.8.8:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* x11-libs/qt-gui-4.6.2:4::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* x11-themes/xcursor-themes-1.0.2:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* x11-wm/compiz-0.8.6:0::installed requires <media-libs/libpng-1.2.44:1.2::installed>
* media-libs/libpng-1.2.44:1.2::installed


Total: 1 package and 24 errors
Use either --with-dependencies or --permit-unsafe-uninstalls

Cannot continue with uninstall due to the errors indicated above


Update: Ran
Code:

paludis --uninstall libpng:1.2 >> output.txt
paludis --uninstall --permit-unsafe-uninstalls libpng:1.2
paludis -i1 cairo qt-gui webkit-gtk (removed from text output)
paludis -i for each package (remove from text output 1 at a time) leaving openoffice and sunbird until last


Each package built sucessfully and I now only have libpng-1.4
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper


Last edited by eyoung100 on Sat Jul 17, 2010 6:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3509

PostPosted: Wed Jul 07, 2010 4:25 pm    Post subject: Reply with quote

I just had an odd thing happen...

I got through the libpng upgrade by emerging the slotted libpng-1.2, a lot of lafilefixer, and "emerge -- --keep-going". Today I decided as a test to "purify" one system by removing libpng-1.2 and running revdep-rebuild. All went well except Abiword. It kept dying on libabiword needing libpng12, even though listings flying by at various times showed it using libpng14.

I removed Abiword with "emerge -C", made sure all traces of it were gone, then re-emerged it, and got a clean build.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Wed Jul 07, 2010 5:07 pm    Post subject: Reply with quote

depontius wrote:
I just had an odd thing happen...

I got through the libpng upgrade by emerging the slotted libpng-1.2, a lot of lafilefixer, and "emerge -- --keep-going". Today I decided as a test to "purify" one system by removing libpng-1.2 and running revdep-rebuild. All went well except Abiword. It kept dying on libabiword needing libpng12, even though listings flying by at various times showed it using libpng14.

I removed Abiword with "emerge -C", made sure all traces of it were gone, then re-emerged it, and got a clean build.


Yes, build system of abiword (and evince) are both broken in a same way. When you build it, it tries to use the broken libraries from system instead of the new just built ones inside portage temp directory.

See: https://bugs.gentoo.org/show_bug.cgi?id=326281
Back to top
View user's profile Send private message
SvenFischer
Veteran
Veteran


Joined: 05 Feb 2003
Posts: 1033
Location: Berlin

PostPosted: Sun Jul 11, 2010 12:40 pm    Post subject: Reply with quote

After trying all the suggestions without success, here's my solution:

emerge media-libs/libpng:1.2 (SLOT emerge)
emerge libpng (it's the 1.4.x Version additional)
/usr/sbin/libpng-1.4.x-update.sh

that's it!
_________________
Core2Duo, 4GB RAM, AMD/ATI 4850 and nice person in front!
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Sun Jul 11, 2010 4:27 pm    Post subject: Reply with quote

SvenFischer wrote:
After trying all the suggestions without success, here's my solution:

emerge media-libs/libpng:1.2 (SLOT emerge)
emerge libpng (it's the 1.4.x Version additional)
/usr/sbin/libpng-1.4.x-update.sh

that's it!

Works for me. Hopefully this will allow a gradual update to libpng-1.4 ...
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
G. S. Tatch
n00b
n00b


Joined: 11 Jul 2010
Posts: 18
Location: The Netherlands

PostPosted: Sun Jul 11, 2010 8:28 pm    Post subject: Fixed It!!! Reply with quote

Hi,

I was scrolling through and was reading, nothing worked, don't know weither you people fixed it already, this fixed it for me:

emerge libpng:1.2 && /usr/sbin/libpng-1.4.x-update.sh

Greetings,

G. S. Tatch
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Mon Jul 12, 2010 5:56 am    Post subject: Reply with quote

ssuominen wrote:
[snip]

To complete upgrade from libpng 1.2.x to libpng 1.4.x you need to run:

# emerge gentoolkit
# revdep-rebuild --library libpng12.so.0

And if revdep-rebuild fails to compile some package because of broken .la file with reference to -lpng12 or libpng12.la, you should run:

# /usr/sbin/libpng-1.4.x-update.sh

And then continue with your revdep-rebuild with:

# emerge --resume

Also if you have cairo, pango, libglade or gtk+ installed, you should emerge them first:

# emerge -1 cairo pango libglade gtk+


I'm trying to follow you instructions but I'm still getting stuck with an error:
Code:
make[1]: *** [.obj/release-shared-mt/qpngio.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8b-r2/work/qt-x11-free-3.3.8b/src'
make: *** [sub-src] Error 2
 * ERROR: x11-libs/qt-3.3.8b-r2 failed:
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2766:  Called die
 * The specific snippet of code:
 *       emake src-qmake src-moc sub-src || die;
 *
 * If you need support, post the output of 'emerge --info =x11-libs/qt-3.3.8b-r2',
 * the complete build log and the output of 'emerge -pqv =x11-libs/qt-3.3.8b-r2'.
 * This ebuild is from an overlay named 'kde-sunset': '/usr/local/portage/layman/kde-sunset/'
 * The complete build log is located at '/var/log/portage/x11-libs:qt-3.3.8b-r2:20100712-055113.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-3.3.8b-r2/temp/environment'.
 * S: '/var/tmp/portage/x11-libs/qt-3.3.8b-r2/work/qt-x11-free-3.3.8b'


any idea what to try next?
I've unmerge libpng-1.2 and trying to stick with 1.4 but I'm not sure if this is possible.
What a mess :-(
I forgot to mention, I still have some KDE-3.5 packages I need (kbarcode) so I need to keep qt-3 around.
Is there a hope for me or I just need to unmerge and mask libpng-1.4; and emerge libpng-1.2 (back)?


Last edited by Joseph_sys on Mon Jul 12, 2010 6:01 am; edited 1 time in total
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Mon Jul 12, 2010 6:00 am    Post subject: Reply with quote

Joseph_sys wrote:

I'm trying to follow you instructions but I'm still getting stuck with an error:
Code:

make[1]: *** [.obj/release-shared-mt/qpngio.o] Error 1

 * This ebuild is from an overlay named 'kde-sunset': '/usr/local/portage/layman/kde-sunset/'



Time to upgrade your overlays from layman, the Qt 3.3.8 "png bug" got fixed months ago already there.
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Mon Jul 12, 2010 6:11 am    Post subject: Reply with quote

ssuominen wrote:
Joseph_sys wrote:

I'm trying to follow you instructions but I'm still getting stuck with an error:
Code:

make[1]: *** [.obj/release-shared-mt/qpngio.o] Error 1

 * This ebuild is from an overlay named 'kde-sunset': '/usr/local/portage/layman/kde-sunset/'



Time to upgrade your overlays from layman, the Qt 3.3.8 "png bug" got fixed months ago already there.


I just did the upgdate:
layman -S

but it still trying to install qt-3.3.8b-r2 and gives me the same error message, any hints?
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Mon Jul 12, 2010 6:31 am    Post subject: Reply with quote

Joseph_sys wrote:
ssuominen wrote:
Joseph_sys wrote:

I'm trying to follow you instructions but I'm still getting stuck with an error:
Code:

make[1]: *** [.obj/release-shared-mt/qpngio.o] Error 1

 * This ebuild is from an overlay named 'kde-sunset': '/usr/local/portage/layman/kde-sunset/'



Time to upgrade your overlays from layman, the Qt 3.3.8 "png bug" got fixed months ago already there.


I just did the upgdate:
layman -S

but it still trying to install qt-3.3.8b-r2 and gives me the same error message, any hints?


Are you sure /usr/local/portage/layman is not a old location? If I remember correctly, layman changed it's default directory to /var/lib/layman
So you might have it still pointed to old overlay in make.conf
If that wasn't it, then I need more output of the error
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Mon Jul 12, 2010 7:07 am    Post subject: Reply with quote

ssuominen wrote:
[snip]

I just did the upgdate:
layman -S

but it still trying to install qt-3.3.8b-r2 and gives me the same error message, any hints?

Are you sure /usr/local/portage/layman is not a old location? If I remember correctly, layman changed it's default directory to /var/lib/layman
So you might have it still pointed to old overlay in make.conf
If that wasn't it, then I need more output of the error


You are correct, I must have been sleeping. Anyhow, I just did correct the location in make.conf
source /var/lib/layman/make.conf

now qt-3 emerged without any problems, and I hope that kbarcode will do the same.
Thank you!
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Mon Jul 12, 2010 3:48 pm    Post subject: Reply with quote

I'm still getting an error, this time is kdelibs-4.3.5 see below

Code:
Linking CXX shared library ../lib/libkio.so                                                                           
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. 
collect2: ld returned 1 exit status                                                                                   
make[2]: *** [lib/libkio.so.5.3.0] Error 1                                                                           
make[1]: *** [kio/CMakeFiles/kio.dir/all] Error 2                                                                     
make: *** [all] Error 2                                                                                               
 * ERROR: kde-base/kdelibs-4.3.5 failed:                                                                             
 *   Make failed!                                                                                                     
 *                                                                                                                   
 * Call stack:                                                                                                       
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 4044:  Called kde4-base_src_compile
 *   environment, line 3122:  Called cmake-utils_src_compile
 *   environment, line 1271:  Called _execute_optionaly 'src_compile'
 *   environment, line  678:  Called enable_cmake-utils_src_compile
 *   environment, line 1646:  Called cmake-utils_src_make
 *   environment, line 1290:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *
 * If you need support, post the output of 'emerge --info =kde-base/kdelibs-4.3.5',
 * the complete build log and the output of 'emerge -pqv =kde-base/kdelibs-4.3.5'.
 * The complete build log is located at '/var/log/portage/kde-base:kdelibs-4.3.5:20100712-152253.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdelibs-4.3.5/temp/environment'.
 * S: '/var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5'
sandbox:main  signal SIGQUIT already had a handler ...


Any suggestion how to go about it?

Update:
It seems to me I need to remove flag "acl" from make.conf
do I need to remove:
rm -f /lib/libacl.a
rm -f /lib/libacl.la


Last edited by Joseph_sys on Mon Jul 12, 2010 4:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Mon Jul 12, 2010 3:57 pm    Post subject: Reply with quote

Joseph_sys wrote:
I'm still getting an error, this time is kdelibs-4.3.5 see below

Code:
Linking CXX shared library ../lib/libkio.so                                                                           
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. 
collect2: ld returned 1 exit status                                                                                   
make[2]: *** [lib/libkio.so.5.3.0] Error 1                                                                           
make[1]: *** [kio/CMakeFiles/kio.dir/all] Error 2                                                                     
make: *** [all] Error 2                                                                                               
 * ERROR: kde-base/kdelibs-4.3.5 failed:                                                                             
 *   Make failed!                                                                                                     
 *                                                                                                                   
 * Call stack:                                                                                                       
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 4044:  Called kde4-base_src_compile
 *   environment, line 3122:  Called cmake-utils_src_compile
 *   environment, line 1271:  Called _execute_optionaly 'src_compile'
 *   environment, line  678:  Called enable_cmake-utils_src_compile
 *   environment, line 1646:  Called cmake-utils_src_make
 *   environment, line 1290:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *
 * If you need support, post the output of 'emerge --info =kde-base/kdelibs-4.3.5',
 * the complete build log and the output of 'emerge -pqv =kde-base/kdelibs-4.3.5'.
 * The complete build log is located at '/var/log/portage/kde-base:kdelibs-4.3.5:20100712-152253.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdelibs-4.3.5/temp/environment'.
 * S: '/var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5'
sandbox:main  signal SIGQUIT already had a handler ...


Any suggestion how to go about it?


That's not related to libpng, so this is a wrong thread for it... but...
If you have /lib/libacl.a or /lib/libacl.la, delete those.
It's the most common reason for kdelibs to fail with that error.
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Tue Jul 13, 2010 8:56 pm    Post subject: Reply with quote

Following your instruction, one of my system upgrading to libpng-1.4 without much problem but on my second system I've followed the same instructions:
Code:
revdep-rebuild --library libpng12.so.0
/usr/sbin/libpng-1.4.x-update.sh
emerge -1 cairo pango libglade gtk+
emerge -C =libpng-1.2*
emerge -f /usr/lib64/libpng12.so*

everything compiled without any problems but when I try to upgrade, it still wants to pull IN: libpng-1.2.44
Code:
emerge -uDNav world

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

Calculating dependencies... done!
[ebuild     U ] sys-libs/glibc-2.11.2 [2.10.1-r1] USE="(multilib) nls -debug -gd -glibc-omitfp (-hardened) -profile (-selinux) -vanilla" 15,994 kB
[ebuild     U ] media-libs/jpeg-8b [8a] 943 kB
[ebuild     U ] media-libs/libogg-1.2.0 [1.1.4] USE="-static-libs%" 391 kB
[ebuild     U ] app-misc/realpath-1.15-r1 [1.15] USE="nls" 0 kB
[ebuild     U ] dev-libs/mpfr-2.4.2_p3 [2.4.1_p5] 1,053 kB
[ebuild     U ] media-libs/tiff-3.9.4 [3.9.2-r1] USE="cxx jpeg zlib -jbig -static-libs%" 1,404 kB
[ebuild  NS   ] media-libs/libpng-1.2.44 [1.4.3] 528 kB
...

Code:
equery d =media-libs/libpng-1.2.44
[ Searching for packages depending on =media-libs/libpng-1.2.44... ]
app-emulation/virtualbox-bin-3.2.4-r1 (!headless? media-libs/libpng)
app-text/ghostscript-gpl-8.71-r1 (>=media-libs/libpng-1.2.42)
app-text/poppler-0.12.4-r3 (png? media-libs/libpng)
dev-java/icedtea6-bin-1.7.2 (>=media-libs/libpng-1.2)
dev-lang/php-5.2.13 (cjk & !gd & !gd-external? media-libs/libpng)
                    (exif&!gd&!gd-external? media-libs/libpng)
                    (gd? media-libs/libpng)
                    (truetype&!gd&!gd-external? media-libs/libpng)
                    (xpm? media-libs/libpng)
media-gfx/imagemagick-6.6.1.2 (png? media-libs/libpng)
media-gfx/xv-3.10a-r15 (png? >=media-libs/libpng-1.2)
media-libs/libtheora-1.1.1 (examples? media-libs/libpng)
media-sound/sox-14.3.0 (png? media-libs/libpng)
media-video/xine-ui-0.99.6 (>=media-libs/libpng-1.2.40)
net-misc/nx-3.4.0 (>=media-libs/libpng-1.2.8)
net-misc/nxclient-3.4.0.5 (=media-libs/libpng-1.2*)
net-print/cups-1.3.11-r1 (png? >=media-libs/libpng-1.2.1)
x11-apps/xcursorgen-1.0.3 (>=media-libs/libpng-1.2)
x11-libs/openmotif-2.3.2-r2 (png? media-libs/libpng)
x11-misc/slim-1.3.1_p20091114 (media-libs/libpng)
x11-themes/xcursor-themes-1.0.2 (media-libs/libpng)
xfce-base/thunar-1.0.2 (>=media-libs/libpng-1.2.0)

System is running XFCE4 so I'm not sure which package is trying to pull back libpng-1.2.44
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 Jul 13, 2010 9:00 pm    Post subject: Reply with quote

Joseph_sys wrote:

System is running XFCE4 so I'm not sure which package is trying to pull back libpng-1.2.44


Heh, you just pasted it...

net-misc/nxclient-3.4.0.5 (=media-libs/libpng-1.2*)

nxclient is a binary-only software, it's OK to let it install 1.2.44 *after* everything else is taken care of
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Tue Jul 13, 2010 9:03 pm    Post subject: Reply with quote

I see it:
net-misc/nxclient-3.4.0.5 (=media-libs/libpng-1.2*

any work around it, or I have to have installed both Libpng-1.2 and 1.4
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 8 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