can't build not-os #3

Closed
opened 2023-11-28 18:36:22 +08:00 by sb10q · 2 comments
Owner
> nix build -L .#packages.armv7l-linux.zc706-not-os
error: The option `systemd.tmpfiles' does not exist. Definition values:
       - In `/nix/store/6h04ab83y72nm16hh9g3llgg0s296ynl-source/nixos/modules/system/activation/activation-script.nix':
           {
             rules = [
               "d /nix/var/nix/gcroots -"
               "L+ /nix/var/nix/gcroots/current-system - - - - /run/current-system"
               "D /var/empty 0555 root root -"
           ...
``` > nix build -L .#packages.armv7l-linux.zc706-not-os error: The option `systemd.tmpfiles' does not exist. Definition values: - In `/nix/store/6h04ab83y72nm16hh9g3llgg0s296ynl-source/nixos/modules/system/activation/activation-script.nix': { rules = [ "d /nix/var/nix/gcroots -" "L+ /nix/var/nix/gcroots/current-system - - - - /run/current-system" "D /var/empty 0555 root root -" ... ```
Author
Owner

Introduced by the switch to 23.11

Introduced by the switch to 23.11
sb10q closed this issue 2023-12-12 17:04:59 +08:00
Author
Owner

It still doesn't work.

extra-utils-armv7l-unknown-linux-gnueabihf> /build/.attr-0l2nkwhif96f51f4amnlf414lhl4rv9vh8iffyp431v6s28gsr90: line 54: /nix/store/60vb3zq175nb1jbx3pdy7l037m6bzl8i-extra-utils-armv7l-unknown-linux-gnueabihf/bin/ash: cannot execute binary file: Exec format error
error: builder for '/nix/store/h5z5c5m7fagw85dvakh3dgyr5zqv829c-extra-utils-armv7l-unknown-linux-gnueabihf.drv' failed with exit code 1;
       last 10 log lines:
       > Copying libs for executable /nix/store/60vb3zq175nb1jbx3pdy7l037m6bzl8i-extra-utils-armv7l-unknown-linux-gnueabihf/bin/dhcpcd
       > /nix/store/q0pidjxmxb3r3whz99mcd4vxjq9hxapp-glibc-armv7l-unknown-linux-gnueabihf-2.38-27/lib/ld-linux-armhf.so.3: line 1: syntax error: unexpected word (expecting ")")
       > Copying libs for executable /nix/store/60vb3zq175nb1jbx3pdy7l037m6bzl8i-extra-utils-armv7l-unknown-linux-gnueabihf/bin/busybox
       > /nix/store/q0pidjxmxb3r3whz99mcd4vxjq9hxapp-glibc-armv7l-unknown-linux-gnueabihf-2.38-27/lib/ld-linux-armhf.so.3: line 1: syntax error: unexpected word (expecting ")")
       > Copying libs for executable /nix/store/60vb3zq175nb1jbx3pdy7l037m6bzl8i-extra-utils-armv7l-unknown-linux-gnueabihf/lib/ld-linux-armhf.so.3
       > /nix/store/q0pidjxmxb3r3whz99mcd4vxjq9hxapp-glibc-armv7l-unknown-linux-gnueabihf-2.38-27/lib/ld-linux-armhf.so.3: line 1: syntax error: unexpected word (expecting ")")
       > patching /nix/store/60vb3zq175nb1jbx3pdy7l037m6bzl8i-extra-utils-armv7l-unknown-linux-gnueabihf/bin/dhcpcd...
       > patching /nix/store/60vb3zq175nb1jbx3pdy7l037m6bzl8i-extra-utils-armv7l-unknown-linux-gnueabihf/bin/busybox...
       > testing patched programs...
       > /build/.attr-0l2nkwhif96f51f4amnlf414lhl4rv9vh8iffyp431v6s28gsr90: line 54: /nix/store/60vb3zq175nb1jbx3pdy7l037m6bzl8i-extra-utils-armv7l-unknown-linux-gnueabihf/bin/ash: cannot execute binary file: Exec format error
       For full logs, run 'nix log /nix/store/h5z5c5m7fagw85dvakh3dgyr5zqv829c-extra-utils-armv7l-unknown-linux-gnueabihf.drv'.
error: 1 dependencies of derivation '/nix/store/f7mdsfksfc3rxnzajrjd2aw4n6ipdxdq-stage1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/a1b7kpdll1y9x95ppdbdfn37ydzz7fb8-initrd.drv' failed to build
error (ignored): error: cannot unlink '/tmp/nix-build-strace-armv7l-unknown-linux-gnueabihf-6.6.drv-0/strace-6.6': Directory not empty
error (ignored): error: cannot unlink '/tmp/nix-build-ldns-armv7l-unknown-linux-gnueabihf-1.8.3.drv-0/ldns-1.8.3': Directory not empty
error (ignored): error: cannot unlink '/tmp/nix-build-libuv-1.46.0.drv-0/source': Directory not empty
error: 1 dependencies of derivation '/nix/store/54faybw8901b3dw54hg4ihymy33f6zww-zynq_image.drv' failed to build
It still doesn't work. ``` extra-utils-armv7l-unknown-linux-gnueabihf> /build/.attr-0l2nkwhif96f51f4amnlf414lhl4rv9vh8iffyp431v6s28gsr90: line 54: /nix/store/60vb3zq175nb1jbx3pdy7l037m6bzl8i-extra-utils-armv7l-unknown-linux-gnueabihf/bin/ash: cannot execute binary file: Exec format error error: builder for '/nix/store/h5z5c5m7fagw85dvakh3dgyr5zqv829c-extra-utils-armv7l-unknown-linux-gnueabihf.drv' failed with exit code 1; last 10 log lines: > Copying libs for executable /nix/store/60vb3zq175nb1jbx3pdy7l037m6bzl8i-extra-utils-armv7l-unknown-linux-gnueabihf/bin/dhcpcd > /nix/store/q0pidjxmxb3r3whz99mcd4vxjq9hxapp-glibc-armv7l-unknown-linux-gnueabihf-2.38-27/lib/ld-linux-armhf.so.3: line 1: syntax error: unexpected word (expecting ")") > Copying libs for executable /nix/store/60vb3zq175nb1jbx3pdy7l037m6bzl8i-extra-utils-armv7l-unknown-linux-gnueabihf/bin/busybox > /nix/store/q0pidjxmxb3r3whz99mcd4vxjq9hxapp-glibc-armv7l-unknown-linux-gnueabihf-2.38-27/lib/ld-linux-armhf.so.3: line 1: syntax error: unexpected word (expecting ")") > Copying libs for executable /nix/store/60vb3zq175nb1jbx3pdy7l037m6bzl8i-extra-utils-armv7l-unknown-linux-gnueabihf/lib/ld-linux-armhf.so.3 > /nix/store/q0pidjxmxb3r3whz99mcd4vxjq9hxapp-glibc-armv7l-unknown-linux-gnueabihf-2.38-27/lib/ld-linux-armhf.so.3: line 1: syntax error: unexpected word (expecting ")") > patching /nix/store/60vb3zq175nb1jbx3pdy7l037m6bzl8i-extra-utils-armv7l-unknown-linux-gnueabihf/bin/dhcpcd... > patching /nix/store/60vb3zq175nb1jbx3pdy7l037m6bzl8i-extra-utils-armv7l-unknown-linux-gnueabihf/bin/busybox... > testing patched programs... > /build/.attr-0l2nkwhif96f51f4amnlf414lhl4rv9vh8iffyp431v6s28gsr90: line 54: /nix/store/60vb3zq175nb1jbx3pdy7l037m6bzl8i-extra-utils-armv7l-unknown-linux-gnueabihf/bin/ash: cannot execute binary file: Exec format error For full logs, run 'nix log /nix/store/h5z5c5m7fagw85dvakh3dgyr5zqv829c-extra-utils-armv7l-unknown-linux-gnueabihf.drv'. error: 1 dependencies of derivation '/nix/store/f7mdsfksfc3rxnzajrjd2aw4n6ipdxdq-stage1.drv' failed to build error: 1 dependencies of derivation '/nix/store/a1b7kpdll1y9x95ppdbdfn37ydzz7fb8-initrd.drv' failed to build error (ignored): error: cannot unlink '/tmp/nix-build-strace-armv7l-unknown-linux-gnueabihf-6.6.drv-0/strace-6.6': Directory not empty error (ignored): error: cannot unlink '/tmp/nix-build-ldns-armv7l-unknown-linux-gnueabihf-1.8.3.drv-0/ldns-1.8.3': Directory not empty error (ignored): error: cannot unlink '/tmp/nix-build-libuv-1.46.0.drv-0/source': Directory not empty error: 1 dependencies of derivation '/nix/store/54faybw8901b3dw54hg4ihymy33f6zww-zynq_image.drv' failed to build ```
sb10q reopened this issue 2023-12-12 17:10:45 +08:00
sb10q closed this issue 2023-12-12 20:18:15 +08:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/nix-servo#3
No description provided.