From nobody Sat Sep 25 17:04:34 2021 X-Original-To: freebsd-ports@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 9464717D322E for ; Sat, 25 Sep 2021 17:04:39 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HGwHV6vF7z4rQ7; Sat, 25 Sep 2021 17:04:38 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1632589479; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yuUEvxo0nQVuYT+mxGnMgkc8jyPxamIEpIX8ojSMBcY=; b=blqw1godB7/6ON4scu/CSJ8sizDvCWSAqY5MokXVjC3uFAZDjFNsaAQlm5eDQLnNsvJuBv FE+yQiuQQ6d7+t9DA8KQJYMfZfiI3J1KaqVddX9xbZXZzDtOIh+jyC7Fg0aYW5NxIlTmPe vdmgTo649cilcKX6Z9Qh9vXZ62ibyjYyZOVWGWZrzR7GL+dnHxJ+zSGmPAev7ez49Hp04+ 3ld2/z+oSXf7dBMVEETVXtNyBcj5deivZaHeAoOori6jMh3dB9JdY6TXc+EcZB9dpA8qBq jmk8bgeb1sANLTEMs7I/RtoRBwPny/O3De4GDZkHZSPpr0P2xJPoyghBo8rG5g== Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 80A201F4C2; Sat, 25 Sep 2021 17:04:38 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 8E0B124FEF; Sat, 25 Sep 2021 10:04:37 -0700 (PDT) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id iXsOesOxV3_Y; Sat, 25 Sep 2021 10:04:34 -0700 (PDT) Subject: Re: An example poudriere-devel pkgclean failure, multiple issues involved DKIM-Filter: OpenDKIM Filter v2.10.3 mail.xzibition.com 46D6A24FE2 To: Mark Millard Cc: freebsd-ports@freebsd.org References: <60228553-6aed-7335-0178-5903805893ae@FreeBSD.org> From: Bryan Drewery Organization: FreeBSD Message-ID: Date: Sat, 25 Sep 2021 10:04:34 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="980A6GgDZmlyojMgc5ZPSeT0Xk4977Ilo" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1632589479; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yuUEvxo0nQVuYT+mxGnMgkc8jyPxamIEpIX8ojSMBcY=; b=AKBUt/vEGhKMF72BY0PMfDj3bq7abM3Nfd7u5PhupvlMdpq/ZS7bkkdCMq+qqHMRvno5wQ E5T1zTv8CzbLAr7luCbK67GuqGq/zyhHL6DRRgA948orM487OOFT//4emF0w9e57TIZh1N ly+RzDK+JUrSahvS9WQbCeVcvkK0E0lf0QrA64oZtyxhN4sd0vfxeolou9Fw1qTxAZyYu3 BRgOSk06OIxzvTVAd6XdYHUiOm+6SttFjvGwqhM41J6y3XkVcJGz9DvxedO6fiZtceGUt0 4ZXYUNNSlEWIEWlAb4Wdq6leUVuqM83+YTsprpDgcbuM6Ie5VcveKlymg9O4EA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1632589479; a=rsa-sha256; cv=none; b=tIOJA3h437teu5KCN85hmIXlVp8AE6ntAo2DoFpuUUxYey7Jlpa0eni7DnD6xNYSDPqVQL vHl+OYzryJxoQ326AGG2efGHH1euvdNgChZnSyTR8/CPLJXEx9W1EJLR+aTCIDzHjJU9kz eaPL0mFk0pVVEfa5CSS/gu3JUja4Wdcirjd1ouH/Cd1pupSPJfDkFFa46gK++6DWT+SMFO oEcbsnZj7qbydZV3AYOY9iCme0qBvB2PHZklYw439XG9Zq4/MMbKiuBHgcAEE1zzTObt5r kW4/lRP5h4GxBQg3M0OYLxzT4C8EEighJOPwBZhwE9kyWlqANunxNVKhHhT3XQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --980A6GgDZmlyojMgc5ZPSeT0Xk4977Ilo Content-Type: multipart/mixed; boundary="fLHJE50v9clLmhQzEdMHFerpGjm1X1gFh"; protected-headers="v1" From: Bryan Drewery To: Mark Millard Cc: freebsd-ports@freebsd.org Message-ID: Subject: Re: An example poudriere-devel pkgclean failure, multiple issues involved References: <60228553-6aed-7335-0178-5903805893ae@FreeBSD.org> In-Reply-To: --fLHJE50v9clLmhQzEdMHFerpGjm1X1gFh Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 9/25/2021 12:31 AM, Mark Millard wrote: >=20 >=20 > On 2021-Sep-24, at 12:06, Bryan Drewery wrote= : >=20 >> On 9/22/2021 12:26 PM, Mark Millard wrote: >>> When I just tried to pkgclean -a I got: >>> >>> # poudriere pkgclean -jmain-CA7 -a -y >>> [00:00:00] Gathering all expected packages >>> [00:00:00] Creating the reference jail... done >>> [00:00:03] Mounting system devices for main-CA7-default >>> [00:00:03] Mounting ports from: /usr/ports >>> [00:00:03] Mounting packages from:=20 >>> [00:00:03] Mounting distfiles from: /usr/ports/distfiles >>> [00:00:03] Copying /var/db/ports from: /usr/local/etc/poudriere.d/opt= ions >>> [00:00:03] Appending to make.conf: /usr/local/etc/poudriere.d/make.co= nf >>> [00:00:03] Appending to make.conf: /usr/local/etc/poudriere.d/main-CA= 7-make.conf >>> /etc/resolv.conf -> /usr/local/poudriere/data/.m/main-CA7-default/ref= /etc/resolv.conf >>> [00:00:03] Starting jail main-CA7-default >>> [00:00:04] Loading MOVED for /usr/local/poudriere/data/.m/main-CA7-de= fault/ref/usr/ports >>> [00:00:05] Ports supports: FLAVORS SELECTED_OPTIONS >>> [00:00:05] Gathering ports metadata >>> [00:02:11] Calculating ports order and dependencies >>> [00:02:46] Sanity checking the repository >>> [00:02:46] Unqueueing existing packages >>> [00:02:50] Sanity checking build queue >>> [00:02:52] Error: Packages stuck in queue (depended on but not in que= ue): HPCombi-0.0.6_1 >> >> I had not seen this one before. I was able to repro it locally. git >> bisect run is amazing and identified the bad commit. I'll probably hav= e >> a fix in a few days. >> >>> IPA-1.08_2 >>> R-cran-s2-1.0.6 >>> . . . >>> zig-0.8.1 >>> zxid-1.42_1 >>> [: -gt: unexpected operator >>> [: -gt: unexpected operator >>> [: -gt: unexpected operator >>> /usr/local/share/poudriere/pkgclean.sh: POUDRIERE_BUILD_TYPE: paramet= er not set >> >> This is fixed in Poudriere git at least. >> >> Thanks for ccing me. >> >=20 > You are welcome. >=20 > I tried another use of pkgclean after building lang/rust explicitly > (just to measure some resource use via a patched top). But the > context is not as up to date: >=20 > # poudriere version > poudriere-git-3.3.99.20210907_1 >=20 > I tried to see what the following would do: >=20 > # poudriere pkgclean -j13_0R-CA72 -a -f ~/origins/CA72-origins.txt=20 > [00:00:00] Gathering all expected packages > [00:00:00] Creating the reference jail... done > [00:00:05] Mounting system devices for 13_0R-CA72-default > [00:00:05] Mounting ports from: /usr/ports > [00:00:05] Mounting packages from:=20 > [00:00:05] Mounting distfiles from: /usr/ports/distfiles > [00:00:05] Copying /var/db/ports from: /usr/local/etc/poudriere.d/optio= ns > [00:00:05] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf= > [00:00:05] Appending to make.conf: /usr/local/etc/poudriere.d/13_0R-CA7= 2-make.conf > /etc/resolv.conf -> /usr/local/poudriere/data/.m/13_0R-CA72-default/ref= /etc/resolv.conf > [00:00:05] Starting jail 13_0R-CA72-default > [00:00:07] Loading MOVED for /usr/local/poudriere/data/.m/13_0R-CA72-de= fault/ref/usr/ports > [00:00:08] Ports supports: FLAVORS SELECTED_OPTIONS > [00:00:08] Gathering ports metadata > [00:03:01] Warning: (graphics/qgis): make: "/etc/make.conf" line 69: Ne= ed an operator > [00:03:01] Warning: (graphics/qgis): make: Fatal errors encountered -- = cannot continueError: Error looking up dependencies for graphics/qgis > [00:03:01] Warning: (graphics/qgis-ltr): make: "/etc/make.conf" line 69= : Need an operator > [00:03:01] Warning: (graphics/qgis-ltr): make: Fatal errors encountered= -- cannot continueError: Error looking up dependencies for graphics/qgis= -ltr > [00:05:46] Warning: (www/chromium): make: "/usr/ports/www/chromium/Make= file" line 210: warning: "/usr/bin/grep mempcpy /usr/include/string.h" re= turned non-zero status > [00:06:39] Error: Fatal errors encountered gathering initial ports meta= data > [: -gt: unexpected operator > [: -gt: unexpected operator > [: -gt: unexpected operator > /usr/local/share/poudriere/pkgclean.sh: POUDRIERE_BUILD_TYPE: parameter= not set > [00:06:39] Cleaning up > [00:06:39] Unmounting file systems >=20 > The (www/chromium) one is for: >=20 > BASE_MEMPCPY!=3D ${GREP} mempcpy ${CROSS_SYSROOT}/usr/include/string.h= I fixed that in the chromium port yesterday. >=20 > which is oroginal material, not something of mine. >=20 > It is less obvious what line 69 "Need an operator" messags are for > in /etc/make.conf is since the file is probably generated from other > files. Is it line 69 of /usr/local/etc/poudriere.d/make.conf ? That Not quite as it uses that to generate a temporary one. You could add a cat ${dst_makeconf} or cp or something at the end of setup_makeconf() in /usr/local/share/poudriere/common.sh to get to the make.conf being used. > would be: >=20 > #.if ${.MAKE.LEVEL} =3D=3D 0 >=20 > But that is a comment line. >=20 > It is not obvious how to get rid of ust the temporary www/rust package > in a supported way. Just rm -f the file from the packages dir. pkgclean doesn't do much special. There is a hidden cache that is related but it will be cleaned up when accessed or on the next successful pkgclean. >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) >=20 --=20 Bryan Drewery --fLHJE50v9clLmhQzEdMHFerpGjm1X1gFh-- --980A6GgDZmlyojMgc5ZPSeT0Xk4977Ilo Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEE+Rc8ssOq6npcih8JNddxu25Gl88FAmFPVqIFAwAAAAAACgkQNddxu25Gl89e rwgA00Gdnlx2gTJVYU1wDKe3MhR/PGLTSSv7LRS9mutX2qBP2KwzMPiPZufvgUfifnHBOEJCSCRv YWd31bOa92+DC8KEX/7J7BA8X6J0TSjdNcqkFrEpB7bN/EwswenAUpG4xZm1G7qpkk3vBK8CFHZj ICaWFl/75ScntCu038u8kyeWFEqJt3jutKOiE3+40F8GBhvtkO/BSlpRfO6Exb2cJ69freewh1tv 7u4m3A7OYaYFD/6wAxKeCGGCEO88YN7T7Whx8m8e8Mp9quRX2A9UZM+3k2xD9NeLuv98BMr7DnwW hCa4h5NkVgqOzZmaBLPSEWB3eBsbF0JnNOtb/z+GeQ== =C9Qk -----END PGP SIGNATURE----- --980A6GgDZmlyojMgc5ZPSeT0Xk4977Ilo--