Commit graph

385 commits

Author SHA1 Message Date
Ludovic Courtès
04a3ecc79e
gnu: Remove 'gcc-glibc-2.27' and 'gcc-glibc-2.26'.
These top-level references to GCC could cause problems, such as:

  $ guix build -e '(@ (gnu packages gcc) gcc)' -n
  guix build: error: failed to evaluate expression '(@ (gnu packages gcc) gcc)':
  In procedure module-lookup: Unbound variable: gcc

Regression introduced in 3ed497d42a.

* gnu/packages/base.scm (gcc-glibc-2.27, gcc-glibc-2.26): Remove.
2019-05-13 11:36:11 +02:00
Carl Dong
3ed497d42a
gnu: Allow building gcc with non-default libc.
* gnu/packages/base.scm (make-gcc-libc): New procedure, returns a gcc
  that targets a specified libc.
  (gcc-glibc-2.26, gcc-glibc-2.27): New public variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-13 09:46:58 +02:00
Marius Bakke
41af23dbf4
gnu: tzdata: Update to 2019a.
* gnu/packages/base.scm (tzdata): Update to 2019a.
2019-04-01 01:32:40 +02:00
Efraim Flashner
36a4366d79
gnu: Fix descriptions to not use quotes.
* gnu/packages/admin.scm (wpa-supplicant-minimal, mingetty, di),
* gnu/packages/audio.scm (fil-plugins),
* gnu/packages/base.scm (make-ld-wrapper, make-glibc-locales),
* gnu/packages/bioinformatics.scm (r-samtools),
* gnu/packages/chez.scm (chez-mit),
* gnu/packages/commencement.scm (make-gcc-toolchain),
* gnu/packages/compression.scm (fastjar),
* gnu/packages/cran.scm (r-maps, r-rcpp),
* gnu/packages/databases.scm (sparql-query),
* gnu/packages/dunst.scm (dunst),
* gnu/packages/ftp.scm (ncftp),
* gnu/packages/gl.scm (freeglut),
* gnu/packages/haskell-check.scm (ghc-tasty-golden),
* gnu/packages/haskell.scm (ghc-case-insensitive, ghc-text,
ghc-haskell-src, ghc-syb, ghc-deepseq-generics, ghc-network-uri,
ghc-rerebase, ghc-zlib),
* gnu/packages/image.scm (jbig2dec),
* gnu/packages/kde-frameworks.scm (kinit, karchive),
* gnu/packages/linux.scm (wireless-tools, perf, module-init-tools, kbd),
* gnu/packages/lirc.scm (lirc),
* gnu/packages/lisp.scm (uglify-js),
* gnu/packages/mate.scm (mate-netbook),
* gnu/packages/microcom.scm (microcom),
* gnu/packages/music.scm (bristol),
* gnu/packages/networking.scm (perl-geo-ip),
* gnu/packages/patchutils.scm (patches),
* gnu/packages/perl-check.scm (perl-test-more-utf8),
* gnu/packages/perl.scm (perl-log-report-optional, perl-file-which,
perl-io-tty, perl-log-any, perl-digest-sha1, perl-class-load,
perl-regexp-common, perl-module-pluggable, perl-class-modifier),
* gnu/packages/python-xyz.scm (python-backports-abc, python-natsort),
* gnu/packages/samba.scm (iniparser),
* gnu/packages/search.scm (mlocate),
* gnu/packages/spice.scm (spice),
* gnu/packages/statistics.scm (r-dt, r-lubridate, r-estimability,
r-commonmark, r-digest, r-viridislite, r-stringr),
* gnu/packages/tex.scm (texlive-latex-changebar),
* gnu/packages/version-control.scm (subversion),
* gnu/packages/w3m.scm (w3m),
* gnu/packages/web.scm (perl-http-parser,
perl-plack-middleware-reverseproxy),
* gnu/packages/xorg.scm (xkeyboard-config, mkfontdir, xcursor-theme,
mkfontscale, xinit, font-alias)[description]: Use @code instead of quotes.
2019-03-31 20:51:10 +03:00
Efraim Flashner
c86b5f1b9b
gnu: glibc@2.27: fix CVE-2018-11236, CVE-2018-11237.
* gnu/packages/base.scm (glibc@2.27)[sources]: Add patches.
[properties]: New field, mark CVE-2017-18269 fixed.
* gnu/packages/patches/glibc-CVE-2018-11236.patch,
gnu/packages/patches/glibc-CVE-2018-11237.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.
2019-02-12 09:08:13 +02:00
Ludovic Courtès
50a93adc05
Merge branch 'staging' 2019-02-09 15:14:59 +01:00
Efraim Flashner
28317d4990
gnu: Add binutils-gold.
This commit is thanks to Guix Days.

