Bug 245931 - buildworld fails to build WITHOUT_CRYPT
Summary: buildworld fails to build WITHOUT_CRYPT
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.1-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: Ed Maste
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-26 13:43 UTC by p5B2EA84B3
Modified: 2020-08-17 17:49 UTC (History)
2 users (show)

See Also:
linimon: mfc-stable12?


Attachments
buildworld Output Sample (45.23 KB, text/plain)
2020-04-29 18:31 UTC, Michael Dexter
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description p5B2EA84B3 2020-04-26 13:43:06 UTC
A buildworld cannot be configured WITHOUT_CRYPT as libfetch still does have dependencies.

How to buildworld even without libfetch? Man src.conf has no hint.
Comment 1 Michael Dexter 2020-04-29 18:31:57 UTC
Created attachment 213919 [details]
buildworld Output Sample

The buildworld output containing the build error.
Comment 2 Michael Dexter 2020-04-29 18:33:11 UTC
A build_option_survey run of head@360286 on 12-STABLE confirmed this. Look for "stopped" in the attached buildworld output.
Comment 3 Ed Maste freebsd_committer freebsd_triage 2020-04-30 14:57:56 UTC
Many components depend on OpenSSL (disabled by WITHOUT_CRYPT) and do not have dependencies recorded in the options handling.

I intend to take a first pass adding those dependencies so that WITHOUT_OPENSSL forces off those components that depend on it (e.g., it will set WITHOUT_WIRELESS). A second pass can make those more fine-grained (e.g., turning off just WPA).
Comment 4 commit-hook freebsd_committer freebsd_triage 2020-04-30 18:12:32 UTC
A commit references this bug:

Author: emaste
Date: Thu Apr 30 18:11:57 UTC 2020
New revision: 360501
URL: https://svnweb.freebsd.org/changeset/base/360501

Log:
  src.opts.mk: add WITHOUT_OPENSSL dependencies

  A number of components require OpenSSL and fail to build if it is not
  enabled.  As a first phase force these off under WITHOUT_OPENSSL.  A
  second phase should make these more fine-grained, allowing the component
  to build but without OpenSSL.

  PR:		245931
  Sponsored by:	The FreeBSD Foundation

Changes:
  head/share/mk/src.opts.mk
Comment 5 commit-hook freebsd_committer freebsd_triage 2020-04-30 21:09:55 UTC
A commit references this bug:

Author: emaste
Date: Thu Apr 30 21:09:01 UTC 2020
New revision: 360509
URL: https://svnweb.freebsd.org/changeset/base/360509

Log:
  geli tests require OpenSSL - exclude them under WITHOUT_OPENSSL

  PR:		245931
  Submitted by:	The FreeBSD Foundation

Changes:
  head/tests/sys/geom/class/Makefile
Comment 6 Ed Maste freebsd_committer freebsd_triage 2020-04-30 21:11:27 UTC
It should now be possible to build head WITHOUT_CRYPT / WITHOUT_OPENSSL - confirmation would be appreciated. I will merge the changes to stable/12 in due course.
Comment 7 commit-hook freebsd_committer freebsd_triage 2020-08-17 17:47:46 UTC
A commit references this bug:

Author: emaste
Date: Mon Aug 17 17:47:05 UTC 2020
New revision: 364319
URL: https://svnweb.freebsd.org/changeset/base/364319

Log:
  MFC r360501: src.opts.mk: add WITHOUT_OPENSSL dependencies

  A number of components require OpenSSL and fail to build if it is not
  enabled.  As a first phase force these off under WITHOUT_OPENSSL.  A
  second phase should make these more fine-grained, allowing the component
  to build but without OpenSSL.

  PR:		245931
  Sponsored by:	The FreeBSD Foundation

Changes:
_U  stable/12/
  stable/12/share/mk/src.opts.mk
Comment 8 commit-hook freebsd_committer freebsd_triage 2020-08-17 17:48:47 UTC
A commit references this bug:

Author: emaste
Date: Mon Aug 17 17:48:28 UTC 2020
New revision: 364320
URL: https://svnweb.freebsd.org/changeset/base/364320

Log:
  MFC r360509: geli tests require OpenSSL - exclude them under WITHOUT_OPENSSL

  PR:		245931
  Submitted by:	The FreeBSD Foundation

Changes:
_U  stable/12/
  stable/12/tests/sys/geom/class/Makefile