Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2023 08:00:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 270516] buildworld missing build dependency on libcrypt?
Message-ID:  <bug-270516-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270516

            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-g=
cc
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
proceed:

--- 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
 _other_bootstrap_tools+=3Dlib/libcrypt
 ${_bt}-lib/libroken: ${_bt}-lib/libcrypt
+# so does libopenbsd
+${_bt}-lib/libopenbsd: ${_bt}-lib/libcrypt
 .else
 # All tools in _basic_bootstrap_tools have the same name as the subdirecto=
ry
 # 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270516-227>