summaryrefslogtreecommitdiff
path: root/guix/build
Commit message (Collapse)AuthorAge
...
| * | ruby-build-system: Error or return #t from all phases.Christopher Baines2018-07-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if the tests didn't pass, the check phase would evaluate to #f, but the package would be built sucessfully. This changes all the phases to raise exceptions if errors are encountered, and return #t otherwise. This involves using invoke rather than system*, so that exceptions are raised if the program exits with a status other than 0, and also returning #t at the end of functions. * gnu/build/ruby-build-system.scm (unpack): Use invoke rather than system*, and return #t at the end. (build, check): Use invoke rather than system*. (install): Remove the use of "and", and rewrite the error handling to raise an exception. (wrap): Return #t.
| * | Merge branch 'staging'Marius Bakke2018-07-13
| |\|
| | * Merge branch 'master' into stagingMarius Bakke2018-07-08
| | |\
| | * | gnu: java: Return #t from all phases and snippets.Mark H Weaver2018-06-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/java-utils.scm (ant-build-javadoc): Use invoke; return #t. * guix/build/ant-build-system.scm (generate-jar-indices): Return #t and remove vestigal plumbing. * gnu/packages/java.scm (classpath-bootstrap, ant-bootstrap, classpath-devel) (icedtea-6, icedtea-7, java-plexus-sec-dispatcher, ant/java8, clojure) (java-classpathx-servletapi, java-swt, java-qdox-1.12, java-hamcrest-core) (java-plexus-archiver, java-plexus-sec-dispatcher, java-modello-plugins-xml) (java-asm, java-commons-collections, java-commons-bsf, java-slf4j-api) (java-slf4j-api, java-slf4j-simple, java-stringtemplate-3) (java-stringtemplate, antlr3, antlr3-3.3, antlr3-3.1, java-ops4j-base-lang) (java-ops4j-pax-tinybundles, java-ops4j-pax-exam-core-spi) (java-fasterxml-jackson-core, java-fasterxml-jackson-databind) (java-fasterxml-jackson-modules-base-jaxb, java-ecj-3, java-ecj-3.5) (java-fasterxml-jackson-dataformat-yaml, java-woodstox-core) (java-fasterxml-jackson-dataformat-xml, java-testng, java-jnacl) (java-bouncycastle, java-powermock-core, java-powermock-modules-junit4) (java-jansi-native, java-jansi, java-commons-httpclient, java-commons-vfs) (java-apache-ivy, java-janino, java-logback-core): Return #t from all phases and snippets, use invoke where appropriate, and remove vestigial plumbing.
| | * | meson-build-system: Return #t from all phases.Mark H Weaver2018-06-28
| | | | | | | | | | | | | | | | | | | | * guix/build/meson-build-system.scm (configure, build, check, install): (fix-runpath): Use 'invoke' and return #t from all phases.
| | * | Merge branch 'master' into stagingMarius Bakke2018-06-19
| | |\ \
| | * | | guix: ant-build-system: Use manifest task to create manifest.Gábor Boskovits2018-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/ant-build-system.scm (default-build.xml): Use manifest task to create manifest file instead of a custom echo task.
| | * | | Merge branch 'master' into stagingMarius Bakke2018-06-18
| | |\ \ \
| | * | | | build-system/ant: Unconditionally return #t in build phases.Ricardo Wurmus2018-06-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/ant-build-system.scm (unpack, build, strip-jar-timestamps, check, install): Use invoke. Signed-off-by: Gábor Boskovits <boskovits@gmail.com>
| * | | | | build-system/haskell: Make phases fail on error.Danny Milosavljevic2018-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/haskell-build-system.scm (configure): Make it fail on error. (run-setuphs): Make it fail on error.
| * | | | | profiles: Factorize 'manifest-search-paths'.Ludovic Courtès2018-07-11
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | * guix/profiles.scm (manifest-search-paths): New procedure. (profile-derivation)[builder]: Use it. * guix/build/profiles.scm (build-etc/profile): Remove $PATH.
| * | | | syscalls: Define AT_SYMLINK_NOFOLLOW et al.Ludovic Courtès2018-07-03
| | |_|/ | |/| | | | | | | | | | | | | | | | | | * guix/build/syscalls.scm (AT_FDCWD, AT_SYMLINK_NOFOLLOW, AT_REMOVEDIR) (AT_SYMLINK_FOLLOW, AT_NO_AUTOMOUNT, AT_EMPTY_PATH): New variables. * tests/syscalls.scm ("utime with AT_SYMLINK_NOFOLLOW"): New test.
* | | | build-system/meson: Use invoke.Ricardo Wurmus2018-06-30
| | | | | | | | | | | | | | | | | | | | * guix/build/meson-build-system.scm (configure, build, check, install): Use "invoke" and unconditionally return #t.
* | | | Merge branch 'master' into core-updatesRicardo Wurmus2018-06-29
|\| | |
| * | | build-system/waf: Use invoke.Ricardo Wurmus2018-06-19
| | | | | | | | | | | | | | | | | | | | * guix/build/waf-build-system.scm (call-waf): Use "invoke" and unconditionally return #t.
| * | | compile: Work around non-thread-safe module autoloading.Ludovic Courtès2018-06-18
| | |/ | |/| | | | | | | | | | * guix/build/compile.scm <top level>: Set 'try-module-autoload' when running on Guile < 2.2.4.
| * | database: Add 'register-items'.Ludovic Courtès2018-06-14
| | | | | | | | | | | | | | | | | | | | | | | | * guix/build/store-copy.scm (store-info): Export. * guix/store/database.scm (register-items): New procedure. (register-path): Implement in terms of 'register-items'. * gnu/build/install.scm (register-closure): Use 'register-items' instead of 'for-each' and 'register-path'.
| * | store-copy: 'read-reference-graph' returns a list of records.Ludovic Courtès2018-06-14
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | The previous implementation of 'read-reference-graph' was good enough for many use cases, but it discarded the graph structure, which is useful information in some cases. * guix/build/store-copy.scm (<store-info>): New record type. (read-reference-graph): Rewrite to return a list of <store-info>. (closure-size, populate-store): Adjust accordingly. * gnu/services/base.scm (references-file): Adjust accordingly. * gnu/system/vm.scm (system-docker-image): Likewise. * guix/scripts/pack.scm (squashfs-image, docker-image): Likewise. * tests/gexp.scm ("gexp->derivation #:references-graphs"): Likewise.
* | build-system/r: Fix type error.Ricardo Wurmus2018-06-06
| | | | | | | | | | | | | | Reported-by: Mark H Weaver <mhw@netris.org> * guix/build/r-build-system.scm (pipe-to-r): Pass a list to the condition's "arguments" field.
* | Merge branch 'origin/core-updates-next' into core-updatesRicardo Wurmus2018-06-06
|\ \ | |/ |/|
| * build-system/meson: Use 'strip-runpath' instead of PatchELF.Ludovic Courtès2018-05-07
| | | | | | | | | | * guix/build/meson-build-system.scm (fix-runpath): Call 'strip-runpath' instead of invoking 'patchelf'.
| * gremlin: Add 'strip-runpath'.Ludovic Courtès2018-05-07
| | | | | | | | | | | | * guix/build/gremlin.scm (strip-runpath): New procedure. * tests/gremlin.scm (c-compiler): New variable. ("strip-runpath"): New test.
| * gremlin: Preserve offset info for dynamic entries.Ludovic Courtès2018-05-07
| | | | | | | | | | | | | | | | * guix/build/gremlin.scm (<dynamic-entry>): New record type. (raw-dynamic-entries): Return a list of <dynamic-entry>. (dynamic-entries): Adjust accordingly and return a list of <dynamic-entry>. (elf-dynamic-info)[matching-entry]: New procedure. Use it.
* | build-system/r: Use invoke.Ricardo Wurmus2018-05-31
| | | | | | | | | | | | * guix/build/r-build-system.scm (invoke-r): Use invoke. (pipe-to-r): Raise invoke-error on non-zero return value. (check): Unconditionally return #t.
* | Merge branch 'master' into core-updatesMark H Weaver2018-05-21
|\ \
| * | union: Do not warn about harmless collisions.Ludovic Courtès2018-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now we'd get pointless messages like: warning: collision encountered: /gnu/store/…-gtk-icon-themes/share/icons/hicolor/icon-theme.cache /gnu/store/…-inkscape-0.92.3/share/icons/hicolor/icon-theme.cache warning: choosing /gnu/store/…-gtk-icon-themes/share/icons/hicolor/icon-theme.cache * guix/build/union.scm (%harmless-collisions): New variable. (warn-about-collision): Honor it.
* | | Merge branch 'master' into core-updatesMark H Weaver2018-05-17
|\| |
| * | profiles: Optionally use relative file names for symlink targets.Ludovic Courtès2018-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/union.scm (symlink-relative): New procedure. * guix/build/profiles.scm: Re-export it. (build-profile): Add #:symlink and pass it to 'union-build'. * guix/profiles.scm (profile-derivation): Add #:relative-symlinks?. Pass #:symlink to 'build-profile'. * tests/profiles.scm ("profile-derivation relative symlinks, one entry") ("profile-derivation relative symlinks, two entries"): New tests.
| * | union: Add 'relative-file-name'.Ludovic Courtès2018-05-10
| | | | | | | | | | | | | | | | | | * guix/build/union.scm (%not-slash): New variable. (relative-file-name): New procedure. * tests/union.scm (test-relative-file-name): New macro and tests.
| * | build-system: android-ndk: Let upstream install header files.Danny Milosavljevic2018-05-10
| | | | | | | | | | | | | | | * guix/build/android-ndk-build-system.scm (install): Don't install header files ourselves.
| * | build-system: android-ndk: Support unit tests.Danny Milosavljevic2018-05-10
| | | | | | | | | | | | | | | | | | * guix/build-system/android-ndk.scm (android-ndk-build): Add googletest. * guix/build/android-ndk-build-system.scm (check): Check whether tests are enabled. Run root-level tests as well.
| * | build: Add the Android NDK build-system.Danny Milosavljevic2018-05-09
| | | | | | | | | | | | | | | | | | * guix/build-system/android-ndk.scm: New file. * guix/build/android-ndk-build-system.scm: New file. * Makefile.am: Add them.
* | | guix: ant-build-system: End "configure" phase with #t.Danny Milosavljevic2018-05-06
| | | | | | | | | | | | * guix/build/ant-build-system.scm (configure): End with #t.
* | | guix: ant-build-system: Create INDEX.LIST.Danny Milosavljevic2018-05-06
| | | | | | | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/31374>. * guix/build/ant-build-system.scm (generate-jar-indices): New procedure. (%standard-phases)[generate-jar-indices]: New phase.
* | | Merge branch 'master' into core-updatesMarius Bakke2018-05-06
|\| | | |/ |/|
| * build: emacs-utils: Fail when byte compilation fails.Maxim Cournoyer2018-05-03
| | | | | | | | | | | | | | | | | | Byte compilation failures were ignored prior to this change. * guix/build/emacs-utils.scm (emacs-byte-compile-directory): Fail when there are compilation errors. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
| * compile: Exit when an exception is thrown.Ludovic Courtès2018-05-01
| | | | | | | | | | | | | | | | | | Previously we could end up with only a subset of the modules built. Fixes <https://bugs.gnu.org/31329>. * guix/build/compile.scm (call/exit-on-exception): New procedure. (exit-on-exception): New macro. (compile-files): Use it.
| * Merge branch 'master' into stagingMarius Bakke2018-04-25
| |\
| * \ Merge branch 'master' into stagingMarius Bakke2018-04-16
| |\ \
| * | | build-system/meson: Don't override LDFLAGS if already set.Marius Bakke2018-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/meson-build-system.scm (configure): Test for LDFLAGS before adding ours. (cherry picked from commit 611c27db2aec8c2f72bc0c1e5c7d126dc95b39b2)
* | | | Merge branch 'master' into core-updatesMark H Weaver2018-04-21
|\ \ \ \ | | |_|/ | |/| |
| * | | build-system: emacs: Add improved check phase.Maxim Cournoyer2018-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build-system/emacs.scm (emacs-build): Add #:test-command keyword argument. Remove #:configure-flags and #:test-target keyword arguments. * guix/build/emacs-build-system.scm (check): New procedure. (%standard-phases): Register check phase after the build phase. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
| * | | build-system: emacs: Replace system* with invoke.Maxim Cournoyer2018-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/emacs-utils.scm: Use (guix build utils) for invoke. (emacs-batch-eval, emacs-batch-edit-file): Replace system* with invoke. * guix/build/emacs-build-system.scm (make-autoloads): No need to return #t explicitly since emacs-generate-autoloads now uses invoke. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
| * | | build-system: emacs: Search all inputs for Emacs Lisp directories.Maxim Cournoyer2018-04-20
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/emacs-build-system.scm (set-emacs-load-path): Include Emacs Lisp directories from all inputs. Also, add the unpacked source directory to EMACSLOADPATH. (emacs-inputs, emacs-inputs-directories, emacs-input->el-directory, emacs-inputs-el-directories): Remove. (%standard-phases): Move set-emacs-load-path phase to after unpack phase. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
* | | Merge branch 'master' into core-updatesMark H Weaver2018-04-10
|\| |
| * | union: Allow callers to choose the collision resolution policy.Ludovic Courtès2018-04-08
| | | | | | | | | | | | | | | | | | | | | * guix/build/union.scm (warn-about-collision): New procedure. (union-build): Add #:resolve-collision. [resolve-collisions]: Call it. * tests/union.scm ("union-build collision first & last"): New test.
| * | union: Slightly improve messages for file collisions.Ludovic Courtès2018-03-31
| |/ | | | | | | | | * guix/build/union.scm (union-build): Indent file names upon collision. Remove "arbitrarily" from the message.
* | build-system/meson: Don't override LDFLAGS if already set.Marius Bakke2018-04-02
| | | | | | | | | | * guix/build/meson-build-system.scm (configure): Test for LDFLAGS before adding ours.
* | ld-wrapper: Allow linking with non-store libraries by default.Ludovic Courtès2018-03-29
| | | | | | | | | | | | | | | | | | | | This was suggested on several occasions, notably <https://bugs.gnu.org/24544>. * gnu/packages/ld-wrapper.in (%allow-impurities?): Default to #t and parse the value of 'GUIX_LD_WRAPPER_ALLOW_IMPURITIES'. * guix/build/gnu-build-system.scm (set-paths): Set 'GUIX_LD_WRAPPER_ALLOW_IMPURITIES'.
* | gremlin: Fix typo in export list.Ludovic Courtès2018-03-29
| | | | | | | | * guix/build/gremlin.scm: Really export 'elf-dynamic-info-soname'.