Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems recompiling @preserved-rebuild and @world
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76

PostPosted: Sat Mar 01, 2014 3:43 pm    Post subject: problems recompiling @preserved-rebuild and @world Reply with quote

Hello.

Some time ago Portage told me for some reason to run emerge @preserved-rebuild. I thought to wait and recompile all together the next time I've updated @world.
Today, I first tried to recompile the packages of @preserved-rebuild. As I understand, gimp and libreoffice are the critical ones, because all the others that appeared in the pretend list have compiled successfully. In fact, gimp's compilation is stopping in configure phase, and I cannot understand and solve the problem.
Follows a list of links to the output of the given commands:

/var/tmp/portage/media-gfx/gimp-2.8.6/work/gimp-2.8.6/config.log
emerge --info '=media-gfx/gimp-2.8.6::gentoo'
emerge -pqv '=media-gfx/gimp-2.8.6::gentoo'
/var/tmp/portage/media-gfx/gimp-2.8.6/temp/build.log
/var/tmp/portage/media-gfx/gimp-2.8.6/temp/environment


Some similar errors happen on some dependencies when I try to update deep with bdeps the @world set

emerge --info '=sys-apps/help2man-1.43.3::gentoo'
emerge -pqv '=sys-apps/help2man-1.43.3::gentoo'
/var/tmp/portage/sys-apps/help2man-1.43.3/temp/build.log
/var/tmp/portage/sys-apps/help2man-1.43.3/temp/environment

emerge --info '=dev-perl/File-MimeInfo-0.170.0::gentoo'
emerge -pqv '=dev-perl/File-MimeInfo-0.170.0::gentoo'
/var/tmp/portage/dev-perl/File-MimeInfo-0.170.0/temp/build.log
/var/tmp/portage/dev-perl/File-MimeInfo-0.170.0/temp/environment


I've omitted libreoffice because I have no urgency to recompile the full libreoffice suite, at the moment.

Thank you in advance for helping me.


Last edited by leonixyz on Sat Mar 01, 2014 6:08 pm; edited 1 time in total
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Sat Mar 01, 2014 4:39 pm    Post subject: Reply with quote

Try running perl-cleaner
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Mar 01, 2014 5:47 pm    Post subject: Reply with quote

Actual hyperlinks are appreciated; it's annoying to have to cut & paste each one. Meanwhile, sebB has a point because of the very first wgetpaste:
gimp configure log:
configure:15147: checking for XML::Parser
configure:15153: error: XML::Parser perl module is required for intltool
It's fine to use wgetpaste but when an issue is discovered, the relevant portion should be posted back here so the thread will have value over the long term.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76

PostPosted: Sat Mar 01, 2014 11:45 pm    Post subject: Reply with quote

perl-cleaner --reallyall solved that and other problems related to perl,...

... but I still can't compile media-gfx/gimp-2.8.6:
Code:
(process:27779): GdkPixbuf-WARNING **: Bug! gdk-pixbuf loader 'png' didn't set an error on failure.
failed to load "./cursor-color-picker.png": Failed to load image './cursor-color-picker.png': reason not known, probably a corrupt image file

The error seems to be related to an image, and I opened it with feh. I got no errors nor warnings.
/var/tmp/portage/media-gfx/gimp-2.8.6/work/gimp-2.8.6/cursors/cursor-color-picker.png

Here is the build log,
and here the output of emerge --info '=media-gfx/gimp-2.8.6::gentoo'
Code:
# emerge -pqv '=media-gfx/gimp-2.8.6::gentoo'
[ebuild  N    ] media-gfx/gimp-2.8.6  USE="bzip2 jpeg mmx png sse svg tiff -aalib -alsa (-altivec) (-aqua) -curl -dbus -debug -doc -exif -gnome -jpeg2k -lcms -mng -pdf -postscript -python -smp -udev -webkit -wmf -xpm" LINGUAS="it -am -ar -ast -az -be -bg -br -ca -ca@valencia -cs -csb -da -de -dz -el -en_CA -en_GB -eo -es -et -eu -fa -fi -fr -ga -gl -gu -he -hi -hr -hu -id -is -ja -ka -kk -km -kn -ko -lt -lv -mk -ml -ms -my -nb -nds -ne -nl -nn -oc -pa -pl -pt -pt_BR -ro -ru -rw -si -sk -sl -sr -sr@latin -sv -ta -te -th -tr -tt -uk -vi -xh -yi -zh_CN -zh_HK -zh_TW"



edit: should I open a new thread, for having a consistent one for the long term?
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Sun Mar 02, 2014 1:08 am    Post subject: Reply with quote

Don't run emerge gimp but emerge @preserved-rebuild

I think librairies like libpng are broken on your system

Post emerge -pv @preserved-rebuild
Back to top
View user's profile Send private message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76

PostPosted: Sun Mar 02, 2014 2:08 pm    Post subject: Reply with quote

sebB wrote:
Don't run emerge gimp but emerge @preserved-rebuild

I think librairies like libpng are broken on your system

Post emerge -pv @preserved-rebuild


I remember in the beginning emerge -pv @preserved-rebuild asked me to rebuild only libreoffice, gimp and some other packages that I don't remember exactly.
So I ran emerge @preserved-rebuild and portage recompiled all except gimp, but I'm not sure of that because i added --keep-going=y. All this has happen before starting this thread, and I tried to fix the initial problem unmerging gimp.

After that I started this thread and ran perl-cleaner --reallyall, some problems are gone, but I'm still without gimp.
If I run emerge @preserved-rebuild now, I get an empty list (so I suppose the first round recompiled all but gimp).

