pasted gnumach from the wrong file, meant to put this
(define-public gnumach
(package
(inherit gnumach-headers)
(name "gnumach")
(version (git-version "1.8-head" "HEAD" %git-commit))
(source (git-checkout (url (string-append root "gnumach"))))
#| (source (origin
(inherit (package-source gnumach-headers))
(patches
(append
(search-patches "gnumach-support-noide.patch")
(origin-patches (package-source gnumach-headers))))))|#
(arguments
(substitute-keyword-arguments (package-arguments gnumach-headers)
((#:make-flags flags ''())
`(cons "CFLAGS=-fcommon" ,flags))
((#:configure-flags flags ''())
`(cons* "--enable-kdb" ;enable kernel debugger
"--disable-net-group"
"--disable-pcmcia-group"
"--disable-wireless-group"
,flags))
((#:phases phases '%standard-phases)
`(modify-phases %standard-phases
(add-after 'install 'produce-image
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(boot (string-append out "/boot")))
(invoke "make" "gnumach.gz")
(install-file "gnumach.gz" boot))))))))
(native-inputs
(list autoconf
automake
(if (%current-target-system)
(cross-mig (%current-target-system))
mig)
perl
texinfo-4))
(supported-systems %hurd-systems)
(synopsis "Microkernel of the GNU system")
(description
"GNU Mach is the microkernel upon which a GNU Hurd system is based.")))
On Sat, Jul 6, 2024 at 2:55 AM Nathan Dehnel <[email protected]> wrote:
>
> Hello, I'm in the process of setting up CI for Hurd using Guix. What
> I'm doing is taking the upstream Guix package definitions and
> modifying them to build from a git checkout. I ran into this error
> trying to build gnumach. Is it being compiled wrong?
>
>
>
> phase `unpack' succeeded after 1.1 seconds
> starting phase `bootstrap'
>
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal --force
> autoreconf: configure.ac: tracing
> autoreconf: configure.ac: creating directory build-aux
> autoreconf: configure.ac: not using Libtool
> autoreconf: running:
> /gnu/store/kc995rpv3sd3n74nvhlk1968318hrz6z-autoconf-2.69/bin/autoconf
> --force
> autoreconf: running:
> /gnu/store/kc995rpv3sd3n74nvhlk1968318hrz6z-autoconf-2.69/bin/autoheader
> --force
> autoreconf: running: automake --add-missing --copy --force-missing
> configure.ac:95: installing 'build-aux/compile'
> configure.ac:53: installing 'build-aux/config.guess'
> configure.ac:53: installing 'build-aux/config.sub'
> configure.ac:33: installing 'build-aux/install-sh'
> configure.ac:33: installing 'build-aux/missing'
> Makefile.am: installing './INSTALL'
> Makefile.am: installing 'build-aux/depcomp'
> Makefile.am:32: installing 'build-aux/mdate-sh'
> doc/Makefrag.am:106: warning: user target '$(srcdir)/doc/version.texi'
> defined here ...
> Makefile.am:155: 'doc/Makefrag.am' included from here
> /gnu/store/rdhlk66jzbl42sq08i4j339cv0cnakdl-automake-1.16.5/share/automake-1.16/am/texi-vers.am:
> ... overrides Automake target '$(srcdir)/doc/version.
> texi' defined here
> Makefile.am:32: installing 'build-aux/texinfo.tex'
> parallel-tests: installing 'build-aux/test-driver'
> autoreconf: Leaving directory `.'
> phase `bootstrap' succeeded after 4.4 seconds
> starting phase `patch-usr-bin-file'
>
> phase `patch-usr-bin-file' succeeded after 0.1 seconds
> starting phase `patch-source-shebangs'
>
> patch-shebang: ./build-aux/compile: changing `/bin/sh' to
> `/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
> patch-shebang: ./build-aux/config.guess: changing `/bin/sh' to
> `/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
> patch-shebang: ./build-aux/config.sub: changing `/bin/sh' to
> `/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
> patch-shebang: ./build-aux/depcomp: changing `/bin/sh' to
> `/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
> patch-shebang: ./build-aux/install-sh: changing `/bin/sh' to
> `/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
> patch-shebang: ./build-aux/mdate-sh: changing `/bin/sh' to
> `/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
> patch-shebang: ./build-aux/missing: changing `/bin/sh' to
> `/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
> patch-shebang: ./build-aux/test-driver: changing `/bin/sh' to
> `/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
> patch-shebang: ./configure: changing `/bin/sh' to
> `/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
> patch-shebang: ./tests/run-qemu.sh.template: changing `/bin/sh' to
> `/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/sh'
> phase `patch-source-shebangs' succeeded after 1.0 seconds
> starting phase `configure'
>
> source directory:
> "/tmp/guix-build-gnumach-1.8-head-HEAD.86ad1f3.drv-0/source" (relative
> from build: ".")
> build directory: "/tmp/guix-build-gnumach-1.8-head-HEAD.86ad1f3.drv-0/source"
> configure flags:
> ("CONFIG_SHELL=/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/bash"
> "SHELL=/gnu/store/rfl0rsh7l78fd56pmrashmn4ww
> cmw35c-bash-minimal-5.1.16/bin/bash"
> "--prefix=/gnu/store/v1hy500idfnmqbi7sxi4zbbas9lfpcvb-gnumach-1.8-head-HEAD.86ad1f3"
> "--enable-fast-install" "--b
> uild=i586-unknown-gnu" "--enable-kdb" "--disable-net-group"
> "--disable-pcmcia-group" "--disable-wireless-group")
> configure: WARNING: unrecognized options: --enable-fast-install
> checking for a BSD-compatible install...
> /gnu/store/b8iw9vy0dc9hfx0hgyvrhrhcj6im8rqy-coreutils-9.1/bin/install
> -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p...
> /gnu/store/b8iw9vy0dc9hfx0hgyvrhrhcj6im8rqy-coreutils-9.1/bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether make supports nested variables... (cached) yes
> checking build system type... i586-unknown-gnu
> checking host system type... i586-unknown-gnu
> checking for gawk... (cached) gawk
> checking whether make supports the include directive... yes (GNU style)
> checking for gcc... gcc
> configure: WARNING: using cross tools not prefixed with host triplet
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... yes
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking whether gcc understands -c and -o together... yes
> checking dependency style of gcc... gcc3
> checking dependency style of gcc... gcc3
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking whether gcc understands -c and -o together... (cached) yes
> checking dependency style of gcc... (cached) gcc3
> checking how to run the C preprocessor... gcc -E
> checking for ranlib... ranlib
> checking for ar... ar
> checking for ld... ld
> checking for nm... nm
> checking for mig... mig
> checking for gzip... gzip
> checking for strip... strip
> checking for patch... patch
> ./configure: line 6400: [: -gt: unary operator expected
> checking whether to enable assertions... yes
> checking for i586-gnu-mig... no
> checking for gcc... gcc
> checking for gcc... gcc -E
> checking whether the compiler accepts `-fstack-protector'... yes
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> configure: Applied a patch to work around a deficiency in
> Automake. See `configure.ac' for details.
> config.status: creating tests/test-multiboot
> config.status: creating Makefile
> config.status: creating version.c
> config.status: creating config.h
> config.status: linking ./i386/i386 to machine
> config.status: linking i386/include/mach/i386 to mach/machine
> config.status: linking linux/src/include/asm-i386 to linux/src/include/asm
> config.status: linking linux/dev/include/asm-i386 to linux/dev/include/asm
> config.status: executing depfiles commands
> configure: WARNING: unrecognized options: --enable-fast-install
> phase `configure' succeeded after 7.0 seconds
> starting phase `patch-generated-file-shebangs'
>
> phase `patch-generated-file-shebangs' succeeded after 0.2 seconds
> starting phase `build'
>
> make all-recursive
> make[1]: Entering directory
> '/tmp/guix-build-gnumach-1.8-head-HEAD.86ad1f3.drv-0/source'
> make[2]: Entering directory
> '/tmp/guix-build-gnumach-1.8-head-HEAD.86ad1f3.drv-0/source'
> make[3]: Entering directory
> '/tmp/guix-build-gnumach-1.8-head-HEAD.86ad1f3.drv-0/source'
> make[3]: Leaving directory
> '/tmp/guix-build-gnumach-1.8-head-HEAD.86ad1f3.drv-0/source'
> Updating ./doc/version.texi
> restore=: && backupdir=".am$$" && \
> am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
> rm -rf $backupdir && mkdir $backupdir && \
> if (/gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/bash
> '/tmp/guix-build-gnumach-1.8-head-HEAD.86ad1f3.drv-0/source/build-aux/mis
> sing' makeinfo --version) >/dev/null 2>&1; then \
> for f in doc/mach.info doc/mach.info-[0-9] doc/mach.info-[0-9][0-9]
> doc/mach.i[0-9] doc/mach.i[0-9][0-9]; do \
> if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
> done; \
> else :; fi && \
> cd "$am__cwd"; \
> if /gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/bash
> '/tmp/guix-build-gnumach-1.8-head-HEAD.86ad1f3.drv-0/source/build-aux/miss
> ing' makeinfo -I doc -I ./doc \
> -o doc/mach.info ./doc/mach.texi; \
> then \
> rc=0; \
> CDPATH="${ZSH_VERSION+.}:" && cd .; \
> else \
> rc=$?; \
> CDPATH="${ZSH_VERSION+.}:" && cd . && \
> $restore $backupdir/* `echo "./doc/mach.info" | sed 's|[^/]*$||'`; \
> fi; \
> rm -rf $backupdir; exit $rc
> rm -f vm/memory_object_user.user.defs.c
> cp -p vm/memory_object_user.cli vm/memory_object_user.user.defs.c
> rm -f vm/memory_object_default.user.defs.c
> cp -p vm/memory_object_default.cli vm/memory_object_default.user.defs.c
> rm -f device/device_reply.user.defs.c
> cp -p device/device_reply.cli device/device_reply.user.defs.c
> rm -f device/memory_object_reply.user.defs.c
> cp -p device/memory_object_reply.cli device/memory_object_reply.user.defs.c
> rm -f kern/task_notify.user.defs.c
> cp -p kern/task_notify.cli kern/task_notify.user.defs.c
> rm -f device/device.server.defs.c
> cp -p device/device.srv device/device.server.defs.c
> rm -f device/device_pager.server.defs.c
> cp -p device/device_pager.srv device/device_pager.server.defs.c
> rm -f ipc/mach_port.server.defs.c
> cp -p ipc/mach_port.srv ipc/mach_port.server.defs.c
> rm -f kern/mach.server.defs.c
> cp -p kern/mach.srv kern/mach.server.defs.c
> rm -f kern/mach4.server.defs.c
> cp -p kern/mach4.srv kern/mach4.server.defs.c
> rm -f kern/gnumach.server.defs.c
> cp -p kern/gnumach.srv kern/gnumach.server.defs.c
> rm -f kern/experimental.server.defs.c
> cp -p kern/experimental.srv kern/experimental.server.defs.c
> rm -f kern/mach_debug.server.defs.c
> cp -p kern/mach_debug.srv kern/mach_debug.server.defs.c
> rm -f kern/mach_host.server.defs.c
> cp -p kern/mach_host.srv kern/mach_host.server.defs.c
> rm -f ipc/notify.none.defs.c
> cp -p ipc/notify.defs ipc/notify.none.defs.c
> rm -f kern/exc.none.defs.c
> cp -p kern/exc.defs kern/exc.none.defs.c
> rm -f i386/i386/mach_i386.server.defs.c
> cp -p i386/i386/mach_i386.srv i386/i386/mach_i386.server.defs.c
> make[2]: Circular version.c <- version.c dependency dropped.
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include -E
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-protot
> ypes -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -f
> no-pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> vm/lib_dep_tr_for_defs_a-memory_object_user.user.defs.o -MD -MP -MF
> vm/.deps/lib_
> dep_tr_for_defs_a-memory_object_user.user.defs.Tpo -c -o
> vm/lib_dep_tr_for_defs_a-memory_object_user.user.defs.o `test -f
> 'vm/memory_object_user.user.
> defs.c' || echo './'`vm/memory_object_user.user.defs.c
> mv -f vm/.deps/lib_dep_tr_for_defs_a-memory_object_user.user.defs.Tpo
> vm/.deps/lib_dep_tr_for_defs_a-memory_object_user.user.defs.Po
> mig -n -cc cat - /dev/null \
> -user vm/memory_object_user.user.c -header
> vm/memory_object_user.user.h \
> -list vm/memory_object_user.user.msgids
> \
> < vm/lib_dep_tr_for_defs_a-memory_object_user.user.defs.o
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include -E
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-protot
> ypes -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -f
> no-pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> vm/lib_dep_tr_for_defs_a-memory_object_default.user.defs.o -MD -MP -MF
> vm/.deps/l
> ib_dep_tr_for_defs_a-memory_object_default.user.defs.Tpo -c -o
> vm/lib_dep_tr_for_defs_a-memory_object_default.user.defs.o `test -f
> 'vm/memory_object_d
> efault.user.defs.c' || echo './'`vm/memory_object_default.user.defs.c
> mv -f vm/.deps/lib_dep_tr_for_defs_a-memory_object_default.user.defs.Tpo
> vm/.deps/lib_dep_tr_for_defs_a-memory_object_default.user.defs.Po
> mig -n -cc cat - /dev/null \
> -user vm/memory_object_default.user.c -header
> vm/memory_object_default.user.h \
> -list vm/memory_object_default.user.msgids
> \
> < vm/lib_dep_tr_for_defs_a-memory_object_default.user.defs.o
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include -E
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-protot
> ypes -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -f
> no-pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> device/lib_dep_tr_for_defs_a-device_reply.user.defs.o -MD -MP -MF
> device/.deps/li
> b_dep_tr_for_defs_a-device_reply.user.defs.Tpo -c -o
> device/lib_dep_tr_for_defs_a-device_reply.user.defs.o `test -f
> 'device/device_reply.user.defs.c'
> || echo './'`device/device_reply.user.defs.c
> mv -f device/.deps/lib_dep_tr_for_defs_a-device_reply.user.defs.Tpo
> device/.deps/lib_dep_tr_for_defs_a-device_reply.user.defs.Po
> mig -n -cc cat - /dev/null \
> -user device/device_reply.user.c -header device/device_reply.user.h
> \
> -list device/device_reply.user.msgids \
> < device/lib_dep_tr_for_defs_a-device_reply.user.defs.o
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include -E
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-protot
> ypes -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -f
> no-pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> device/lib_dep_tr_for_defs_a-memory_object_reply.user.defs.o -MD -MP
> -MF device/.
> deps/lib_dep_tr_for_defs_a-memory_object_reply.user.defs.Tpo -c -o
> device/lib_dep_tr_for_defs_a-memory_object_reply.user.defs.o `test -f
> 'device/memor
> y_object_reply.user.defs.c' || echo
> './'`device/memory_object_reply.user.defs.c
> mv -f device/.deps/lib_dep_tr_for_defs_a-memory_object_reply.user.defs.Tpo
> device/.deps/lib_dep_tr_for_defs_a-memory_object_reply.user.defs.Po
> mig -n -cc cat - /dev/null \
> -user device/memory_object_reply.user.c -header
> device/memory_object_reply.user.h \
> -list device/memory_object_reply.user.msgids
> \
> < device/lib_dep_tr_for_defs_a-memory_object_reply.user.defs.o
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include -E
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-protot
> ypes -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -f
> no-pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> kern/lib_dep_tr_for_defs_a-task_notify.user.defs.o -MD -MP -MF
> kern/.deps/lib_dep
> _tr_for_defs_a-task_notify.user.defs.Tpo -c -o
> kern/lib_dep_tr_for_defs_a-task_notify.user.defs.o `test -f
> 'kern/task_notify.user.defs.c' || echo './'
> `kern/task_notify.user.defs.c
> mv -f kern/.deps/lib_dep_tr_for_defs_a-task_notify.user.defs.Tpo
> kern/.deps/lib_dep_tr_for_defs_a-task_notify.user.defs.Po
> mig -n -cc cat - /dev/null \
> -user kern/task_notify.user.c -header kern/task_notify.user.h
> \
> -list kern/task_notify.user.msgids \
> < kern/lib_dep_tr_for_defs_a-task_notify.user.defs.o
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include -E
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-protot
> ypes -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -f
> no-pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> device/lib_dep_tr_for_defs_a-device.server.defs.o -MD -MP -MF
> device/.deps/lib_de
> p_tr_for_defs_a-device.server.defs.Tpo -c -o
> device/lib_dep_tr_for_defs_a-device.server.defs.o `test -f
> 'device/device.server.defs.c' || echo './'`dev
> ice/device.server.defs.c
> mv -f device/.deps/lib_dep_tr_for_defs_a-device.server.defs.Tpo
> device/.deps/lib_dep_tr_for_defs_a-device.server.defs.Po
> mig -n -cc cat - /dev/null \
> -sheader device/device.server.h -server device/device.server.c
> \
> -list device/device.server.msgids \
> < device/lib_dep_tr_for_defs_a-device.server.defs.o
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include -E
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-protot
> ypes -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -f
> no-pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> device/lib_dep_tr_for_defs_a-device_pager.server.defs.o -MD -MP -MF
> device/.deps/
> lib_dep_tr_for_defs_a-device_pager.server.defs.Tpo -c -o
> device/lib_dep_tr_for_defs_a-device_pager.server.defs.o `test -f
> 'device/device_pager.server.
> defs.c' || echo './'`device/device_pager.server.defs.c
> mv -f device/.deps/lib_dep_tr_for_defs_a-device_pager.server.defs.Tpo
> device/.deps/lib_dep_tr_for_defs_a-device_pager.server.defs.Po
> mig -n -cc cat - /dev/null \
> -sheader device/device_pager.server.h -server
> device/device_pager.server.c \
> -list device/device_pager.server.msgids \
> < device/lib_dep_tr_for_defs_a-device_pager.server.defs.o
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include -E
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-protot
> ypes -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -f
> no-pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> ipc/lib_dep_tr_for_defs_a-mach_port.server.defs.o -MD -MP -MF
> ipc/.deps/lib_dep_t
> r_for_defs_a-mach_port.server.defs.Tpo -c -o
> ipc/lib_dep_tr_for_defs_a-mach_port.server.defs.o `test -f
> 'ipc/mach_port.server.defs.c' || echo './'`ipc
> /mach_port.server.defs.c
> mv -f ipc/.deps/lib_dep_tr_for_defs_a-mach_port.server.defs.Tpo
> ipc/.deps/lib_dep_tr_for_defs_a-mach_port.server.defs.Po
> mig -n -cc cat - /dev/null \
> -sheader ipc/mach_port.server.h -server ipc/mach_port.server.c
> \
> -list ipc/mach_port.server.msgids \
> < ipc/lib_dep_tr_for_defs_a-mach_port.server.defs.o
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include -E
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-protot
> ypes -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -f
> no-pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> kern/lib_dep_tr_for_defs_a-mach.server.defs.o -MD -MP -MF
> kern/.deps/lib_dep_tr_f
> or_defs_a-mach.server.defs.Tpo -c -o
> kern/lib_dep_tr_for_defs_a-mach.server.defs.o `test -f
> 'kern/mach.server.defs.c' || echo './'`kern/mach.server.de
> fs.c
> mv -f kern/.deps/lib_dep_tr_for_defs_a-mach.server.defs.Tpo
> kern/.deps/lib_dep_tr_for_defs_a-mach.server.defs.Po
> mig -n -cc cat - /dev/null \
> -sheader kern/mach.server.h -server kern/mach.server.c \
> -list kern/mach.server.msgids \
> < kern/lib_dep_tr_for_defs_a-mach.server.defs.o
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include -E
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-protot
> ypes -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -f
> no-pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> kern/lib_dep_tr_for_defs_a-mach4.server.defs.o -MD -MP -MF
> kern/.deps/lib_dep_tr_
> for_defs_a-mach4.server.defs.Tpo -c -o
> kern/lib_dep_tr_for_defs_a-mach4.server.defs.o `test -f
> 'kern/mach4.server.defs.c' || echo './'`kern/mach4.serv
> er.defs.c
> mv -f kern/.deps/lib_dep_tr_for_defs_a-mach4.server.defs.Tpo
> kern/.deps/lib_dep_tr_for_defs_a-mach4.server.defs.Po
> mig -n -cc cat - /dev/null \
> -sheader kern/mach4.server.h -server kern/mach4.server.c \
> -list kern/mach4.server.msgids \
> < kern/lib_dep_tr_for_defs_a-mach4.server.defs.o
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include -E
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-protot
> ypes -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -f
> no-pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> kern/lib_dep_tr_for_defs_a-gnumach.server.defs.o -MD -MP -MF
> kern/.deps/lib_dep_t
> r_for_defs_a-gnumach.server.defs.Tpo -c -o
> kern/lib_dep_tr_for_defs_a-gnumach.server.defs.o `test -f
> 'kern/gnumach.server.defs.c' || echo './'`kern/gn
> umach.server.defs.c
> mv -f kern/.deps/lib_dep_tr_for_defs_a-gnumach.server.defs.Tpo
> kern/.deps/lib_dep_tr_for_defs_a-gnumach.server.defs.Po
> mig -n -cc cat - /dev/null \
> -sheader kern/gnumach.server.h -server kern/gnumach.server.c \
> -list kern/gnumach.server.msgids \
> < kern/lib_dep_tr_for_defs_a-gnumach.server.defs.o
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include -E
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-protot
> ypes -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -f
> no-pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> kern/lib_dep_tr_for_defs_a-experimental.server.defs.o -MD -MP -MF
> kern/.deps/lib_
> dep_tr_for_defs_a-experimental.server.defs.Tpo -c -o
> kern/lib_dep_tr_for_defs_a-experimental.server.defs.o `test -f
> 'kern/experimental.server.defs.c'
> || echo './'`kern/experimental.server.defs.c
> mv -f kern/.deps/lib_dep_tr_for_defs_a-experimental.server.defs.Tpo
> kern/.deps/lib_dep_tr_for_defs_a-experimental.server.defs.Po
> mig -n -cc cat - /dev/null \
> -sheader kern/experimental.server.h -server
> kern/experimental.server.c \
> -list kern/experimental.server.msgids \
> < kern/lib_dep_tr_for_defs_a-experimental.server.defs.o
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include -E
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-protot
> ypes -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -f
> no-pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> kern/lib_dep_tr_for_defs_a-mach_debug.server.defs.o -MD -MP -MF
> kern/.deps/lib_de
> p_tr_for_defs_a-mach_debug.server.defs.Tpo -c -o
> kern/lib_dep_tr_for_defs_a-mach_debug.server.defs.o `test -f
> 'kern/mach_debug.server.defs.c' || echo
> './'`kern/mach_debug.server.defs.c
> mv -f kern/.deps/lib_dep_tr_for_defs_a-mach_debug.server.defs.Tpo
> kern/.deps/lib_dep_tr_for_defs_a-mach_debug.server.defs.Po
> mig -n -cc cat - /dev/null \
> -sheader kern/mach_debug.server.h -server kern/mach_debug.server.c
> \
> -list kern/mach_debug.server.msgids \
> < kern/lib_dep_tr_for_defs_a-mach_debug.server.defs.o
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include -E
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-protot
> ypes -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -f
> no-pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> kern/lib_dep_tr_for_defs_a-mach_host.server.defs.o -MD -MP -MF
> kern/.deps/lib_dep
> _tr_for_defs_a-mach_host.server.defs.Tpo -c -o
> kern/lib_dep_tr_for_defs_a-mach_host.server.defs.o `test -f
> 'kern/mach_host.server.defs.c' || echo './'
> `kern/mach_host.server.defs.c
> mv -f kern/.deps/lib_dep_tr_for_defs_a-mach_host.server.defs.Tpo
> kern/.deps/lib_dep_tr_for_defs_a-mach_host.server.defs.Po
> mig -n -cc cat - /dev/null \
> -sheader kern/mach_host.server.h -server kern/mach_host.server.c
> \
> -list kern/mach_host.server.msgids \
> < kern/lib_dep_tr_for_defs_a-mach_host.server.defs.o
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include -E
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-protot
> ypes -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -f
> no-pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> ipc/lib_dep_tr_for_defs_a-notify.none.defs.o -MD -MP -MF
> ipc/.deps/lib_dep_tr_for
> _defs_a-notify.none.defs.Tpo -c -o
> ipc/lib_dep_tr_for_defs_a-notify.none.defs.o `test -f
> 'ipc/notify.none.defs.c' || echo './'`ipc/notify.none.defs.c
> mv -f ipc/.deps/lib_dep_tr_for_defs_a-notify.none.defs.Tpo
> ipc/.deps/lib_dep_tr_for_defs_a-notify.none.defs.Po
> mig -n -cc cat - /dev/null \
> -list ipc/notify.none.msgids \
> < ipc/lib_dep_tr_for_defs_a-notify.none.defs.o
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include -E
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-protot
> ypes -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -f
> no-pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> kern/lib_dep_tr_for_defs_a-exc.none.defs.o -MD -MP -MF
> kern/.deps/lib_dep_tr_for_
> defs_a-exc.none.defs.Tpo -c -o
> kern/lib_dep_tr_for_defs_a-exc.none.defs.o `test -f
> 'kern/exc.none.defs.c' || echo './'`kern/exc.none.defs.c
> mv -f kern/.deps/lib_dep_tr_for_defs_a-exc.none.defs.Tpo
> kern/.deps/lib_dep_tr_for_defs_a-exc.none.defs.Po
> mig -n -cc cat - /dev/null \
> -list kern/exc.none.msgids \
> < kern/lib_dep_tr_for_defs_a-exc.none.defs.o
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include -E
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-protot
> ypes -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -f
> no-pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> i386/i386/lib_dep_tr_for_defs_a-mach_i386.server.defs.o -MD -MP -MF
> i386/i386/.de
> ps/lib_dep_tr_for_defs_a-mach_i386.server.defs.Tpo -c -o
> i386/i386/lib_dep_tr_for_defs_a-mach_i386.server.defs.o `test -f
> 'i386/i386/mach_i386.server.
> defs.c' || echo './'`i386/i386/mach_i386.server.defs.c
> mv -f i386/i386/.deps/lib_dep_tr_for_defs_a-mach_i386.server.defs.Tpo
> i386/i386/.deps/lib_dep_tr_for_defs_a-mach_i386.server.defs.Po
> mig -n -cc cat - /dev/null \
> -sheader i386/i386/mach_i386.server.h -server
> i386/i386/mach_i386.server.c \
> -list i386/i386/mach_i386.server.msgids \
> < i386/i386/lib_dep_tr_for_defs_a-mach_i386.server.defs.o
> gawk -f gensym.awk i386/i386/i386asm.sym > i386/i386/i386asm.symc
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-prototype
> s -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -fno-
> pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -S -x c
> -o i386/i386/i386asm.symc.o i386/i386/i386asm.symc
> In file included from ./kern/assert.h:32,
> from ./mach/machine/vm_types.h:43,
> from ./include/mach/time_value.h:30,
> from ./include/mach/thread_info.h:42,
> from ./kern/thread.h:38,
> from i386/i386/i386asm.symc:2:
> ./kern/macros.h:83: warning: "__always_inline" redefined
> 83 | #define __always_inline inline __attribute__((always_inline))
> |
> In file included from
> /gnu/store/57z58ayasqrzlwq95bv45m6jpx22j96k-glibc-2.37/include/features.h:491,
> from
> /gnu/store/57z58ayasqrzlwq95bv45m6jpx22j96k-glibc-2.37/include/bits/libc-header-start.h:33,
> from
> /gnu/store/57z58ayasqrzlwq95bv45m6jpx22j96k-glibc-2.37/include/stdint.h:26,
> from
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//include/stdint.h:9,
> from ./mach/machine/vm_types.h:40,
> from ./include/mach/time_value.h:30,
> from ./include/mach/thread_info.h:42,
> from ./kern/thread.h:38,
> from i386/i386/i386asm.symc:2:
> /gnu/store/57z58ayasqrzlwq95bv45m6jpx22j96k-glibc-2.37/include/sys/cdefs.h:424:
> note: this is the location of the previous definition
> 424 | # define __always_inline __inline __attribute__ ((__always_inline__))
> |
> sed < i386/i386/i386asm.symc.o > i386/i386/i386asm.h \
> -e 's/^[^*].*$//' \
> -e 's/^[*]/#define/' \
> -e 's/mAgIc[^-0-9]*//'
> cd . &&
> /gnu/store/rfl0rsh7l78fd56pmrashmn4wwcmw35c-bash-minimal-5.1.16/bin/bash
> ./config.status version.c
> config.status: creating version.c
> depbase=`echo ddb/db_access.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-prototype
> s -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -fno-
> pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> ddb/db_access.o -MD -MP -MF $depbase.Tpo -c -o ddb/db_access.o
> ddb/db_access.c &&\
> mv -f $depbase.Tpo $depbase.Po
> In file included from ./kern/assert.h:32,
> from ./mach/machine/vm_types.h:43,
> from ./machine/db_machdep.h:34,
> from ddb/db_access.c:34:
> ./kern/macros.h:83: warning: "__always_inline" redefined
> 83 | #define __always_inline inline __attribute__((always_inline))
> |
> In file included from
> /gnu/store/57z58ayasqrzlwq95bv45m6jpx22j96k-glibc-2.37/include/features.h:491,
> from
> /gnu/store/57z58ayasqrzlwq95bv45m6jpx22j96k-glibc-2.37/include/bits/libc-header-start.h:33,
> from
> /gnu/store/57z58ayasqrzlwq95bv45m6jpx22j96k-glibc-2.37/include/stdint.h:26,
> from
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//include/stdint.h:9,
> from ./mach/machine/vm_types.h:40,
> from ./machine/db_machdep.h:34,
> from ddb/db_access.c:34:
> /gnu/store/57z58ayasqrzlwq95bv45m6jpx22j96k-glibc-2.37/include/sys/cdefs.h:424:
> note: this is the location of the previous definition
> 424 | # define __always_inline __inline __attribute__ ((__always_inline__))
> |
> depbase=`echo ddb/db_elf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -I
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//in
> clude -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include
> -fno-builtin-log -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-prototype
> s -fgnu89-inline -fno-strict-aliasing -fno-stack-protector
> -DRDXTREE_KEY_32 -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -no-pie -fno-PIE -fno-
> pie -fno-pic -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -fcommon -MT
> ddb/db_elf.o -MD -MP -MF $depbase.Tpo -c -o ddb/db_elf.o ddb/db_elf.c
> &&\
> mv -f $depbase.Tpo $depbase.Po
> In file included from ./kern/assert.h:32,
> from ./mach/machine/vm_types.h:43,
> from ./include/sys/types.h:29,
> from ./include/string.h:29,
> from ddb/db_elf.c:53:
> ./kern/macros.h:83: warning: "__always_inline" redefined
> 83 | #define __always_inline inline __attribute__((always_inline))
> |
> In file included from
> /gnu/store/57z58ayasqrzlwq95bv45m6jpx22j96k-glibc-2.37/include/features.h:491,
> from
> /gnu/store/57z58ayasqrzlwq95bv45m6jpx22j96k-glibc-2.37/include/bits/libc-header-start.h:33,
> from
> /gnu/store/57z58ayasqrzlwq95bv45m6jpx22j96k-glibc-2.37/include/stdint.h:26,
> from
> /gnu/store/jh5vw87hwcdyglz9bad96x0vw92wk2fq-gcc-11.3.0-lib/lib/gcc/i586-unknown-gnu/11.3.0//include/stdint.h:9,
> from ./mach/machine/vm_types.h:40,
> from ./include/sys/types.h:29,
> from ./include/string.h:29,
> from ddb/db_elf.c:53:
> /gnu/store/57z58ayasqrzlwq95bv45m6jpx22j96k-glibc-2.37/include/sys/cdefs.h:424:
> note: this is the location of the previous definition
> 424 | # define __always_inline __inline __attribute__ ((__always_inline__))
> |
> ddb/db_elf.c: In function ‘elf_db_sym_init’:
> ddb/db_elf.c:100:21: error: ‘NULL’ undeclared (first use in this function)
> 100 | symtab = strtab = NULL;
> | ^~~~
> ddb/db_elf.c:61:1: note: ‘NULL’ is defined in header ‘<stddef.h>’; did
> you forget to ‘#include <stddef.h>’?
> 60 | #include <ddb/db_elf.h>
> +++ |+#include <stddef.h>
> 61 |
> ddb/db_elf.c:100:21: note: each undeclared identifier is reported only
> once for each function it appears in
> 100 | symtab = strtab = NULL;
> | ^~~~
> ddb/db_elf.c: In function ‘elf_db_lookup’:
> ddb/db_elf.c:151:10: error: ‘NULL’ undeclared (first use in this function)
> 151 | return NULL;
> | ^~~~
> ddb/db_elf.c:151:10: note: ‘NULL’ is defined in header ‘<stddef.h>’;
> did you forget to ‘#include <stddef.h>’?
> ddb/db_elf.c: In function ‘elf_db_search_symbol’:
> ddb/db_elf.c:162:23: error: ‘NULL’ undeclared (first use in this function)
> 162 | Elf_Sym *s, *symp = NULL;
> | ^~~~
> ddb/db_elf.c:162:23: note: ‘NULL’ is defined in header ‘<stddef.h>’;
> did you forget to ‘#include <stddef.h>’?
> ddb/db_elf.c: In function ‘elf_db_lookup’:
> ddb/db_elf.c:152:1: warning: control reaches end of non-void function
> [-Wreturn-type]
> 152 | }
> | ^
> make[2]: *** [Makefile:5527: ddb/db_elf.o] Error 1
> rm i386/i386/i386asm.symc.o i386/i386/i386asm.symc
> make[2]: Leaving directory
> '/tmp/guix-build-gnumach-1.8-head-HEAD.86ad1f3.drv-0/source'
> make[1]: *** [Makefile:8131: all-recursive] Error 1
> make[1]: Leaving directory
> '/tmp/guix-build-gnumach-1.8-head-HEAD.86ad1f3.drv-0/source'
> make: *** [Makefile:3866: all] Error 2
> error: in phase 'build': uncaught exception:
> %exception #<&invoke-error program: "make" arguments: ("-j" "1"
> "CFLAGS=-fcommon") exit-status: 2 term-signal: #f stop-signal: #f>
> phase `build' failed after 2.7 seconds
> command "make" "-j" "1" "CFLAGS=-fcommon" failed with status 2
> builder for
> `/gnu/store/a4h5r255bcps9h8arpyjm6xrjb1cicqg-gnumach-1.8-head-HEAD.86ad1f3.drv'
> failed with exit code 1
> @ build-failed
> /gnu/store/a4h5r255bcps9h8arpyjm6xrjb1cicqg-gnumach-1.8-head-HEAD.86ad1f3.drv
> - 1 builder for `/gnu/store/a4h5r255bcps9h8arpyjm6xrjb1ci
> cqg-gnumach-1.8-head-HEAD.86ad1f3.drv' failed with exit code 1
> killing process 7266: Invalid argument
> derivation
> '/gnu/store/a4h5r255bcps9h8arpyjm6xrjb1cicqg-gnumach-1.8-head-HEAD.86ad1f3.drv'
> offloaded to 'localhost' failed: build of `/gnu/store/a4h5r
> 255bcps9h8arpyjm6xrjb1cicqg-gnumach-1.8-head-HEAD.86ad1f3.drv' failed
> build of
> /gnu/store/a4h5r255bcps9h8arpyjm6xrjb1cicqg-gnumach-1.8-head-HEAD.86ad1f3.drv
> failed
> View build log at
> '/var/log/guix/drvs/a4/h5r255bcps9h8arpyjm6xrjb1cicqg-gnumach-1.8-head-HEAD.86ad1f3.drv.gz'.
> guix build: error: build of
> `/gnu/store/a4h5r255bcps9h8arpyjm6xrjb1cicqg-gnumach-1.8-head-HEAD.86ad1f3.drv'
> failed
>
>
>
> hurd-packages.scm:
>
> (define-module (hurd-packages)
> #:use-module ((guix licenses) #:hide (zlib))
> #:use-module (guix download)
> #:use-module (guix packages)
> #:use-module (gnu packages)
> #:use-module (guix gexp)
> #:use-module (guix utils)
> #:use-module (guix build-system gnu)
> #:use-module (guix build-system trivial)
> #:use-module (gnu packages autotools)
> #:use-module (gnu packages compression)
> #:use-module (gnu packages cross-base)
> #:use-module (gnu packages disk)
> #:use-module (gnu packages flex)
> #:use-module (gnu packages gawk)
> #:use-module (gnu packages gnupg)
> #:use-module (gnu packages bison)
> #:use-module (gnu packages libdaemon)
> #:use-module (gnu packages linux)
> #:use-module (gnu packages perl)
> #:use-module (gnu packages pkg-config)
> #:use-module (gnu packages base)
> #:use-module (gnu packages bash)
> #:use-module (gnu packages texinfo)
> #:use-module (gnu packages onc-rpc)
> #:use-module (gnu packages xorg) ;libpciaccess-0.17
> #:use-module (guix git)
> #:use-module (guix git-download)
> #:use-module (ice-9 popen)
> #:use-module (ice-9 rdelim)
> #:use-module (ice-9 match))
>
> (define %git-commit (read-string (open-pipe "git show HEAD | head -1 |
> cut -d ' ' -f 2" OPEN_READ)))
>
> (define root "<hurd checkouts dir>")
>
> (define-public gnumach-headers
> (package
> (name "gnumach-headers")
> (version (git-version "1.8-head" "HEAD" %git-commit))
> (source (git-checkout (url (string-append root "gnumach"))))
> #| (version "1.8+git20221224") ;; This is an upstream tag
> (source
> (origin
> (method git-fetch)
> (uri (git-reference
> (url "https://git.savannah.gnu.org/git/hurd/gnumach.git")
> (commit (string-append "v" version))))
> (file-name (git-file-name "gnumach" version))
> (sha256
> (base32
> "0f49zqxf64ds75rmskizpybl2mw7sxs05k59gjp3pgspvr87w7gs"))))|#
> (build-system gnu-build-system)
> (arguments
> `(#:phases
> (modify-phases %standard-phases
> (replace 'install
> (lambda _
> (invoke "make" "install-data")))
> (delete 'build))
> #:tests? #f))
> (native-inputs
> (list autoconf automake texinfo-4))
> (supported-systems %hurd-systems)
> (home-page
> "https://www.gnu.org/software/hurd/microkernel/mach/gnumach.html")
> (synopsis "GNU Mach kernel headers")
> (description
> "Headers of the GNU Mach kernel.")
> (license gpl2+)))
>
> (define-public mig
> (package
> (name "mig")
> (version (git-version "1.8-head" "HEAD" %git-commit))
> (source (git-checkout (url (string-append root "mig"))))
> #| (version "1.8+git20230520")
> (source (origin
> (method git-fetch)
> (uri (git-reference
> (url "https://git.savannah.gnu.org/git/hurd/mig.git")
> (commit (string-append "v" version))))
> (file-name (git-file-name name version))
> (sha256
> (base32
> "10r0fdjqjzqsy6ajb21rifvhw0wpjvrw6a1zdyliqlzqny5k0qlz"))))|#
> (build-system gnu-build-system)
> ;; Flex is needed both at build and run time.
> (inputs (list gnumach-headers flex))
> (native-inputs (list autoconf automake flex bison))
> (arguments
> (list #:tests? #f
> #:phases
> #~(modify-phases %standard-phases
> (add-after 'install 'avoid-perl-dependency
> (lambda* (#:key build inputs outputs #:allow-other-keys)
> (let* ((out (assoc-ref outputs "out"))
> (bin (string-append out "/bin")))
> ;; By default 'mig' (or 'TARGET-mig') uses Perl to
> ;; compute 'libexecdir_rel'. Avoid it.
> (substitute* (find-files bin "mig$")
> (("^libexecdir_rel=.*")
> "libexecdir_rel=../libexec\n"))))))))
> (home-page
> "https://www.gnu.org/software/hurd/microkernel/mach/mig/gnu_mig.html")
> (synopsis "Mach 3.0 interface generator for the Hurd")
> (description
> "GNU MIG is the GNU distribution of the Mach 3.0 interface generator
> MIG, as maintained by the GNU Hurd developers for the GNU project.
> You need this tool to compile the GNU Mach and GNU Hurd distributions,
> and to compile the GNU C library for the Hurd. Also, you will need it
> for other software in the GNU system that uses Mach-based inter-process
> communication.")
> (license gpl2+)))
>
> (define-public gnumach
> (package
> (inherit gnumach-headers)
> (name "gnumach")
> (source (origin
> (inherit (package-source gnumach-headers))
> (patches
> (append
> (search-patches "gnumach-support-noide.patch")
> (origin-patches (package-source gnumach-headers))))))
> (arguments
> (substitute-keyword-arguments (package-arguments gnumach-headers)
> ((#:make-flags flags ''())
> `(cons "CFLAGS=-fcommon" ,flags))
> ((#:configure-flags flags ''())
> `(cons* "--enable-kdb" ;enable kernel debugger
> "--disable-net-group"
> "--disable-pcmcia-group"
> "--disable-wireless-group"
> ,flags))
> ((#:phases phases '%standard-phases)
> `(modify-phases %standard-phases
> (add-after 'install 'produce-image
> (lambda* (#:key outputs #:allow-other-keys)
> (let* ((out (assoc-ref outputs "out"))
> (boot (string-append out "/boot")))
> (invoke "make" "gnumach.gz")
> (install-file "gnumach.gz" boot))))))))
> (native-inputs
> (list autoconf
> automake
> (if (%current-target-system)
> (cross-mig (%current-target-system))
> mig)
> perl
> texinfo-4))
> (supported-systems %hurd-systems)
> (synopsis "Microkernel of the GNU system")
> (description
> "GNU Mach is the microkernel upon which a GNU Hurd system is based.")))
>
> gnumach-headers
> mig
> gnumach
>
>
>
> build command: guix build -s i586-gnu -f hurd-packages.scm gnumach