Re: [Rpm-maint] [rpm-software-management/rpm] elfdeps: Generate dependencies on non-executable shared libraries (#1393)

2020-10-10 Thread mikhailnov
It seems strange to me to default to assume-exec=false in the code of `elfdeps`, but turn on `--assume-exec` by default. If we do not want to track executability of ELFs, we would better switch the defaults in the code and allow to add `--no-assume-exec` for example if needed. -- You are

Re: [Rpm-maint] [rpm-software-management/rpm] elfdeps: Generate dependencies on non-executable shared libraries (#1393)

2020-10-10 Thread ニール・ゴンパ
@mikhailnov I'm confused by your comment? We don't specify paths at all because executables and libraries can be anywhere on the filesystem... -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] elfdeps: Generate dependencies on non-executable shared libraries (#1393)

2020-10-10 Thread mikhailnov
cc @mlschroe -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1393#issuecomment-706605037___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] elfdeps: Generate dependencies on non-executable shared libraries (#1393)

2020-10-10 Thread mikhailnov
Here you force to generate requires for non-executable files in e.g. /usr/bin or elsewhere, does it make sense? To my mind it does make sense to generate requires and provides for non executable `%_libdir/*.so*` because they are not required to be executable to work. -- You are receiving

[Rpm-maint] [rpm-software-management/rpm] elfdeps: Generate dependencies on non-executable shared libraries (#1393)

2020-10-10 Thread ニール・ゴンパ
This change adds `--assume-exec` option to `elfdeps` and splits up the file attrs for ELF executables and libraries so that libraries are not required to be executable. This patch originates from SUSE Linux, but is commonly used across the Mandriva family as well (Mageia, OpenMandriva, ROSA).