failure on build `base.vmClosureInfo` on the package `lowdown-2.0.2` in patchPhase: 5 out of 6 hunks FAILED
on commit 67f0c66 I run the command `nom build .#base.vmClosureInfo --out-link .gcroots/vm --max-jobs 1` as the readme says and the build fails with the following output:
```
┏━ 2 Errors:
┃ error: Cannot build '/nix/store/2l49vw52k9gd2y2iw2psd87jnnadxj9x-closure-info.drv'.
┃ Reason: 1 dependency failed.
┃ Output paths:
┃ /nix/store/8v213znd8vm4qff7830g2l17y10vbhaa-closure-info
┃ error: Cannot build '/nix/store/5sq1f0ji91j1czjx0km33g72pjg6g2cx-lowdown-2.0.2.drv'.
┃ Reason: builder failed with exit code 1.
┃ Output paths:
┃ /nix/store/1ysm97d9py1a37k0mwbp4ph83p3adszx-lowdown-2.0.2-lib
┃ /nix/store/801d76j8vkn15cvwnhrdrqig532m57hh-lowdown-2.0.2
┃ /nix/store/dvjbv8rjy9wrw9nryjlf777m1ljhyzsp-lowdown-2.0.2-man
┃ /nix/store/ka6ippkbsr6r1w3rnxbaj1ba2dfsjrjq-lowdown-2.0.2-dev
┃ Last 14 log lines:
┃ > Running phase: unpackPhase
┃ > unpacking source archive /nix/store/0wzq3ghg2csxz804r9jdf1vnjbga6agr-lowdown-2.0.2.tar.gz
┃ > source root is lowdown-2.0.2
┃ > setting SOURCE_DATE_EPOCH to timestamp 1739739200 of file "lowdown-2.0.2/regress/template/var2.xml"
┃ > Running phase: patchPhase
┃ > applying patch /nix/store/8s6y8pq08z8nsvyhy5fs097k0fhdnlms-fix-cygwin-build.patch
┃ > patching file Makefile
┃ > Hunk #1 FAILED at 161.
┃ > Hunk #2 FAILED at 190.
┃ > Hunk #3 FAILED at 202.
┃ > Hunk #4 succeeded at 206 (offset -34 lines).
┃ > Hunk #5 FAILED at 273.
┃ > Hunk #6 FAILED at 406.
┃ > 5 out of 6 hunks FAILED -- saving rejects to file Makefile.rej
┃ For full logs, run:
┃ nix log /nix/store/5sq1f0ji91j1czjx0km33g72pjg6g2cx-lowdown-2.0.2.drv
┣━ Dependency Graph:
┃ ┌─ ⏸ sdl2-compat-2.32.60 waiting for 1 ⏵
┃ ┌─ ⏸ qemu-host-cpu-only-10.1.2
┃ │ ┌─ ⏸ closure-info waiting for 1 ⏵
┃ │ ├─ ⏸ closure-info waiting for 1 ⏵
┃ │ │ ┌─ ⏸ fcrontab waiting for 1 ⏵
┃ │ │ ┌─ ⏸ fcron
┃ │ │ ┌─ ⏸ rc.d
┃ │ │ │ ┌─ ⏸ nix-cmd-2.34.0pre waiting for 1 ⏵
┃ │ │ │ ┌─ ⏸ nix-2.34.0pre20251214_9799fcb
┃ │ │ │ ┌─ ⏸ lazy-options.json
┃ │ │ │ ┌─ ⏸ options.json
┃ │ │ │ ┌─ ⏸ nixos-configuration-reference-manpage
┃ │ │ │ ┌─ ⏸ system-path
┃ │ │ ├─ ⏸ fcron.conf
┃ │ │ ┌─ ⏸ etc
┃ │ │ ┌─ ⏸ nixos-system-nixbsd-base-x86_64-unknown-freebsd
┃ │ ├─ ⏸ espDerivation
┃ ├─ ⏸ nixbsd-disk-image
┃ ┌─ ⏸ run-nixos-vm
┃ ┌─ ⏸ nixos-vm
┃ ├─ ⏵ openblas-0.3.30
┃ ├─ ⏵ lowdown-2.0.2 (patchPhase)
┃ ⏸ closure-info
┣━━━ Builds
┗━ ∑ ⏵ 2 │ ✔ 0 │ ⏸ 1125 │ ⚠ Exited with 2 errors reported by nix at 22:27:13 after 3s
```
it fails to apply patches to the `lowdown` package. Why?
7 条评论