Date: Fri, 3 Feb 2023 00:05:08 +0100 From: Moin Rahman <bofh@freebsd.org> To: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> Cc: ports@freebsd.org Subject: Re: Warnings about Mk/Uses/go.mk when building INDEX Message-ID: <6F4ECB42-03EA-4D54-B90F-A224D1E4CFF0@freebsd.org> In-Reply-To: <20230203074824.a4b8408887ebef28140c3cc1@dec.sakura.ne.jp> References: <8e251f66-5ef4-df84-913a-6c762b4d22dd@smo.de> <a937096d-ede1-9b47-24a9-3a2ebe90c5cf@FreeBSD.org> <20230203074824.a4b8408887ebef28140c3cc1@dec.sakura.ne.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <junchoon@dec.sakura.ne.jp> = wrote: >=20 > On Thu, 2 Feb 2023 15:09:59 -0500 > Dmitri Goutnik <dmgk@FreeBSD.org> 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 <junchoon@dec.sakura.ne.jp> >=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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6F4ECB42-03EA-4D54-B90F-A224D1E4CFF0>