Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libexpat 2.0.0 ABI breakage
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4 ... 9, 10, 11  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
moesasji
Apprentice
Apprentice


Joined: 10 May 2005
Posts: 263

PostPosted: Sat Apr 01, 2006 8:47 pm    Post subject: Reply with quote

@Haven: The ebuild for expat instruct to first run: "revdep-rebuild --library libexpat.so.0"
That should rebuild all packages that depend on this library.
This library has been removed during the expat upgrade breaking a lot of stuf.
Note that there are a lot of dependent packages, so be prepared for a long wait.

ps) This upgrade hit me pretty badly as almost 30% of the packages on my system needed to be rebuild before I could use them. As such an upgrade guide will be extremely important before this goes into stable. However, after following the advice of the ebuild everything works fine again on my system. If you urgently need things that now don't start you could make a symlink to the new libexpat.so.?? file as explained earlier in this topic. But remember to remove that one later on.


Last edited by moesasji on Sat Apr 01, 2006 8:59 pm; edited 3 times in total
Back to top
View user's profile Send private message
laurelin
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2005
Posts: 84
Location: Germany, Old Europe

PostPosted: Sat Apr 01, 2006 8:48 pm    Post subject: Reply with quote

StifflerStealth wrote:
Right, which is why you all should use the script I posted on the previous page. ;) Run, emerge --oneshot qt kdelibs, and then run that script to recompile kde. :) You can take the output from revdep-rebuild and manually emerge those items. :) It's a whole lot safer. ;) I hope revdep rebuild get's fixed soon.

EDIT: When you recompile KDE stuff whether you use that script or revdep-rebuild, it's best to exit completely out of KDE. I found this out the hard way. ;)

Cheers.
Yes, you may be right. No doubt about that.
But I am not using kde, I'm using Gnome and all that's related to KDE is k3b.
What do I have to do to solve the problem? I got the problem more or less because of revdep-rebuild (which I shan't use... *g*) does not find avifile.
If I try to start gdm at system-startup, the message
Code:
$ gdm
gdm: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory

is displayed. So what do I have to do? USe the script StifflerStealth did post? I do not have the harddiskspace to emerge the whole of kde. Gnome is enough for me.
Do I have to follow your guidance, moesasji?


edit: corrected misspelling in the message given here appearing on my screen.


Last edited by laurelin on Sat Apr 01, 2006 8:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
moesasji
Apprentice
Apprentice


Joined: 10 May 2005
Posts: 263

PostPosted: Sat Apr 01, 2006 8:53 pm    Post subject: Reply with quote

I prefered to start with the hint given by the ebuild and that worked for me.
However I am not using KDE on my system. Just packages such as Kate, and K3B.
Back to top
View user's profile Send private message
haven
Tux's lil' helper
Tux's lil' helper


Joined: 19 Nov 2003
Posts: 141
Location: Belfast, Uk

PostPosted: Sat Apr 01, 2006 9:05 pm    Post subject: Reply with quote

Hi moesasji, yeah I did a full revdep-rebuild. Unfortunately as pointed out by someone else previously not all apps are added to the world file and so not all apps that need recompiling get recompiled, kicker was one of the important ones for me that was missed.

The issue that hit me most was that expat added:

/usr/lib64/libexpat.so -> /usr/lib64/libexpat.so.1.5.0
/usr/lib64/libexpat.so.1 -> /usr/lib64/libexpat.so.1.5.0

For some reason:
/usr/lib64/libexpat.so.0 -> /usr/lib64/libexpat.so.1.5.0
was not added. Once I symlinked this in myself all was well.
Back to top
View user's profile Send private message
laurelin
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2005
Posts: 84
Location: Germany, Old Europe

PostPosted: Sat Apr 01, 2006 9:13 pm    Post subject: Reply with quote

I did what moesasji suggested, but revdep-rebuild could not start reemerging, because he could not find:

Code:
emerge: there are no ebuilds to satisfy "=media-video/avifile-0.7.41.20041001-r1".

How can I fix that and have revdep-rebuild running?
I know that avifile was banned from portage. What's the replacement for it?


Last edited by laurelin on Sat Apr 01, 2006 9:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
moesasji
Apprentice
Apprentice


Joined: 10 May 2005
Posts: 263

PostPosted: Sat Apr 01, 2006 9:17 pm    Post subject: Reply with quote

1) Avifile has been removed from portage a couple of months ago, so that makes sense.

