From owner-freebsd-stable@freebsd.org Mon Feb 22 15:29:30 2021 Return-Path: Delivered-To: freebsd-stable@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 72C46542668 for ; Mon, 22 Feb 2021 15:29:30 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DkmLx4HsKz3nK3 for ; Mon, 22 Feb 2021 15:29:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qv1-xf2c.google.com with SMTP id q9so2329360qvo.8 for ; Mon, 22 Feb 2021 07:29:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UaQMwJg3XhXjFuY1rg0IynfmWd14C2Wz59InGkRNWHQ=; b=sz+LecrqTUcM2c16Ob7HDeKbeekYesej3QBn9dMeMm/pWUSim2BCb4K9LJk4Bmj8YB GHFhgXIEoAJ+k8cpjfpMMrvtl8VTOjqO3M/leVfmF/VoE2ERClsaMbxp0qYS3XTL3Zv3 +UBOIRjirWho3mobw07CbrSPk8r5iVZYEva2Zb+ubyJn8AsChuYO9sPa7e1OJbEh2m8t X3FATROMFQMW2hdExTih5+bKwd5cJ8Fcd2YctCMmYOQ0tabyAerBikWFWU6QOEfZyYkv 5uaMs5r6kD+qWlPVNbNDHI9N5IXFJfkBAGbqhuPBiuXYnuGlP4pfSGAhO6RPYYk4z0c5 VoEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UaQMwJg3XhXjFuY1rg0IynfmWd14C2Wz59InGkRNWHQ=; b=Pr1h3Z4RolOj3SAz/OMY5hFto/NCusE8rJRBhBiop2kUYNIZfb+1WoswYTP+kkJphH /en5H5ztqDUUCi6qcPfWesHb/1IAyMPD9vvBgKp8fPvOOvy7+lIZI8YwbKO/XBl9Mm6m WhvHPKbLY3J+N3z1gAjunbD1nz6KyNzqEA024K/Ypp9kNmJjBMreB7Uxid8SlMDJk2j2 FbnSnA3WK9bqDy+FQxzBe1wWcd4sxSnU8+6iVvgF/XBD4YhxF8ZxS1Gi0V7c7hzwjMl7 Hzc02jyRf0yJBkjIVHKXJ7KC6X/PX2Nl34ipgHwZminSIZgdZwL/fJ8rF0g7d+spn4YX Y/9w== X-Gm-Message-State: AOAM5321uDRk9VotYO4NIxGI4xmGqGsWsvtbCqVoY41od7Gqh1ueJIdR HWYpko77OVgcxLb0M3u3IAc72kRu3hWoaKBzRNkAfFLvB2wopg== X-Google-Smtp-Source: ABdhPJxpIkp2biLa//IwZBxndYqCoknXkgsQgkVHnNSjFXchvTxVj1gTH7FJZPulHdsuJBDnsNNfnoP2J2AKjI1ApVQ= X-Received: by 2002:a05:6214:174d:: with SMTP id dc13mr13278863qvb.62.1614007768637; Mon, 22 Feb 2021 07:29:28 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Mon, 22 Feb 2021 08:29:17 -0700 Message-ID: Subject: Re: 13-BETA3 installation from source problems. To: dweimer@dweimer.net Cc: FreeBSD Stable X-Rspamd-Queue-Id: 4DkmLx4HsKz3nK3 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=sz+Lecrq; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::f2c) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::f2c:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f2c:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::f2c:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; MAILMAN_DEST(0.00)[freebsd-stable]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2021 15:29:30 -0000 On Mon, Feb 22, 2021 at 8:24 AM Dean E. Weimer via freebsd-stable < freebsd-stable@freebsd.org> wrote: > I was able to successfully build and install BETA2 from source, however > I am now attempting to upgrade the same machine to BETA3 buildworld and > buildkernel complete. installkernel also completes, but installworld > fails, it appears to not find a file for i386 boot. > > I do have a customized src.conf > WIHTOUT_FLOPPY="YES" > WITHOUT_FREEBSD_UPDATE="YES" > WITH_BSD_GREP="YES" > WITHOUT_BLUETOOTH="YES" > WITHOUT_PORTSNAP="YES" > WITHOUT_WIRELESS="YES" > WITHOUT_WPA_SUPPLICANT_EAPOL="YES" > WITHOUT_ATM="YES" > WITHOUT_LPR="YES" > WITHOUT_PPP="YES" > WITHOUT_LLDB="YES" > WITHOUT_FTP="YES" > WITHOUT_RBOOTD="YES" > WITHOUT_TALK="YES" > WITHOUT_NTP="YES" > WITH_ISCSI="YES" > WITH_REPRODUCIBLE_BUILD="YES" > WITHOUT_GNU_DIFF="YES" > WITH_KERNEL_RETPOLINE="YES" > > and customized make.conf > CFLAGS?= -O > CLFAGS+= -pipe > NO_CPU_CFLAGS= > MK_WERROR=no > > WITH_CCACHE_BUILD= YES > OPTIONS_SET= LIBEDIT OPTIMIZED_CFLAGS GSSAPI_NONE > OPTIONS_UNSET= X11 X GUI TLS_SRP AVAHI GSSAPI_BASE XPM CUPS EXAMPLES > DOCS > WRKDIRPREFIX= /var/ports > PACKAGES= /var/ports/packages > WITH_PKGNG= YES > DEFAULT_VERSIONS= pgsql=13 php=80 apache=2.4 perl5=5.32 bdb=6 mysql=105m > ssl=openssl python=3.9 python3=3.9 gcc=9 linux=c7 samba=4.13 > > .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) && > !defined(NOCCACHE) > CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1} > CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1} > .endif > .if (!empty(.CURDIR:M/jails/devel/ROOT/usr/src*) || > !empty(.CURDIR:M/jails/devel/ROOT/usr/obj*)) && !defined(NOCCACHE) > CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1} > CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1} > .endif > > > Here's the part of where it fails during the install, src tree was > checked out at commit 1d0d443daa570c8eaa60ec2c2accbe19554a6c12. > > ... > ===> stand/userboot (install) > ===> stand/userboot/test (install) > ===> stand/userboot/userboot_4th (install) > install -o root -g wheel -m 444 -S userboot_4th.so > /jails/devel/ROOT/boot/ > install -o root -g wheel -m 444 userboot_4th.so.debug > /jails/devel/ROOT/usr/lib/debug/boot/ > ===> stand/userboot/userboot_lua (install) > install -o root -g wheel -m 444 -S userboot_lua.so > /jails/devel/ROOT/boot/ > install -o root -g wheel -m 444 userboot_lua.so.debug > /jails/devel/ROOT/usr/lib/debug/boot/ > install -l h -o root -g wheel -m 444 > /jails/devel/ROOT/boot/userboot_lua.so > /jails/devel/ROOT/boot/userboot.so > ===> stand/i386 (install) > ===> stand/i386/btx (install) > ===> stand/i386/btx/btx (install) > ===> stand/i386/btx/btxldr (install) > ===> stand/i386/btx/lib (install) > ===> stand/i386/libi386 (install) > ===> stand/i386/mbr (install) > install -o root -g wheel -m 444 mbr /jails/devel/ROOT/boot/mbr > ===> stand/i386/pmbr (install) > install -o root -g wheel -m 444 pmbr /jails/devel/ROOT/boot/pmbr > ===> stand/i386/boot0 (install) > install -o root -g wheel -m 444 boot0 /jails/devel/ROOT/boot/boot0 > ===> stand/i386/boot0sio (install) > install -o root -g wheel -m 444 boot0 > /jails/devel/ROOT/boot/boot0sio > ===> stand/i386/boot2 (install) > objcopy -S -O binary boot1.out boot1 > objcopy -S -O binary boot2.out boot2.bin > btxld -v -E 0x2000 -f bin -b > /jails/devel/ROOT/usr/obj/jails/devel/ROOT/usr/src/amd64.amd64/stand/i386/btx/btx/btx > > -l boot2.ldr -o boot2.ld -P 1 boot2.bin > make[6]: exec(btxld) failed (No such file or directory) > Does this happen every time, or only sometimes? Do you have the complete log? Why we're trying to run btxld and objcopy in the *INSTALL* phase is likely why (paths are different between the two) Warner > *** Error code 1 > > Stop. > make[6]: stopped in /jails/devel/ROOT/usr/src/stand/i386/boot2 > *** Error code 1 > > Stop. > make[5]: stopped in /jails/devel/ROOT/usr/src/stand/i386 > *** Error code 1 > > Stop. > make[4]: stopped in /jails/devel/ROOT/usr/src/stand > *** Error code 1 > > Stop. > make[3]: stopped in /jails/devel/ROOT/usr/src > *** Error code 1 > > Stop. > make[2]: stopped in /jails/devel/ROOT/usr/src > *** Error code 1 > > Stop. > make[1]: stopped in /jails/devel/ROOT/usr/src > *** Error code 1 > > Stop. > > > > -- > Thanks, > Dean E. Weimer > http://www.dweimer.net/ > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >