Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot load SVG after doing updates
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
cci[RR]us
n00b
n00b


Joined: 01 Jan 2005
Posts: 26
Location: Singapore

PostPosted: Wed Jun 22, 2005 1:34 am    Post subject: Cannot load SVG after doing updates Reply with quote

Hi,

I can't remember the packages that I've updated (with ACCEPT_KEYWORDS="~x86", oops!!!) as well as those I unmerged (one of which is gtk-engines-xfce). Then after that, my X could not load .SVG files. There are tonnes of error dialog boxes when X loads. I've tried re-emerging librsvg and most error messages went away, still, I can't load .SVG.

I'm using X.org 6.8.0 with Gnome 2.10.1.

Please kindly advise. Thank you!!! :)
_________________
(~ cci[RR]us ~)
...Computer Networks Enthusiast...
Toys...:: MOL1500 :: SB3100 :: SCM-140 :: BEFSR41v2 ::
Toys...:: DWL-2100AP :: DI-624 :: DWL-G650 ::
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Wed Jun 22, 2005 7:42 am    Post subject: Reply with quote

What's your emerge info?
Back to top
View user's profile Send private message
cci[RR]us
n00b
n00b


Joined: 01 Jan 2005
Posts: 26
Location: Singapore

PostPosted: Wed Jun 22, 2005 8:27 am    Post subject: Reply with quote

nxsty wrote:
What's your emerge info?

Sorry I don't understand you. How do I get the required information?
_________________
(~ cci[RR]us ~)
...Computer Networks Enthusiast...
Toys...:: MOL1500 :: SB3100 :: SCM-140 :: BEFSR41v2 ::
Toys...:: DWL-2100AP :: DI-624 :: DWL-G650 ::
Back to top
View user's profile Send private message
curtis119
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 2160
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

PostPosted: Wed Jun 22, 2005 11:01 pm    Post subject: Reply with quote

The next time don't use ACCEPT_KEYWORDS on the command line. Use the method outlined in the FAQ.

https://forums.gentoo.org/viewtopic.php?t=33534

sorry this isn't an answer to your question but it will help you in the future.
_________________
Gentoo: it's like wiping your ass with silk.
Back to top
View user's profile Send private message
cci[RR]us
n00b
n00b


Joined: 01 Jan 2005
Posts: 26
Location: Singapore

PostPosted: Thu Jun 23, 2005 1:28 am    Post subject: Reply with quote

