Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] gif library's are blocking each other
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
swingkyd
Guru
Guru


Joined: 13 Jan 2005
Posts: 334

PostPosted: Thu Sep 08, 2005 8:35 pm    Post subject: [solved] gif library's are blocking each other Reply with quote

I'm having this nightmare with gif libraries:

The system wants me to install giflib but libungif is already installed.
libungif has the "gif" USE flag turned off
the system wants to install giflib but is blocked:
Code:
[blocks B     ] media-libs/giflib (is blocking media-libs/libungif-4.1.3)

If I remove giflib the system is fine but next time I go:
Code:
 emerge --newuse --deep --update -v world

it installs giflib again and any subsequent updates are showing the blocked message above again.
Code:

*  media-libs/giflib
      Latest version available: 4.1.3
      Latest version installed: 4.1.3
      Size of downloaded files: 556 kB
      Homepage:    http://sourceforge.net/projects/libungif/
      Description: Library to handle, display and manipulate GIF images
      License:     MIT

and
Code:
*  media-libs/libungif
      Latest version available: 4.1.3
      Latest version installed: 4.1.3
      Size of downloaded files: 429 kB
      Homepage:    http://sourceforge.net/projects/libungif/
      Description: A library for reading and writing gif images without LZW compression
      License:     MIT


Help would be GREATLY appreciated!


Last edited by swingkyd on Mon Sep 12, 2005 4:42 pm; edited 3 times in total
Back to top
View user's profile Send private message
swingkyd
Guru
Guru


Joined: 13 Jan 2005
Posts: 334

PostPosted: Thu Sep 08, 2005 8:42 pm    Post subject: Reply with quote

i tried following this page:
https://forums.gentoo.org/viewtopic-t-369132-highlight-libungif.html
but it didn't work... I got:
Code:
checking for gif_lib.h... no
configure: error: *** GIF header not found ***

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/imlib-1.9.14-r3/work/imlib-1.9.14/config.log

!!! ERROR: media-libs/imlib-1.9.14-r3 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.


which didn't help much :( any ideas?
Back to top
View user's profile Send private message
swingkyd
Guru
Guru


Joined: 13 Jan 2005
Posts: 334

PostPosted: Thu Sep 08, 2005 8:49 pm    Post subject: Reply with quote

okay...maybe I figured it out:)

1) unmerge libungif
2) re-emerge giflib with the USE flag "gif"
3) re-emerge imlib

i at least don't get the blocking message anymore :)
Back to top
View user's profile Send private message
swingkyd
Guru
Guru


Joined: 13 Jan 2005
Posts: 334

PostPosted: Thu Sep 08, 2005 9:03 pm    Post subject: Reply with quote

well every time I run:
Code:
revrep-rebuild

it continues to want libungif EVERYWHERE... hmmm so it's not exactly solved ... *sigh*
Back to top
View user's profile Send private message
Ann
n00b
n00b


Joined: 16 Apr 2005
Posts: 27

PostPosted: Fri Sep 09, 2005 4:36 pm    Post subject: Re: gif library's are blocking each other Reply with quote

swingkyd wrote:
I'm having this nightmare with gif libraries:

The system wants me to install giflib but libungif is already installed.
libungif has the "gif" USE flag turned off
the system wants to install giflib but is blocked:
Code:
[blocks B     ] media-libs/giflib (is blocking media-libs/libungif-4.1.3)


I think you may have that backwards. giflib is blocking libungif-4.1.3. Here is what I am doing.

Remove giflib. Emerge libungif. You will get the message below. I didn't change the USE flag. Then do your update, and giflib will be emerged with your update.

Code:
emerge -C giflib
emerge libungif
* You had the gif USE flag set, so it is assumed that you want
* the binary from giflib instead.  Please make sure you have
* giflib emerged.  Otherwise, unset the gif flag and remerge this
emerge -uD world


My emerge -uD world is still running, so I don't know for sure this worked, but it looks like it's going to. Alternatively, it seems that you should recompile libungif with -gif. I'm not using any KDE stuff so I didn't need imlib and kdegraphics as mentioned in the other thread you mentioned.

EDIT:
My update finished with this message:
Code:

 * You had the gif USE flag set, so the binary from this library
 * is your gif binary.  If you would prefer to use the binary from
 * the ungif library, please unset the gif USE toggle, and remerge
 * both this and libungif

so it seems to have worked.

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


Joined: 16 Apr 2005
Posts: 27

PostPosted: Sat Sep 10, 2005 3:02 pm    Post subject: Re: gif library's are blocking each other Reply with quote

I wrote:

EDIT:
My update finished with this message:
Code:

 * You had the gif USE flag set, so the binary from this library
 * is your gif binary.  If you would prefer to use the binary from
 * the ungif library, please unset the gif USE toggle, and remerge
 * both this and libungif

