Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 844868 - app-admin/apache-tools-2.4.53 - configure: error: pcre(2)-config for libpcre not found. PCRE is required and available from http:/
Summary: app-admin/apache-tools-2.4.53 - configure: error: pcre(2)-config for libpcre ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: which-hunt
  Show dependency tree
 
Reported: 2022-05-15 08:04 UTC by Toralf Förster
Modified: 2023-09-03 08:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.01 KB, text/plain)
2022-05-15 08:04 UTC, Toralf Förster
Details
app-admin:apache-tools-2.4.53:20220515-064644.log (app-admin:apache-tools-2.4.53:20220515-064644.log,4.42 KB, text/plain)
2022-05-15 08:04 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,43.18 KB, text/plain)
2022-05-15 08:04 UTC, Toralf Förster
Details
environment (environment,57.97 KB, text/plain)
2022-05-15 08:04 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,5.49 KB, application/x-bzip)
2022-05-15 08:04 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.91 KB, application/x-bzip)
2022-05-15 08:04 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,15.69 KB, application/x-bzip)
2022-05-15 08:04 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-05-15 08:04:00 UTC
checking for -pcre2-config... no
checking for -pcre-config... no
checking for pcre2-config... no
checking for pcre-config... no
configure: error: pcre(2)-config for libpcre not found. PCRE is required and available from http://pcre.org/

!!! Please attach the following file when seeking support:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20220514-222405

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.0 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.3
Python 3.9.12
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-1.60.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php8.1 *

  HEAD of ::gentoo
commit 9e07eca6c52abb050a2cf7366fcf3ac4f3c8acd1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun May 15 06:18:12 2022 +0000

    2022-05-15 06:18:11 UTC

emerge -qpvO app-admin/apache-tools
[ebuild  N    ] app-admin/apache-tools-2.4.53  USE="ssl"
Comment 1 Toralf Förster gentoo-dev 2022-05-15 08:04:01 UTC
Created attachment 779063 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-15 08:04:02 UTC
Created attachment 779066 [details]
app-admin:apache-tools-2.4.53:20220515-064644.log
Comment 3 Toralf Förster gentoo-dev 2022-05-15 08:04:03 UTC
Created attachment 779069 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-05-15 08:04:04 UTC
Created attachment 779072 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-05-15 08:04:05 UTC
Created attachment 779075 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-05-15 08:04:05 UTC
Created attachment 779078 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-05-15 08:04:06 UTC
Created attachment 779081 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-05-16 12:26:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d83dd74b77a83107df519c6c9b0ebe948947e443

commit d83dd74b77a83107df519c6c9b0ebe948947e443
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2022-05-16 12:26:00 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2022-05-16 12:26:15 +0000

    app-admin/apache-tools: Rebvump to add sys-apps/which to BDEPEND
    
    Closes: https://bugs.gentoo.org/844868
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../{apache-tools-2.4.53.ebuild => apache-tools-2.4.53-r1.ebuild}    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-16 23:41:37 UTC
Could you consider looking at patching this out please instead? It should be easy to do (e.g. command -v instead).

Also, it looks like if we pass --with-pcre="${ESYSROOT}/usr", it might(?) just skip calling which entirely, but not sure. Need to be careful it doesn't try to use PCRE instead of PCRE 2.
Comment 10 Larry the Git Cow gentoo-dev 2022-06-29 08:39:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=241214d7fb7cfaac52b3333deadb2c9880d58682

commit 241214d7fb7cfaac52b3333deadb2c9880d58682
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-20 00:26:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-29 08:39:44 +0000

    www-servers/apache: drop which dependency
    
    Apply to apache itself too just in case & for consistency.
    
    Closes: https://bugs.gentoo.org/844868
    Signed-off-by: Sam James <sam@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/25984
    Signed-off-by: Sam James <sam@gentoo.org>

 www-servers/apache/apache-2.4.54-r1.ebuild         | 266 +++++++++++++++++++++
 .../apache/files/apache-2.4.54-no-which.patch      |  54 +++++
 2 files changed, 320 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a988da45ce12d8bf2e47c47dfd775ef4dee49620

commit a988da45ce12d8bf2e47c47dfd775ef4dee49620
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-20 00:22:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-29 08:39:44 +0000

    app-admin/apache-tools: drop which dependency
    
    Closes: https://bugs.gentoo.org/844868
    Signed-off-by: Sam James <sam@gentoo.org>

 .../apache-tools/apache-tools-2.4.54-r1.ebuild     | 108 +++++++++++++++++++++
 .../files/apache-tools-2.4.54-no-which.patch       |  54 +++++++++++
 2 files changed, 162 insertions(+)
Comment 11 Larry the Git Cow gentoo-dev 2023-09-03 08:32:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/apache.git/commit/?id=2a33ab54bf77360d792c2ec853e2c03b2dbe0e3d

commit 2a33ab54bf77360d792c2ec853e2c03b2dbe0e3d
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2023-09-03 08:29:03 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2023-09-03 08:29:03 +0000

    Add no-which patch
    
    Bug: https://bugs.gentoo.org/844868
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 2.4/patches/04_no_which.patch | 54 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)