mod_auth_xradius fails with apache-2.4
olli hauer
ohauer at gmx.de
Fri Sep 12 21:29:08 UTC 2014
On 2014-09-12 21:20, Michael W. Lucas wrote:
> On Tue, Sep 09, 2014 at 03:47:28PM +0200, Andreas Nilsson wrote:
>> Hello,
>> since they changed apache default from 2.2 to 2.4 in ports
>> mod_auth_xradius has been failing� to build over here. Should it
>> perhaps just have
>> USE_APACHE=22 (and not 22+)?
>> Best regards
>> Andreas Nilsson
>
> Hi,
>
> Thanks for the report. Yes, you're correct.
>
> Ports team, I'm flooded at the moment. Can someone please
> commit the one-character fix to www/mod_auth_xradius? It
> should only work with Apache 2.2.
>
> Thanks,
> ==ml
Hi Andreas,
I think this should be fixed after updating the ports tree.
There was an issue in Mk/bsd.apache.mk that was fixed yesterday.
If there are more ports failing, please remove the apache package from the pd package directory and also packages beginning with ap22-/ap24- and start a new build.
Related entries from the provided log:
>> ====>> Building www/mod_auth_xradius
>> build started at Tue Sep 9 14:12:15 CEST 2014
>> port directory: /usr/ports/www/mod_auth_xradius
>> ---Begin Environment---
>> PKGNAME=ap24-mod_auth_xradius-0.4.6_1
...
>> ---End Environment---
>>
>> ---Begin OPTIONS List---
>> ===> The following configuration options are available for ap24-mod_auth_xradius-0.4.6_1:
>> MEMCACHE=on: Use memcache to cache radius auth
>> ---End OPTIONS List---
>>
>> --SUB_LIST--
>> APACHEMODDIR="libexec/apache24"
>> APACHEETCDIR="etc/apache24"
>> APACHE_VERSION="24"
...
>> --End SUB_LIST--
>>
>> ---Begin make.conf---
...
>> DEFAULT_VERSIONS = perl5=5.16 apache=2.2
apache22 is set to default and was not honored by Mk/bsd.apache.mk,
this issue is fixed meanwhile.
>> =======================<phase: check-sanity >============================
>> ===> Found saved configuration for ap22-mod_auth_xradius-0.4.6_1
>> ===========================================================================
>> =======================<phase: pkg-depends >============================
>> ===> ap24-mod_auth_xradius-0.4.6_1 depends on file: /usr/local/sbin/pkg - not found
>> ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
>> ===> Installing existing package /packages/All/pkg-1.3.7.txz
>> [93-amd64-server-srv_wb-job-02] Installing pkg-1.3.7... done
...
>> ===> Patching for ap24-mod_auth_xradius-0.4.6_1
>> ===========================================================================
>> =======================<phase: build-depends >============================
>> ===> ap24-mod_auth_xradius-0.4.6_1 depends on file: /usr/local/sbin/apxs - not found
>> ===> Verifying install for /usr/local/sbin/apxs in /usr/ports/www/apache24
>> ===> Installing existing package /packages/All/apache24-2.4.10_1.txz
>> ===> Verifying for apr_memcache in /usr/ports/www/apr_memcache
>> ===> Installing existing package /packages/All/apr_memcache-0.7.0.txz
>> [93-amd64-server-srv_wb-job-02] Installing apr_memcache-0.7.0... done
There no www/apr_memcache port in the ports tree, try to build the original www/mod_auth_xradius port.
Test build on 8.4/10
$ uname -a
FreeBSD d24g 8.4-RELEASE-p14 FreeBSD 8.4-RELEASE-p14 #0: Tue Jul 8 12:41:46 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
$ make
...
=> build OK
$ uname -a
FreeBSD f10 10.0-RELEASE-p7 FreeBSD 10.0-RELEASE-p7 #0: Tue Jul 8 06:37:44 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
$ make
...
=> build OK
More information about the freebsd-ports
mailing list