From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Circular dependency with LDC and Phobos Date: Fri, 25 Dec 2015 17:51:50 +0100 Message-ID: <20151225165150.GA27096@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCVb1-0000Qu-CW for guix-devel@gnu.org; Fri, 25 Dec 2015 11:52:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCVaw-00011V-CA for guix-devel@gnu.org; Fri, 25 Dec 2015 11:52:03 -0500 Received: from mail.thebird.nl ([95.154.246.10]:42525) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCVaw-00011P-6h for guix-devel@gnu.org; Fri, 25 Dec 2015 11:51:58 -0500 Content-Disposition: inline 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org We are trying to build the LLVM D-compiler (ldc). The problem is a circular dependency on a D-library (Phobos). The D-compiler source won't compile without the Phobos sources which are in a separate repository. Normally it is handled by git --recurse, but I think it would be better to download the tar balls of the releases (I think git recurse submodules is not working in Guix anyway, last time I tried). How best to deal with this? Should I write a package which unpacks Phobos tarball and make the source available to ldc? ldc won't build without Phobos and Phobos won't build without ldc. >From the source: LDC currently needs custom forks of druntime and Phobos. They are integrated with the main repository using Git submodules. To build them, make sure you have up-to-date copies of the submodules in your local repository: $ git submodule update -i