Summary: | revdep-rebuild fails to rebuild elf files if the ldpath is too long | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | esigra, gentoo.wayne, johnherdy |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 346443 | ||
Attachments: |
2_ldpath.rr from tinderbox
My obese 2_ldpath.rr |
Description
Diego Elio Pettenò (RETIRED)
2009-08-01 16:33:55 UTC
xargs -d : --arg-file=2_ldpath.rr scanelf -R -E ET_DYN -F '%F' | xargs -n1 dirname | sort -u > 2_ldpath.rr.filtered.lines with this I filtered down the list so that it can actually be loaded; probably revdep-rebuild could use something along those lines to reduce the amount of paths that are added in search... There is also the --no-ld-path option. That does not append anything to the ldpath and will give false positives for libraries in non-standard places. I don't know if that is appropriate for the tinderbox or not. Also, can you attach 2_ldpath.rr from the tinderbox, so that I have something to play with? Created attachment 202011 [details]
2_ldpath.rr from tinderbox
Here comes the file since I need to run revdep-rebuild again.
I could probably ignore ldpath and just rebuild a bunch of software that way but I don't really know whether that's a very good idea.
Same problem here on a regular user gentoo box (not a tinderbox-like system at all). Diego's filter works though it takes forever to run. Attaching my obese 2_ldpath.rr. Created attachment 255281 [details]
My obese 2_ldpath.rr
Adding /usr/lib/debug/* to ${SEARCH_DIRS_MASK} trims enough directories for revdep-rebuild to work again for me. I guess that these are not strictly needed for a thorough library dependency check. Might be relevant to add to the default set of skipped directories? No fixes made it into gentoolkit-0.3.0. Let's try to see if this can be fixed once and for all with the python rewrite. *** Bug 187644 has been marked as a duplicate of this bug. *** |