
Hi! A package devel:languages:R:autoCRAN/R-mimi building locally is not build on OBS because: [ 40s] R-mimi.x86_64: E: explicit-lib-dependency R-bslib [ 40s] R-mimi.x86_64: E: explicit-lib-dependency R-jquerylib [ 40s] You must let rpm find the library dependencies by itself. Do not put unneeded [ 40s] explicit Requires: tags. But: R-bslib and R-jquerylib aren't ordinary libs. Both are just other R packages also build in autoCRAN. Is it possible to override this error or can this even be seen as a bug in OBS, because there is just "*lib" in the names, but no libs in the usual sense are in there? Regards Detlef -- "Wozu leben wir, wenn nicht dazu, uns gegenseitig das Leben einfacher zu machen. (George Eliot)" Dr. Detlef Steuer Helmut-Schmidt-Universität Fakultät WiSo Holstenhofweg 85 22043 Hamburg Tel: 040/6541-2819 mail: steuer@hsu-hh.de

On Mär 29 2023, Detlef Steuer wrote:
Is it possible to override this error or can this even be seen as a bug in OBS,
The error comes from rpmlint and has nothing to do with OBS. Please report it to the rpmlint maintainers. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Hello,
[ 40s] R-mimi.x86_64: E: explicit-lib-dependency R-bslib [ 40s] R-mimi.x86_64: E: explicit-lib-dependency R-jquerylib [ 40s] You must let rpm find the library dependencies by itself. Do not put unneeded [ 40s] explicit Requires: tags.
But: R-bslib and R-jquerylib aren't ordinary libs. Both are just other R packages also build in autoCRAN.
That's not really an error for rpmlint, but rather a strange package naming. Packages which aren't libs simply shouldn't start or end with lib ;-)
Is it possible to override this error or can this even be seen as a bug in OBS, because there is just "*lib" in the names, but no libs in the usual sense are in there?
Simply ignore your false positive: https://en.opensuse.org/openSUSE:Packaging_checks#Building_Packages_in_spite... Freedom in Peace -- http://www.dstoecker.eu/ (PGP key available)

Am Wed, 29 Mar 2023 14:31:22 +0200 schrieb Dirk Stöcker <opensuse@dstoecker.de>:
Hello,
[ 40s] R-mimi.x86_64: E: explicit-lib-dependency R-bslib [ 40s] R-mimi.x86_64: E: explicit-lib-dependency R-jquerylib [ 40s] You must let rpm find the library dependencies by itself. Do not put unneeded [ 40s] explicit Requires: tags.
But: R-bslib and R-jquerylib aren't ordinary libs. Both are just other R packages also build in autoCRAN.
That's not really an error for rpmlint, but rather a strange package naming. Packages which aren't libs simply shouldn't start or end with lib ;-)
Yeah, but I don't have that under control. There are ~20000 packages from a similar number of developers. Such things will happen.
Is it possible to override this error or can this even be seen as a bug in OBS, because there is just "*lib" in the names, but no libs in the usual sense are in there?
Simply ignore your false positive: https://en.opensuse.org/openSUSE:Packaging_checks#Building_Packages_in_spite...
Hmm, this is not optimal, as everything is fully automated and local builds work just fine. Can I put this in the config for the whole repo autoCRAN somehow? Detlef
Freedom in Peace
-- "Wozu leben wir, wenn nicht dazu, uns gegenseitig das Leben einfacher zu machen. (George Eliot)" Dr. Detlef Steuer Helmut-Schmidt-Universität Fakultät WiSo Holstenhofweg 85 22043 Hamburg Tel: 040/6541-2819 mail: steuer@hsu-hh.de

On Wednesday 2023-03-29 14:31, Dirk Stöcker wrote:
But: R-bslib and R-jquerylib aren't ordinary libs. Both are just other R packages also build in autoCRAN.
That's not really an error for rpmlint, but rather a strange package naming. Packages which aren't libs simply shouldn't start or end with lib ;-)
“ Whaddayamean I can't have a _program_ called "librarian"? ”

On Mär 29 2023, Jan Engelhardt wrote:
“ Whaddayamean I can't have a _program_ called "librarian"? ”
https://build.opensuse.org/package/view_file/openSUSE:Factory/librecad/libre... # We are not a library, dammit addFilter("explicit-lib-dependency librecad") -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
participants (4)
-
Andreas Schwab
-
Detlef Steuer
-
Dirk Stöcker
-
Jan Engelhardt