Summary: | app-portage/gentoolkit-0.3.3: revdep-rebuild not locating plex-media-server package for some installed files | ||
---|---|---|---|
Product: | Portage Development | Reporter: | smkbot |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | handle directory symlinks |
Description
smkbot
2017-03-05 19:12:24 UTC
It's using naive string comparison here: https://gitweb.gentoo.org/proj/gentoolkit.git/tree/pym/gentoolkit/revdep_rebuild/assign.py?h=gentoolkit-0.3.3#n25 The portageq owners command solves this problem by comparing the inode numbers of the files' parent directories. Created attachment 466538 [details, diff]
handle directory symlinks
Use a _file_matcher class to make file comparisons work regardless
of directory symlinks.
Thanks, Zac, patch looks good, merge please :) This is in the master branch: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=9ffefd66e618155ffb479cd1dbce9c3afe9a9ea4 The original issue should be solved by now. Closing. Please reopen or make a new bug if it still repeats. |