unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22888: make fails - fallout from weechat move?
@ 2016-03-03  2:21 Chris Marusich
  2016-03-03  2:41 ` bug#22888: additional information Chris Marusich
  2016-03-03 16:45 ` bug#22888: make fails - fallout from weechat move? Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Chris Marusich @ 2016-03-03  2:21 UTC (permalink / raw)
  To: 22888

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@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

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

* bug#22888: additional information
  2016-03-03  2:21 bug#22888: make fails - fallout from weechat move? Chris Marusich
@ 2016-03-03  2:41 ` Chris Marusich
  2016-03-03 16:45 ` bug#22888: make fails - fallout from weechat move? Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Marusich @ 2016-03-03  2:41 UTC (permalink / raw)
  To: 22888


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.

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

* bug#22888: make fails - fallout from weechat move?
  2016-03-03  2:21 bug#22888: make fails - fallout from weechat move? Chris Marusich
  2016-03-03  2:41 ` bug#22888: additional information Chris Marusich
@ 2016-03-03 16:45 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2016-03-03 16:45 UTC (permalink / raw)
  To: Chris Marusich; +Cc: 22888-done

Good catch!  Fixed in 8a56a3d7a3be5c44c4e3e174a0073298b5b88c5b.

Ludo’.

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

end of thread, other threads:[~2016-03-03 16:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-03  2:21 bug#22888: make fails - fallout from weechat move? Chris Marusich
2016-03-03  2:41 ` bug#22888: additional information Chris Marusich
2016-03-03 16:45 ` bug#22888: make fails - fallout from weechat move? Ludovic Courtès

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).