Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Feb 2023 15:09:59 -0500
From:      Dmitri Goutnik <dmgk@FreeBSD.org>
To:        Philipp Ost <pj@smo.de>
Cc:        ports@freebsd.org
Subject:   Re: Warnings about Mk/Uses/go.mk when building INDEX
Message-ID:  <a937096d-ede1-9b47-24a9-3a2ebe90c5cf@FreeBSD.org>
In-Reply-To: <8e251f66-5ef4-df84-913a-6c762b4d22dd@smo.de>
References:  <8e251f66-5ef4-df84-913a-6c762b4d22dd@smo.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/02/2023 14:21, Philipp Ost wrote:
> Hi everyone,
> 
> since at least two days, I'm getting these warning when building the INDEX:
> 
> ----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----
> 
> Is anyone else seeing these warnings?
> 
> Best
> Philipp
> 

I was also getting these warnings when bulk building Go ports in Poudriere:

[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

www/gitlab-pages/Makefile has a comment on why overriding go-post-fetch 
was needed.

Best regards,

-- 
Dmitri Goutnik
dg@syrec.org | dmgk@FreeBSD.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a937096d-ede1-9b47-24a9-3a2ebe90c5cf>