FS#78761 - [perl][db][db-5.3] Depend on only one db
Attached to Project:
Arch Linux
Opened by loqs (loqs) - Sunday, 11 June 2023, 15:03 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:15 GMT
Opened by loqs (loqs) - Sunday, 11 June 2023, 15:03 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:15 GMT
|
Details
Description:
perl 5.36.1-2 added db to depends without removing db5.3 which it was switched to due to licensing issues when db was updated to an AGPL3 licensed release. I believe the changes in the attached diffs will allow building perl with db-5.3 without db. [1] Creates library symlinks in /usr/lib/db5.3/ it also removes static libs which were left in /usr/lib. [2] Adds /usr/lib/db5.3/ to Configure's library search path so it can find -ldb. Also add matching include path /usr/include/db5.3. Additional info: * perl 5.36.1-2 * db5.3 5.3.28-2 * db 6.2.32-1 [1] PKGBUILD.db6.3.diff [2] PKGBUILD.perl.diff |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:15 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/perl/issues/2
Saturday, 25 November 2023, 20:15 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/perl/issues/2
Is there a reason to disable static libs? Iirc there were some pkgs using the static version.
Good spot
> Is there a reason to disable static libs? Iirc there were some pkgs using the static version.
Symmetry with the db package which does not provide it and it did not when that package was on 5.3. I just checked on the web interface all the packages depending on db5.3:
389-ds-base libdb-5.3.so
bitcoin-daemon libdb_cxx-5.3.so
bitcoin-qt libdb_cxx-5.3.so
bogofilter libdb-5.3.so
inn libdb-5.3.so
jack2 libdb-5.3.so
jnettop libdb-5.3.so
perl libdb-5.3.so
perl-berkeleydb libdb-5.3.so
reprepro libdb-5.3.so
swi-prolog libdb-5.3.so
iproute2 (optional) libdb-5.3.so
Missing its dependency on db5.3:
bitcoin-tx libdb_cxx-5.3.so
Edit:
I forgot to attach the updated PKGBUILD.diff
Edit2:
Another point with respect to the static libs libdb.a libdb_cxx.a libdb_stl.a lack the -5.3 suffix so would not for example match -ldb-5.3.