* gnu/packages/hurd.scm (rumpkernel): Add -Wno-error=implicit-function-declaration
for the HOST_CC
Change-Id: I4e86cd9900b56a904190e217c21bcfa279c12a5a
* gnu/packages/hurd.scm (gnumach)[native-inputs]: Replace automake and
texinfo-4 with automake-1.16.5 and texinfo.
Change-Id: I16453207eb45019c0af01f8ef073960651ba6958
* gnu/packages/hurd.scm (gnumach-headers)[native-inputs]: Replace automake and
texinfo-4 with automake-1.16.5 and texinfo.
Change-Id: Id7f0eeb6799e1b34eecb0f7b562507ecdb0632bc
This is a followup to 20a8d796f1, which broke
the Hurd.
* gnu/packages/hurd.scm (libpciaccess-static): New variable.
(hurd, netdde) [inputs]: Replace libpciaccess with libpciaccess-static.
Change-Id: Ifb2cc3d210cf4ce6f4798eac1e9643f1c75ba6fa
Suggested-by: yelninei on IRC.
This fixes evaluation of ‘master’, which was failing with a ‘match’ error.
* gnu/packages/hurd.scm (hurd)[arguments]: Add default case.
Change-Id: Icf5f01481cd102036cb2b7d4dbaf9f326cdb152a
This fixes evaluation of ‘master’, which was failing with a ‘match’
error.
* gnu/packages/hurd.scm (netdde)[arguments]: Add default case.
Change-Id: I093b21f629a930f6e6b43430f5a204d06e1f3aad
See <https://logs.guix.gnu.org/hurd/2024-11-20.log#082237>.
* gnu/packages/patches/hurd-refcounts-assert.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/hurd.scm (hurd): Use it.
Change-Id: I51ee319f1b7e26a7ed0f4e9f69755aa596ea6877
* gnu/packages/patches/hurd-64bit.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/hurd.scm (hurd)[source]: Use it.
[arguments]: When building for the 64bit Hurd, add "create-machine-symlink"
phase. In phases "build-libdde-linux" and "install-goodies", do not assume
x86, rather use actual ARCH, and follow upstream's "amd64" symlinking voodoo.
Change-Id: If264a91b2433add13f9121c482f0abe67ae5f1e9
* gnu/packages/hurd.scm (rumpkernel)[argument]: In stage "build", follow
Debian upstream to use -DPAE disable the DTRACE and ZFS builds.
Change-Id: I534da31eefb378c72b4896d64a51a73109e38aa6
* gnu/packages/patches/netdde-csum.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/hurd.scm (netdde)[source]: Use it.
[arguments]: Do not assume x86, rather use actual ARCH in #:make-flags, and
follow upstream's "amd64" symlinking voodoo.
Change-Id: Ie825e56779dae2f489066569dc3c4405bac778c1
* gnu/packages/hurd.scm (netdde)[arguments]: Disable some warnings breaking
the build, using "WARNINGS=..." in #:make-flags.
Change-Id: I39f577c51eaa3d86abf80a54f7c172324cf56749
* gnu/packages/hurd.scm (hurd)[arguments]: In phase "build-libdde-linux",
disable some warnings breaking the build, using "WARNINGS=...".
Change-Id: Ib70926a90e1d37080c5b9dd333f19636cdae3013
* gnu/packages/hurd.scm (hurd-headers): Update to 0.9.git20240714.
(hurd)[arguments]: Remove rumpdisk build hack from "prepare-addons" stage.
Instead, when cross-compiling, add stage "fixup-cross-configure" to enable
rumpdisk.
* gnu/system.scm (hurd-multiboot-modules): Remove
"--x-xattr-translator-records" option that has been removed and is now the
default.
Change-Id: I4609b5a959c1ece98e2fe1aedbb1d31d6edadcca
* gnu/packages/patches/gnumach-version.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/hurd.scm (gnumach-headers): Update to v1.8+git20240714 and use
it.
* gnu/packages/commencement.scm (gnumach-headers-boot0)[origin]: Reset
patches.
Change-Id: I147c64021c2ee79dfc4cd4fd9a29529eef8890c5
This avoids hanging upon second boot and ensures a declarative /hurd and /dev.
* gnu/packages/patches/hurd-startup.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/hurd.scm (hurd): Use it.
[arguments]: In stage create-runsystem remove /dev/urandom.
Change-Id: Ifcca5562c297204735c35132820a32ca0f273677
This is the first step to support booting after guix system init, which does
not create /servers.
* gnu/packages/hurd.scm (hurd)[arguments]: In stage create-runsystem, do not
assume /servers/socket/ exists, remove any existing /servers/socket/1.
* gnu/packages/hurd.scm (hurd-headers): Update to v0.9.git20231217.
[arguments]: Avoid new link test for file_utimens.
* (hurd)[source]: Remove hurd-fix-rumpdisk-build.patch, which has been
included upstream.
* gnu/packages/patches/hurd-add-without-rump-configure-option.patch,
gnu/packages/patches/hurd-fix-rumpdisk-build.patch,
gnu/packages/patches/hurd-fix-types-of-read-write-and-readables-methods.patch,
gnu/packages/patches/hurd-fix-types-of-read-write-and-readables-methods-2.patch:
Remove.
* gnu/local.mk (dist_patch_DATA): Unregister them.
Change-Id: I0b42db19289e2fefeae99b18f0c29a21d3bf67a4
This fixes the (times) call in Guile.
* gnu/packages/patches/gnumach-fix-task_info.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/hurd.scm (gnumach)[source]: Use it.
Change-Id: Ie7725d86465136a8e03838b86424c25cf68945c4
* gnu/packages/patches/gnumach-fix-i686-linux-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/hurd.scm (gnumach)[source]: Use it.
[arguments]: Remove #:make-flags to avoid overriding now-essential CFLAGS set
by configure. Rewrite to use gexps.
[supported-systems]: Add i686-linux.
Change-Id: Ibec03121f90b30160725c87e999e38f677b2e369
* gnu/packages/hurd.scm (hurd)[arguments]: In phases `build-libdde-linux' and
`install-goodies', also set ARCH=x86.
Change-Id: I2e7f14afda03c9e21ba9c3b24e195a00ae141701
gnumach-headers[-cross] are contained in the toolchain; it was only the
`include/mach/machine' symlink that was missing.
This reverts commit 2dd16f4676.
This provides the include/mach/machine/mach_i386.h.
* gnu/packages/hurd.scm (hurd)[native-inputs]: Add gnumach-headers, or
gnumach-headers-cross when cross-building.
[arguments]: Remove #t from phases.
Change-Id: Id57e0cf184c7793be52192bdc5587c6e6ef2a312
This is a follow-up to commit
fe83aaf283
gnu: glibc/hurd: Update to 2.38.
and fixes
No rule to make target 'mach/machine/mach_i386.h', needed by
'trivfs_server.o'. Stop.
* gnu/packages/hurd.scm (gnumach-headers)[arguments]: In phase `install' also
build `install-data-hook'.
Change-Id: I1985a17fa4a3fb789fe75791c2f9f4c8fd225d9a
This fixes the build with reinforced build options:
condvar.c: In function ‘ddekit_condvar_init’:
condvar.c:16:19: error: old-style function definition [-Werror=old-style-definition]
16 | ddekit_condvar_t *ddekit_condvar_init() {
| ^~~~~~~~~~~~~~~~~~~
* gnu/packages/hurd.scm (dde-sources): Update to
066797b576ebf8364ad157f50bef2a655597deeb.
Change-Id: Icf6f97897852e21dfcf9b77629fde4ce6a7d1469
* gnu/packages/hurd.scm (hurd-headers): Drop “v” from ‘version’ string.
(dde-sources): Strip COMMIT in ‘file-name’ field.
(rumpkernel)[source]: Pass VERSION rather than COMMIT to ‘git-file-name’.
Change-Id: I403048d5ba79ef410383c567157aca416843a529
* gnu/packages/hurd.scm (hurd)[arguments]: In phases 'build-libdde-linux' and
'install-goodies', also look in inputs for dependencies. There is no check
target, so set #:tests? to #false.
Now that we have `git-fetch-from-tarball' to break the cycle in commencement
for git-fetch sources, we can finally update mig to use git-fetch to allow
`--with-commit' builds.
* gnu/packages/hurd.scm (mig)[source]: Use git-fetch again.
* gnu/packages/commencement.scm (mig-boot0)[source]: Use
git-fetch-from-tarball accordingly.
This reinstates 999a6ac0cf, which was
reverted by a041bbb4bf, but without
resorting to 'git-fetch'.
* gnu/packages/hurd.scm (mig): Update to 1.8+git20220827.
[source]: Remove patch.
* gnu/packages/patches/mig-cpu.h-generation.patch: Delete.
* gnu/local.mk (dist_patch_DATA): Remove it.
As the lack of handling other systems, say aarch64-linux here seemed to cause
problems with guix pull on these systems. This should work around #64609.
* gnu/packages/hurd.scm (rumpkernel)[arguments]: Don't error for any system.
As noted in the comment, I think using git-fetch caused problems computing
derivaations for i586-linux (Guix would just use more and more memory).
This reverts commit 999a6ac0cf.
See also
https://logs.guix.gnu.org/hurd/2023-05-25.log#163610
* gnu/packages/hurd.scm (gnumach)[arguments]: Add --disable-net-group,
--disable-pcmcia-group, and --disable-wireless-group.
Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
* gnu/packages/patches/netdde-build-fix.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/hurd.scm (netdde)[source]: Update to
e67c284ac113d939b10b4578334f27dab29d5b08 and use it.
[inputs]: Add zlib:static.
[arguments]: Remove #true from build phases. In 'build' phase, remove
obsolete CFLAGS, and also build static version. In 'install' phase,
install them in <out>/hurd. There is no check target, so set #:tests?
to #false.
Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
* gnu/packages/patches/gnumach-support-noide.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/hurd.scm (gnumach-headers): Use it.
* doc/guix.texi (Bootloader Configuration): Document it.
Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>