GNU bug report logs - #22888
make fails - fallout from weechat move?

Previous Next

Package: guix;

Reported by: Chris Marusich <cmmarusich <at> gmail.com>

Date: Thu, 3 Mar 2016 02:22:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22888 in the body.
You can then email your comments to 22888 AT debbugs.gnu.org in the normal way.

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#22888; Package guix. (Thu, 03 Mar 2016 02:22:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chris Marusich <cmmarusich <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 03 Mar 2016 02:22:02 GMT) Full text and rfc822 format available.

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

From: Chris Marusich <cmmarusich <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: make fails - fallout from weechat move?
Date: Wed, 02 Mar 2016 18:21:04 -0800
Hi,

Starting with the following commit, invoking "make" from a clean
checkout fails:

e288f00 gnu: weechat: Move to irc.scm.

The problem occurs on this commit, and also on the master branch. I
searched for this issue in the existing bugs and the guix-devel email
list but found nothing, so I assume nobody has noticed it yet.  Here's
an example of the failure:

--8<---------------cut here---------------start------------->8---
$ ./bootstrap && ./configure --localstatedir=/var
[ lots of output, and it succeeds ]
$ make
[ lots of output ]
Making all in po/packages
make[2]: Entering directory '/home/marusich/guix/po/packages'
make guix-packages.pot-update
make[3]: Entering directory '/home/marusich/guix/po/packages'
make[3]: *** No rule to make target '../../gnu/packages/weechat.scm', needed by 'guix-packages.pot-update'.  Stop.
make[3]: Leaving directory '/home/marusich/guix/po/packages'
Makefile:266: recipe for target 'guix-packages.pot' failed
make[2]: *** [guix-packages.pot] Error 2
make[2]: Leaving directory '/home/marusich/guix/po/packages'
Makefile:3878: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/marusich/guix'
Makefile:2489: recipe for target 'all' failed
make: *** [all] Error 2
--8<---------------cut here---------------end--------------->8---

It looks like this commit moved some packages around but did not update
all the necessary references. Here is what it modified:

--8<---------------cut here---------------start------------->8---
$ git show --name-status
commit e288f0075cde7c645e1f914737f5f2b3d439bcd2
Author: Efraim Flashner <efraim <at> flashner.co.il>
Date:   Sun Feb 28 11:57:26 2016 +0200

    gnu: weechat: Move to irc.scm.
    
    * gnu/packages/weechat.scm (weechat): Move from here ...
    * gnu/packages/irc.scm (weechat): ... to here.
    * gnu/packages/weechat.scm: Delete file.
    * gnu-system.am (GNU_SYSTEM_MODULES): Remove weechat.scm.

M       gnu-system.am
M       gnu/packages/irc.scm
D       gnu/packages/weechat.scm
--8<---------------cut here---------------end--------------->8---

And here are some remaining references that I found after the change (in
a clean checkout):

--8<---------------cut here---------------start------------->8---
$ grep -r weechat.scm
po/packages/POTFILES.in:gnu/packages/weechat.scm
po/packages/pl.po:#: gnu/packages/weechat.scm:92
po/packages/pl.po:#: gnu/packages/weechat.scm:93
po/packages/da.po:#: gnu/packages/weechat.scm:92
po/packages/da.po:#: gnu/packages/weechat.scm:93
Binary file .git/objects/pack/pack-163c7788cc8522d4c9c8dd5f6b0e637c013d354e.pack matches
--8<---------------cut here---------------end--------------->8---

I would like to fix this, but I am not yet familiar with the
localization process. Judging by the regularity of the contents of the
files in po/packages and the git blame (which shows most everything
appearing in one commit), it looks like a tool was used to create them.

How can I resolve this issue? I imagine that I simply need to update the
files in the right way (probably using some kind of tool). Any guidance
you can provide will be helpful.

Thank you,
Chris




Information forwarded to bug-guix <at> gnu.org:
bug#22888; Package guix. (Thu, 03 Mar 2016 02:42:02 GMT) Full text and rfc822 format available.

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

From: Chris Marusich <cmmarusich <at> gmail.com>
To: 22888 <at> debbugs.gnu.org
Subject: additional information
Date: Wed, 02 Mar 2016 18:41:02 -0800
FYI, the reason nobody else has noticed this yet is probably because
once you build the preceding commit successfully, if you checkout the
master branch and then run "make" without cleaning the build artifacts
first, make will succeed. This is probably because make thinks the
relevant files are up to date. However, if you try to build from a clean
checkout, it will fail.




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Thu, 03 Mar 2016 16:46:01 GMT) Full text and rfc822 format available.

Notification sent to Chris Marusich <cmmarusich <at> gmail.com>:
bug acknowledged by developer. (Thu, 03 Mar 2016 16:46:02 GMT) Full text and rfc822 format available.

Message #13 received at 22888-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Chris Marusich <cmmarusich <at> gmail.com>
Cc: 22888-done <at> debbugs.gnu.org
Subject: Re: bug#22888: make fails - fallout from weechat move?
Date: Thu, 03 Mar 2016 17:45:15 +0100
Good catch!  Fixed in 8a56a3d7a3be5c44c4e3e174a0073298b5b88c5b.

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 01 Apr 2016 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 24 days ago.

Previous Next


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