Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187453 - revdep-rebuild rewrite fails to process .la files correctly
Summary: revdep-rebuild rewrite fails to process .la files correctly
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 170220
  Show dependency tree
 
Reported: 2007-08-02 02:34 UTC by Paul Varner (RETIRED)
Modified: 2007-09-13 15:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Varner (RETIRED) gentoo-dev 2007-08-02 02:34:58 UTC
The new revdep-rebuild fails to process .la files correctly. This is due to the following awk command not printing the listed dependencies inside of the file.

awk -F"[=']" '/^dependency_libs/{
        gsub("^-[^[:space:]]*", "", $2);
        gsub("[[:space:]]-[^[:space:]]*", "", $2);
        print $2
}' "$target_file"
Comment 1 michael@smith-li.com 2007-08-06 14:30:18 UTC
Yes, all the $2 should be $3. Sorry about that, I could've sworn I fixed it already.
Comment 2 Paul Varner (RETIRED) gentoo-dev 2007-08-06 15:20:48 UTC
$ svn commit -m "Fix processing of .la files (Bug #187453)"
Sending        ChangeLog
Sending        src/revdep-rebuild/revdep-rebuild-rewrite
Transmitting file data ..
Committed revision 427.
Comment 3 Paul Varner (RETIRED) gentoo-dev 2007-09-13 15:51:29 UTC
Released in gentoolkit-0.2.4_pre7