Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 112735 Details for
Bug 169973
revdep-rebuild should also detect version information missing
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
revdep-rebuild patch
revdep-rebuild.169973.patch (text/plain), 1.46 KB, created by
Paul Varner (RETIRED)
on 2007-03-09 18:23:42 UTC
(
hide
)
Description:
revdep-rebuild patch
Filename:
MIME Type:
Creator:
Paul Varner (RETIRED)
Created:
2007-03-09 18:23:42 UTC
Size:
1.46 KB
patch
obsolete
>Index: revdep-rebuild >=================================================================== >--- revdep-rebuild (revision 351) >+++ revdep-rebuild (working copy) >@@ -430,10 +430,11 @@ > set_trap "$LLIST.3_rebuild" > LD_MASK="\\( $(echo "$LD_LIBRARY_MASK" | sed 's/\./\\./g;s/ / \\| /g') \\)" > echo -n >$LLIST.3_rebuild >+ echo -n >$LLIST.3_missing > cat $LIST.1_files | egrep -v '*\.la$' | while read FILE ; do > # Note: double checking seems to be faster than single > # with complete path (special add ons are rare). >- if ldd "$FILE" 2>/dev/null | grep -v "$LD_MASK" | $SONAME_GREP -q "$SONAME_SEARCH" ; then >+ if ldd -d -r "$FILE" 2>>$LLIST.3_missing | grep -v "$LD_MASK" | $SONAME_GREP -q "$SONAME_SEARCH" ; then > if $SEARCH_BROKEN && $FULL_LD_PATH ; then > if LD_LIBRARY_PATH="$COMPLETE_LD_LIBRARY_PATH" ldd "$FILE" 2>/dev/null | grep -v "$LD_MASK" | $SONAME_GREP -q "$SONAME_SEARCH" ; then > # FIX: I hate duplicating code >@@ -480,6 +481,12 @@ > fi > done > if $SEARCH_BROKEN ; then >+ # Look for missing version >+ for FILE in $(grep "no version information available" $LLIST.3_missing | awk '{print $NF}' | sed 's/[()]//g' | sort -u) ; do >+ echo "obj $FILE" >>$LLIST.3_rebuild >+ echo_v " broken $FILE (no version information available)" >+ done >+ # Look for broken .la files > cat $LIST.1_files | egrep '*\.la$' | while read FILE ; do > for depend in $(grep '^dependency_libs' $FILE | awk -F'=' '{print $2}' | sed "s/'//g") ; do > [ ${depend:0:1} != '/' ] && continue
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 169973
: 112735