unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#62992: Stray po.go file
@ 2023-04-21 13:00 Andreas Enge
  2023-04-21 16:04 ` Julien Lepiller
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Enge @ 2023-04-21 13:00 UTC (permalink / raw)
  To: 62992

This is not related to the dancefloor. Someone on IRC mentioned that
"make clean-go" leaves a stray file guix/build/po.go.

I suppose that it should be added to Makefile.am in the line
that currently reads:
GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go $(dist_noinst_DATA:%.scm=%.go)

but would like to leave it to the experts.

Actually further above we have this:
MODULES_NOT_COMPILED =                          \
  guix/build/po.scm                             \
  guix/man-db.scm

So maybe a better fix would be to move guix/build/po.scm to MODULES
instead, since apparently it is compiled.

Andreas





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#62992: Stray po.go file
  2023-04-21 13:00 bug#62992: Stray po.go file Andreas Enge
@ 2023-04-21 16:04 ` Julien Lepiller
  0 siblings, 0 replies; 2+ messages in thread
From: Julien Lepiller @ 2023-04-21 16:04 UTC (permalink / raw)
  To: 62992, andreas

I don't remember why we did that. The constraints for that file are:

- it's not required to install it
- it must be built before the manuals are generated (it's used for translations)
- it should be built, since otherwise it takes a long time to run
- it has no dependencies
- it's not actually stray

Not sure what the best solution for that is. 

Le 21 avril 2023 15:00:54 GMT+02:00, Andreas Enge <andreas@enge.fr> a écrit :
>This is not related to the dancefloor. Someone on IRC mentioned that
>"make clean-go" leaves a stray file guix/build/po.go.
>
>I suppose that it should be added to Makefile.am in the line
>that currently reads:
>GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go $(dist_noinst_DATA:%.scm=%.go)
>
>but would like to leave it to the experts.
>
>Actually further above we have this:
>MODULES_NOT_COMPILED =                          \
>  guix/build/po.scm                             \
>  guix/man-db.scm
>
>So maybe a better fix would be to move guix/build/po.scm to MODULES
>instead, since apparently it is compiled.
>
>Andreas
>
>
>
>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-21 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-21 13:00 bug#62992: Stray po.go file Andreas Enge
2023-04-21 16:04 ` Julien Lepiller

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).