~ruther/guix-local

8593227f — Maxim Cournoyer 4 months ago
Revert "gnu: acl: Update to 2.3.2."

This reverts commit 6c3e5f166524f43e0087f7a19e63032d8419affa.
db74afaa — Maxim Cournoyer 4 months ago
Revert "gnu: gettext-minimal: Update to 0.26."

This reverts commit e6f3c37fa270138ff168aaf2a14de7496272a02a.
09b0ee0f — Maxim Cournoyer 4 months ago
Revert "gnu: help2man: Update to 1.49.3."

This reverts commit 1fc884a374efbb23405a5e2f2683fbb7db06982e.
663e92bb — Maxim Cournoyer 4 months ago
Revert "gnu: autoconf: Update to 2.72."

This reverts commit db051f571539c4656908773c334dbee40beea340.
6878d0da — Maxim Cournoyer 4 months ago
Revert "gnu: hunspell: Update to 1.7.2."

This reverts commit 36a90a1a044e9e141da71f6ff9c7fcf68bcf3016.
3ae5c9f2 — Maxim Cournoyer 4 months ago
Revert "syscalls: Add mmap support."

This reverts commit e1994a021437b3fd73089c08d7e8db876fad698d.
0f39db9c — Maxim Cournoyer 4 months ago
Revert "Use mmap for the elf parser, reducing memory usage."

This reverts commit 2c1fe0df11ae0f66392b8abb6f62430d79305538.
9d60fdf6 — Maxim Cournoyer 4 months ago
Revert "elf: Remove bundled Guile source."

This reverts commit 11cf5b2fe4882f123cd5e9eb385a773703dfe872.
e0148efc — Maxim Cournoyer 4 months ago
Revert "gnu: gcc-mesboot: Raise default timeout via property."

This reverts commit f4768a9a9d6538127199d9b30af14ea1ea3576da.
f4768a9a — Maxim Cournoyer 4 months ago
gnu: gcc-mesboot: Raise default timeout via property.

It was found to time out in the CI after 21600 seconds.

* gnu/packages/commencement.scm (gcc-mesboot) [properties]: New field.

Change-Id: Idec8a668f4f15e9ed3712d505b82704260b4295d
11cf5b2f — Maxim Cournoyer 4 months ago
elf: Remove bundled Guile source.

This module has been included in Guile as (system vm elf) since around version
2.1.

* guix/elf.scm: Delete file.
* CODEOWNERS: De-register module.
* Makefile.am (MODULES): Likewise.
* etc/teams.scm (core): Likewise.
* gnu/build/linux-modules.scm: Adjust imports.
* gnu/packages/gnuzilla.scm (icecat-minimal) [modules]: Likewise.
* gnu/packages/librewolf.scm (librewolf): Likewise.
* gnu/packages/sequoia.scm (sequoia): Likewise.
* gnu/packages/tor-browsers.scm (make-torbrowser): Likewise.
* gnu/packages/version-control.scm (hg-commitsigs): Likewise.
* guix/build/debug-link.scm: Likewise.
* guix/build/gnu-build-system.scm: Likewise.
* guix/build/gremlin.scm: Likewise.
* guix/build/meson-build-system.scm: Likewise.
* guix/grafts.scm (graft-derivation/shallow): Likewise.
* guix/scripts/pack.scm (wrapped-package): Likewise.
* tests/debug-link.scm: ("elf-debuglink", "set-debuglink-crc"): Likewise.
* tests/gremlin.scm: Likewise.
* guix/build-system/gnu.scm (%default-gnu-imported-modules): Remove (guix elf).

Change-Id: I86ac4237fdd820a6b54dc0fe7a7d10403a290ef9
2c1fe0df — Maxim Cournoyer 4 months ago
Use mmap for the elf parser, reducing memory usage.

