Efraim Flashner
99e4aa54a6
gnu: autogen: Use 'modify-phases'.
...
* gnu/packages/autogen.scm (autogen)[arguments]: Use 'modify-phases'.
2016-05-31 22:24:59 +03:00
Efraim Flashner
e85ff3e2fd
gnu: autogen: Update to 5.18.10.
...
* gnu/packages/autogen.scm (autogen): Update to 5.18.10.
2016-05-31 22:20:57 +03:00
Efraim Flashner
d5047266a9
gnu: scrot: Use 'modify-phases'.
...
* gnu/packages/xdisorg.scm (scrot)[arguments]: Use 'modify-phases'.
2016-05-31 22:11:35 +03:00
Efraim Flashner
c5d15d41b7
gnu: scrot: Fix typo in source uri.
...
* gnu/packages/xdisorg.scm (scrot)[source]: Fix typo in uri.
This is a follow-up to 9da459f350
.
2016-05-31 22:09:43 +03:00
Efraim Flashner
2fe176be0f
gnu: emms: Use 'modify-phases'.
...
* gnu/packages/emacs.scm (emms)[arguments]: Use 'modify-phases'.
2016-05-31 22:05:44 +03:00
Efraim Flashner
0985f5269c
gnu: emms: Update to 4.1.
...
* gnu/packages/emacs.scm (emms): Update to 4.1.
2016-05-31 22:05:44 +03:00
Efraim Flashner
b1b8497925
gnu: librecad: Update to 2.0.11.
...
* gnu/packages/engineering.scm (librecad): Update to 2.0.11.
2016-05-31 22:05:44 +03:00
Efraim Flashner
805117827c
gnu: dosfstools: Update to 4.0.
...
* gnu/packages/disk.scm (dosfstools): Update to 4.0.
[arguments]: Re-enable the 'configure phase.
2016-05-31 22:05:44 +03:00
Efraim Flashner
2b8ca5fcb4
gnu: microscheme: Update to 0.9.3.
...
* gnu/packages/avr.scm (microscheme): Update to 0.9.3.
2016-05-31 22:05:44 +03:00
Efraim Flashner
b52ae4de46
gnu: munge: Update to 0.5.12.
...
* gnu/packages/admin.scm (munge): Update to 0.5.12.
2016-05-31 22:05:44 +03:00
Efraim Flashner
b93efac026
import github: Add to extension list.
...
* guix/import/github.scm (find-extension): Add '.tgz' extension.
2016-05-31 22:05:44 +03:00
Efraim Flashner
57d83cd29b
gnu: obs: Update to 0.14.2.
...
* gnu/packages/video.scm (obs): Update to 0.14.2.
2016-05-31 22:05:44 +03:00
David Thompson
13384842f8
gnu: emacs-better-defaults: Specify source file name.
...
* gnu/packages/emacs.scm (emacs-better-defaults)[source]: Specify a
useful file name, as usual with tarballs from GitHub.
2016-05-31 13:41:15 -04:00
Leo Famulari
e88eb07110
gnu: imagemagick: Fix CVE-2016-5118.
...
* gnu/packages/patches/imagemagick-CVE-2016-5118.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/imagemagick.scm (imagemagick): Use it.
2016-05-31 13:38:40 -04:00
Leo Famulari
4d93a76138
gnu: graphicsmagick: Update to 1.3.24 [security update].
...
Fixes CVE-2016-{2317, 2318, 5118} and many other security issues
described in 'NEWS.txt'.
* gnu/packages/patches/graphicsmagick-CVE-2016-5118.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/imagemagick.scm (graphicsmagick): Update to 1.3.24.
[source]: Remove patch.
2016-05-31 13:33:09 -04:00
Ludovic Courtès
151afd84dc
daemon: Substitute queries return immediately when substitutes are disabled.
...
Reported by Federico Beffa <beffa@ieee.org>
at <https://lists.gnu.org/archive/html/guix-devel/2016-05/msg00928.html >.
* nix/libstore/local-store.cc (LocalStore::querySubstitutablePaths)
(LocalStore::querySubstitutablePathInfos): Return when
'settings.useSubstitutes' is false.
* tests/store.scm ("references/substitutes missing reference info"):
Make sure to return #f on failure.
* tests/store.scm ("substitutable-path-info when substitutes are turned off"):
("substitutable-paths when substitutes are turned off"): New tests.
2016-05-31 18:22:14 +02:00
Ludovic Courtès
4078fa8f72
daemon: Fix typo.
...
Fixes a regression/typo introduced in
e08380fb6c
.
* nix/libstore/build.cc (DerivationGoal::startBuilder): Canonicalize
"/tmp", not "/tmp/guix-build".
2016-05-31 18:22:14 +02:00
Ludovic Courtès
0a40626fd2
offload: Use (guix build syscalls).
...
This is a followup to 4e0ea3eb28
.
* guix/scripts/offload.scm: Use (guix build syscalls).
2016-05-31 18:22:14 +02:00
Ludovic Courtès
75abbd0cbe
daemon: Remove unused XML output code.
...
* nix/local.mk (libutil_a_SOURCES): Remove libutil/xml-writer.cc.
(libutil_headers): Remove libutil/xml-writer.hh.
* nix/libutil/xml-writer.hh, nix/libutil/xml-writer.cc: Remove.
2016-05-31 18:22:14 +02:00
Ricardo Wurmus
23aab4ab2c
gnu: Add ghmm.
...
* gnu/packages/machine-learning.scm (ghmm): New variable.
2016-05-31 17:01:03 +02:00
Efraim Flashner
a5dd8db4ff
gnu: gimp: Update to 2.8.16.
...
* gnu/packages/gimp.scm (gimp): Update to 2.8.16.
2016-05-31 17:50:08 +03:00
Ricardo Wurmus
64efa3078a
gnu: Add r-genomationdata.
...
* gnu/packages/bioinformatics.scm (r-genomationdata): New variable.
2016-05-31 16:29:37 +02:00
Ricardo Wurmus
aa3b391092
gnu: Add r-runit.
...
* gnu/packages/statistics.scm (r-runit): New variable.
2016-05-31 16:24:59 +02:00
Ricardo Wurmus
8170172502
gnu: julia: Update to 0.4.5.
...
* gnu/packages/julia.scm (julia): Update to 0.4.5.
(libuv-julia): Update commit.
2016-05-31 16:21:31 +02:00
Ricardo Wurmus
4ce3c2872b
gnu: Add r-knitrbootstrap.
...
* gnu/packages/statistics.scm (r-knitrbootstrap): New variable.
2016-05-31 16:18:14 +02:00
Eelco Dolstra
b4528110c6
daemon: rounds: Keep the differing output if -K is given.
...
Regardless of -K, we now also print which output differs.
2016-05-31 14:25:28 +02:00
Eelco Dolstra
56b8f56788
daemon: Canonicalize gids to 0.
...
Previously files in the Nix store were owned by root or by nixbld,
depending on whether they were created by a substituter or by a
builder. This doesn't matter much, but causes spurious diffoscope
differences. So use root everywhere.
2016-05-31 14:25:28 +02:00
Eelco Dolstra
7f3b2510d6
daemon: check: Keep the differing output if -K is given.
...
This makes it easier to investigate the non-determinism, e.g.
$ nix-build pkgs/stdenv/linux -A stage1.pkgs.zlib --check -K
error: derivation ‘/nix/store/l54i8wlw22656i4pk05c52ngv9rpl39q-zlib-1.2.8.drv’ may not be deterministic: output ‘/nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8’ differs from ‘/nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8-check’
$ diffoscope /nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8 /nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8-check
...
├── lib/libz.a
│ ├── metadata
│ │ @@ -1,15 +1,15 @@
│ │ -rw-r--r-- 30001/30000 3096 Jan 12 15:20 2016 adler32.o
...
│ │ +rw-r--r-- 30001/30000 3096 Jan 12 15:28 2016 adler32.o
...
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-05-31 14:25:28 +02:00
Eelco Dolstra
7889e72dad
daemon: check: Fix "failed to produce output path".
...
This occured when sandbox building is disabled, at least one output
exists, and at least one other output does not.
2016-05-31 14:25:28 +02:00
Eelco Dolstra
f83e82cd00
daemon: check: Fix assertion failure when some outputs are missing.
...
E.g.
$ nix-build pkgs/stdenv/linux/ -A stage1.pkgs.perl --check
nix-store: src/libstore/build.cc:1323: void nix::DerivationGoal::tryToBuild(): Assertion `buildMode != bmCheck || validPaths.size() == drv->outputs.size()' failed.
when perl.out exists but perl.man doesn't. The fix is to only check
the outputs that exist. Note that "nix-build -A stage1.pkgs.all
--check" will still give a (proper) error in this case.
2016-05-31 14:25:28 +02:00
Eelco Dolstra
c56cd90cc9
daemon: When repairing, rebuild if there is no substituter.
2016-05-31 14:25:28 +02:00
Eelco Dolstra
1a9574e3a7
daemon: Fix --repair failure on multiple-output derivations.
...
If repair found a corrupted/missing path that depended on a
multiple-output derivation, and some of the outputs of the latter were
not present, it failed with a message like
error: path ‘/nix/store/cnfn9d5fjys1y93cz9shld2xwaibd7nn-bash-4.3-p42-doc’ is not valid
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-05-31 14:25:28 +02:00
Eelco Dolstra
63a5be07e2
daemon: ~PathLocks(): Handle exceptions.
...
Otherwise, since the call to write a "d" character to the lock file
can fail with ENOSPC, we can get an unhandled exception resulting in a
call to terminate().
2016-05-31 14:25:28 +02:00
Eelco Dolstra
e08380fb6c
daemon: Handle /tmp being a symlink.
...
* nix/libstore/build.cc (DerivationGoal::startBuilder): Call 'canonPath'
on "/tmp".
2016-05-31 14:25:28 +02:00
Leo Famulari
8fe5d95e66
services: urandom-seed: Set umask to 077 while shutting down.
...
* gnu/services/base.scm (urandom-seed-shepherd-service): Call 'umask'.
2016-05-31 00:03:10 -04:00
Leo Famulari
df2dd07b88
gnu: libxml2: Update replacement to 2.9.4 [security fixes].
...
This fixes CVE-2016-{1762, 1833, 1834, 1835, 1836, 1837, 1838, 1839,
1840, 3627, 3705, 4483}.
* gnu/packages/patches/libxml2-CVE-2016-3627.patch,
gnu/packages/patches/libxml2-CVE-2016-3705.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
* gnu/packages/xml.scm (libxml2/fixed): Update to 2.9.4.
[source]: Remove patches.
2016-05-30 21:47:40 -04:00
Ludovic Courtès
c06f6db7a4
container: Gracefully report mount errors in the child process.
...
Fixes <http://bugs.gnu.org/23306 >.
* gnu/build/linux-container.scm (run-container): Use 'socketpair'
instead of 'pipe'. Rename 'in' to 'child' and 'out' to 'parent'. Send
a 'ready message or an exception argument list from the child to the
parent; adjust the parent accordingly.
* tests/containers.scm ("call-with-container, mnt namespace, wrong bind
mount"): New test.
* tests/guix-environment-container.sh: Add test with
--expose=/does-not-exist.
2016-05-31 00:11:04 +02:00
Ludovic Courtès
4c14d4eaa7
container: Gracefully handle failure to set up user namespaces.
...
* gnu/build/linux-container.scm (run-container): Exit when the parent
process doesn't say 'ready.
2016-05-31 00:11:04 +02:00
Efraim Flashner
552ffa021c
download: Update CPAN mirrors.
...
* guix/download.scm (mirrors)[cpan]: Add to mirror list.
2016-05-31 00:05:54 +03:00
Efraim Flashner
f80d5fe02e
gnu: vapoursynth: Update to 32.
...
* gnu/packages/video.scm (vapoursynth): Update to 32.
2016-05-30 22:22:26 +03:00
Efraim Flashner
365a4a7f40
gnu: Add zimg.
...
* gnu/packages/image.scm (zimg): New variable.
2016-05-30 22:22:25 +03:00
Efraim Flashner
fd1461879c
gnu: mcrypt: Fix CVE-2012-4409, CVE-2012-4426, CVE-2012-4527.
...
* gnu/packages/mcrypt.scm (mcrypt)[source]: Add patches.
* gnu/packages/patches/mcrypt-CVE-2012-4409.patch,
gnu/packages/patches/mcrypt-CVE-2012-4426.patch,
gnu/packages/patches/mcrypt-CVE-2012-4527.patch: New variables.
* gnu/local.mk (dist_patch_DATA): Add them.
2016-05-30 21:57:36 +03:00
Leo Famulari
5ae77a6f5a
gnu: imagemagick: Update to 6.9.4-5.
...
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.4-5.
2016-05-30 14:08:08 -04:00
David Thompson
503a43f3fc
gnu: Remove xgcc-avr.
...
We now have a dedicated package module for the AVR toolchain with
important modifications on top of what cross-gcc produces.
* gnu/packages/cross-base.scm (xgcc-avr): Delete.
2016-05-30 13:45:21 -04:00
David Thompson
9d2bab09aa
gnu: Add avr-toolchain.
...
* gnu/packages/avr.scm (avr-toolchain): New procedure.
(avr-toolchain-4.9, avr-toolchain-5): New variables.
2016-05-30 13:45:21 -04:00
David Thompson
3087b7077c
gnu: avr-libc: Update to 2.0.0.
...
* gnu/packages/avr.scm (avr-libc): Update to 2.0.0.
2016-05-30 13:45:21 -04:00
David Thompson
e60972f288
gnu: avr-libc: Fix build.
...
* gnu/packages/avr.scm (avr-libc): Update to 2.0.0.
[native-inputs]: Use new avr-gcc and avr-binutils.
[arguments]: Add phase to unset C_INCLUDE_PATH.
2016-05-30 13:45:21 -04:00
David Thompson
a17eea4ba4
gnu: Add avr-gcc-5.
...
* gnu/packages/avr.scm (avr-gcc-5): New variable.
2016-05-30 13:45:21 -04:00
David Thompson
09b05fc7e9
gnu: Add avr-gcc.
...
* gnu/packages/avr.scm (avr-gcc): New variable.
2016-05-30 13:45:21 -04:00
David Thompson
cdc5cfdc4a
gnu: Add avr-binutils.
...
* gnu/packages/avr.scm (avr-binutils): New variable.
2016-05-30 13:45:21 -04:00