From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: bug#22888: make fails - fallout from weechat move? Date: Wed, 02 Mar 2016 18:21:04 -0800 Message-ID: <87lh60mhdb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abItx-00034G-Jy for bug-guix@gnu.org; Wed, 02 Mar 2016 21:22:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abItu-0002mp-Bw for bug-guix@gnu.org; Wed, 02 Mar 2016 21:22:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:33011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abItu-0002ml-89 for bug-guix@gnu.org; Wed, 02 Mar 2016 21:22:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1abItu-0003AI-42 for bug-guix@gnu.org; Wed, 02 Mar 2016 21:22:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abIt5-00031u-3Z for bug-guix@gnu.org; Wed, 02 Mar 2016 21:21:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abIt1-0002fN-U5 for bug-guix@gnu.org; Wed, 02 Mar 2016 21:21:11 -0500 Received: from mail-pf0-x22b.google.com ([2607:f8b0:400e:c00::22b]:34767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abIt1-0002fJ-Ll for bug-guix@gnu.org; Wed, 02 Mar 2016 21:21:07 -0500 Received: by mail-pf0-x22b.google.com with SMTP id 4so5327998pfd.1 for ; Wed, 02 Mar 2016 18:21:07 -0800 (PST) Received: from carbuncle ([172.56.42.56]) by smtp.gmail.com with ESMTPSA id qy7sm55987369pab.34.2016.03.02.18.21.05 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 02 Mar 2016 18:21:05 -0800 (PST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 22888@debbugs.gnu.org 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 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