[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Calling in a build

From: Florian Paul Schmidt
Subject: Calling in a build
Date: Tue, 12 Apr 2016 08:38:12 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0


I'm trying to package rapicorn. And it's mostly gnu-build-system based,
but I need to call (see below for package definitions).

Sadly I suck and it fails. Got any ideas? Seems i need to rerun the
patch-shebangs phase?


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: not using Gettext
autoreconf: running: aclocal --force
autoreconf: tracing
autoreconf: running: libtoolize --force
libtoolize: putting auxiliary files in '.'.
libtoolize: linking file './'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in
autoreconf: running:
autoreconf: running:
autoreconf: running: automake --add-missing --force-missing installing './compile' installing './config.guess' installing './config.sub' installing './install-sh' installing './missing'
aidacc/ installing './py-compile'
aidacc/tests/ installing './depcomp'
autoreconf: Leaving directory `.'
+ intltoolize --force --automake
+ rm -f po/
+ cp -v po/Makefile.intltool po/
?po/Makefile.intltool? -> ?po/
+ ./configure --enable-devel-mode=yes
./ ./configure: /bin/sh: bad interpreter: No such file or
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 address@hidden 08:24:33 ~/src/bld/guix (beastbse)* $

(define libpng12
    (name "libpng12")
    (version "1.2.56")
    (source (origin
              (method url-fetch)

              ;; Note: upstream removes older tarballs.
              (uri (list (string-append
                                        version "/libpng-" version
                          "/libpng12/libpng-" version ".tar.xz")))
    (build-system gnu-build-system)

    ;; says "-lz", so propagate it.
    (propagated-inputs `(("zlib" ,zlib)))

    (synopsis "Library for handling PNG files")
     "Libpng is the official PNG (Portable Network Graphics) reference
library.  It supports almost all PNG features and is extensible.")
    (license license:zlib)
    (home-page "";)))

(define autoconf-archive
    (name "autoconf-archive")
    (version "2016.03.20")
    (source (origin
              (method url-fetch)
              (uri (string-append "";
                                  version ".tar.xz"))
    (build-system gnu-build-system)
    (home-page "";)
    (synopsis "The GNU Autoconf Archive")
    (description "The GNU Autoconf Archive is a collection of more
than 500 macros for [GNU 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
    (name "rapicorn")
    (version "16.0.0")
    (source (origin
              (method url-fetch)
              (uri (string-append ""; name
                                  "/archive/" version ".tar.gz"))
    (build-system gnu-build-system)
       (modify-phases %standard-phases
          'configure 'pre-configure
          (lambda _ ; TODO: add explanation
            (zero? (system* "sh" "./")))))))
     `(("pkg-config" ,pkg-config)
       ("autoconf" ,autoconf)
       ("autoconf-archive" ,autoconf-archive)
       ("automake" ,automake)
       ("libtool" ,libtool)
       ("glib" ,glib "bin")
       ("python2-cython" ,python2-cython)
       ("intltootl" ,intltool)))
     `(("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 "";)
    (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)))


Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]