nim added a new comment to an issue you are following:
``
I don't remember where the files end up (under `BUILD` or `BUILDROOT`) and I 
may have mixed up the rpm variable representing rpm's last stage staging 
directory.

The basic point is that for `Requires`/`Provides` we are not calling `golist` 
explicitly, rpm is doing it in 
[generator](https://rpm.org/user_doc/dependency_generators.html) mode. And the 
filesystem tree rpm is operating in generator mode is a mirror of the target 
FHS structure, except `/` is replaced by a prefix directory.

That breaks absolute symlinks (they are already pointing to `/` not the prefix 
directory), so anything that walks the directory structure like golist needs to 
have special code for computing the correct symlink target in 
`Requires`/`Provides` generator mode. ie “the symlink is pointing to `/foo/bar` 
but I’m in prefix mode so the actual target is probably `/prefix/foo/bar/`”

This could probably be made better rpm upstream side by making 
`Requires`/`Provides` on a container that fakes the root properly, but rpm was 
designed before containers existed and getting the containing logic right is 
hard .
``

To reply, visit the link below or just reply to this email
https://pagure.io/golist/issue/12
_______________________________________________
golang mailing list -- golang@lists.fedoraproject.org
To unsubscribe send an email to golang-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/golang@lists.fedoraproject.org

Reply via email to