2) I think simply running "emerge --resume --skipfirst" should work as this would skip the avifile.
But I don't know how you would get rid of that avifile (maybe emerge -C avifile after everything is build??).
Back to top
View user's profile Send private message
laurelin
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2005
Posts: 84
Location: Germany, Old Europe

PostPosted: Sat Apr 01, 2006 9:38 pm    Post subject: Reply with quote

Thanks, moeasasji, but no, it wouldn't. Since revdep-rebuild is not emerge, I can't skip the first ebuild. When revdep-rebuild finds one package not in the portage tree, it exits with 'could not find...blabla'.
Since it isn't a blocking ebuild, avifile is missing and revdep exits.

message:
Code:
failed to resolve package order.
Will merge in "random" order!

I think that's why it doesn't work that way.

And below that:
Code:
!!! Warning: the resume list contains packages that no longer available to be emerged. Please restart/continue the merge operation manually


(sorry for not giving all the messages given, but I have to copy by typing it all, since I'm running the forum on my windows-machine and fixing the problem on my real gentoo computer system.)
Back to top
View user's profile Send private message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Sat Apr 01, 2006 10:12 pm    Post subject: Reply with quote

But revdep-rebuild calls emerge. And prints the exact command line, before doing so. If all else fails, just copy that line and remove the offending package from it.
Back to top
View user's profile Send private message
laurelin
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2005
Posts: 84
Location: Germany, Old Europe

PostPosted: Sat Apr 01, 2006 10:18 pm    Post subject: Reply with quote

You are right, UncleOwen. I will try that in a few hours - tired and lot of work to do. Thanks for your patience everybody.
Back soon...
Back to top
View user's profile Send private message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Sat Apr 01, 2006 10:20 pm    Post subject: Reply with quote

Fpr gnome, I guess it would be:
Code:
emerge --oneshot `ls -d /var/db/pkg/gnome-base/*-2.12* | sed -e "s/\/var\/db\/pkg\//\=/g"` -a
Right? Is that the right version number? I don't use gnome, so I don't know if older packages are there or not. :oops:

See if this fixes your errors, laurelin.

Cheers.
_________________
Nothing to read in this sig. Move along.
Back to top
View user's profile Send private message
fraterm
n00b
n00b


Joined: 23 Apr 2002
Posts: 54
Location: Pflugerville, TX

PostPosted: Sat Apr 01, 2006 10:52 pm    Post subject: ImageMagick Failure Reply with quote

I think there is a problem relating to perl, if imagemagick should happen to fail out with the following message:
Code:

...
/bin/sh ./libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -Wall -pthread  -lfreetype -lz -o coders/wmf.la -rpath /usr/lib64/ImageMagick-6.2.6/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_wmf_la-wmf.lo magick/libMagick.la wand/libWand.la -lwmflite  -lm
 * No Make or Build file detect...
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: media-gfx/imagemagick-6.2.6.0 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  imagemagick-6.2.6.0.ebuild, line 90:   Called perl-app_src_compile
  perl-app.eclass, line 55:   Called die



It appears that in that part of the ebuild
Code:

 87     if use perl ; then
 88         cd PerlMagick
 89         perl-app_src_prep
 90         perl-app_src_compile
 91     fi



I suppose it could be that ImageMagick ebuild itself is busted, but hrrm... arrrgh... phooey.
Gonna be lots of healing from this libxpat breaking... to do.
_________________
What, me hurry?

Sitey sites:
http://fraterm.deviantart.com
http://www.approachzero.net
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 Apr 01, 2006 11:01 pm    Post subject: Reply with quote

laurelin wrote:
I did what moesasji suggested, but revdep-rebuild could not start reemerging, because he could not find:

Code:
emerge: there are no ebuilds to satisfy "=media-video/avifile-0.7.41.20041001-r1".

How can I fix that and have revdep-rebuild running?
I know that avifile was banned from portage. What's the replacement for it?


since you have avifile on your system you can find it's ebuild in /var/db/packages/....

copy it to your overlay run ebuild *ebuild digest on it then you should be able to rebuild the package . So should revdep.

If you think you need it do that , maybe quickpkg avifile as well to make a local binary.

If it turns out you dont need , unmerge as suggested above.

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
djanderson
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2004
Posts: 98
Location: Boulder, CO

PostPosted: Sun Apr 02, 2006 3:05 am    Post subject: world of trouble Reply with quote

well, I think I officially have it worse than all you guys :P

After upgrading libexpat, lots of programs starting freezing, so I restarted. Starting X hard-froze my computer everytime... but I eventually read to try revdep-rebuild. That of course failed, but not after rebuilding 10 of or so of the 150 or so packages I need to rebuild.

Then, totally out of the blue, I ran out of diskspace on my root partition. It's a 7.5 gig partition, and boot and home are on different partitions. Is that normal? Anyways... that's another topic, but I was under the impression 7 gigs was enough for a root partition. In a little fit of desperation I ran emerge dist-clean, thinking it would give me some more space. It didn't, and not sure but it probably created more problems. I finally just cleaned out dist-files directory and moved it onto my home partition to give me some room to work.

Then I restarted and.... I can't login. It gives me a username prompt but no password prompt. I was using a modified PAM because I have a fingerprint reader.

OK long story but, this has taken me days and my head is exhausted... so THEN I installed ubuntu on an empty partition (i could tell this wasn't going to be quick) and chrooted into gentoo. I have managed to rebuild quite a few packages, but every 3 or 4 won't emerge, because /usr/bin/m4 doesn't have permission to access something. That doesn't make sense since I'm logged in as root. (and yes I've rebuild everything that has to do with autoconf, automake, m4, etc).

I decided it might be a PAM issue and finally decided to rebuid my bioapi/pam setup. That failed too because of permission problems. I get the error:

Code:
Installing BIOAPI ...

Module Directory Services (MDS) ...
ACCESS DENIED  mkdir:     /var/bioapi
/bin/mkdir: cannot create directory `/var/bioapi': Permission denied
ACCESS DENIED  mkdir:     /var/bioapi/BioAPIFFDB
ACCESS DENIED  open_wr:   /usr/lib/libbioapi_mds300.so
ACCESS DENIED  mkdir:     /var/bioapi
/bin/mkdir: cannot create directory `/var/bioapi': Permission denied
MDS install failed (error 15).
bioapi100...
Could not find file: /usr/lib/libbioapi100.sobioapi_dummy100...
Could not find file: /usr/lib/libbioapi_dummy100.sopwbsp...
Could not find file: /usr/lib/libpwbsp.soDone.
make[3]: Leaving directory `/var/tmp/portage/bioapi-1.2.2/work/bioapi-1.2.2'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/bioapi-1.2.2/work/bioapi-1.2.2'
make[1]: Leaving directory `/var/tmp/portage/bioapi-1.2.2/work/bioapi-1.2.2'
>>> Completed installing bioapi-1.2.2 into /var/tmp/portage/bioapi-1.2.2/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/var/log/sandbox/sandbox-sys-auth_-_bioapi-1.2.2-10150.log"

mkdir:     /var/bioapi
mkdir:     /var/bioapi/BioAPIFFDB
open_wr:   /usr/lib/libbioapi_mds300.so
mkdir:     /var/bioapi
--------------------------------------------------------------------------------


I'm at a total loss of what to do. Other programs emerged fine so I know I have the correct permissions. There's absolutely no reason for that to not let me write that directory... plus after I saw that error message I confirmed that I could manually create it.

Does anybody have ANY idea what I can possibly do to get gentoo back? This libexpat thing REAAAAAALLY screwed me over!

Thanks in advance,
-Doug
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3432
Location: Gainesville, Florida

PostPosted: Sun Apr 02, 2006 4:45 am    Post subject: Reply with quote

The reason your / partition has run out of space is most likely that /var/tmp/portage has grow drastically with failed emerges. assuming you have /var on /, like a normal Gentoo install would, do:

rm -rf /var/tmp/portage/*

to remove all the left over emerge stuff (failed emerges can be huge and quickly leave several GB of work files behind).

You could consider moving your /usr/portage/distfiles directory to another partition. Just copy it, and edit /etc/make.conf to point it to the new location As an example (assuming /var is on it's own partition):

cp -a /usr/portage/distfiles/ /var

Then edit /etc/make.conf by adding the line:
DISTDIR=/var/distfiles

The actual location could be anywhere. When you're sure it works, do:
rm -rf /usr/portage/distfiles/*

This is usually good for a GB ot two. Make a practice of running rm -rf /var/tmp/portage/* once in a while. If emerge runs out of room to work, all kinds of failures can happen. The error:

ACCESS DENIED mkdir: /var/bioapi
/bin/mkdir: cannot create directory `/var/bioapi': Permission denied

might be caused by no room left- Maybe Gentree or somebody else knows for sure. Anyway, check the size of /var/tmp/portage- I'll bet it's very large, and the contents are only needed while actively emerging, or when fixing an emerge work file (advanced topic).
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.7.2 USE=experimental python3_11


Last edited by wrc1944 on Sun Apr 02, 2006 9:25 am; edited 1 time in total
Back to top
View user's profile Send private message
CoffeeBuzz
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 269
Location: Canada Eh.

PostPosted: Sun Apr 02, 2006 5:07 am    Post subject: Reply with quote

Anyone getting these on some packages during revdep-rebuild?

Code:
...
     24059:      impossible error - can't find 'libm.so.6'
     24059:      impossible error - can't find 'libc.so.6'
     24059:      impossible error - can't find 'libgcc_s.so.1'
     24059:      impossible error - can't find 'libpng.so.3'
     24059:      impossible error - can't find 'libz.so.1'
     24059:      impossible error - can't find 'libXrender.so.1'
     24059:      impossible error - can't find 'libXext.so.6'
     24059:      impossible error - can't find 'libX11.so.6'
     24059:      impossible error - can't find 'libSM.so.6'
     24059:      impossible error - can't find 'libICE.so.6'
     24059:      impossible error - can't find 'libdl.so.2'
     24059:      impossible error - can't find 'libpthread.so.0'
     24059:      impossible error - can't find 'libstdc++.so.6'
     24059:      impossible error - can't find 'libm.so.6'
     24059:      impossible error - can't find 'libgcc_s.so.1'
...


theres about a million of them that fly by from time to time. compile doesnt break however (currently happening with kdebase, happened with kdelibs too)
_________________
HP Pavilion zd7260us
Xgl Overlay: http://svn.xgl-coffee.org/xgl-coffee/trunk
Xgl Forums: http://forums.xgl-coffee.org
Back to top
View user's profile Send private message
djanderson
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2004
Posts: 98
Location: Boulder, CO

PostPosted: Sun Apr 02, 2006 5:25 am    Post subject: Reply with quote

Thanks for your reply wrc1944... unfortunately it's not a diskspace problem, as I had already cleaned out /var/tmp/portage as well as moved DISTFILES onto another partition with 40 gigs on it. Now "df" is reporting 70% used on my 7gig root partition, which should be MORE than enough to create /var/bioapi :)

Right now I'm in the middle of re-emerging PAM. It might be unnecessary but I ran emerge -De pam. Reemerging gcc and glibc might be a little extreme, but as it stands I can only access gentoo through a chroot, which is just... not good.

It's reemerging 44 packages, and the first 17 have emerged without a single flaw in my current chroot environment. That's why it perplexes me so much that certain files are complaining about permission problems. For instance, gtk+ doesn't even get past autoconf:
Code:
 * Running aclocal -I . ...                                               [ ok ]
 * Running autoconf ...                                                   [ !! ]
 * Failed Running autoconf !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/gtk+-2.8.13/temp/autoconf-11533.out


!!! ERROR: x11-libs/gtk+-2.8.13 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_unpack
  ebuild.sh, line 697:   Called src_unpack
  gtk+-2.8.13.ebuild, line 94:   Called eautoreconf
  autotools.eclass, line 66:   Called eautoconf
  autotools.eclass, line 142:   Called autotools_run_tool 'autoconf'
  autotools.eclass, line 181:   Called die

!!! Failed Running autoconf !
!!! If you need support, post the topmost build error, and the call stack if relevant.
And the contents of the .out clearly show it is some kind of permissions problem:
Code:


***** autoconf *****

configure.in:150: /usr/bin/m4: ERROR: Cannot create temporary file for diversion: Permission denied
autom4te-2.59: /usr/bin/m4 failed with exit status: 1

I'm hoping that once I reemerge pam I can reset my root password and su - in. Hopefully that will fix the strange permission problems... we'll see.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3432
Location: Gainesville, Florida

PostPosted: Sun Apr 02, 2006 5:48 am    Post subject: Reply with quote

CoffeeBuzz,
I was just getting ready to post on this- thought I was the only one! :roll:
I've been getting these too for about 2 days. Sometimes kdebase and some other kde packages fail to compile, and sometimes not. This all started for me after I did an upgrade of my nesl247 Gentoo install guide boxes (3 different systems, all gcc-4.1, etc), that were all running perfectly before.

I think it has something to do with qt-3.3.6, the expat problem, revdep-rebuild , or all of the above in weird combinations. I've spent two days with this nightmare, and have finally got all 3 systems pretty much completely rebuilt with qt-3.3.6 and expat 2. It was quite an ordeal with revdep-rebuild, and manual --oneshot rebuilds failing and succeeding randomly. God what a mess this has been. :?

I've googled for hours searching for references to this "impossible error - can't find 'lib" mystery, but found nothing at all. What I don't get is why does one time kdebase fail while spewing out all these lines, and another time complete the compile? I can't believe we are the only two experiencing this.

Perhaps someone more knowledgable can tell us if this is related to what I mentioned above- I just can't track the source down as yet.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.7.2 USE=experimental python3_11
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


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

PostPosted: Sun Apr 02, 2006 9:11 am    Post subject: Re: world of trouble Reply with quote

djanderson wrote:
well, I think I officially have it worse than all you guys :P

After upgrading libexpat, lots of programs starting freezing, so I restarted.

first error . This is not windows. If you have a running system and a problem try to fix it , not reboot. Anything loaded and running (like X) will keep running even if you've blown out the files on disk. In my experience you can safely rebuild X from within X and restart if all is well.

Obviously if you're rebuilding packages like KDE that try to control lots of low-level services in a windows-like WM=OS approach you'd better shut down kde first and work from console or a true WM like xfce flux etc.

Quote:


Starting X hard-froze my computer everytime...
unlikely , it probably stuffed one console. Try alt-F2 login as root and see if you can clean up the stalled processes.

Quote:

but I eventually read to try revdep-rebuild. That of course failed, but not after rebuilding 10 of or so of the 150 or so packages I need to rebuild.

The forums have loads of posts about revdep's "limitations". Use -p and dont let it go ahead unless you're happy with what it suggests. I let it suggest only and then fix by hand . If it says 150 packages I say WTF?! and find out what the hell is going on before going any further.

Quote:

Then, totally out of the blue, I ran out of diskspace on my root partition. It's a 7.5 gig partition, and boot and home are on different partitions. Is that normal?

Out of the blue heh? Then you clearly aren't in the habit of monitoring disk space.
7 gigs is plently for root sure , but not for root and portage if you are attacking mega builds like all off kde and openoffice. The latter alone needs something like 4.5G !! of work space if you compile form source. I like to set up separate space for portage, distfiles , tmpdir, logs etc. all on one partition. Thats currently 6G which is fine for all but openoffice from source.

Also if you strip your home and portage out of / then you can get root partition down under 4.3G . This means you can easily burn a image to dvd (using a live CD so its not in use.) or clone it to a backup partition.

That way when the shit hits the fan you just reboot to you clone partition or restore from DVD and avoid doing what ever it was that borked you system.

You really dont need to go through the sort of hell you have here recovering a badly damages system from within. Use backups.


Quote:

In a little fit of desperation I ran emerge dist-clean, thinking it would give me some more space. It didn't, and not sure but it probably created more problems.

There's the root of your problem here. You are charging in, using more and more power (hence potencially destructive) tools rather than pausing for reflection and fixing what is wrong. You started with a reletively minor screw up because of expat and made it an order of magnitude worse at every turn.
Quote:


I finally just cleaned out dist-files directory and moved it onto my home partition to give me some room to work.

Then I restarted and.... I can't login. It gives me a username prompt but no password prompt. I was using a modified PAM because I have a fingerprint reader.

OK long story but, this has taken me days and my head is exhausted... so THEN I installed ubuntu on an empty partition (i could tell this wasn't going to be quick) and chrooted into gentoo. I have managed to rebuild quite a few packages, but every 3 or 4 won't emerge, because /usr/bin/m4 doesn't have permission to access something. That doesn't make sense since I'm logged in as root. (and yes I've rebuild everything that has to do with autoconf, automake, m4, etc).

I decided it might be a PAM issue and finally decided to rebuid my bioapi/pam setup. That failed too because of permission problems. I get the error:

Code:
Installing BIOAPI ...

Module Directory Services (MDS) ...
ACCESS DENIED  mkdir:     /var/bioapi
/bin/mkdir: cannot create directory `/var/bioapi': Permission denied
ACCESS DENIED  mkdir:     /var/bioapi/BioAPIFFDB
ACCESS DENIED  open_wr:   /usr/lib/libbioapi_mds300.so
ACCESS DENIED  mkdir:     /var/bioapi
/bin/mkdir: cannot create directory `/var/bioapi': Permission denied
MDS install failed (error 15).
bioapi100...
Could not find file: /usr/lib/libbioapi100.sobioapi_dummy100...
Could not find file: /usr/lib/libbioapi_dummy100.sopwbsp...
Could not find file: /usr/lib/libpwbsp.soDone.
make[3]: Leaving directory `/var/tmp/portage/bioapi-1.2.2/work/bioapi-1.2.2'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/bioapi-1.2.2/work/bioapi-1.2.2'
make[1]: Leaving directory `/var/tmp/portage/bioapi-1.2.2/work/bioapi-1.2.2'
>>> Completed installing bioapi-1.2.2 into /var/tmp/portage/bioapi-1.2.2/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/var/log/sandbox/sandbox-sys-auth_-_bioapi-1.2.2-10150.log"

mkdir:     /var/bioapi
mkdir:     /var/bioapi/BioAPIFFDB
open_wr:   /usr/lib/libbioapi_mds300.so
mkdir:     /var/bioapi
--------------------------------------------------------------------------------


I'm at a total loss of what to do. Other programs emerged fine so I know I have the correct permissions. There's absolutely no reason for that to not let me write that directory... plus after I saw that error message I confirmed that I could manually create it.
absolutely no reason ??? There obviously is a reason, you're just not seeing what it is. Read the output , its the sandbox mechanism which is blocking the mkdir not file permissions. The ebuild is trying to alter directories outside of its workspace. That an issue with the ebuild.

Quote:

Does anybody have ANY idea what I can possibly do to get gentoo back? This libexpat thing REAAAAAALLY screwed me over!
short answer: reinstall . You will eventually get it back if you like a challenge but it will be a lot quicker in your time and cpu time to do a clean installaition.
Quote:

Thanks in advance,
-Doug



OK , sorry if I've been a bit blunt but to a large extent you screwed youself over in the way you dealt with this expat issue . It IS a mess but should not have left your system in bits. You have to carry the can for most of that yourself.

I hope that the specific suggestions help you avoid a similar happening and give you some ideas like backing up root which can save you days of time with issues like this.

It sound like you have a large disk so you could try separating portage out to it's own partition and then start a fresh install on a new 4.3G partition as I suggested, keep the current broken one intact so you can mount it as a reference for any configs etc.

A fresh start can often be an opertunity to do things better with the benefit of experience.

My first gentoo lasted about 6 mths. I'm still using the second.

HTH 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
laurelin
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2005
Posts: 84
Location: Germany, Old Europe

PostPosted: Sun Apr 02, 2006 9:39 am    Post subject: Re: world of trouble Reply with quote

Gentree wrote:
My first gentoo lasted about 6 mths. I'm still using the second.
Me too, and I'm still new at Gentoo (using it since October 2005). But even I am able to do a lot of things myself. I'm not good at scripting, so I check the forum quite frequently. Emerge itself is able to fix a lot of issues by simply reemerging packages.
The Forum here is unbelievable and almost every error is fixed here if you use the search-button or - like in my place - ask for help. See above for my portage-problem...

Back to it then:
Gentree wrote:
since you have avifile on your system you can find it's ebuild in /var/db/packages/....
I have deleted my portage-tree out of hysterical world-domintaion urges... *g* But maybe I can find it...

Gentree wrote:
copy it to your overlay run ebuild *ebuild digest on it then you should be able to rebuild the package . So should revdep.
I will try this first and if it's not working use revdep to give me the filelist to emerge and check it manually like UncleOwen and moeasasji suggested.

Gentree wrote:
If you think you need it do that , maybe quickpkg avifile as well to make a local binary.
If it turns out you dont need , unmerge as suggested above.
I would like to get rid of avifile, so maybe I can waive it.
I have to work right now, I will get to my problem in a few hours time.
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


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

PostPosted: Sun Apr 02, 2006 9:54 am    Post subject: Reply with quote

you can probably bin avifile safely but ebuilds disappearing from portage is a common problem and most ppl dont realise that portage keeps a copy anyway , independant of the portage tree.

for ex. if you have removed your tree you will still find the ebuild as I suggested until you do emerge -C avifile.

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
laurelin
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2005
Posts: 84
Location: Germany, Old Europe

PostPosted: Sun Apr 02, 2006 11:22 am    Post subject: Reply with quote

okay, Gentree, I will do that.
I prefer the cleanest and less hacking way to get rid of my problem. So I try to get my lib-problem solved and remove avifile later.


Some minor issue: I will need to cut text from one console and paste it to other. Is there a doku on gentoo how to do that? Since you can't teach me the very basics about console-working in this thread.
Is there a man-page about that? I searched for some, but didn't find anything useful. Remember: I'm working on three or four consoles at a time (crtl-alt-f1 to f4) and not under gnome, since it is not working.

And last question: Is there a smooth and small window-manager to use for easy maintenance like fluxbox or something? KDE is much to heavy to use in such cases and sometimes I screw up something with gnome and it does not start till I fix it... 8) I like to work under consoles, but sometimes two windows are easier to use than two seperate consoles.
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Sun Apr 02, 2006 11:28 am    Post subject: Reply with quote

I think you could use screen for copying & pasting, but you should spawn different screens for this to work.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
4nykey
Apprentice
Apprentice


Joined: 11 Feb 2004
Posts: 176

PostPosted: Sun Apr 02, 2006 12:06 pm    Post subject: Reply with quote

Hm, I think the thing with revdep-rebuild, is that it checks only broken libs. So if some bin links directly to lexpat, it won't catch it.

I, for one, reemerged pango, fontconfig, cairo, wxGTK, neon, subversion, XML-Parser and mesa straight away.
This made revdep more or less happy (well, except crapload of kde libs).
Then I ran
Code:
find /usr/bin /usr/sbin -maxdepth 1 -type f -executable |
 while read i; do ldd $i 2>/dev/null | grep -q "expat.so.0" && qfile $i; done | tee /tmp/BROKEN

cat /tmp/BROKEN | cut -d' ' -f1 | sort -u

that's another 60+ packages, mostly gnome stuff ('qfile' is part of portage-utils, I believe, equery or sth similar should do as well)
Makes you wonder if '--as-needed' would save you from this mess...

I didn't touch kde yet, as there's 3.5.2 update coming on, so it'll sort 'em hopefully.


Last edited by 4nykey on Sun Apr 02, 2006 12:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Sun Apr 02, 2006 12:18 pm    Post subject: Reply with quote

Well your script will make you emerge more than you'll need to, as ldd reports incorrectly the linked libs (in fact it is not incorrect it simply resolves the dependacies of the dependacies). In fact this is corrected and taken care of in the latest revdep-rebuild (I don't know from which version upwards).
The second thing is - I have had only 25-30 packages broken - from around 1300 in world (--as-needed again saves the day).
I don't even need to rebuild qt and kdelibs (although my system is predominantly gnome,xfce,e-17 - I have some qt apps, but none was broken).
So long live --as-needed.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
4nykey
Apprentice
Apprentice


Joined: 11 Feb 2004
Posts: 176

PostPosted: Sun Apr 02, 2006 12:30 pm    Post subject: Reply with quote

Dunno, as I said revdep-rebuild says I'm ok, ie libs should be fine (except kde, which isn't crucial for now). So it's hardly deps of the deps situation now? I mean if gnome apps says 'error while loading shared libraries: libexpat.so.0', it's linked against libexpat directly, or I'm missing something?

/edit
Ah, nevermind, I just realised I have stale revdep-rebuild binary in local/bin :oops:
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 ... 9, 10, 11  Next
Page 3 of 11

 
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