Yes, I know the risks of "ACCEPT_KEYWORDS" but it didn't occur to me that it could be so dangerous. Now, I've learnt it the hard way :(

I guess I could only remove "everything" and then emerge "everything" back. That should fix the unknown broken pieces.

So, what are the "everything" that I need to remove and then emerge back? The just the entire GNOME 2.10? How bout the various libraries depended by GNOME? What is the proper command to do all that?

Many thanks to you guys for guiding a n00b like me :o
_________________
(~ cci[RR]us ~)
...Computer Networks Enthusiast...
Toys...:: MOL1500 :: SB3100 :: SCM-140 :: BEFSR41v2 ::
Toys...:: DWL-2100AP :: DI-624 :: DWL-G650 ::
Back to top
View user's profile Send private message
curtis119
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 2160
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

PostPosted: Thu Jun 23, 2005 3:37 am    Post subject: Reply with quote

All you really need to do is:

Code:
emerge -e world


No need to unmerge anything.
_________________
Gentoo: it's like wiping your ass with silk.
Back to top
View user's profile Send private message
cci[RR]us
n00b
n00b


Joined: 01 Jan 2005
Posts: 26
Location: Singapore

PostPosted: Thu Jun 23, 2005 3:53 am    Post subject: Reply with quote

Code:
[b]--emptytree (-e)[/b]
    Reinstalls all world packages and their dependencies to the current USE specifications while differing from the installed set of packages as little as possible. You should run with --pretend first to make sure the result is what you expect.

Hmm.... thanks. I'll try that with --pretend later. :)
_________________
(~ cci[RR]us ~)
...Computer Networks Enthusiast...
Toys...:: MOL1500 :: SB3100 :: SCM-140 :: BEFSR41v2 ::
Toys...:: DWL-2100AP :: DI-624 :: DWL-G650 ::
Back to top
View user's profile Send private message
cci[RR]us
n00b
n00b


Joined: 01 Jan 2005
Posts: 26
Location: Singapore

PostPosted: Fri Jun 24, 2005 2:57 am    Post subject: Reply with quote

I hope I do not need to "emerge -e" as it would take a *long* time to complete on my old laptop. :( So I went on to investigate on the problem, and found this when I used Gimp to open a SVG file (inside /usr/share/icons/Nuvola/scalable/apps):
Code:
$ gimp-2.2
/usr/lib/gimp/2.0/plug-ins/svg: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory

(gimp-2.2:11696): Gimp-Plug-In-WARNING **: gimp-2.2: plug_in_flush(): error: Broken pipe

(gimp-2.2:11696): Gimp-Plug-In-WARNING **: gimp-2.2: plug_in_flush(): error: Broken pipe

Any ideas how to fix this libbz2 problem? What packages should I emerge?
_________________
(~ cci[RR]us ~)
...Computer Networks Enthusiast...
Toys...:: MOL1500 :: SB3100 :: SCM-140 :: BEFSR41v2 ::
Toys...:: DWL-2100AP :: DI-624 :: DWL-G650 ::
Back to top
View user's profile Send private message
curtis119
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 2160
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

PostPosted: Fri Jun 24, 2005 3:25 am    Post subject: Reply with quote

bzip2
_________________
Gentoo: it's like wiping your ass with silk.
Back to top
View user's profile Send private message
cci[RR]us
n00b
n00b


Joined: 01 Jan 2005
Posts: 26
Location: Singapore

PostPosted: Fri Jun 24, 2005 3:48 am    Post subject: Reply with quote

curtis119 wrote:
bzip2

Hey man! Thanks! Now my Gnome loads with less errors after I re-emerged bzip2. :D I begin to see icons appearing on my desktop! Wow... I really missed them. Gimp is able to open all svg files but I get these error messages in xterm:
Code:
(svg:8440): Gtk-WARNING **: Error loading icon: Couldn't recognize the image file format
for file '/usr/share/icons/Nuvola/scalable/stock/stock_help.svg'

Strange isn't it? If Gimp can open them successfully, why are there still errors? :(

Any clues to what packages are still broken?
_________________
(~ cci[RR]us ~)
...Computer Networks Enthusiast...
Toys...:: MOL1500 :: SB3100 :: SCM-140 :: BEFSR41v2 ::
Toys...:: DWL-2100AP :: DI-624 :: DWL-G650 ::
Back to top
View user's profile Send private message
curtis119
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 2160
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

PostPosted: Fri Jun 24, 2005 4:22 am    Post subject: Reply with quote

Code:
revdep-rebuild

_________________
Gentoo: it's like wiping your ass with silk.
Back to top
View user's profile Send private message
cci[RR]us
n00b
n00b


Joined: 01 Jan 2005
Posts: 26
Location: Singapore

PostPosted: Sat Jun 25, 2005 3:37 am    Post subject: Reply with quote

curtis119 wrote:
Code:
revdep-rebuild

Thanks! I've tried it and got this:
Code:
# revdep-rebuild -p

Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... Nothing to rebuild

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

Dynamic linking on your system is consistent... All done.

Seems ok? I don't understand why GTK gives errors only on some SVG files which it cannot open. My Nuvola and Lush themes could not load certain SVGs (e.g. /usr/share/icons/Nuvola/scalable/stock/stock_help.svg) while some other SVGs could be loaded (e.g. /usr/share/icons/Nuvola/scalable/apps/gnome-home.svg) Fyi, I have re-emerged gnome-themes and gnome-themes-extras to ensure that they are not corrupted.

Is there a way to check the differences between the 2 SVGs to find out why one loads, why the other doesn't?

I really appreciate your help :)


PS: Is this the correct forum? Please kindly move this thread if required.
_________________
(~ cci[RR]us ~)
...Computer Networks Enthusiast...
Toys...:: MOL1500 :: SB3100 :: SCM-140 :: BEFSR41v2 ::
Toys...:: DWL-2100AP :: DI-624 :: DWL-G650 ::
Back to top
View user's profile Send private message
cci[RR]us
n00b
n00b


Joined: 01 Jan 2005
Posts: 26
Location: Singapore

PostPosted: Sun Jun 26, 2005 5:17 am    Post subject: Reply with quote

I did some reading and added "svg" to my USE flags in make.conf, re-emerged librsvg, emerged cairo... and everything seem to be back to normal :D

Whoopee! Thanks everyone for your help! Especially curtis119!!! :)
_________________
(~ cci[RR]us ~)
...Computer Networks Enthusiast...
Toys...:: MOL1500 :: SB3100 :: SCM-140 :: BEFSR41v2 ::
Toys...:: DWL-2100AP :: DI-624 :: DWL-G650 ::
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