From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Paul Schmidt Subject: Calling autogen.sh in a build Date: Tue, 12 Apr 2016 08:38:12 +0200 Message-ID: <570C97D4.1000709@gmx.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IfrQwX7IiPCmbP7JheRmiSw5JP1xgOS5l" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aprxp-0005Wr-QK for guix-devel@gnu.org; Tue, 12 Apr 2016 02:38:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aprxm-00043C-Hc for guix-devel@gnu.org; Tue, 12 Apr 2016 02:38:17 -0400 Received: from mout.gmx.net ([212.227.15.15]:57012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aprxm-000432-7i for guix-devel@gnu.org; Tue, 12 Apr 2016 02:38:14 -0400 Received: from [192.168.1.241] ([77.8.41.106]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Lu8Ri-1bosFP0W1e-011VTB for ; Tue, 12 Apr 2016 08:38:13 +0200 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: guix-devel This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --IfrQwX7IiPCmbP7JheRmiSw5JP1xgOS5l Content-Type: multipart/mixed; boundary="qup7OMSp7CRrVHt9blmsIfBF384afIbo1" From: Florian Paul Schmidt To: guix-devel Message-ID: <570C97D4.1000709@gmx.net> Subject: Calling autogen.sh in a build --qup7OMSp7CRrVHt9blmsIfBF384afIbo1 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, I'm trying to package rapicorn. And it's mostly gnu-build-system based, but I need to call autogen.sh (see below for package definitions). Sadly I suck and it fails. Got any ideas? Seems i need to rerun the patch-shebangs phase? Flo phase `patch-source-shebangs' succeeded after 0.1 seconds starting phase `pre-configure' + rm -rf autom4te.cache/ config.cache + autoreconf -vfsi autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --force libtoolize: putting auxiliary files in '.'. libtoolize: linking file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,= libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /gnu/store/51s6w6jw83rmdfyqhwmxrvv5qbzypz9b-autoconf-2.69/bin/autoconf --force autoreconf: running: /gnu/store/51s6w6jw83rmdfyqhwmxrvv5qbzypz9b-autoconf-2.69/bin/autoheader --force autoreconf: running: automake --add-missing --force-missing configure.ac:99: installing './compile' configure.ac:18: installing './config.guess' configure.ac:18: installing './config.sub' configure.ac:19: installing './install-sh' configure.ac:19: installing './missing' aidacc/Makefile.am:54: installing './py-compile' aidacc/tests/Makefile.am: installing './depcomp' autoreconf: Leaving directory `.' + intltoolize --force --automake + rm -f po/Makefile.in.in + cp -v po/Makefile.intltool po/Makefile.in.in ?po/Makefile.intltool? -> ?po/Makefile.in.in? + ./configure --enable-devel-mode=3Dyes =2E/autogen.sh: ./configure: /bin/sh: bad interpreter: No such file or directory phase `pre-configure' failed after 10.7 seconds builder for `/gnu/store/1djwvip7m0qsqlyqq65cgf3xwsh53lbr-rapicorn-16.0.0.drv' failed with exit code 1 @ build-failed /gnu/store/1djwvip7m0qsqlyqq65cgf3xwsh53lbr-rapicorn-16.0.0.drv - 1 builder for `/gnu/store/1djwvip7m0qsqlyqq65cgf3xwsh53lbr-rapicorn-16.0.0.drv' failed with exit code 1 guix build: error: build failed: build of `/gnu/store/1djwvip7m0qsqlyqq65cgf3xwsh53lbr-rapicorn-16.0.0.drv' failed 1 fps@mango 08:24:33 ~/src/bld/guix (beastbse)* $ (define libpng12 (package (name "libpng12") (version "1.2.56") (source (origin (method url-fetch) ;; Note: upstream removes older tarballs. (uri (list (string-append "mirror://sourceforge/libpng/libpng12/" version "/libpng-" version ".tar.xz") (string-append "ftp://ftp.simplesystems.org/pub/libpng/png/src= " "/libpng12/libpng-" version ".tar.xz"))) (sha256 (base32 "1ghd03p353x0vi4dk83n1nlldg11w7vqdk3f99rkgfb82ic59ki4")))) (build-system gnu-build-system) ;; libpng.la says "-lz", so propagate it. (propagated-inputs `(("zlib" ,zlib))) (synopsis "Library for handling PNG files") (description "Libpng is the official PNG (Portable Network Graphics) reference library. It supports almost all PNG features and is extensible.") (license license:zlib) (home-page "http://www.libpng.org/pub/png/libpng.html"))) (define autoconf-archive (package (name "autoconf-archive") (version "2016.03.20") (source (origin (method url-fetch) (uri (string-append "http://mirror.bibleonline.ru/gnu/" "autoconf-archive/autoconf-archive-" version ".tar.xz")) (sha256 (base32 "0dz4fnc723jqn3by22ds5fys7g31apzm1r9allldvva0yvzjxyw8")))= ) (build-system gnu-build-system) (home-page "http://www.gnu.org/software/autoconf-archive/") (synopsis "The GNU Autoconf Archive") (description "The GNU Autoconf Archive is a collection of more than 500 macros for [GNU Autoconf](http://www.gnu.org/software/autoconf) that have been contributed as free software by friendly supporters of the cause from all over the Internet.") (license license:gpl3+))) (define-public rapicorn (package (name "rapicorn") (version "16.0.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/tim-janik/" name "/archive/" version ".tar.gz")) (sha256 (base32 "0lgc9mcmd6ljj6dkg0fg4zipclsypy680wgsy4c468mf989kijrr")))= ) (build-system gnu-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-before 'configure 'pre-configure (lambda _ ; TODO: add explanation (zero? (system* "sh" "./autogen.sh"))))))) (native-inputs `(("pkg-config" ,pkg-config) ("autoconf" ,autoconf) ("autoconf-archive" ,autoconf-archive) ("automake" ,automake) ("libtool" ,libtool) ("glib" ,glib "bin") ("python2-cython" ,python2-cython) ("intltootl" ,intltool))) (inputs `(("cairo" ,cairo) ("croco" ,libcroco) ("glib" ,glib) ("pango" ,pango) ("python2" ,python-2) ("libxml2" ,libxml2) ("libpng12" ,libpng12) ("gtk+" ,gtk+) ("gdk-pixbuf" ,gdk-pixbuf) ("readline" ,readline) ("xorg" ,libx11))) (home-page "https://testbit.eu/wiki/Rapicorn_About") (synopsis "Rapicorn is a library written in C++ providing a widget toolkit for the creation of graphical user interfaces") (description "Rapicorn is a GUI toolkit offering concise declarative = UI design notation, separated from imperative programming logic. The source= code is released as Free Software and the project welcomes everyone to contribute ideas, code or otherwise. ") (license license:mpl2.0))) --=20 https://fps.io --qup7OMSp7CRrVHt9blmsIfBF384afIbo1-- --IfrQwX7IiPCmbP7JheRmiSw5JP1xgOS5l Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXDJfUAAoJEA5f4Coltk8Ziv8IAJDWNHlZa+sGsM/qYqoFG+1H f2i8Le4+fO8HXd9U/PZ9Wk/VCfdxtB6wNk2udvnQ5IL8PIZ7cWzuxHMTIU48Ywo0 HT4RD8NYcIhi4Oo5ewcKqRPSfCkEZWxuNQLSmcYuM3vufAFB9sI2/N9uVK+o0Z/f Us9rK0eSdaRjFI2EWSrZNqP7L+7aYfOx4VnPPOsFe2y6awxSGQGrHq6IdT4TRh5j tjfND6VBzYwHiDqpAi8JE3KRSC6XifrShOxksm8DRVJuOkvZwzGlu1bn8pRMy+dz 8w4yfIuj1Ju0zmHxODgKTM8I8RYKO9YjkCrZ38UCA3degKyMUCFfDhg6F8SygLU= =ZNTF -----END PGP SIGNATURE----- --IfrQwX7IiPCmbP7JheRmiSw5JP1xgOS5l--