From owner-freebsd-hackers@freebsd.org Sat Mar 13 21:41:30 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C7D125ACA19 for ; Sat, 13 Mar 2021 21:41:30 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-55.consmr.mail.gq1.yahoo.com (sonic308-55.consmr.mail.gq1.yahoo.com [98.137.68.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DybjQ3qSBz3hqh for ; Sat, 13 Mar 2021 21:41:30 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1615671688; bh=w7WeGhDwAVe2KKJpOFR+kQOc6hTLC8XJOsO8oYdJ+TO=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=SjCvp7w4fd+NP4VYhOz/AeJIgLzBa8vm9IupN9sJHh5DE0wmMFQ537h82KYg8QoW3qH54XZmcgLjOmj7y4WB6XF62SRK8m0eNDxKf+XIQzDVcH+EWUqXWs4itgIiBHR6ju3NzciFe7WLq1kPdpp9DIFsmwODnIp1CKPdmIV/ZQWYQ2BLjIXbU7GJDESIamXoG2SHVJ+6O/M+sg4a0LQjEssnO1qaRm0gVURW0iEIBwHGYo/udwnEV+vCmGlWGalrSQBK5s8GBlFtk0m7d76/lzGgvYEXdTZLIT9xnYMt+E7Z1qN1vHZpuTUzMO3NydGCIKnM9WGQlW/nLlOyypnfvA== X-YMail-OSG: N7QZhYMVM1kXLURVPk2uHNjfBWHL1o6.rke15jtNmECzLdMDgeTVVgGXKctxbcg OWTNWBI2P9QXW6w.OsSFrPzhdE7GcBhPrBPSufVugRXimT_M0hGWia7d8pYS6saHWeD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aLioApdeRstVnD5S5mmEaCBhPG_K4RUrL82CSg5cMKo4vwTj.oAt92TpH_GyfibG i_s3SZMoEh4xabkRQH.dvWtNUng9DN8VORxtqeWFgIEZP5mFEmsKgS7TlqmJbwnUFmksZnJluwNe Ln2IUwHZkjd6F3XT4OFhko.4ruF7titx1lV0Jm.xv6A8Xavmb7HwatNaR0KhrQ0zFvbJPp_uRJpD XFKue9I4dmBscLK4NGFB.BQkxOBbDE0SvFDxGaTZwZbEKGsPpPhtnLTWhS_bxm5V5InuqxhEJgj. K8vuPSOc- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Sat, 13 Mar 2021 21:41:28 +0000 Received: by smtp406.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 20591359d219f1dd39140c8f763dc8bb; Sat, 13 Mar 2021 21:41:26 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: problems building a release From: Mark Millard In-Reply-To: Date: Sat, 13 Mar 2021 13:41:23 -0800 Cc: freebsd-hackers Content-Transfer-Encoding: quoted-printable Message-Id: References: <8CE18E0A-8931-4C41-83B4-D30EEC049E6D@yahoo.com> To: Don Lewis X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DybjQ3qSBz3hqh X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2021 21:41:30 -0000 > On 2021-Mar-13, at 12:43, Don Lewis wrote: >=20 > On 13 Mar, Mark Millard wrote: >> . . . >=20 > Thanks. All of this stuff is pretty confusing. >=20 > If I specify MAKE_CONF in release.conf, it does affect the target = build. > In particular MODULES_OVERRIDE does the right thing. >=20 > It seems like there should be a way to specify a make.conf and = src.conf > so that they get included in the release so that if the release is > installed and then world and kernel are built it reproduces itself. >=20 > I did manage to unmute release.sh and make so that the build is = verbose, > but the error I get when I specify TARGET and TARGET_ARCH in the > make.conf is still a mystery. There doesn't seem to be a line = buffering > problem hiding things, this was captured from the terminal window with > no redirections involved. >=20 > =3D=3D=3D> etc (installconfig) > mkdir -p bootonly/usr/freebsd-dist > cp MANIFEST bootonly/usr/freebsd-dist > ln -fs /tmp/bsdinstall_etc/resolv.conf bootonly/etc/resolv.conf > echo sendmail_enable=3D\"NONE\" > bootonly/etc/rc.conf > echo hostid_enable=3D\"NO\" >> bootonly/etc/rc.conf > echo debug.witness.trace=3D0 >> bootonly/etc/sysctl.conf > echo vfs.mountroot.timeout=3D\"10\" >> bootonly/boot/loader.conf > echo kernels_autodetect=3D\"NO\" >> bootonly/boot/loader.conf > cp /usr/src/release/rc.local bootonly/etc > sh /usr/src/release/i386/mkisoimages.sh -b 14_0_CURRENT_i386_BO = bootonly.iso bootonly=20 > sh /usr/src/release/i386/make-memstick.sh disc1 memstick.img > Calculated size of `memstick.img.part': 624754688 bytes, 13074 inodes > Extent size set to 32768 > memstick.img.part: 595.8MB (1220224 sectors) block size 32768, = fragment size 4096 > using 1 cylinder groups of 595.81MB, 19066 blks, 13952 inodes. > super-block backups (for fsck -b #) at: > 192, > Populating `memstick.img.part' > Image `memstick.img.part' complete > sh /usr/src/release/i386/make-memstick.sh bootonly mini-memstick.img > Calculated size of `mini-memstick.img.part': 237436928 bytes, 13069 = inodes > Extent size set to 32768 > mini-memstick.img.part: 226.4MB (463744 sectors) block size 32768, = fragment size 4096 > using 1 cylinder groups of 226.44MB, 7246 blks, 14592 inodes. > super-block backups (for fsck -b #) at: > 192, > Populating `mini-memstick.img.part' > Image `mini-memstick.img.part' complete The below notes are about what starts here: > make -C /usr/src/release release-done > ELF interpreter /libexec/ld-elf.so.1 not found, error 8 > Abort trap > ELF interpreter /libexec/ld-elf.so.1 not found, error 8 > Abort trap > ELF interpreter /libexec/ld-elf.so.1 not found, error 8 > Abort trap > ELF interpreter /libexec/ld-elf.so.1 not found, error 8 > Abort trap > ELF interpreter /libexec/ld-elf.so.1 not found, error 8 > Abort trap > ELF interpreter /libexec/ld-elf.so.1 not found, error 8 > Abort trap > touch release > true That is interesting as this turns out to be a fairly simple context by the time that "make . . . release-done" is echoed: QUOTE release: real-release vm-release cloudware-release ${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} release-done true release-done: touch release END QUOTE but by then "real-release vm-release cloudware-release" completed and we see the touch and true after the messages. So it looks like the 6 "not found" messages are from make's internal activities. It would be interesting to get a truss -f log (or some such) of that "${MAKE} . . . release-done" out into to a file. There should not be much other activity in the file generated. That might expose the activity producing the "not found" messages. Also interesting might be adding a "file /libexec/ld-elf.so.1" command line to release: or adding other such context reporting there, such as "uname -apKU" . > + eval chroot /scratch make -C /usr/src/release 'TARGET=3Di386' = 'TARGET_ARCH=3Di386' 'KERNCONF=3D"GW"' = '__MAKE_CONF=3D/home/dl/gw-release/make.conf' = 'SRCCONF=3D/home/dl/gw-release/src.conf' 'NOPORTS=3Dyes' 'WITH_DVD=3D' = 'WITH_VMIMAGES=3D' 'WITH_CLOUDWARE=3D' 'XZ_THREADS=3D0' install = 'DESTDIR=3D/R' 'WITH_COMPRESSED_IMAGES=3D' 'WITH_COMPRESSED_VMIMAGES=3D' > + chroot /scratch make -C /usr/src/release 'TARGET=3Di386' = 'TARGET_ARCH=3Di386' 'KERNCONF=3DGW' = '__MAKE_CONF=3D/home/dl/gw-release/make.conf' = 'SRCCONF=3D/home/dl/gw-release/src.conf' 'NOPORTS=3Dyes' 'WITH_DVD=3D' = 'WITH_VMIMAGES=3D' 'WITH_CLOUDWARE=3D' 'XZ_THREADS=3D0' install = 'DESTDIR=3D/R' 'WITH_COMPRESSED_IMAGES=3D' 'WITH_COMPRESSED_VMIMAGES=3D' > ELF interpreter /libexec/ld-elf.so.1 not found, error 8 > Abort trap > ELF interpreter /libexec/ld-elf.so.1 not found, error 8 > Abort trap > ELF interpreter /libexec/ld-elf.so.1 not found, error 8 > Abort trap > ELF interpreter /libexec/ld-elf.so.1 not found, error 8 > Abort trap > ELF interpreter /libexec/ld-elf.so.1 not found, error 8 > Abort trap > ELF interpreter /libexec/ld-elf.so.1 not found, error 8 > Abort trap QUOTE install: release-install vm-install END QUOTE where the release-install: commands are listed later below (so after the "not found" messages). Again: seems to be make-internal activities that generate the 6 messages. > mkdir -p /R > cp -a ftp /R/ > cp -p disc1.iso /R/FreeBSD-14.0-CURRENT-i386-disc1.iso > cp -p bootonly.iso /R/FreeBSD-14.0-CURRENT-i386-bootonly.iso > cp -p memstick.img /R/FreeBSD-14.0-CURRENT-i386-memstick.img > cp -p mini-memstick.img /R/FreeBSD-14.0-CURRENT-i386-mini-memstick.img > cd /R && sha512 FreeBSD-14.0-CURRENT-i386* > /R/CHECKSUM.SHA512 > cd /R && sha256 FreeBSD-14.0-CURRENT-i386* > /R/CHECKSUM.SHA256 > + return 0 > + return 0 > + umount /scratch/dev