[Bug 270516] buildworld missing build dependency on libcrypt?

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 29 Mar 2023 08:00:27 UTC

            Bug ID: 270516
           Summary: buildworld missing build dependency on libcrypt?
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: tkmcintosh@me.com

Trying to buildworld under macOS (13.2.1/arm64), initially using i386-elf-gcc
port from MacPorts (GCC 12), I encountered a missing dependency on lib crypt
(which I don't think is compiler-dependent).  This change allowed the build to

--- Makefile.inc1.orig  2023-03-29 00:23:20
+++ Makefile.inc1       2023-03-29 00:49:27
@@ -2471,6 +2471,8 @@
 # libroken depends on libcrypt
 ${_bt}-lib/libroken: ${_bt}-lib/libcrypt
+# so does libopenbsd
+${_bt}-lib/libopenbsd: ${_bt}-lib/libcrypt
 # All tools in _basic_bootstrap_tools have the same name as the subdirectory
 # so we can use :T to get the name of the symlinks that we need to create.

Note: I ran into additional problems building with GCC, so I am now retrying
with in-tree clang, though I've kept the above change in place.

You are receiving this mail because:
You are the assignee for the bug.