From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roel Janssen Subject: Re: Circular dependency with LDC and Phobos Date: Fri, 25 Dec 2015 18:06:22 +0100 Message-ID: <871taapiep.fsf@gnu.org> References: <20151225165150.GA27096@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCVnk-00065I-TR for guix-devel@gnu.org; Fri, 25 Dec 2015 12:05:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCVnh-0004PR-LJ for guix-devel@gnu.org; Fri, 25 Dec 2015 12:05:12 -0500 In-reply-to: <20151225165150.GA27096@thebird.nl> 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: Pjotr Prins Cc: guix-devel@gnu.org Pjotr Prins writes: > 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 I think this specific case can be easily solved by the LDC developers by providing proper tarballs with the *complete* source code to build LDC.