Summary: | dev-vcs/subversion-1.9.5 - respect EPREFIX during configure checks | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | prefix |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | config.log |
Description
Martin Mokrejš
2017-01-31 17:01:08 UTC
Created attachment 462016 [details]
config.log
I hit the same again now. While looking at configure I see these lines: 5776 HTTPD_WANTED_MMN="20051115" 5777 5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apache module support via DSO through APXS" >&5 5779 $as_echo_n "checking for Apache module support via DSO through APXS... " >&6; } 5780 5781 # Check whether --with-apxs was given. 5782 if test "${with_apxs+set}" = set; then : 5783 withval=$with_apxs; 5784 if test "$withval" = "yes"; then 5785 APXS=apxs 5786 else 5787 APXS="$withval" 5788 fi 5789 APXS_EXPLICIT=1 5790 5791 fi 5792 5793 5794 if test -z "$APXS"; then 5795 for i in /usr/sbin /usr/local/apache/bin /usr/local/apache2/bin /usr/bin ; do 5796 if test -f "$i/apxs2"; then 5797 APXS="$i/apxs2" 5798 break 5799 fi 5800 if test -f "$i/apxs"; then 5801 APXS="$i/apxs" 5802 break 5803 fi 5804 done 5805 fi I have no idea what to fix in configure.ac. This is actually a bug in some apache-related eclass causing "${APXS}" being set to /usr/bin/apxs. This patch works for me but the upstream bug should be squashed. --- subversion-1.9.5.ebuild.ori 2017-02-21 00:25:13.238853671 +0100 +++ subversion-1.9.5.ebuild 2017-02-21 00:26:51.502913405 +0100 @@ -221,7 +221,7 @@ ac_cv_python_includes='-I$(PYTHON_INCLUDEDIR)' \ econf --libdir="${EPREFIX}/usr/$(get_libdir)" \ $(use_with apache2 apache-libexecdir) \ - $(use_with apache2 apxs "${APXS}") \ + $(use_with apache2 apxs "${EPREFIX}/usr/bin/apxs") \ $(use_with berkdb berkeley-db "db.h:${EPREFIX}/usr/include/db${SVN_BDB_VERSION}::db-${SVN_BDB_VERSION}") \ $(use_with ctypes-python ctypesgen "${EPREFIX}/usr") \ $(use_enable dso runtime-module-search) \ The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e0a3b6550bb33d90290f10c52d3a33966be8b5e commit 8e0a3b6550bb33d90290f10c52d3a33966be8b5e Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-04-29 00:11:05 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-04-29 00:11:30 +0000 dev-vcs/subversion: Provide correct path to apxs binary Thanks-to: Martin Mokrejš <mmokrejs@gmail.com> Closes: https://bugs.gentoo.org/607832 Package-Manager: Portage-2.3.65, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> dev-vcs/subversion/subversion-1.10.4.ebuild | 2 +- dev-vcs/subversion/subversion-1.11.1.ebuild | 2 +- dev-vcs/subversion/subversion-1.12.0.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) |