From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: Stuck on KiCad dependency wxPython Date: Thu, 7 Jul 2016 09:31:20 +0300 Message-ID: <20160707063120.GB17506@debian-netbook> References: <20160215084046.62d5307a@scratchpost.org> <20160523041319.GA10803@jasmine> <20160707002228.GA16818@jasmine> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CUfgB8w4ZwR/yMy5" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bL2qU-0007up-8w for guix-devel@gnu.org; Thu, 07 Jul 2016 02:31:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bL2qQ-0001E7-3s for guix-devel@gnu.org; Thu, 07 Jul 2016 02:31:33 -0400 Received: from flashner.co.il ([178.62.234.194]:47468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bL2qP-0001DC-OP for guix-devel@gnu.org; Thu, 07 Jul 2016 02:31:30 -0400 Content-Disposition: inline In-Reply-To: <20160707002228.GA16818@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@gnu.org --CUfgB8w4ZwR/yMy5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 06, 2016 at 08:22:28PM -0400, Leo Famulari wrote: > On Mon, May 23, 2016 at 12:13:19AM -0400, Leo Famulari wrote: > > On Mon, Feb 15, 2016 at 08:40:46AM +0100, Danny Milosavljevic wrote: > > > this patch adds kicad, an electronics design automation tool, to "eng= ineering.scm". > >=20 > > Cool, I would really like to offer KiCad in Guix. This fell through the > > cracks but I'd like to resurrect it! >=20 > KiCad recommends we build with support for scripting with wxPython [0], > so I'm packaging that, but I'm stuck. >=20 > It's a complicated package. It ./configures with Autotools, but builds > and installs with Python setuptools. I've attached my rough WIP patch. >=20 > Parts of the package definition are cribbed from Debian [1], Nix [2], > and Arch [3]. >=20 > It fails to find the wx headers, as below. I've tried adding them to > C_INCLUDE_PATH or setting -I/gnu/store/...-wxwidgets... in #:make-flags. >=20 > Any advice? >=20 > gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -W= strict-prototypes -fPIC -DSWIG_TYPE_TABLE=3D_wxPython_table -DSWIG_PYTHON_O= UTPUT_TUPLE -DSWIG_PYTHON_SILENT_MEMLEAK -DWXP_USE_THREAD=3D1 -UNDEBUG -Iin= clude -Isrc -I/gnu/store/2kf45v7w0iypnbcyk53ghihdqqlphay4-gtk+-2.24.30/incl= ude/gtk-2.0 -I/gnu/store/2kf45v7w0iypnbcyk53ghihdqqlphay4-gtk+-2.24.30/lib/= gtk-2.0/include -I/gnu/store/pmqssiwi3sdpgyxfiyv9g5w1dmhzg662-libpng-1.5.26= /include/libpng15 -I/gnu/store/1qsvhrcgji1bgzq16cg96n8ahd2yhb7d-pango-1.40.= 1/include/pango-1.0 -I/gnu/store/fqnr5fllihp95kan3a6cwg28b9fnqjd5-gdk-pixbu= f+svg-2.34.0/include/gdk-pixbuf-2.0 -I/gnu/store/qizy1vd86sxvn7dgwafi1c8vqh= nq8nrr-atk-2.20.0/include/atk-1.0 -I/gnu/store/vl3fs2xf64mgy4rw69fhddgh5zx3= vwbf-harfbuzz-1.2.4/include/harfbuzz -I/gnu/store/7hkzdkd6svcmc76hxqzlj5s7i= m01791r-cairo-1.14.6/include/cairo -I/gnu/store/6m4xdh1rj3np9w2fikf8wlq6lka= 1hmsg-glib-2.48.0/include/glib-2.0 -I/gnu/store/6m4xdh1rj3np9w2fikf8wlq6lka= 1hmsg-glib-2.48.0/lib/glib-2.0/include -I/gnu/store/8ifqb1iyyz2vgaap51izb2d= 306kfpqv4-pixman-0.34.0/include/pixman-1 -I/gnu/store/fcxz8rsfkwvjmwc5xrx44= 6ndl0hrc702-freetype-2.6.3/include/freetype2 -I/gnu/store/pmqssiwi3sdpgyxfi= yv9g5w1dmhzg662-libpng-1.5.26/include/libpng15 -I/gnu/store/jd5qm8r971dyh4h= 7dnfc07kmpfifspsb-python-2.7.10/include/python2.7 -c src/helpers.cpp -o bui= ld/temp.linux-x86_64-2.7/src/helpers.o -O3 -pthread > cc1plus: warning: command line option =E2=80=98-Wstrict-prototypes=E2=80= =99 is valid for C/ObjC but not for C++ > In file included from src/helpers.cpp:17:0: > include/wx/wxPython/wxPython_int.h:35:19: fatal error: wx/wx.h: No such f= ile or directory > #include > ^ > compilation terminated. > error: command 'gcc' failed with exit status 1 > phase `build' failed after 0.7 seconds > builder for `/gnu/store/lnvf3rz9nggjybrb7kx1pxca57qqmxbn-python-wxpython-= 3.0.2.0.drv' failed with exit code 1 >=20 > [0] > http://kicad-pcb.org/download/source/ >=20 > [1] > https://anonscm.debian.org/cgit/freewx/wx.git/tree/debian/repack.sh?id=3D= refs/heads/wxpy3.0-debian >=20 > [2] > https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modu= les/wxPython/3.0.nix >=20 > [3] > https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=3Dp= ackages/wxpython /gnu/store/h38zwyj2a64dpai99gavv3anhk303xyp-wxwidgets-3.0.2/include/wx-3.0/= wx/wx.h looks like you'll need (string-append "-I" (assoc-ref %build-inputs "wxwidgets") "/include/wx-3.0") as a configure flag --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --CUfgB8w4ZwR/yMy5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJXffc0AAoJEPTB05F+rO6THmwQAJc8dgGDHO6YtxjtJimlKKXk 1hofsu1Swu4Y+gt/Uxb1mUlKjDVz0sq8pZdfAZmQi6gkkcetXHcVQ3jCXuPVOcDo abgE5D8CTAk52Jwv3MAzsi7bejsHnY+zcQXReZ0Ozp8omi8mz83IVqxjQtQizuso 8sETf4mYO9+K/Ge9yQF4QY2hMMRr3wRkJnL8frkGKxCB15RFss1XDWtJvfjng6Mr ExSlOtBS80g09n5l9qcL22dU9fwQi+jOPmcZCfdZeMcerm5Z8w/4fkyZvBduItyU Ucyq7Ils1rpsBLZeu5tad3I3dtkEvlixRMPrF5+8CLzrzMtAEByz46C2acJsMF3l 7Mfk7aUBPdBR6A7ZeQQqRXyGpcjxzfGiRXUrM2KEWdx7fttDd0ImH/L9i81AT/gQ LKMPiEDiOhLwzTybbvUjWES8aC3vAIaBmkBRuw0B8mkrjhmT9FuJeOmn9dbdWoYZ kTVq0F1ubQL8QcsdXCoP3wGTP1XugU1q5clbCeAv47VaXDbbuYzekVSvf6UJBpj+ LGVp3zVgvxVyDBVDv+7YsWwHzH94UmBUUlMgEwDDG1PyEKQ8YJK6k79oY3cPurmZ 64f7KqIXCeDtTaymsH2is0QN3sGstPBuHe5rQM2vNByF+3AxJSv39o6DTS0/taJr cd7yVm6YdwKSdUW+ORhw =yyqi -----END PGP SIGNATURE----- --CUfgB8w4ZwR/yMy5--