so it seems to have worked.


This apparently didn't work, because my nightly emerge sync and emerge -pvuD world left me this message:
Code:
[blocks B     ] media-libs/giflib (is blocking media-libs/libungif-4.1.3)


I'm now following instructions in this thread.

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


Joined: 16 Apr 2005
Posts: 27

PostPosted: Sat Sep 10, 2005 5:56 pm    Post subject: Reply with quote

Ok, if anyone cares, here is what I did in the end.

Removed libungif since it is deprecated.
Code:
emerge -C libungif


Removed "-gif" USE flags for both libungif and giflib from package.use.
Code:
nano -w /etc/portage/package.use


Emerged giflib.
Code:
emerge giflib

Got message:
* You had the gif USE flag set, so the binary from this library
* is your gif binary. If you would prefer to use the binary from
* the ungif library, please unset the gif USE toggle, and remerge
* both this and libungif
(good, this is what I wanted, to eliminate libungif)

Code:
emerge -pv --update --deep --newuse world

showed nothing needing update.

Code:
revdep-rebuild

recompiled 6 packages.
Windowmaker left this message:
* This package provides libwraster.so.3. Packages depending on
* libwraster.so.2 will have to be rebuilt, i.e. 'revdep-rebuild'

Code:
revdep-rebuild

emerged openoffice-bin again.

Code:
revdep-rebuild -p

shows
Code:
All prepared. Starting rebuild...
emerge --oneshot --nodeps -p =app-office/openoffice-bin-1.1.4-r1

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-office/openoffice-bin-1.1.4-r1 
Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild.

If anyone has an explanation for why revdep-rebuild wants to redo openoffice again, I'd like to hear it.

But openoffice works, so I'm going to let this little portage adventure end here for now. :wink:

Ann
Back to top
View user's profile Send private message
tundra
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 97

PostPosted: Sun Sep 11, 2005 3:31 am    Post subject: Reply with quote

I nearly went crazy trying to figure this out. I tried all of the advice in this and similar threads, but even though revdep-rebuild reported nothing broken, emerge still wanted to bring libungif back. unclepine had the answer: sci-libs/gdal-1.2.5-r1 wanted libungif. I went up to sci-libs/gdal-1.2.6-r3, which is ~x86, but uses giflib. I now appear to be free of libungif. I hope that this helps someone out there.
Back to top
View user's profile Send private message
Ann
n00b
n00b


Joined: 16 Apr 2005
Posts: 27

PostPosted: Sun Sep 11, 2005 4:25 am    Post subject: Reply with quote

I wrote:

If anyone has an explanation for why revdep-rebuild wants to redo openoffice again, I'd like to hear it.


I hate to keep replying to myself, I feel like I'm blogging here... Anyway, I found not exactly a reason, but a reference, to this on this thread:
Quote:

Keep in mind that certain binary packages, such as mozilla-firefox-bin and openoffice-bin can show up in revdep-rebuild as needing rebuilding, but because they are binary installs, doing a revdep-rebuild many times won't fix the problem. Usually, it's nothing. If the program works, you can file it in the back of your mind.

which makes sense now that I know it happens to other people besides me - since a binary has been compiled with who knows what options, it will show up as needing to be compiled against the particular system's USE flags.

Ann
Back to top
View user's profile Send private message
xentric
Guru
Guru


Joined: 16 Mar 2003
Posts: 410
Location: Netherlands

PostPosted: Sun Sep 11, 2005 9:13 am    Post subject: Reply with quote

Ann wrote:

If anyone has an explanation for why revdep-rebuild wants to redo openoffice again, I'd like to hear it.


If you don't want revdep-rebuild to re-install your binary packages, just edit /usr/bin/revdep-rebuild
and remove /opt from the SEARCH_DIRS variable.
_________________
When all else fails, read the manual...
Registered Linux User #340626
Back to top
View user's profile Send private message
tundra
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 97

PostPosted: Sun Sep 11, 2005 1:49 pm    Post subject: Reply with quote

... and today sci-libs/gdal-1.2.6-r3 is no longer ~x86.
Back to top
View user's profile Send private message
Ann
n00b
n00b


Joined: 16 Apr 2005
Posts: 27

PostPosted: Sun Sep 11, 2005 2:15 pm    Post subject: Reply with quote

xentric wrote:
Ann wrote:

If anyone has an explanation for why revdep-rebuild wants to redo openoffice again, I'd like to hear it.


If you don't want revdep-rebuild to re-install your binary packages, just edit /usr/bin/revdep-rebuild
and remove /opt from the SEARCH_DIRS variable.


