From nobody Thu Nov 24 07:38:12 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NHqc54cMgz4hTCb for ; Thu, 24 Nov 2022 07:38:29 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-19.consmr.mail.gq1.yahoo.com (sonic305-19.consmr.mail.gq1.yahoo.com [98.137.64.82]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NHqc44t4Mz3khH for ; Thu, 24 Nov 2022 07:38:28 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=bBftJmir; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.82 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1669275504; bh=iWETWzD1lR6Rccscbb9+dzLPMRZFqykSBPyZb7h3rQk=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=bBftJmirA9BNZHRQOam5SdcuiBstTkuKMRA3yH71vgH24D+TZjXsxhM3uUPSbr2lIKnGX+lORx5SaX8v8gqTvTN/UuugoigVyQiH5dq64pvWw8HAw4/UbouZx1BDbrhCnLC92Dx7+devcsqEz78NtStUBulH5VC2Ulcgye1JpFuM0jKIsGjUODKu7ufPEhe7xXpAKyBh6fGyciKkhMkPqO94/+FjrcET7GD3x4SEAtIGXq6gZYHFbIQyzGhRstc+qGThZsuTQXKxoj8FumJDAmxunrsdGS7Z+VwufgKTfTLrSsc9wOtZ67uZ5FcNIsTMtXui08y0L/zEf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kwQoA9Px604rO9NUo3oIZepOgCYi.naR4hAOuSIBF433xmv4fso7 d0ohcV1FYCGKg1WqlrZmngIGZIbF8WpRvZZj6aMT8Fhm7sEADwu94aFwgtwLBzXsxSDOV._SyKcR bIyOCL03syIhrzZmfO1UBNnaet4i9cw5DYtCbjNh97Ciuhpzc6cfU1MjJ9Ui1j.OTe9tZtz6kEMC xuyDikjG1SRDr2ZSB33CpKDVa.VuWm_d8lUFQr3.1nIIlc39C3BLJYag2.1Kczt.2nQMIWB0pKty aomnWZlR1lCRHVyF2gOtbWIvVY5x0sGJ7G1fn3MbKCupdA.68a9j4fQ6koaBex22sYqdkHjBVluU t7kTikcwoeI7Mqw4uoaeVSEMLZ6uG63Gd5UKySdRFXVZWNDwfvaVaz3QwjOrXYgiXecv5KrQxFMF B8YWE3x1jAisrzq.A2Ke7YdsU3uxCUwDxdsh.wswBQ8Mw6ENWseo0gtFoGqykm8kdI.V6hTDiQCc YjRLMDoyxg9GA8CReoBfJy2BgDTImQSwMaz73xPL1ZNgu1RgL_CXmQ0fpucIvlzYfbK5x0xj2Mkz 7_acJF4xBReFkrDih8KJOKB..ktha_K2Qry61gjIKABWUffeWpNMnqa.zcjrYCzUW8ahrGGj3dDJ E2d7INTKHzz4zg_zX5UtmfWd.4wSAEFFkRh3T1Wju5IEzql86T5JB08NwOf0- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Thu, 24 Nov 2022 07:38:24 +0000 Received: by hermes--production-ne1-6bcfb7fb87-s7whx (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 9529c5a6f67f671fc3a07ff54ddbdb40; Thu, 24 Nov 2022 07:38:23 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Example "tools/build/make.py --bootstrap-toolchain" failure under macOS 13.0.1: libcrypt related not-founds Message-Id: <4BD55079-7C73-491B-906A-7260175F2DE2@yahoo.com> Date: Wed, 23 Nov 2022 23:38:12 -0800 To: freebsd-current X-Mailer: Apple Mail (2.3731.200.110.1.12) References: <4BD55079-7C73-491B-906A-7260175F2DE2.ref@yahoo.com> X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.82:from]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org] X-Rspamd-Queue-Id: 4NHqc44t4Mz3khH X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N My first ever attempt to build a FreeBSD outside of FreeBSD (macOS = 13.0.1) looked like: # env MAKEOBJDIRPREFIX=3D/Users/markmi/obj tools/build/make.py = --bootstrap-toolchain buildworld buildkernel TARGET=3Damd64 = TARGET_ARCH=3Damd64 It got: . . . mkdir -p = "/Users/markmi/obj/Users/markmi/main-src/amd64.amd64/tmp/legacy//usr/inclu= de/x86" cd /Users/markmi/main-src/tools/build; = /Users/markmi/obj/bmake-install/bin/bmake DIRPRFX=3Dtools/build/ = DESTDIR=3D/Users/markmi/obj/Users/markmi/main-src/amd64.amd64/tmp/legacy = host-symlinks Linking host tools into = /Users/markmi/obj/Users/markmi/main-src/amd64.amd64/tmp/legacy/bin Cannot find host tool 'unxz' in PATH = (/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin). *** Error code 1 So it looks like I needed to do the likes of: # /bin/bash -c "$(curl -fsSL = https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" # brew install libarchive after that, retrying: # env MAKEOBJDIRPREFIX=3D/Users/markmi/obj tools/build/make.py = --bootstrap-toolchain buildworld buildkernel TARGET=3Damd64 = TARGET_ARCH=3Damd64 progressed until: cc -O2 -pipe -fno-common -I. -I/Users/markmi/main-src/contrib/com_err = -std=3Dgnu99 -Wno-format-zero-length -Wno-pointer-sign = -Wno-system-headers -Wno-empty-body -Wno-string-plus-int = -Wno-unused-const-variable -Wno-error=3Dunused-but-set-variable = -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality = -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef = -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum = -Wno-knr-promoted-parameter -Wno-parentheses -Wno-typedef-redefinition = -Werror=3Dincompatible-pointer-types-discards-qualifiers = -Qunused-arguments = -I/Users/markmi/obj/Users/markmi/main-src/amd64.amd64/tmp/legacy/usr/inclu= de -Werror=3Dimplicit-function-declaration -Werror=3Dimplicit-int = -Werror=3Dreturn-type -Wundef -DHAVE_NBTOOL_CONFIG_H=3D1 = -I/Users/markmi/main-src/tools/build/cross-build/include/common = -D_DARWIN_C_SOURCE=3D1 = -I/Users/markmi/main-src/tools/build/cross-build/include/mac -idirafter = /Users/markmi/main-src/contrib/libarchive/libarchive = -L/Users/markmi/obj/Users/markmi/main-src/amd64.amd64/tmp/legacy/usr/lib = -o compile_et compile_et.o parse.o lex.o = -L/Users/markmi/obj/Users/markmi/main-src/amd64.amd64/tmp/obj-tools/kerber= os5/lib/libroken -lroken = -L/Users/markmi/obj/Users/markmi/main-src/amd64.amd64/tmp/obj-tools/lib/li= bcrypt -lcrypt = -L/Users/markmi/obj/Users/markmi/main-src/amd64.amd64/tmp/obj-tools/kerber= os5/lib/libvers -lvers -legacy -lresolv ld: warning: directory not found for option = '-L/Users/markmi/obj/Users/markmi/main-src/amd64.amd64/tmp/obj-tools/lib/l= ibcrypt' ld: library not found for -lcrypt clang: error: linker command failed with exit code 1 (use -v to see = invocation) *** Error code 1 Looking, I found a prior line in the output that started with: echo compile_et: = /Users/markmi/obj/Users/markmi/main-src/amd64.amd64/tmp/legacy/usr/lib/lib= roken.a /usr/lib/libcrypt.a But: % ls -Tld /usr/lib/libcrypt.a ls: /usr/lib/libcrypt.a: No such file or directory For reference, the source tree was based on: f83db6441a2f (HEAD -> main, freebsd/main, freebsd/HEAD) sctp: minor = changes due to upstreaming of Glebs recent changes branch: main merge-base: f83db6441a2f4f925a169c7ddf844589cb73c9b5 merge-base: CommitDate: 2022-11-06 22:06:40 +0000 n259064 (--first-parent --count for merge-base) It was a copy I made of the directory tree I used for the ThreadRipper 1950X's most recent update to its FreeBSD. The macOS machine is a 2018 macMini (so: Intel). =20 =3D=3D=3D Mark Millard marklmi at yahoo.com