From owner-freebsd-current@freebsd.org Thu Sep 12 11:38:57 2019 Return-Path: Delivered-To: freebsd-current@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 05354F33A0 for ; Thu, 12 Sep 2019 11:38:57 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46TcH36v7xz48fD for ; Thu, 12 Sep 2019 11:38:55 +0000 (UTC) (envelope-from ohartmann@walstatt.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1568288325; bh=p/XzAgmdRPgfsJu25R2INsLgZFQxapYmGKrzeDs8udI=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References; b=eAFJJC5BuyF+as/npP4hiN70s8Fo0X9wiqCBX3KXQHQNXhD24rJVUk/mzKv7Izb3G riyn4rtboemOYUa11+1zrvHkBYH5CF2i2tA8gLi3rSeVl2dfNt2lbWcaSMTmDLFP9N sgAx+VzYBETD/HKSu9UjEtyPYMsrL7MoQSO33HuQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from freyja ([46.88.81.15]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Le69A-1iTOBo1tj2-00pvsW; Thu, 12 Sep 2019 13:26:00 +0200 Date: Thu, 12 Sep 2019 13:25:55 +0200 From: "O. Hartmann" To: "O. Hartmann" Cc: freebsd-current Subject: Re: r352239: install failure: make[10]: exec(btxld) failed (No such file or directory) Message-ID: <20190912132555.7126215c@freyja> In-Reply-To: <20190912062656.7afa3816@freyja> References: <20190912062656.7afa3816@freyja> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Y+3eYBUoevXwFVdbbV0+3vdPpXj/VWbN37WSo/vKtfeyUd/ZkPt TJRmNHlNVonVd3JqC2c1w/RfhgQZ/hkxZECkQb+t6kn4yZqha8BFAEo7OHxIvZ0P6b2wdxs 6xp71iok1qMplFlCJHKrrWBdEnxcfRhfDTORReLKhyoSZuxO8z0l12o7j7sKuPc0OhNgplz oLvCARQGqY64mbUNZtJWQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:UUKVZRs6HSA=:85AQ0mcCwJALB5gEpZUZ4L uYsESGSIX4RszAIOp8SZR+nu4RbYfJfBpkyVrG9lyn3p0MsItQxtfJGdf5e+OL7RkB1kbAUzn oFJkZUJD0AjgXFea/OAsX82pfcCYrb13F/b4HCjhHnhlkLOZDTH1BPo3nqL+sYyD3KZUH1S9A VCP1gTt1tysdGVgQHx2ijvDxAMghc9bNUK8IHHq+nAqAsiZQo8qi32elLXxz62H8FEC5wL2lU 2urZOBK6IkiwqfxYiTJ1dmCUvVeqnjkd99Iv9kw9Sc883oN98Hy9+rn3y7wWCjjoQz0yMbMJs 1yBM6LgRd/4DgcErHZH5IsoztPkkraxiuwFZ13AS1u9QAt2samf9pE0b3VN+zlNPl/OuC5pRd Sy6ajjZT9Nk+4PcPvCTsC79voYCaagRTW3JcGvNnpBGRwYhrAyx/u4/6rkY5ueyCj6tToOLMP 2bxGsM2yWT3Y7XoD4Nb+8IGqp0BYCdh+kUZQajJL3Dbju4SLhSoaqUqtlehWaerRb5CRRpjVb IpQtzY8lG8xv7/uYjt2XdtWJNNDCy/15if+79lFj51mLzfDXnYgjh4dhyw+Vur07slabdHnIA akumSvkDsdVO4JB0xxDZssH9j9fqKmQZrEgKqY75jO7MgVCMnQ3oyYCG5UB7daVNGFBZgeCdY GX+6Q3hvioFFI0pbxWtgUR8ZOHF5x3oB73ZDQzT0azarIDrYtGTtQROEZfhgYTjdYEOvSI7bq enneJvMwmEGtmRYv0mW4tbo6NxScIRkvcFo5sZoq2+UC9WMKEYurRnOtGKDdUMgbmj2OY3AEH kntEKSPVMoGHxIDKwwBU9+Icy0V+bfq7F9hPtJidBeiwUQNUFReOIyzJHLR+fh133/RlyQ5UN vFXs9QBhkvyYnDMHIxYT0p8ZeMdarfDJKrABBoef7fZbAKqClS6A3W2+5xz7ZvWQvbltopXx0 R1OdxmNgg3rkJ9KKUttHUfMnNWo2haUy/N2DmhGMV8olT1/pSouZSuNGNa2RMT/Ua0i46CRW5 nkU/Hn64syN5y5TG/HjMCYJQW8zQNO0yaNH0kyhqucfnYmesnh9AFtgCcP2E0Mevomf9YW1cL DIw+5hsKEMeqLZQxFjm9JeS2KXjx7Iqh3fI5ZDcbi4ykZ8jo8aJEXhcH7W/cwFgJ8pbXlhz1/ M3jTwYzyCoJFnua4nf+8sWInlh8f37a+9W/TZY+7ZRvemqfzteCbAWXnfs+QJVE5MdZUoCQ3n U/NRKsXAH+10b3vUzgw+KceK5JdusdXGSKFe5HCbvjRv04jGCioYYVRW1CrQ= X-Rspamd-Queue-Id: 46TcH36v7xz48fD X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=eAFJJC5B; dmarc=none; spf=none (mx1.freebsd.org: domain of ohartmann@walstatt.org has no SPF policy when checking 212.227.17.21) smtp.mailfrom=ohartmann@walstatt.org X-Spamd-Result: default: False [-3.17 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; RECEIVED_SPAMHAUS_PBL(0.00)[15.81.88.46.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-1.27)[ip: (-7.12), ipnet: 212.227.0.0/16(-1.37), asn: 8560(2.16), country: DE(-0.01)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[walstatt.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[21.17.227.212.list.dnswl.org : 127.0.3.1]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Sep 2019 11:38:57 -0000 On Thu, 12 Sep 2019 06:27:00 +0200 "O. Hartmann" wrote: > Hello, > > we install several pkg-based systems and poudriere from a dedicated tree= of > sources, instead of /usr/src it is in our case /pool/sources/CURRENT/src= and > 12-STABLE/src. Compilation of the sources is done within a JAIL! > > For a couple of days now, both trees, CURRENT (r352239 now) and 12-STABL= E > (r352239) fail at the exact same point, when compiling and further packa= ging: > > [...] > install -U -M > /pool/sources/CURRENT/obj/pool/sources/CURRENT/src/amd64.amd64/worldstag= e//METALOG > -D /pool/sources/CURRENT/obj/pool/sources/CURRENT/src/amd64.amd64/worlds= tage > -T package=3Dutilities -d -m 0755 -o root -g wheel > /pool/sources/CURRENT/obj/pool/sources/CURRENT/src/amd64.amd64/worldstag= e/boot > objcopy -S -O binary boot2.out boot2.bin btxld -v -E 0x2000 -f bin -b > /pool/sources/CURRENT/obj/pool/sources/CURRENT/src/amd64.amd64/stand/i38= 6/btx/btx/btx > -l boot2.ldr -o boot2.ld -P 1 boot2.bin make[10]: exec(btxld) failed (N= o such > file or directory) *** Error code 1 > [...] > > For reduction of the installed binaries and stuff, we use customized src= .conf > and each build process is delegated to its appropriate src.conf by setti= ng the > variabel SRCCONF accordingly; poudriere also uses the same src.conf by l= inking > the jailname-src.conf file into poudriere's config folder; the content o= f > src.conf is as follows: > > [...] > WITH_OFED=3D YES > #WITH_CTF=3D YES > # > #WITH_BEARSSL=3D YES > # > WITH_SVN=3D YES > # > WITH_SORT_THREADS=3D YES > # > MALLOC_PRODUCTION=3D YES > # > #WITHOUT_ASSERT_DEBUG=3D YES > #WITHOUT_DEBUG_FILES=3D YES > #WITHOUT_TESTS=3D YES > WITHOUT_PROFILE=3D YES > # > WITHOUT_REPRODUCIBLE_BUILD=3D YES > # > # mitigation for CVE-2017-5715 in the kernel build > WITH_RETPOLINE=3D YES > > [...] > > Building poudriere jails from such sources also fails since a couple of = days > on all platforms with a weird message thata folder and/or file atf-check= is > missing (this happens when using command sequence: poudriere jail -j jai= lname > -u -b and the install method of the appropriate jail is > src=3D/path/to/source/src. > > Thanks for helping, > > oh > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.or= g" After today's update of CURRENT's source tree and "poudriere jail -j jailn= ame -u -b", which should result in a successful build, the error is: [...] cc -target x86_64-unknown-freebsd13.0 =2D-sysroot=3D/pool/sources/CURRENT/obj/pool/poudriere/jails/headamd64/usr= /src/amd64.amd64/tmp -B/pool/sources/CURRENT/obj/pool/poudriere/jails/headamd64/usr/src/amd64.a= md64/tmp/usr/bin -O2 -pipe -O3 -DNDEBUG -I. -I/pool/poudriere/jails/headamd64/usr/src/contrib/elftoolchain/libelf -I/pool/poudriere/jails/headamd64/usr/src/contrib/elftoolchain/common -mretpoline -g -MD -MF.depend.elf_update.o -MTelf_update.o -std=3Dgnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror = -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-str= ings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winli= ne -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sig= n -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /pool/poudriere/jails/headamd64/usr/src/contrib/elftoolchain/libelf/elf_up= date.c -o elf_update.o /pool/poudriere/jails/headamd64/usr/src/contrib/elftoolchain/libelf/elf_up= date.c:841:67: error: unused parameter 'ex' [-Werror,-Wunused-parameter] _libelf_write_ehdr(Elf *e, unsigned char *nf, struct _Elf_Extent *ex) [...] As I mentioned earlier, the build is performed within a jail considered to= run poudriere and the task has been performed successful earlier (a couple of = days ago, but didn't memorised the revision number). On non-jailed hosts, this task works as expected, both on 12-STABLE (recen= t version 12.1-PRE) and CURRENT. Also did I remove the object's path and sta= rted a fresh build, so remnants from an earlier build can be excluded. /usr/local/etc/poudriere.d/jailname-poudriere.conf has a valid setting lik= e this: export MAKEOBJDIRPREFIX=3D/pool/sources/CURRENT/obj/ Another strategy also fails. Building all the binaries under ./obj from th= e base host with an objetctree of a valid and successful build and then jexe= 'ing into the poudriere jail, which has all the infrastructure on ZFS already mounted and typing there poudriere jail -j jailname -u which should result in a correct and successfuil installation, fails immediately with install -N /pool/sources/CURRENT/src/etc -C -o root -g wheel -m 444 libpythagoras.a /pool/poudriere/jails/headamd64/usr/tests/libexec/rtld-elf= / install -N /pool/sources/CURRENT/src/etc -C -o root -g wheel -m 444 libpythagoras_p.a /pool/poudriere/jails/headamd64/usr/tests/libexec/rtld-e= lf/ =2D-- ld_library_pathfds.install --- --- _proginstall --- --- realinstall_subdir_libexec/rtld-elf/tests/libpythagoras --- install: libpythagoras_p.a: No such file or directory *** [_libinstall] Error code = 71 I feel a bit lost here ... is there something special to jails? Kind regards, oh