Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2022 10:22:01 -0500
From:      Michael Jung <jammin2night@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   WITHOUT_MODULES in make.conf causes www/apache24 to fail
Message-ID:  <50224ded-c5da-c4a8-be95-23281324123f@gmail.com>

next in thread | raw e-mail | index | archive | help
Hi!

This has been an issue for several weeks(months?) and I'm just getting 
around to digging into the issue.

As of 2022-11-24 ~10:00 AM EST if you have /usr/ports made using 
portsnap or poudriere  tracking main

[root@firewall /usr/local/poudriere/ports/default]# git remote get-url 
origin
https://git.FreeBSD.org/ports.git
[root@firewall /usr/local/poudriere/ports/default]# git branch
* main
[root@firewall /usr/local/poudriere/ports/default]#

you get the following error:

Make:

root@firewall /usr/ports/www/apache24]#make
apache24-2.4.54 : Error from apache.mk. WITH(OUT)_MODULES has been

poudriere:

===>  apache24-2.4.54 : Error from apache.mk. WITH(OUT)_MODULES has been
removed, use www_apache24_(UN)SET.
*** Error code 1

I have determined that if you have "WITHOUT_MODULES" in make.conf to 
exclude modules from a kernel build you get this error.  I have not 
found any documentation that you should use "UNSET_MODULES" in make.conf.

I build a wide range or packages and this so far this has only been 
problematic for  www/apache24.

I am currently running stable/13-af3ccd7b6d: in the base system and my 
jail is 13.1-STABLE 1301509 a41a9e01c

Removing or remarking out "WITHOUT_MODULES" in /etc/make.conf allow 
apache24 to build.

In /usr/ports/Mk/Uses/apache.bsd if you remark out:

.  if defined(WITH_MODULES) || defined(WITHOUT_MODULES)
IGNORE= ${_ERROR_MSG} WITH(OUT)_MODULES has been removed, use 
www_${PORTNAME}_(UN)SET
.  endif

The error does not occur.

I am not a Make expert by any means but wanted to report the issue.

Regards,

--mikej







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50224ded-c5da-c4a8-be95-23281324123f>