NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.35k stars 13.58k forks source link

Build failure: man-pages (options-docbook tag mismatch) #245772

Open KiaraGrouwstra opened 1 year ago

KiaraGrouwstra commented 1 year ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. update nixpkgs from 0e1fc501c6072287c4dd49b1178d77b0c7918a0a to 93d16f0f94354d4e5045c65c622afd2933a34fdf
  2. rebuild nixos

Build log

error: builder for '/nix/store/hy9q33dj1lqzgdk0am06dm8rai5fipl1-options-docbook.xml.drv' failed with exit code 6;
       last 10 log lines:
       > options.xml:169: parser error : Opening and ending tag mismatch: varlistentry line 104 and variablelist
       > </variablelist>
       >                ^
       > options.xml:170: parser error : Opening and ending tag mismatch: variablelist line 5 and appendix
       > </appendix>
       >            ^
       > options.xml:170: parser error : Premature end of data in tag appendix line 2
       > </appendix>
       >            ^
       > unable to parse options.xml
       For full logs, run 'nix log /nix/store/hy9q33dj1lqzgdk0am06dm8rai5fipl1-options-docbook.xml.drv'.
error: 1 dependencies of derivation '/nix/store/28kwc2mn5j6xmgy9v1f2yjblbyvcacgb-hm-module-docs-for-nmd.drv' failed to build
error: 1 dependencies of derivation '/nix/store/7yk4ffbahz63cyiyq2ddcrnq6hn23dng-nmd-documents.drv' failed to build
error: 1 dependencies of derivation '/nix/store/hf5yqlyiv96xz189v78w4d5i0pd6p53d-manual-combined.drv' failed to build
error: 1 dependencies of derivation '/nix/store/0xwv1ajh7fpxpyfgicfavnlas2ql180s-man-pages.drv' failed to build
error: 1 dependencies of derivation '/nix/store/d8lgq9pnar2g4vl11p0hgiaw8mjbpaa6-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/93i7vn3hn2gsh7kicfskln1d0cg3zw6n-home-manager-generation.drv' failed to build

Additional context

The failing package options-docbook seems to be a dependency of other packages among which man-pages.

Notify maintainers

(i don't really see any for the packages involved)

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.33, NixOS, 23.05 (Stoat), 23.05.20230614.ddf4688`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.3`
 - channels(kiara): `"home-manager"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
denisrosca commented 1 year ago

Same issue here.

❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-darwin"`
 - host os: `Darwin 22.1.0, macOS 10.16`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.13.1`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`
DominicWuest commented 1 year ago

I encountered the same annoying issue. Found a workaround by adding the following line to home-manager:

manual.manpages.enable = false;