* gnu/packages/base.scm (binutils-gold): New variable.
2019-02-04 08:07:39 +02:00
Ricardo Wurmus
5aaef5c5de
Merge branch 'master' into staging 2019-01-23 12:08:27 +01:00
Ricardo Wurmus
0845999a5e
gnu: Add glibc-locales variants for older versions of glibc.
* gnu/packages/base.scm (make-glibc-locales, make-glibc-utf8-locales): New
procedures.
(glibc-locales): Express in terms of make-glibc-locales.
(glibc-utf8-locales): Express in terms of make-glibc-utf8-locales.
(glibc-locales-2.27, glibc-utf8-locales-2.27): New variables.
2019-01-22 15:10:59 +01:00
Leo Famulari
1bb9969f83
gnu: tzdata: Update to 2018i.
* gnu/packages/base.scm (tzdata): Update to 2018i.
(tzdata-for-tests): Keep at version 2018g.
2019-01-09 16:08:18 -05:00
Marius Bakke
f30830b2e6
Merge branch 'master' into staging 2018-12-22 15:26:30 +01:00
Ludovic Courtès
92391eaf8d
gnu: glibc: Add patch implementing "pid/…" magic lookup on the Hurd.
This patch is missing from glibc 2.28 and is needed to support
/proc/self lookup when using the Hurd's procfs, which in turn is needed
for our 'guile-relocatable.patch'.

See <https://lists.gnu.org/archive/html/bug-hurd/2018-12/msg00024.html>.

* gnu/packages/patches/glibc-hurd-magic-pid.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc)[arguments]: Add 'apply-hurd-patch'
phase.
[native-inputs]: Add "hurd-magic-pid-patch" input.
* gnu/packages/cross-base.scm (cross-libc)[arguments]: Duplicate
'apply-hurd-patch' phase.
2018-12-16 16:28:07 +01:00
Marius Bakke
62c75d6d08
gnu: tzdata-for-tests: Update to 2018g.
* gnu/packages/base.scm (tzdata-for-tests): Inherit TZDATA.
2018-12-12 20:49:13 +01:00
Marius Bakke
c3e61854cb
gnu: tzdata: Update to 2018g.
* gnu/packages/base.scm (tzdata): Update to 2018g.
2018-12-04 20:05:19 +01:00
Ludovic Courtès
2d546858b1
gnu: hurd: Build against glibc 2.28.
Version 2.28 of glibc is the first in a long time that fully supports
GNU/Hurd.  This change updates the Hurd and Mach to provide the features
glibc 2.28 expects and adjusts the cross-compilation tool chain for
"i586-pc-gnu".

