summaryrefslogtreecommitdiff
path: root/gnu/packages/commencement.scm
AgeCommit message (Expand)Author
2018-12-24gnu: commencement: Do not graft early bootstrap packages....This is a followup to e47c69f22638dc92ee962942b8e24284c8dee832 and a repetition of f00b85ff8d34df0a1879e593d4a85629b8586af7. * gnu/packages/commencement.scm (file-boot0): Use 'inherit' instead of 'package/inherit'. Ludovic Courtès
2018-12-24gnu: file: Fix CVE-2018-10360....* gnu/packages/patches/file-CVE-2018-10360.patch: New file. * gnu/packages/file.scm (file)[replacement]: New field. (file/fixed): New variable. * gnu/packages/commencement.scm (file-boot0): Use 'package/inherit' to receive security fixes. * gnu/local.mk (dist_patch_DATA): Register it. Efraim Flashner
2018-09-01gnu: gcc@4.9: Fix FTBFS with Glibc >= 2.28....* gnu/packages/commencement.scm (gcc-for-libstdc++): New variable. (libstdc++-boot0): Inherit from GCC-FOR-LIBSTDC++ instead of GCC-4.9. * gnu/packages/gcc.scm (gcc-4.9)[source](patches): Add "gcc-4.9-libsanitizer-ustat.patch". * gnu/packages/patches/gcc-4.9-libsanitizer-ustat.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Marius Bakke
2018-06-30gnu: gcc-toolchain: Add version 8....* gnu/packages/commencement.scm (gcc-toolchain-8): New variable. Ludovic Courtès
2018-05-24Merge branch 'master' into core-updatesMark H Weaver
2018-05-23gnu: Use "code" instead of "indent"....This is a follow-up to commit e470abf8b789e61ae918a80f141e3c06afd44832. * gnu/packages/commencement.scm, gnu/packages/flex.scm: Use module "code" instead of "indent". Ricardo Wurmus
2018-05-17Merge branch 'master' into core-updatesMark H Weaver
2018-05-08guix: Separate the package name and version with "@", not "-"....* guix/packages.scm (package-full-name): By default, use "@" to separate the package name and package version. Add an optional delimiter argument so that there is still a way to explicitly use a different delimiter. * gnu/packages/commencement.scm (gcc-boot0) <unpack-gmp&co>: Adjust accordingly. * tests/graph.scm: Adjust accordingly. * tests/profiles.scm: Adjust accordingly. * NEWS: Mention the change. Fixes: <https://bugs.gnu.org/31088>. Reported by Pierre Neidhardt <ambrevar@gmail.com>. Chris Marusich
2018-04-30Merge branch 'master' into core-updatesMark H Weaver
2018-04-28gnu: gcc-toolchain: Add "static" output....This allows the use of 'gcc-toolchain' to create statically-linked executables (requires libc.a.) * gnu/packages/commencement.scm (make-gcc-toolchain): Add "static" output. Add "libc-static" to 'inputs'. Add call to 'union-build' for the "static" output. Ludovic Courtès
2018-04-01gnu: commencement: Avoid extra Perl build in the DAG....* gnu/packages/commencement.scm (grep-final): Move reference to PERL-BOOT0 outside of 'package-with-explicit-inputs'. Previously we would actually depend on a variant of 'perl-boot0' built with %BOOT5-INPUTS, which defeated the intent to not add an extra Perl build in the DAG. Ludovic Courtès
2018-04-01gnu: sed: Update to 4.5....* gnu/packages/base.scm (sed): Update to 4.5. [arguments]: Remove 'patch-test-suite' phase. [native-inputs]: New field. Ludovic Courtès
2018-03-27gnu: Use invoke and return #t from all builders....* gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm, gnu/packages/avr.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm, gnu/packages/certs.scm, gnu/packages/check.scm, gnu/packages/code.scm, gnu/packages/commencement.scm, gnu/packages/dictionaries.scm, gnu/packages/docbook.scm, gnu/packages/emacs.scm, gnu/packages/embedded.scm, gnu/packages/fonts.scm, gnu/packages/games.scm, gnu/packages/gnome.scm, gnu/packages/gnu-doc.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm, gnu/packages/javascript.scm, gnu/packages/libreoffice.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/pkg-config.scm, gnu/packages/qt.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/sdl.scm, gnu/packages/statistics.scm, gnu/packages/syncthing.scm, gnu/packages/tex.scm, gnu/packages/web.scm, gnu/packages/wine.scm, gnu/packages/xfce.scm: In the builders of packages using 'trivial-build-system', use invoke where appropriate, raise exceptions on errors, and otherwise return #t. Mark H Weaver
2018-03-25gnu: perl-boot0: Return #t from all phases....* gnu/packages/commencement.scm (perl-boot0): Return #t from the 'disable-pthreads' phase. Mark H Weaver
2018-03-22gnu: glibc: Update to 2.27....* gnu/packages/base.scm (glibc/linux): Update to 2.27. [source](patches): Add 'glibc-hidden-visibility-ldconfig.patch' and 'glibc-2.27-git-fixes.patch'. [native-inputs]: Add BISON. [arguments]: Remove deprecated "--enable-add-ons" from #:configure-flags. Also remove unneeded "libc_cv_ssp=no" and "libcv_ssp_strong=no". (glibc-2.26): New public variable. * gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)[native-inputs]: Add BISON-BOOT0. * gnu/packages/patches/glibc-2.27-git-fixes.patch, gnu/packages/patches/glibc-hidden-visibility-ldconfig.patch: New files. * gnu/local.mk (dist_patch_DATA): Register them. Marius Bakke
2018-03-16gettext-boot0: Return #t from chdir phase....* gnu/packages/commencement.scm (gettext-boot0)[arguments]: Return #t from chdir phase. Mark H Weaver
2018-03-14Merge branch 'master' into core-updatesRicardo Wurmus
2018-03-14Revert "gnu: Add replacement for static-bash-for-glibc."...This reverts commit c4fb2b9f4e9ca1c5b586090b765b51b2a5042eff. Ricardo Wurmus
2018-03-14gnu: Add replacement for static-bash-for-glibc....This is needed to replace the static bash used in glibc-final. * gnu/packages/commencement.scm (patched-glibc-final-with-bootstrap-bash, patched-static-bash-for-glibc): New variables. (static-bash-for-glibc)[replacement]: Use patched-static-bash-for-glibc as a replacement. Ricardo Wurmus
2018-03-08gnu: Remove gcc-for-libstdc++....* gnu/packages/commencement.scm (libstdc++-boot0): Remove variable. (libstdc++-boot0): Use GCC-4.9 instead. Marius Bakke
2018-03-07gnu: commencement: 'glibc-final' inherits the replacement of 'glibc'....That was the intent of commit b672a8160755bab07fb3c13dbc43dcc26525a7b7, but that commit left 'glibc-final' ungrafted. Reported by Ricardo Wurmus at <https://lists.gnu.org/archive/html/guix-devel/2018-02/msg00435.html>. * gnu/packages/commencement.scm (glibc-final): Use 'package/inherit' so that we inherit the 'replacement' of GLIBC. Ludovic Courtès
2018-03-07gnu: commencement: 'glibc-final' now inherits from 'glibc'....* gnu/packages/commencement.scm (glibc-final): Inherit from GLIBC instead of GLIBC-FINAL-WITH-BOOTSTRAP-BASH. [propagated-inputs]: New fields. Ludovic Courtès
2018-02-27gnu: commencement: Add commentary regarding grafts....* gnu/packages/commencement.scm: Add comments that were originally included only in the Git commit message of f00b85ff8d34df0a1879e593d4a85629b8586af7. Co-Authored-By: Ludovic Courtès <ludo@gnu.org> Chris Marusich
2018-02-20gnu: commencement: Update phase style....* gnu/packages/commencement.scm (gnu-make-boot0): Substitute INVOKE for SYSTEM* and end phases with #t. (glibc-final-with-bootstrap-bash)[arguments]: Use MODIFY-PHASES syntax and end phase with #t. (gcc-boot0)[arguments]: Do all of the above. Tobias Geerinckx-Rice
2018-01-18gnu: commencement: Memoize 'linux-libre-headers-boot0'....Fixes <https://bugs.gnu.org/30155>. The effect can be seen in the package graph produced by: guix graph -e '(@@ (gnu packages commencement) static-bash-for-glibc)' This reduces the number of "duplicate" nodes in this graph, i.e., distinct package objects that correspond to the same derivation (objects that are not 'eq?' but semantically equal.) * gnu/packages/commencement.scm (linux-libre-headers-boot0): Make an 'mlambda' instead of a 'lambda'. (hurd-core-headers-boot0): Ditto. Ludovic Courtès
2018-01-18gnu: gcc@4.9: Fix building with glibc@2.26....* gnu/packages/gcc.scm (gcc@4.9)[source]: Add snippet to adjust linux-unwind.h to changes in glibc. * gnu/packages/commencement.scm (gcc-for-libstdc++): New variable. (libstdc++-boot0): Inherit from gcc-for-libstdc++, update note. Efraim Flashner
2018-01-11Merge branch 'master' into core-updatesLeo Famulari
2018-01-11gnu: grep: Add dependency on PCRE....Suggested by Oleg Pykhalov <go.wigust@gmail.com> and Roel Janssen <roel@gnu.org>. * gnu/packages/base.scm (grep)[inputs]: New field. * gnu/packages/commencement.scm (grep-final)[inputs]: New field. Ludovic Courtès
2017-12-07Merge branch 'master' into core-updatesMarius Bakke
2017-12-05gnu: commencement: Do not graft early bootstrap packages....By definition, these packages are not depended on at run time by any of the packages we use. Thus it does not make sense to inherit grafts. Furthermore, those grafts would often lead to extra overhead for users who would end up downloading those "-boot0" packages just to build package replacements that are in fact not going to be used. This reverts parts of f1597427f220b0799b9c8847768d2f5a93fe3730 and ce27857f710ff32c05f4ba19a04a695c1cc2ce20. Reported by Christopher Baines at <https://lists.gnu.org/archive/html/guix-devel/2017-12/msg00058.html>. * gnu/packages/commencement.scm (file-boot0, binutils-boot0): Use plain 'inherit' instead of 'package/inherit'. Ludovic Courtès
2017-11-01Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner
2017-10-27gnu: gcc: Add unversioned 'gcc-toolchain' variable....Reported by Theodoros Foradis <theodoros@foradis.org>. * gnu/packages/commencement.scm (gcc-toolchain): Rename to... (make-gcc-toolchain): ... this. (gcc-toolchain): New variable. (gcc-toolchain-5): Turn into an alias for 'gcc-toolchain'. Ludovic Courtès
2017-10-08gnu: libstdc++: Rewrite as 'make-libstdc++' package....* gnu/packages/commencement.scm (libstdc++): Rewrite the package using the 'make-libstdc++' method. Efraim Flashner
2017-10-08gnu: binutils-boot0: Use 'modify-phases' syntax....* gnu/packages/commencement.scm (binutils-boot0)[arguments]: Use 'modify-phases' syntax. Efraim Flashner
2017-10-05gnu: gcc: Fix manual pages....Fixes bug #24069. perl is made a native input to all of the gcc-* packages except for gcc-boot0; perl-boot0 is made a native input to gcc-final. * gnu/packages/patches/gcc-fix-texi2pod.patch: Add patch file to fix texi2pod. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/gcc.scm (gcc-4.7, gcc-4.8, gcc-4.9, gcc-5): Use it. (gcc-4.7)[native-inputs]: Add perl. (gcc-4.9)[native-inputs]: Likewise. * gnu/packages/commencement.scm (gcc-boot0)[native-inputs]: Remove perl. (gcc-final)[native-inputs]: Add perl-boot0. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Maxim Cournoyer
2017-10-01gnu: Remove package/inherit from commencement....This is a follow-up to several security grafts. * gnu/packages/commencement.scm (file-boot0, glibc-final, glibc-final-with-bootstrap-bash): Use '(package (inherit ...)' in place of '(package/inherit'. Efraim Flashner
2017-10-01gnu: binutils: Update to 2.28.1....* gnu/packages/base.scm (binutils): Update to 2.28.1. [replacement]: Remove field. * gnu/packages/commencement.scm (binutils-boot0, binutils-final): Don't use 'package/inherit'. Efraim Flashner
2017-10-01Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner
2017-09-17gnu: binutils: Fix security issues....* gnu/packages/base.scm (binutils)[replacement]: New field. (binutils/fixed): New variable. * gnu/packages/commencement.scm (binutils-boot0, binutils-final): Use 'package/inherit' to correctly use replacement binutils. Efraim Flashner
2017-09-05gnu: file: Fix CVE-2017-1000249....* gnu/packages/file.scm (file)[replacement]: New field. (file/fixed): New variable. * gnu/packages/commencement.scm (file-boot0): Use package/inherit. * gnu/packages/patches/file-CVE-2017-1000249.patch. * gnu/local.mk (dist_patch_DATA): Register it. Efraim Flashner
2017-09-05gnu: glibc: Add "static" output....This shrinks glibc:out from 37 MiB to 29 MiB. * gnu/packages/base.scm (glibc/linux)[outputs]: Add "static". [arguments]: Add #:modules. Add 'move-static-libs' phase. * gnu/packages/commencement.scm (static-bash-for-glibc): Augment #:configure-flags to pass "-L LIBC:STATIC". Add the "static" output of GLIBC-FINAL to 'inputs'. (%boot2-inputs, %final-inputs): Likewise. (canonical-package): Adjust to deal with multiple-output packages. * gnu/packages/cross-base.scm (cross-gcc): Add the "static" output of LIBC to 'native-inputs'. Ludovic Courtès
2017-07-10Merge branch 'master' into core-updatesLeo Famulari
2017-07-03packages: Mark 'replacement' as an "innate" field....Suggested by Mark H Weaver at <https://lists.gnu.org/archive/html/guix-devel/2017-06/msg00355.html>. * guix/packages.scm (<package>)[replacement]: Mark as "innate". * gnu/packages/base.scm (glibc-2.25-patched, glibc-2.24) (glibc-2.23, glibc-2.22, glibc-2.21, glibc-locales): Remove 'replacement' field, which was set to #f. * gnu/packages/commencement.scm (perl-boot0): Likewise. * gnu/packages/fontutils.scm (graphite2/fixed): Likewise. * gnu/packages/ghostscript.scm (ghostscript/fixed): Likewise. * gnu/packages/gnupg.scm (libgcrypt-1.7.8): Likewise. * gnu/packages/guile.scm (guile-2.0/fixed, guile-2.2): Likewise. * gnu/packages/icu4c.scm (icu4c/fixed): Likewise. * gnu/packages/image.scm (libpng-apng): Likewise. * gnu/packages/make-bootstrap.scm (%guile-static): Likewise. * gnu/packages/pcre.scm (pcre/fixed): Likewise. * gnu/packages/perl.scm (perl/fixed): Likewise. * gnu/packages/ruby.scm (ruby-2.3, ruby-2.2, ruby-2.1) (ruby-1.8): Likewise. * gnu/packages/tls.scm (gnutls-3.5.13, gnutls/guile-2.2): Likewise. * gnu/packages/xml.scm (expat-2.2.1): Likewise. Ludovic Courtès
2017-06-26Merge branch 'master' into core-updatesMark H Weaver
2017-06-24gnu: glibc-final: Add support for grafted glibc....* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash) (glibc-final): Use 'package/inherit'. Mark H Weaver
2017-06-02gnu: commencement: 'bash-final' inherits from 'bash-minimal'....* gnu/packages/commencement.scm (bash-final): Inherit from BASH-MINIMAL instead of BASH. Ludovic Courtès
2017-05-29gnu: glibc: Move i686 patch to source field....This is a rewrite of changes introduced by commits b2fd8f63679aa4f244c36fdca62f23c00b8eded9, c2e4f14ac8cd3e1ce7f46a192ad0c9acc084b210, 441e99d433583fdf76910c3f9323f78a1d1bbaf3 and d03b34cf190b5790ee1884ae551634f5f736f4f1. * gnu/packages/base.scm (glibc/linux)[source]: Add i686 patch. [arguments]: Remove conditional patch application from build phase. [native-inputs]: Remove patch. (glibc/hurd)[arguments]: Inherit pre-configure build phase from glibc/linux. * gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)[native-inputs]: Remove patch. Ricardo Wurmus
2017-05-24Merge branch 'master' into core-updatesRicardo Wurmus
2017-05-04gnu: Add gcc-toolchain@7....* gnu/packages/commencement.scm (gcc-toolchain-7): New variable. Ludovic Courtès
2017-04-29gnu: glibc/linux: Fix runtime crashes on i686 systems....* gnu/packages/patches/glibc-memchr-overflow-i686.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)[native-inputs]: Add the patch conditionally for i686 systems. * gnu/packages/base.scm (glibc/linux)[native-inputs]: Add the patch conditionally for i686 systems. [arguments]: Apply the patch conditionally on i686 systems. Ricardo Wurmus