Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252817 - app-portage/gentoolkit-0.2.4.2: awk shouldn't complain about missing .la files
Summary: app-portage/gentoolkit-0.2.4.2: awk shouldn't complain about missing .la files
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 346443
  Show dependency tree
 
Reported: 2008-12-28 13:32 UTC by Toralf Förster
Modified: 2016-01-24 17:01 UTC (History)
1 user (show)

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


Attachments
revdep-rebuild_invalid_files_file.patch (revdep-rebuild_invalid_files_file.patch,2.11 KB, patch)
2009-01-25 00:03 UTC, michael@smith-li.com
Details | Diff
revdep-rebuild_invalid_files_file.patch (revdep-rebuild_invalid_files_file.patch,2.12 KB, patch)
2009-01-25 00:08 UTC, michael@smith-li.com
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2008-12-28 13:32:43 UTC
After unmergeing some sound libs and realizing that now kbattleship do not have any longer sound cabability I got thhis output:

n22 ~ # revdep-rebuild -- --ask

 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Found existing 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Found existing 2_ldpath.rr.
 * Checking dynamic linking consistency
[ 60% ] awk: cmd. line:5: fatal: cannot open file `/usr/lib/libSDL_ttf.la' for reading (No such file or directory)
[ 67% ] awk: cmd. line:5: fatal: cannot open file `/usr/lib/liblua.la' for reading (No such file or directory)
[ 72% ] awk: cmd. line:5: fatal: cannot open file `/usr/lib/libxerces-c.la' for reading (No such file or directory)
[ 100% ]

BTW shouldn't such missing result into some rebuilds ?

Reproducible: Always
Comment 1 Paul Varner (RETIRED) gentoo-dev 2008-12-29 02:39:45 UTC
I believe the files are missing due to revdep-rebuild utilizing its existing cache files, that in this case contain files that have been unmerged.

Running revdep-rebuild --ignore will prevent this.

I'll look at fixing revdep-rebuild to better handle this situation.
Comment 2 Toralf Förster gentoo-dev 2008-12-29 09:32:52 UTC
(In reply to comment #1)
> I believe the files are missing due to revdep-rebuild utilizing its existing
> cache files, that in this case contain files that have been unmerged.
That might be true, I run revdep-rebuild a lot within last daays after cleaned up my system.

Comment 3 michael@smith-li.com 2009-01-25 00:03:51 UTC
Created attachment 179613 [details, diff]
revdep-rebuild_invalid_files_file.patch

Checks that all the files in $FILES_FILE exist. If not, recreates it.
Comment 4 michael@smith-li.com 2009-01-25 00:08:11 UTC
Created attachment 179615 [details, diff]
revdep-rebuild_invalid_files_file.patch

oops, forgot some important parts, like actually reading the file. Also -f here makes more sense than -r and -s
Comment 5 Paul Varner (RETIRED) gentoo-dev 2011-05-10 23:09:12 UTC
This did not make it into gentoolkit.0.3.0.  We need to make sure that we don't introduce the same bug in the python rewrite.  Additionally, I will make sure that it gets into any patch releases of gentoolkit-0.3.0
Comment 6 Toralf Förster gentoo-dev 2012-02-29 20:16:40 UTC
seems to be fixed ?
Comment 7 Paul Varner (RETIRED) gentoo-dev 2012-02-29 21:21:35 UTC
Looking at the code, I don't think it is fixed.