* gnu/packages/base.scm (glibc/linux): Rename to...
(glibc): ... this.
[propagated-inputs]: Add 'hurd-target?' case.
[arguments]: Use '--disable-werror' when 'hurd-target?'.  Add
'augment-libc.so' phase when 'hurd-target?'.
[native-inputs]: Add MIG and PERL when 'hurd-target?'.
(glibc/hurd, glibc-for-target): Remove
(glibc/hurd-headers): Inherit from GLIBC, not GLIBC/HURD.
[arguments]: Remove "--enable-obsolete-rpc" configure flag and
'patch-configure-script' phase.
* gnu/packages/cross-base.scm (cross-kernel-headers)[xglibc/hurd-headers]:
Move 'set-cross-headers-path' after 'unpack'.
* gnu/packages/cross-base.scm (cross-libc)[cross-libc-for-target]:
Remove.
Pass "--disable-werror" when TARGET matches 'hurd-triplet?'.
* gnu/packages/hurd.scm (hurd-target?, patch-url): New procedures.
(gnumach-headers)[source](patches, modules, snippet): New fields.
(hurd-headers): Use Git commit 98b3390.
[native-inputs]: Add AUTOCONF and AUTOMAKE.
[arguments]: Add "ac_cv_func_*" configure flags.
(hurd-minimal)[native-inputs]: Remove.
[arguments]: In 'build' phase, build "include/assert-backtrace.h"
first.
2018-11-18 23:12:36 +01:00
Marius Bakke
2fa4066c0a
gnu: findutils: Fix build with glibc 2.28.
* gnu/packages/patches/findutils-gnulib-libio.patch,
gnu/packages/patches/findutils-makedev.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm (findutils)[source](patches): Use them.
2018-08-25 16:23:36 +02:00
Marius Bakke
8c8ded2cc9
gnu: grep: Work around test failure with glibc 2.28.
* gnu/packages/base.scm (grep)[arguments]: Add phase 'disable-failing-tests'.
2018-08-25 16:23:36 +02:00
Marius Bakke
a8dcf6cec7
gnu: coreutils: Update to 8.30.
* gnu/packages/base.scm (coreutils): Update to 8.30.
[arguments]: Add phase to skip broken test.
2018-08-25 16:23:36 +02:00
Marius Bakke
e13b547407
gnu: glibc: Update to 2.28.
* gnu/packages/patches/glibc-2.28-git-fixes.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm (glibc/linux): Update to 2.28.
[source](patches): Add 'glibc-2.28-git-fixes.patch'.  Remove 2.27 equivalent.
(glibc-2.28): Remove variable.
(glibc-2.27): New public variable
2018-08-25 16:23:35 +02:00
Marius Bakke
4214066d45
Merge branch 'master' into core-updates 2018-08-01 15:53:17 +02:00
Marius Bakke
ae66fdaf9f
gnu: Add glibc@2.28.
* gnu/packages/base.scm (glibc-2.28): New public variable.
2018-08-01 15:48:26 +02:00
Marius Bakke
706ae8e15c
Merge branch 'master' into core-updates 2018-07-24 19:56:35 +02:00
Marius Bakke
6c4709889c
gnu: binutils: Update to 2.31.1.
* gnu/packages/base.scm (binutils): Update to 2.31.1.
(binutils/fixed): Remove variable
* gnu/packages/linux.scm (make-linux-libre): Remove AArch64 workaround.
* gnu/packages/patches/binutils-aarch64-symbol-relocation.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2018-07-19 00:52:22 +02:00
Marius Bakke
6969c4de44
Merge branch 'master' into staging 2018-06-18 15:29:38 +02:00
Marius Bakke
cdbcfc113b
gnu: linux-libre: Fix build on AArch64.
* gnu/packages/patches/binutils-aarch64-symbol-relocation.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm (binutils/fixed): New public variable.
* gnu/packages/linux.scm (make-linux-libre)[native-inputs]: On aarch64, define
new ld-wrapper with the above binutils and use it.
2018-06-16 21:35:24 +02:00
Marius Bakke
cd50b9f009
gnu: tzdata-for-tests: Downgrade to 2018d.
* gnu/packages/base.scm (tzdata-for-tests): Don't inherit source and inputs
from TZDATA.
2018-06-12 00:05:18 +02:00
Marius Bakke
a032b4454b
Merge branch 'master' into staging 2018-06-11 23:52:15 +02:00
Leo Famulari
6069bb0ab4
gnu: tzdata: Update to 2018e.
* gnu/packages/base.scm (tzdata): Update to 2018e.
2018-05-06 15:19:12 -04:00
Ludovic Courtès
c77835db04
gnu: tar: Work around a cross-compilation issue.
* gnu/packages/base.scm (tar)[arguments]: Add #:configure-flags when
cross-compiling.
2018-04-22 22:40:53 +02:00
Ludovic Courtès
d3878d3d51
gnu: patch: Work around a cross-compilation issue.
Reported by Marius Bakke <mbakke@fastmail.com>
at <https://lists.gnu.org/archive/html/guix-devel/2018-04/msg00157.html>.

