From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Mixing build systems Date: Fri, 03 May 2019 07:26:21 +0200 Message-ID: <87muk4glcl.fsf@elephly.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:50030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMQiY-0007BA-OH for guix-devel@gnu.org; Fri, 03 May 2019 01:26:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMQiX-0007na-OF for guix-devel@gnu.org; Fri, 03 May 2019 01:26:42 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21357) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hMQiX-0007mf-86 for guix-devel@gnu.org; Fri, 03 May 2019 01:26:41 -0400 In-reply-to: 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: Pronaip Cc: "guix-devel@gnu.org" Pronaip writes: > Hi, I'm (still) trying to build Mininet and it uses both a Makefile > for building an C executable and setup.py to install its Python > modules. I looked at the soundconverter package to get some hints for > mixing build systems but couldn't get very far, I get all sorts of > (mostly cryptic) error messages, usually about missing modules. For future messages please always include the error messages. Looking at the soundconverter package we see this: (arguments `(#:imported-modules ((guix build python-build-system) (guix build glib-or-gtk-build-system) ,@%gnu-build-system-modules) #:modules ((guix build glib-or-gtk-build-system) (guix build utils) ((guix build gnu-build-system) #:prefix gnu:) ((guix build python-build-system) #:prefix python:)) #:phases =E2=80=A6 )) What you have is: #:imported-modules ((guix build python-build-system) (guix build gnu-build-system) ^=E2=80=94 add ,@%gnu-build-system-modules here ) #:modules ((guix build utils) (guix build python-build-system) #:prefix python: ^=E2=80=94 wrap this in parentheses (guix build gnu-build-system)) Note that the license field is also incorrect. There is no license by the name =E2=80=9Cbsd-style=E2=80=9D. --=20 Ricardo