Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#76998 - [links] Unused pcre depends
Attached to Project:
Arch Linux
Opened by loqs (loqs) - Tuesday, 03 January 2023, 20:56 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 03 January 2023, 21:52 GMT
Opened by loqs (loqs) - Tuesday, 03 January 2023, 20:56 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 03 January 2023, 21:52 GMT
|
DetailsDescription:
pcre is checked for in configure but never used in the source. The library is dropped by the --as-needed linker flag as it detects no used symbols. Additional info: * links 2.28-2 Steps to reproduce: $ git clone https://github.com/archlinux/svntogit-packages.git --single-branch --branch 'packages/links' links $ cd links/trunk $ makepkg -Codd --noprepare $ grep -r pcre_ src src/links-2.28/configure.in: AC_CHECK_LIB(pcre, pcre_compile) src/links-2.28/configure.in: if test "$ac_cv_lib_pcre_pcre_compile" = yes && test "$ac_cv_header_pcre_h" = yes; then src/links-2.28/configure: echo $ac_n "checking for pcre_compile in -lpcre""... $ac_c" 1>&6 src/links-2.28/configure:echo "configure:5013: checking for pcre_compile in -lpcre" >&5 src/links-2.28/configure:ac_lib_var=`echo pcre'_'pcre_compile | sed 'y%./+-%__p_%'` src/links-2.28/configure:char pcre_compile(); src/links-2.28/configure:pcre_compile() src/links-2.28/configure: if test "$ac_cv_lib_pcre_pcre_compile" = yes && test "$ac_cv_header_pcre_h" = yes; then |
This task depends upon
Closed by Christian Hesse (eworm)
Tuesday, 03 January 2023, 21:52 GMT
Reason for closing: Fixed
Additional comments about closing: links 2.28-5
Tuesday, 03 January 2023, 21:52 GMT
Reason for closing: Fixed
Additional comments about closing: links 2.28-5
Comment by Toolybird (Toolybird) -
Tuesday, 03 January 2023, 21:06 GMT
It could be argued that this is an upstream bug and should be reported there. Why does configure check for pcre if it's not used? It's probably a leftover from bygone times.