unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Florian Paul Schmidt <mista.tapas@gmx.net>
To: guix-devel <guix-devel@gnu.org>
Subject: Calling autogen.sh in a build
Date: Tue, 12 Apr 2016 08:38:12 +0200	[thread overview]
Message-ID: <570C97D4.1000709@gmx.net> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 6073 bytes --]


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=yes
./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)))

-- 
https://fps.io


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

             reply	other threads:[~2016-04-12  6:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-12  6:38 Florian Paul Schmidt [this message]
2016-04-12  6:49 ` Calling autogen.sh in a build Taylan Ulrich Bayırlı/Kammer
2016-04-12  7:42 ` Ricardo Wurmus
2016-04-12  8:34   ` Florian Paul Schmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=570C97D4.1000709@gmx.net \
    --to=mista.tapas@gmx.net \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).