The `file->bytevector' new procedure uses a memory mapped bytevector, so
parsing the ELF file reads only the sections needed, not the whole file.

* guix/scripts/pack.scm (wrapped-package): Use file->bytevector.
* guix/build/gremlin.scm (file-dynamic-info): Likewise.
(validate-needed-in-runpath): Likewise.
(strip-runpath): Likewise, and write to bytevector directly, avoiding a port.
(set-file-runpath): Likewise.
* tests/gremlin.scm (read-elf): Delete procedure.
("elf-dynamic-info-needed, executable"): Use file-dynamic-info.
("strip-runpath"): Likewise.
("elf-dynamic-info-soname"): Likewise.
 guix/build/debug-link.scm (set-debuglink-crc): Use file->bytevector.
* tests/debug-link.scm (read-elf): Delete procedure.
("elf-debuglink"): Rename to...
("elf-debuglink, no .gnu_debuglink section"): ... this.
("elf-debuglink", "set-debuglink-crc"): Use external store, and adjust to use
file->bytevector.
* gnu/packages/gnuzilla.scm (icecat-minimal) [#:phases]
{build-sandbox-whitelist}: Use `file-runpath'.
* gnu/packages/librewolf.scm (librewolf): Likewise.

Fixes: <https://issues.guix.gnu.org/59365>
Fixes: #1262
Change-Id: I43b77ed0cdc38994ea89d3d401e0d136aa6b187a
e1994a02 — Maxim Cournoyer 4 months ago
syscalls: Add mmap support.

* guix/build/syscalls.scm (PROT_NONE, PROT_READ, PROT_WRITE, PROT_EXEC)
(PROT_SEM, MAP_SHARED, MAP_PRIVATE, MAP_FAILED)
(MS_ASYNC, MS_INVALIDATE, MS_SYNC)
(%mmap-guardian, %unmapped-bytevectors): New variables.
(unmapped-bytevector?, pump-mmap-guardian, %mmap, mmap, %munmap, munmap)
(%msync, msync): New procedures.
* guix/build/io.scm: New file.
* Makefile.am: Register it.
* tests/syscalls.scm (strace-output): New variable.
("mmap and munmap", "file->bytevector, reading", "file->bytevector, writing")
("manual munmap does not lead to double free"): New tests.

Change-Id: I19ec687899eda635559e91200dd8d98669b0e35f
36a90a1a — Maxim Cournoyer 4 months ago
gnu: hunspell: Update to 1.7.2.

* gnu/packages/hunspell.scm (hunspell): Update to 1.7.2.
[native-inputs]: Add gettext-minimal.

Change-Id: Ibdc4378c90a1a1fbad0134f6d7744fad2aac3d86
db051f57 — Maxim Cournoyer 4 months ago
gnu: autoconf: Update to 2.72.

* gnu/packages/autotools.scm (autoconf): Point to autoconf-2.72.
* gnu/packages/dbm.scm (bdb-4.8) [native-inputs]: Replace autoconf with
autoconf-2.69.

Change-Id: Ifa0fdd7bab21aa585e729f4e6ccf8ab15b0f73f3
1fc884a3 — Maxim Cournoyer 4 months ago
gnu: help2man: Update to 1.49.3.

* gnu/packages/man.scm (help2man): Update to 1.49.3.

Change-Id: I9fc62620e89ca1f66b5ec402b19c639425ee5ecb
e6f3c37f — Maxim Cournoyer 4 months ago
gnu: gettext-minimal: Update to 0.26.

* gnu/packages/gettext.scm (gettext-minimal): Update to 0.26.

Change-Id: I7d594b6a89a7e12a5e0ed2da7875407800e33415
6c3e5f16 — Maxim Cournoyer 4 months ago
gnu: acl: Update to 2.3.2.

* gnu/packages/acl.scm (acl): Update to 2.3.2.

Change-Id: I379bc4428abbb951f5befa1d8da5fbac4dfbeeb8
da817989 — Maxim Cournoyer 4 months ago
gnu: libtool: Update to 2.5.4.

* gnu/packages/autotools.scm (libtool): Update to 2.5.4.
[source]: Delete patches.
[#:phases] {skip-some-tests-on-extra-archs}: New phases.
* gnu/packages/patches/libtool-grep-compat.patch: Delete file.
* gnu/packages/patches/libtool-skip-tests2.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.

Change-Id: I6f16e7edd996c5b577acdbbd4905ec63d27b3655
c334cf0b — Maxim Cournoyer 4 months ago
gnu: flex: Move bison-for-tests input to native inputs.

If it's truly for tests, it ought to be a native inputs.

* gnu/packages/flex.scm (flex) [inputs]: Delete field, moving bison-for-tests...
[native-inputs]: ... here.

Change-Id: I7fa30de00b1a6386d495403a619f412daa9d1ab5
Next