Thank you for the tip, I've done that now. I like clean output. 8)

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


Joined: 16 Apr 2005
Posts: 27

PostPosted: Sun Sep 11, 2005 2:17 pm    Post subject: Reply with quote

tundra wrote:
... and today sci-libs/gdal-1.2.6-r3 is no longer ~x86.


Cool, I guess sometimes it pays to procrastinate. :lol:
Back to top
View user's profile Send private message
TrainedChimp
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2004
Posts: 87
Location: Just west of Earth

PostPosted: Sun Sep 11, 2005 4:48 pm    Post subject: Reply with quote

Ann wrote:
Ok, if anyone cares, here is what I did in the end.


Worked for me:
Code:
emerge -C  libungif && emerge giflib && revdep-rebuild -p
revdep-rebuild


For whomever might care: The gif flag is set in /etc/make.profile/make.defaults, (in my Gentoo version anyway).
Back to top
View user's profile Send private message
swingkyd
Guru
Guru


Joined: 13 Jan 2005
Posts: 334

PostPosted: Mon Sep 12, 2005 4:41 pm    Post subject: Reply with quote

TrainedChimp wrote:
Ann wrote:
Ok, if anyone cares, here is what I did in the end.


Worked for me:
Code:
emerge -C  libungif && emerge giflib && revdep-rebuild -p
revdep-rebuild


For whomever might care: The gif flag is set in /etc/make.profile/make.defaults, (in my Gentoo version anyway).


So this *mostly* worked for me. I had to do what what I said in the last entry of the following link:
https://forums.gentoo.org/viewtopic-t-378911-highlight-.html in order to run those commands above.
Back to top
View user's profile Send private message
martoni
Apprentice
Apprentice


Joined: 16 Jan 2004
Posts: 244
Location: Tyresö, Sweden

PostPosted: Mon Oct 10, 2005 11:05 am    Post subject: Reply with quote

FWIW this is something I ran into when upgrading from KDE 3.4 to 3.5 beta1.
KDEGraphics was needed for KDE and to install KDEGraphics I need libungif, which was blocked by giflib ...
So I uninstalled giflib and emerged libungif and then KDEGraphics and KDE installation went through.
Back to top
View user's profile Send private message
tundra
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 97

PostPosted: Tue Oct 25, 2005 6:00 pm    Post subject: Reply with quote

It's baaack ... the new gdal-1.2.6-r4 wants libungif all over again. Somebody save me! How do I make it stop wanting libungif?
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2036
Location: Heidelberg - Germany

PostPosted: Tue Nov 01, 2005 3:54 pm    Post subject: Reply with quote

I removed libungif and re-emerged giflib but now kuickshow does noch work and kdegraphics don´t compile because of missing libungif. How can I fix this? revdep-rebuild does not show this brocken dependencies

Erdie
_________________
Desktop AMD FX-4300 12GB RAM, Asus GF GTX 650. Sound RME Multiface + PCI + Cardbus, 2x RME Quadmic, 1x Behringer ADA8000 + ganz viele Modellflugzeuge, ein Tandem, Rennrad und DFXL ;)
2x IBM Thinkpad T60
Zotag Mag Mini Atom
Raspberry Pi 1 + 2 + Zero W
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Nov 01, 2005 4:52 pm    Post subject: Reply with quote

Hint: Add "-t" to the emerge options, to see the dependency tree, and therefore to see what's really going on.

Then "emerge --sync", and look at /usr/portage/media-libs/imlib/imlib-1.9.1* with your favourite text editor. You will see ">=media-libs/giflib-4.1.0" as the relevant dependency.

Then, perhaps an "emerge kuickshow kdegraphics" will solve things. If not, you're in the territory of maguire's "emwrap" script (lotsa interesting reading).
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2036
Location: Heidelberg - Germany

PostPosted: Thu Nov 03, 2005 9:41 am    Post subject: Reply with quote

re-emergein of imlib fixed this problem - thanks :D
_________________
Desktop AMD FX-4300 12GB RAM, Asus GF GTX 650. Sound RME Multiface + PCI + Cardbus, 2x RME Quadmic, 1x Behringer ADA8000 + ganz viele Modellflugzeuge, ein Tandem, Rennrad und DFXL ;)
2x IBM Thinkpad T60
Zotag Mag Mini Atom
Raspberry Pi 1 + 2 + Zero W
Back to top
View user's profile Send private message
ne0genesis
n00b
n00b


Joined: 09 Mar 2005
Posts: 10

PostPosted: Tue Nov 08, 2005 9:42 pm    Post subject: Reply with quote

I unmerged libungif, took out the gnome use flag (since i'm using fluxbox now) and then emerged giflib. revdep didn't seem to have a problem after that (which it had been).
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