GNU bug report logs - #62992
Stray po.go file

Previous Next

Package: guix;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Fri, 21 Apr 2023 13:02:01 UTC

Severity: normal

To reply to this bug, email your comments to 62992 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#62992; Package guix. (Fri, 21 Apr 2023 13:02:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Enge <andreas <at> enge.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 21 Apr 2023 13:02:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: bug-guix <at> gnu.org
Subject: Stray po.go file
Date: Fri, 21 Apr 2023 15:00:54 +0200
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





Information forwarded to bug-guix <at> gnu.org:
bug#62992; Package guix. (Fri, 21 Apr 2023 16:06:01 GMT) Full text and rfc822 format available.

Message #8 received at 62992 <at> debbugs.gnu.org (full text, mbox):

From: Julien Lepiller <julien <at> lepiller.eu>
To: bug-guix <at> gnu.org, Andreas Enge <andreas <at> enge.fr>, 62992 <at> debbugs.gnu.org
Subject: Re: bug#62992: Stray po.go file
Date: Fri, 21 Apr 2023 18:04:52 +0200
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 <at> 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
>
>
>
>




Information forwarded to bug-guix <at> gnu.org:
bug#62992; Package guix. (Fri, 21 Apr 2023 16:07:02 GMT) Full text and rfc822 format available.

This bug report was last modified 342 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.