* gnu/packages/base.scm (patch)[arguments]: New field.
2018-04-22 22:40:48 +02:00
Marius Bakke
169c658f7f
gnu: tar: Skip racy tests.
* gnu/packages/base.scm (tar)[arguments]: Skip two more tests in #:make-flags.
2018-04-06 15:22:24 +02:00
Ludovic Courtès
301a424906
gnu: sed: Update to 4.5.
* gnu/packages/base.scm (sed): Update to 4.5.
[arguments]: Remove 'patch-test-suite' phase.
[native-inputs]: New field.
2018-04-01 18:41:28 +02:00
Ludovic Courtès
6422bde9b4
gnu: glibc: Reinstate fallback code for systems lacking 'prlimit64'.
* gnu/packages/patches/glibc-reinstate-prlimit64-fallback.patch: New file.
* gnu/packages/base.scm (glibc/linux)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-04-01 12:36:02 +02:00
Leo Famulari
9b018ada13
gnu: tzdata: Update to 2018d.
* gnu/packages/base.scm (tzdata): Update to 2018d.
2018-03-29 20:15:49 -04:00
Mark H Weaver
e3cfef22c4
gnu: 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.
2018-03-27 21:35:41 -04:00
Mark H Weaver
b4c4f3399c
gnu: glibc-hurd-headers: Return #t from all phases.
* gnu/packages/base.scm (glibc/hurd-headers): Return #t from the custom
install phase.
2018-03-23 04:42:06 -04:00
Mark H Weaver
ab6e5690af
gnu: glibc/linux: Return #t from pre-configure phase.
* gnu/packages/base.scm (glibc/linux)[arguments]: Return #t from the
pre-configure phase.
2018-03-23 04:40:01 -04:00
Marius Bakke
759ad0690b
gnu: make: End phase on #t.
* gnu/packages/base.scm (gnu-make)[arguments]: Return #t from
'set-default-shell' phase.
2018-03-22 18:58:06 +01:00
Marius Bakke
e9b9ea1ec0
gnu: make: Fix compatibility with glibc 2.27.
* gnu/packages/patches/make-glibc-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm (gnu-make)[source](patches): Use it.
2018-03-22 18:58:05 +01:00
Marius Bakke
5e8cb5e698
gnu: 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.
2018-03-22 18:58:05 +01:00
Mark H Weaver
e0f9f85f8d
gnu: tzdata-for-tests: Update to 2018c.
* gnu/packages/base.scm (tzdata-for-tests): Replace with a simple hidden copy
of 'tzdata'.
2018-03-21 20:43:21 -04:00
Mark H Weaver
ac21be848a
Merge branch 'master' into core-updates 2018-03-20 14:22:06 -04:00
Marius Bakke
ca331eb849
gnu: glibc: Don't apply upstreamed patch in newer glibc versions.
* gnu/packages/base.scm (glibc/linux, glibc-2.25, glibc-2.24,
glibc-2.23)[source](patches): Remove 'glibc-o-largefile.patch'.
(glibc-2.22)[source](patches): Add it.
2018-03-16 15:32:22 +01:00
Marius Bakke
ff19532fd5
gnu: binutils: Update to 2.30.
* gnu/packages/patches/binutils-ld-new-dtags.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/base.scm (binutils): Update to 2.30.
[source](patches): Remove obsolete patch.
[arguments]: Add "--enable-new-dtags" in #:configure-flags.
2018-03-16 15:32:22 +01:00
Mark H Weaver
45413064c9
gnu: tar: Fix sparse file detection on Btrfs file systems.
* gnu/packages/patches/tar-remove-wholesparse-check.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (tar)[source]: Add patch.
2018-03-16 09:31:00 -04:00
Mark H Weaver
6cbee49d66
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 09:08:31 -04:00
Mark H Weaver
408fcff678
gnu: tzdata: Use invoke instead of system*.
* gnu/packages/base.scm (tzdata)[arguments]: Use invoke.  Return a boolean
from all phase procedures.
2018-03-16 05:02:28 -04:00
Mark H Weaver
4e50f1f2d3
gnu: glibc/hurd: Use invoke instead of system*.
* gnu/packages/base.scm (glibc/hurd)[arguments]: In the build phase procedure,
use 'invoke' instead of 'system*' and remove the vestigial result code
plumbing.  Change the local macro 'make' into a normal procedure.
2018-03-16 05:02:10 -04:00
Mark H Weaver
bf8e8a7428
gnu: glibc-locales: Use invoke instead of system*.
* gnu/packages/base.scm (glibc-locales)[arguments]: Use invoke.
2018-03-16 05:02:08 -04:00
Mark H Weaver
44161fe16c
gnu: glibc-utf8-locales: Use invoke instead of system*.
* gnu/packages/base.scm (glibc-utf8-locales)[arguments]: Use invoke and
remove the vestigial result code plumbing.
2018-03-16 05:02:06 -04:00