What have I to do now? Will now emerge --emptytree gimp fix my problem?

Do you think that other libraries could be broken?

PS: btw libreoffice was recompiled successfully
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Mar 03, 2014 11:04 am    Post subject: Reply with quote

@sebB was assuming that the @preserved-rebuild set contained a library that, when rebuilt, would solve your problem. It was a logical guess. Since that didn't work, and your error is about png files, rebuilding lib ping is another logical guess. Try:
Code:
emerge --oneshot libpng
- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Pindrop
Apprentice
Apprentice


Joined: 09 Jul 2002
Posts: 165
Location: Virginia, USA

PostPosted: Mon Mar 03, 2014 2:38 pm    Post subject: Reply with quote

I just had a similar issue and it was resolved by running perl-cleaner, removing the offending lib packages, syncing portage, and running 'emerge -uavDN world'. I had other issues due to not having the right kernel version symlink which borked my synaptics mouse driver, and then --depclean messed with my gcc profile which had to be reselected too, but a sync and recompile seems to have fixed my libpng (and other) conflicts. I think I have autounmask-write enabled or something like that because I'm lazy, so maybe that helped.
Back to top
View user's profile Send private message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76

PostPosted: Thu Mar 06, 2014 8:25 am    Post subject: Reply with quote

I tried to re-emerge libpng and didn't helped.
I re-emerged the whole dependency tree of gimp and it didn't helped.

No idea what's next :-(


Btw, I noticed that Firefox, that was recompiled during this last @world update, also has some problems with its icons:
the arrows to jump to previous/next page in the navigation toolbar are broken, they are displayed as an image that isn't found:
like if in an html page you find <img src="wrong_path_to_file"> but in the navigation toolbar of the browser
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Thu Mar 06, 2014 7:31 pm    Post subject: Reply with quote

What version of libpng are you using?

Try
Code:
revdep-rebuild --library libpng15.so.15 -- --keep-going

or
Code:
revdep-rebuild --library libpng14.so.14 -- --keep-going
Back to top
View user's profile Send private message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76

PostPosted: Thu Mar 06, 2014 10:27 pm    Post subject: Reply with quote

sebB wrote:
What version of libpng are you using?

Code:
# qlist -Iv | grep libpng
media-libs/libpng-1.6.8


I tried revdep-rebuild --library libpng15.so.15 -- --keep-going and portage recompiled 3 packages… after that I re run revdep-rebuild without arguments but I still cannot emerge gimp (same error as before)

Does this following mean that I'm still using older versions of libpng even after this revdep-rebuild

Code:
# qlist -Ia | grep libpng
/usr/lib32/libpng12.so.0
/usr/lib32/libpng15.so.15
/usr/lib32/libpng15.so
/usr/lib32/libpng.so
/usr/lib32/libpng15.so.15.15.0
/usr/lib32/pkgconfig/libpng.pc
/usr/lib32/pkgconfig/libpng15.pc
/usr/share/doc/libpng-1.6.8/CHANGES.bz2
/usr/share/doc/libpng-1.6.8/ANNOUNCE.bz2
/usr/share/doc/libpng-1.6.8/TODO.bz2
/usr/share/doc/libpng-1.6.8/libpng-manual.txt.bz2
/usr/share/doc/libpng-1.6.8/README.bz2
/usr/share/man/man3/libpngpf.3.bz2
/usr/share/man/man3/libpng.3.bz2
/usr/lib64/libpng16.so.16.8.0
/usr/lib64/libpng.so
/usr/lib64/libpng16.so.16
/usr/lib64/pkgconfig/libpng16.pc
/usr/lib64/pkgconfig/libpng.pc
/usr/lib64/libpng16.so
/usr/include/libpng16/pnglibconf.h
/usr/include/libpng16/png.h
/usr/include/libpng16/pngconf.h
/usr/bin/libpng-config
/usr/bin/libpng16-config
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Fri Mar 07, 2014 9:20 pm    Post subject: Reply with quote

Have no more idea.
Did you run?
Code:
revdep-rebuild --library libpng14.so.14 -- --keep-going

and
Code:
revdep-rebuild --library libpng12.so.12 -- --keep-going


You can try to rebuild libjpeg-turbo and jpeg
then
Code:
revdep-rebuild --library libjpeg.so.62


If you have time, you can try to rebuild your system "emerge -e @system" if revdep-rebuild don't work
Back to top
View user's profile Send private message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76

PostPosted: Wed Mar 19, 2014 5:37 pm    Post subject: Reply with quote

sebB wrote:
Have no more idea.
Did you run?
Code:
revdep-rebuild --library libpng14.so.14 -- --keep-going


didn't recompile anything

sebB wrote:

and
Code:
revdep-rebuild --library libpng12.so.12 -- --keep-going


also this didn't anything

sebB wrote:

You can try to rebuild libjpeg-turbo and jpeg
then
Code:
revdep-rebuild --library libjpeg.so.62


If you have time, you can try to rebuild your system "emerge -e @system" if revdep-rebuild don't work

After rebuilding libjpeg-turbo revdep-rebuild found and recompiled 11 packages, but the error persists.

I'll try this night to rebuild -e @system

I checked my distcc daemons and noticed that their gcc --version is
gcc (Gentoo 4.7.3-r1 p1.3, pie-0.5.5) 4.7.3
while on my laptop
gcc (Gentoo 4.7.3-r1 p1.4, pie-0.5.5) 4.7.3
Does it make any difference?

What other things could I check in my distcc configuration?
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
Page 1 of 1

 
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