Summary: | app-portage/gentoolkit-0.3.0.6-r2: revdep-rebuild --library foo|foo2 segfaults | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Pacho Ramos <pacho> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | bash -x output |
Description
Pacho Ramos
2012-05-20 10:40:32 UTC
revdep-rebuild is a bash script. So run bash -x revdep-rebuild and we should be able to see what executable is having the segmentation fault. The --library argument is passed to egrep, so to do multiple libraries, you need a valid extended regular expression. The syntax to do what you are trying to do is: revdep-rebuild.sh --library '/usr/lib64/libicu(data|io).so.48' Created attachment 312483 [details]
bash -x output
(In reply to comment #1) > revdep-rebuild is a bash script. So run bash -x revdep-rebuild and we > should be able to see what executable is having the segmentation fault. > > The --library argument is passed to egrep, so to do multiple libraries, you > need a valid extended regular expression. The syntax to do what you are > trying to do is: > > revdep-rebuild.sh --library '/usr/lib64/libicu(data|io).so.48' Thanks a lot for the info :) It looks like the segmentation fault is coming from 'einfo'. You can verify this by doing the following: source /etc/init.d/functions.sh einfo "Test" On my system /etc/init.d/functions.sh is owned by sys-apps/openrc (In reply to comment #4) > It looks like the segmentation fault is coming from 'einfo'. You can verify > this by doing the following: > > source /etc/init.d/functions.sh > einfo "Test" > It works for me (and for every ebuild using einfo): $ einfo "Test" * Test $ echo $? 0 > On my system /etc/init.d/functions.sh is owned by sys-apps/openrc My openrc is 0.9.8.4 I'm stumped on how to further troubleshoot this. Based off of the bash -x output it is einfo that is having the segmentation fault. It works fine on my system and you're the only person to report this kind of error. I see the following in dmesg when running it: libicuio.so.49.[8849]: segfault at 1 ip 0000000000000001 sp 00007fff545677a8 error 14 in libicuio.so.49.1.1[32f1800000+b000] |