From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: [PATCH] Clean all .go in clean-go Date: Wed, 31 Aug 2016 18:20:33 -0500 Message-ID: <20160831232034.13748-1-ericbavier@openmailbox.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfEoY-0006Nx-To for guix-devel@gnu.org; Wed, 31 Aug 2016 19:21:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfEoU-00058R-Lo for guix-devel@gnu.org; Wed, 31 Aug 2016 19:21:01 -0400 Received: from smtp28.openmailbox.org ([62.4.1.62]:56420 helo=smtp13.openmailbox.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfEoU-000580-CT for guix-devel@gnu.org; Wed, 31 Aug 2016 19:20:58 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: Eric Bavier From: Eric Bavier I encountered a runtime error recently while running `guix system reconfigure`. Thinking this might be because of an ABI break I ran `make clean-go && make` before trying again, with the same result. It turns out a module had been renamed, in this case fish.scm to shells.scm, but I had overlooked this and failed to update the list of modules in my config.scm's (use-package-modules ...) statement. However, I still had a stale fish.go sitting in my build directory, which `make clean-go` had failed to clean up, and guix happily loaded it. I believe the following patch is an appropriate way to avoid such errors in the future. Eric Bavier (1): build: Clean all .go files in clean-go. Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.9.3