From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Sassmannshausen Subject: Re: [PATCH 0/3] Add a generalized `wrap-language-programs` Date: Fri, 18 Nov 2016 09:02:10 +0100 Message-ID: <87a8cxnrlp.fsf@gmail.com> References: <20161116132734.5943-1-alex@pompo.co> <582C6035.1070202@crazy-compilers.com> <87d1hunlmy.fsf@gmail.com> <20161117211532.GC5556@jasmine> Reply-To: alex.sassmannshausen@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7e7l-0007d3-HY for guix-devel@gnu.org; Fri, 18 Nov 2016 03:02:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7e7i-0002gX-G8 for guix-devel@gnu.org; Fri, 18 Nov 2016 03:02:17 -0500 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:33453) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c7e7i-0002fE-8T for guix-devel@gnu.org; Fri, 18 Nov 2016 03:02:14 -0500 Received: by mail-wm0-x243.google.com with SMTP id u144so3483017wmu.0 for ; Fri, 18 Nov 2016 00:02:14 -0800 (PST) In-reply-to: <20161117211532.GC5556@jasmine> 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: Leo Famulari Cc: guix-devel Hi Leo, Leo Famulari writes: > On Thu, Nov 17, 2016 at 04:58:45PM +0100, Alex Sassmannshausen wrote: >> >> Hello >> >> > You may try e.g. scons, pip, sphinx, or youtube-dl. >> >> Hartmut was kind enough to suggest the above python applications to test >> this `wrap-language-programs` patch set against, however I have been >> stuck in "Rebuild the world"-hell for the last day and a half setting up >> testcases. >> >> I end up feeling a bit desesperated and incompetent, as I'm sure it's >> not supposed to be this hard to create an appropriate test scenario here >> — so I was wondering whether anyone has any pointers in avoiding >> constantly rebuilding the world? > > Most of the Guix distribution depends on Perl, and most of the rest > depends on Python ;) > > Try `guix refresh -l perl`. > > So, changing the build systems for these languages will require you to > rebuild almost everything. Thank you for pointing this out. As I took a walk yesterday evening it slowly started to dawn on me that something like this might be going on! It's super useful to have this confirmed as the cause though: it gave me that satisfying feeling of pieces of a larger puzzle falling into place in my head :-) > Changes like this will need to go on the core-updates branch, where we > make changes to the core of the system. Makes sense, I will push it to core-updates tonight. > You could create a separate perl-test-build-system and use it for your > test packages. I guess this would mean that 'the world' would still depend on the unchanged build system, thus being substitutable, and only my test packages needing to be rebuilt with the changed build system. That makes a lot of sense. Cheers! With a new sense of clarity, Alex