From nobody Thu Feb 02 23:05:08 2023 X-Original-To: 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 4P7Ds44NpMz3kh8P for ; Thu, 2 Feb 2023 23:05:12 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P7Ds43wWfz3Nyd; Thu, 2 Feb 2023 23:05:12 +0000 (UTC) (envelope-from bofh@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675379112; 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=4ttkwaOu4LUdqqpCMiWQy/yVAScBlqkgmqqcnM4Qhds=; b=lwCPfUY4v+PfEnQiETChFu2usaK65zcVRcDKFe9tYOII3aMxKh6MUy12OaaYu0tzr92Gd+ GYDFPXWKCeTpnOaND9N+79E/I5C0bY0Nn+7hMtOb2NQfvDCureLPZMIcvgI40b0y+QE1Hc 529YNdxkiyxSKfaDMehy7pXih57IcFsNCYBDZahZKR7mpMZyCCsBf/AB8cXjteP5UEQnkB C1xMI1CTtB5UjfgFPciov52QdwOzFl+ExGFOmp9G/bgrPNl7irgqkuAoYSBNF5W9Iku6QI BJ0kFSWLqfA5P5eZPeLNx7tv+e/pZ1V8csxv5vxQqfm/ko4rOKeywaKV3VBdhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675379112; 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=4ttkwaOu4LUdqqpCMiWQy/yVAScBlqkgmqqcnM4Qhds=; b=tJd1xjXgdWmoY2Vl4yZQJy9adek/sHJVwgMqw/p1dYVONQzjYtuM2vD4TPbKHlwDSbwdBt Dy8FrVFboF8wxWh4Z4X8crhVOs+KmnIvzwybd8njyfvjDyDcaBa1JEl/Vv6sSmYAsLXDyE poW9gvOrf2KWMtp0n4GSMy1dVlsLfMMzvk0NdwMtDkm1Thl9bT9YhlvxmFc6hILt+nq1yL SVh3VVztZZMqeEsUlB29ToRBCq3zFGWcbKz6ljzndrMPLA+AgVR9BgtS9T7xZszlsxvCvJ /1o05r0fNEhanaKE9Vq0sArLCubNdSWPZAa7mxbzxxbqsAmkzHMeBR6q0UD1CQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675379112; a=rsa-sha256; cv=none; b=ifdCHVoHNTd6R8Z0JOxqEVbA3NNlnq2bPQIUYHn/B5rbq4CsL+uk42HTSK0wTNKL4YTKuw RVur7W44xY6LPsjp+M2pIznZV42hObuz8xool6OGee1JbblXH3FzI9/LytYwsmDQqeNJpo BklemD6y8uMojmQZi95wdFdP9Zr+BqUhH5z7r1K5UExfY58ZeizfFx8C0FvDC/OVXbu54b FzTXB8FUNYWpTWQ2MjPO1LsrC5HMZHVcCDrKo9k01ADs6Ek3Dm0JTwYxATci0Cypl8kTEW sqr8ahA4oOSu3CNFvy+W17Ejp7el49y9FM/swf7Vgcd9npHhe7lGJi8M9KQg7w== Received: from mx.bofh.network (mx.bofh.network [IPv6:2a0d:2787:2::28]) (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 (2048 bits) client-digest SHA256) (Client CN "mx.bofh.network", Issuer "R3" (verified OK)) (Authenticated sender: bofh/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4P7Ds37020zgK4; Thu, 2 Feb 2023 23:05:11 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtpclient.apple (ip-217-103-27-153.ip.prioritytelecom.net [217.103.27.153]) by mx.bofh.network (OpenSMTPD) with ESMTPSA id 04db05b5 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 2 Feb 2023 23:05:09 +0000 (UTC) Content-Type: multipart/signed; boundary="Apple-Mail=_0BC75D74-E323-4BBF-9475-520C1F2047C8"; protocol="application/pgp-signature"; micalg=pgp-sha512 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 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: Warnings about Mk/Uses/go.mk when building INDEX From: Moin Rahman In-Reply-To: <20230203074824.a4b8408887ebef28140c3cc1@dec.sakura.ne.jp> Date: Fri, 3 Feb 2023 00:05:08 +0100 Cc: ports@freebsd.org Message-Id: <6F4ECB42-03EA-4D54-B90F-A224D1E4CFF0@freebsd.org> References: <8e251f66-5ef4-df84-913a-6c762b4d22dd@smo.de> <20230203074824.a4b8408887ebef28140c3cc1@dec.sakura.ne.jp> To: Tomoaki AOKI X-Mailer: Apple Mail (2.3696.120.41.1.1) X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_0BC75D74-E323-4BBF-9475-520C1F2047C8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Feb 2, 2023, at 11:48 PM, Tomoaki AOKI = wrote: >=20 > On Thu, 2 Feb 2023 15:09:59 -0500 > Dmitri Goutnik wrote: >=20 >> On 02/02/2023 14:21, Philipp Ost wrote: >>> Hi everyone, >>>=20 >>> since at least two days, I'm getting these warning when building the = INDEX: >>>=20 >>> ----8<---- >>> --- describe.www --- >>> make[4]: "/usr/ports/Mk/Uses/go.mk" line 192: warning: duplicate = script >>> for target "go-post-fetch" ignored >>> make[4]: "Makefile" line 35: warning: using previous script for >>> "go-post-fetch" defined here >>> make[4]: "/usr/ports/Mk/Uses/go.mk" line 193: warning: duplicate = script >>> for target "go-post-fetch" ignored >>> make[4]: "Makefile" line 35: warning: using previous script for >>> "go-post-fetch" defined here >>> --- describe.x11-clocks --- >>> ---->8---- >>>=20 >>> Is anyone else seeing these warnings? >>>=20 >>> Best >>> Philipp >>>=20 >>=20 >> I was also getting these warnings when bulk building Go ports in = Poudriere: >>=20 >> [00:01:16] Warning: (www/gitlab-pages): make: = "/usr/ports/Mk/Uses/go.mk" >> line 192: warning: duplicate script for target "go-post-fetch" = ignored >> [00:01:16] Warning: (www/gitlab-pages): make: "Makefile" line 35: >> warning: using previous script for "go-post-fetch" defined here >> [00:01:16] Warning: (www/gitlab-pages): make: = "/usr/ports/Mk/Uses/go.mk" >> line 193: warning: duplicate script for target "go-post-fetch" = ignored >> [00:01:16] Warning: (www/gitlab-pages): make: "Makefile" line 35: >> warning: using previous script for "go-post-fetch" defined here >>=20 >> www/gitlab-pages/Makefile has a comment on why overriding = go-post-fetch >> was needed. >>=20 >> Best regards, >>=20 >> -- >> Dmitri Goutnik >> dg@syrec.org | dmgk@FreeBSD.org >=20 > Just a quick check (having not enough time and health): >=20 >=20 > % ugrep --binary --with-hex --exclude-dir=3D.git = --exclude-dir=3Ddistfiles \ > --exclude-dir=3Dpackages -r -n "USES" /usr/ports/www/ | ugrep " go" | = \ > cut -f 1 -w | cut -f 1 -d : | xargs fgrep -A 5 -B 5 "go-post-fetch" > = /usr/ports/www/gitlab-workhorse/Makefile-ca_root_nss>0:security/ca_root_ns= s > /usr/ports/www/gitlab-workhorse/Makefile-MASTER_SITES+=3D > = https://gitlab.com/gitlab-org/gitlab-foss/-/raw/v${DISTVERSION}/workhorse/= > /usr/ports/www/gitlab-workhorse/Makefile-DISTFILES+=3D go.mod > /usr/ports/www/gitlab-workhorse/Makefile-DIST_SUBDIR=3D go/$ > {PKGORIGIN:S,/,_,g}/${DISTNAME} > /usr/ports/www/gitlab-workhorse/Makefile-EXTRACT_ONLY+=3D $ > {DISTFILES:N*.mod\:*:N*.mod:C/:.*//} > /usr/ports/www/gitlab-workhorse/Makefile:_USES_fetch+=3D > 800:go-post-fetch > /usr/ports/www/gitlab-workhorse/Makefile:go-post-fetch: > /usr/ports/www/gitlab-workhorse/Makefile- > @${ECHO_MSG} "=3D=3D=3D> Fetching ${GO_MODNAME} dependencies"; > /usr/ports/www/gitlab-workhorse/Makefile- @(cd ${DISTDIR}/$ > {DIST_SUBDIR}; \ > /usr/ports/www/gitlab-workhorse/Makefile- [ -e go.mod ] > || ${RLN} ${GO_MODFILE} go.mod; \ > /usr/ports/www/gitlab-workhorse/Makefile- ${SETENV} $ > {GO_ENV} GOPROXY=3D${GO_GOPROXY} ${GO_CMD} mod download -x all) > /usr/ports/www/gitlab-workhorse/Makefile-# --------------------------- >=20 >=20 >=20 > -- > Tomoaki AOKI >=20 For now fixed at 8607332fb8268becd08f7e6cfbc853bc76e2cc43. --Apple-Mail=_0BC75D74-E323-4BBF-9475-520C1F2047C8 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmPcQaRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA vJFfSw//QjFwx4Rn55zIyp9eDk0LH+50y5biFVHaWrcP7a4RrYHdegYF0g/uywJL pLMGgqJBHHHB8e3AO0PsIw2PWR5IgG2QhP9tiHpzmagv7mHK9CZZRL6zQCeiRJiI J4APgztZenn4pZvgGzeqw2/e1GmC4m9tt1SIXnUCpOQeBgXtfqhD5TD+JhHBU5xC YNRvF5v+Ic9o3tqd4rcimdjrl85rXyqO9+Woc53HPAqgCZdGJPvD1/+o/1Kuq6ua YhdGyqEYTvEqFjwUBHtf9X+h9VCF5KrnGgS7mZucLuCUdKSH5UtR7clRek/gthPb ZSP71NQykxD6r0sC140UghsGo1RAWq9OxISl/l7TSNtQfkiTJUz8htY928atr8G7 c4DisjIl2jrT/ZcYK9i3YdfyKihvb9Av/PKN0802oajTokO7Hh6vsyagEdymLtfK 16M7VLm7+7vPcU5sT6iIRdd3FvuxyYNJsxdCZ+V4ojxDR4VlyOjaIwTf77Q3ED1B Oj6D4DK0Z4ZnzKVnHKxAR1IU4NQBKR3GdL5GtG7sAMUUzFPSWXogVqg2toycIjlI ci7PGQQx3IcAWslZ0TjxsJVvnqjN8mUIKfnlBc5Ekrq74PP8lgiGLqwBkHzQM1HM IP+Gsnl+rWZzRvTmLvxl96FNDpAlgXqlmDS4O6LGawS1Ug+Ewl4= =i4Wo -----END PGP SIGNATURE----- --Apple-Mail=_0BC75D74-E323-4BBF-9475-520C1F2047C8--