Bug 227037 - www/apache24 fails to build when make.conf(5) includes WITHOUT_MODULES= statement
Summary: www/apache24 fails to build when make.conf(5) includes WITHOUT_MODULES= state...
Status: Closed DUPLICATE of bug 226557
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-apache (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-28 16:00 UTC by Marek Zarychta
Modified: 2018-03-30 16:01 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (apache)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Zarychta 2018-03-28 16:00:33 UTC
Reading the latest version of make.conf(5) gives no idea about  WITHOUT_MODULES being depreciated. I use this statement to avoid building sound modules on servers in this way: 
WITHOUT_MODULES+=sound which worked fine for years. This setting currently breaks building apache24 from ports. 


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

Stop.
Comment 1 Bernard Spil freebsd_committer freebsd_triage 2018-03-30 15:23:38 UTC
Hi Marek,

For a long time, the build framework has been issuing warnings about using WITH(OUT)_MODULES being defined. The recent update where Mk/bsd.apache.mk was migrated to Mk/Uses/apache.mk changed this from a warning to a fail as setting WITH(OUT)_MODULES doesn't do what you expect.

If you need the WITH(OUT)_MODULES to configure your kernel, please move the statements to /etc/src.conf. Otherwise, please use the OPTIONS_(UN)SET= directives for ports.

Cheers, Bernard.
Comment 2 Bernard Spil freebsd_committer freebsd_triage 2018-03-30 15:32:51 UTC

*** This bug has been marked as a duplicate of bug 226557 ***
Comment 3 Marek Zarychta 2018-03-30 16:01:02 UTC
(In reply to Bernard Spil from comment #2)
Thank you for the clarification. I will try to move this statement to src.conf for next build.  IMHO if it is depreciated in make.conf, then make.conf(5) and src.conf(5) are out of sync in STABLE branch. Please consider correcting them.