Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test test_dotgit failing, sha256 mismatch #78

Open
Laurent2916 opened this issue Jun 26, 2023 · 2 comments
Open

test test_dotgit failing, sha256 mismatch #78

Laurent2916 opened this issue Jun 26, 2023 · 2 comments

Comments

@Laurent2916
Copy link

Hi, I tried compiling the package today (using nix build nixpkgs#update-nix-fetchgit) and it seems one of the tests is failing :(
This is rather strange since it compiled find a couple weeks ago.

I'm getting the following error:

Files 'tests/test_dotgit.expected.nix' and 'tests/test_dotgit.out.nix' differ
full build log
laurent@neodymium:~/ > nix build nixpkgs#update-nix-fetchgit -L
update-nix-fetchgit> setupCompilerEnvironmentPhase
update-nix-fetchgit> Build with /nix/store/hd7zjah8wb4ywcrwp4hnbiya41xwv433-ghc-9.2.8.
update-nix-fetchgit> unpacking sources
update-nix-fetchgit> unpacking source archive /nix/store/f0x804pxsbd2j0z62skr158ynnxr83gf-update-nix-fetchgit-0.2.11.tar.gz
update-nix-fetchgit> source root is update-nix-fetchgit-0.2.11
update-nix-fetchgit> setting SOURCE_DATE_EPOCH to timestamp 1670655949 of file update-nix-fetchgit-0.2.11/update-nix-fetchgit.cabal
update-nix-fetchgit> patching sources
update-nix-fetchgit> compileBuildDriverPhase
update-nix-fetchgit> setupCompileFlags: -package-db=/build/tmp.HPewQ5SA4U/setup-package.conf.d -j12 +RTS -A64M -RTS -threaded -rtsopts
update-nix-fetchgit> [1 of 1] Compiling Main             ( Setup.hs, /build/tmp.HPewQ5SA4U/Main.o )
update-nix-fetchgit> Linking Setup ...
update-nix-fetchgit> configuring
update-nix-fetchgit> configureFlags: --verbose --prefix=/nix/store/34yxap8zbcc2c3hajy3847dc1ri50v0h-update-nix-fetchgit-0.2.11 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --with-gcc=gcc --package-db=/build/tmp.HPewQ5SA4U/package.conf.d --ghc-options=-j12 +RTS -A64M -RTS --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --ghc-option=-split-sections --extra-lib-dirs=/nix/store/js2x4ms31sdgjf0w7icv10ddhc0z3acw-ncurses-6.4/lib --extra-lib-dirs=/nix/store/qzs91y7s4rwl7mihvh87h8zs29hzcs2i-libffi-3.4.4/lib --extra-lib-dirs=/nix/store/g78ycfn68n2mmf76yfczdrrqnziy8ksl-gmp-with-cxx-6.2.1/lib
update-nix-fetchgit> Using Parsec parser
update-nix-fetchgit> Configuring update-nix-fetchgit-0.2.11...
update-nix-fetchgit> Dependency aeson >=0.9: using aeson-2.0.3.0
update-nix-fetchgit> Dependency async >=2.1: using async-2.2.4
update-nix-fetchgit> Dependency base >=4.7 && <5: using base-4.16.4.0
update-nix-fetchgit> Dependency bytestring >=0.10: using bytestring-0.11.4.0
update-nix-fetchgit> Dependency data-fix: using data-fix-0.3.2
update-nix-fetchgit> Dependency github-rest >=1.1: using github-rest-1.1.2
update-nix-fetchgit> Dependency hnix >=0.16 && <0.17: using hnix-0.16.0
update-nix-fetchgit> Dependency monad-validate: using monad-validate-1.2.0.1
update-nix-fetchgit> Dependency mtl: using mtl-2.2.2
update-nix-fetchgit> Dependency process >=1.2: using process-1.6.16.0
update-nix-fetchgit> Dependency regex-tdfa: using regex-tdfa-1.3.2.1
update-nix-fetchgit> Dependency syb: using syb-0.7.2.3
update-nix-fetchgit> Dependency template-haskell: using template-haskell-2.18.0.0
update-nix-fetchgit> Dependency text >=1.2: using text-1.2.5.0
update-nix-fetchgit> Dependency time >=1.5: using time-1.11.1.1
update-nix-fetchgit> Dependency utf8-string >=1.0: using utf8-string-1.0.2
update-nix-fetchgit> Dependency vector: using vector-0.12.3.1
update-nix-fetchgit> Dependency base >=4.13: using base-4.16.4.0
update-nix-fetchgit> Dependency optparse-applicative: using optparse-applicative-0.17.1.0
update-nix-fetchgit> Dependency optparse-generic >=1.4.2: using optparse-generic-1.4.9
update-nix-fetchgit> Dependency regex-tdfa: using regex-tdfa-1.3.2.1
update-nix-fetchgit> Dependency say: using say-0.1.0.1
update-nix-fetchgit> Dependency text >=1.2: using text-1.2.5.0
update-nix-fetchgit> Dependency update-nix-fetchgit: using update-nix-fetchgit-0.2.11
update-nix-fetchgit> Dependency base >=4.7 && <5: using base-4.16.4.0
update-nix-fetchgit> Dependency directory: using directory-1.3.6.2
update-nix-fetchgit> Dependency filepath: using filepath-1.4.2.2
update-nix-fetchgit> Dependency process: using process-1.6.16.0
update-nix-fetchgit> Dependency tasty: using tasty-1.4.3
update-nix-fetchgit> Dependency tasty-discover: using tasty-discover-4.2.2
update-nix-fetchgit> Dependency tasty-golden >=2.3: using tasty-golden-2.3.5
update-nix-fetchgit> Dependency temporary: using temporary-1.3
update-nix-fetchgit> Dependency text: using text-1.2.5.0
update-nix-fetchgit> Dependency update-nix-fetchgit: using update-nix-fetchgit-0.2.11
update-nix-fetchgit> Source component graph:
update-nix-fetchgit>     component lib
update-nix-fetchgit>     component exe:update-nix-fetchgit dependency lib
update-nix-fetchgit>     component test:update-nix-fetchgit-samples dependency lib
update-nix-fetchgit> Configured component graph:
update-nix-fetchgit>     component update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV
update-nix-fetchgit>         include aeson-2.0.3.0-38qNkes9qFO1je5vH0DP0
update-nix-fetchgit>         include async-2.2.4-EnmPe8NJJTiBYPIYJjNodq
update-nix-fetchgit>         include base-4.16.4.0
update-nix-fetchgit>         include bytestring-0.11.4.0
update-nix-fetchgit>         include data-fix-0.3.2-5HCYaF3T7mU2rjOk560Neb
update-nix-fetchgit>         include github-rest-1.1.2-7nW5lWIWk9RIG2nYycAyX9
update-nix-fetchgit>         include hnix-0.16.0-K0uNkofI0G4IC3IKvaPd92
update-nix-fetchgit>         include monad-validate-1.2.0.1-LXzAMwuf9P8AIflKIdBQ9L
update-nix-fetchgit>         include mtl-2.2.2
update-nix-fetchgit>         include process-1.6.16.0
update-nix-fetchgit>         include regex-tdfa-1.3.2.1-1zuHnB1g99gHHlkaEo35Cu
update-nix-fetchgit>         include syb-0.7.2.3-DBgvVcWGkap2ld7OdbHCaw
update-nix-fetchgit>         include template-haskell-2.18.0.0
update-nix-fetchgit>         include text-1.2.5.0
update-nix-fetchgit>         include time-1.11.1.1
update-nix-fetchgit>         include utf8-string-1.0.2-7oHzZGImbXQ3nFo9ta4aCJ
update-nix-fetchgit>         include vector-0.12.3.1-FmsZ3ZrX5tkG8XbbJyaF1P
update-nix-fetchgit>     component update-nix-fetchgit-0.2.11-DYNysMMbbjFHLjisP0vOc8-update-nix-fetchgit
update-nix-fetchgit>         include base-4.16.4.0
update-nix-fetchgit>         include optparse-applicative-0.17.1.0-EKM9npoOArx7MZmzJtL1t1
update-nix-fetchgit>         include optparse-generic-1.4.9-D2Qve0Pw7fBGxrecbDGDbI
update-nix-fetchgit>         include regex-tdfa-1.3.2.1-1zuHnB1g99gHHlkaEo35Cu
update-nix-fetchgit>         include say-0.1.0.1-ImhFJaoo8ZlFDkEyOuO9lg
update-nix-fetchgit>         include text-1.2.5.0
update-nix-fetchgit>         include update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV
update-nix-fetchgit>     component update-nix-fetchgit-0.2.11-SL1qfUFbtND7faV8TtDBw-update-nix-fetchgit-samples
update-nix-fetchgit>         include base-4.16.4.0
update-nix-fetchgit>         include directory-1.3.6.2
update-nix-fetchgit>         include filepath-1.4.2.2
update-nix-fetchgit>         include process-1.6.16.0
update-nix-fetchgit>         include tasty-1.4.3-DgmQAXy5gnh3yZGksKhi5D
update-nix-fetchgit>         include tasty-discover-4.2.2-KJvCoJH3cmyBcXXL7ASDgV
update-nix-fetchgit>         include tasty-golden-2.3.5-E28gPLNoep3LFZE0e5DCvH
update-nix-fetchgit>         include temporary-1.3-JFEYR3EjXyD5AeXaeg9fSh
update-nix-fetchgit>         include text-1.2.5.0
update-nix-fetchgit>         include update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV
update-nix-fetchgit> Linked component graph:
update-nix-fetchgit>     unit update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV
update-nix-fetchgit>         include aeson-2.0.3.0-38qNkes9qFO1je5vH0DP0
update-nix-fetchgit>         include async-2.2.4-EnmPe8NJJTiBYPIYJjNodq
update-nix-fetchgit>         include base-4.16.4.0
update-nix-fetchgit>         include bytestring-0.11.4.0
update-nix-fetchgit>         include data-fix-0.3.2-5HCYaF3T7mU2rjOk560Neb
update-nix-fetchgit>         include github-rest-1.1.2-7nW5lWIWk9RIG2nYycAyX9
update-nix-fetchgit>         include hnix-0.16.0-K0uNkofI0G4IC3IKvaPd92
update-nix-fetchgit>         include monad-validate-1.2.0.1-LXzAMwuf9P8AIflKIdBQ9L
update-nix-fetchgit>         include mtl-2.2.2
update-nix-fetchgit>         include process-1.6.16.0
update-nix-fetchgit>         include regex-tdfa-1.3.2.1-1zuHnB1g99gHHlkaEo35Cu
update-nix-fetchgit>         include syb-0.7.2.3-DBgvVcWGkap2ld7OdbHCaw
update-nix-fetchgit>         include template-haskell-2.18.0.0
update-nix-fetchgit>         include text-1.2.5.0
update-nix-fetchgit>         include time-1.11.1.1
update-nix-fetchgit>         include utf8-string-1.0.2-7oHzZGImbXQ3nFo9ta4aCJ
update-nix-fetchgit>         include vector-0.12.3.1-FmsZ3ZrX5tkG8XbbJyaF1P
update-nix-fetchgit>         Nix.Comments=update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV:Nix.Comments,Nix.Match=update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV:Nix.Match,Nix.Match.Typed=update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV:Nix.Match.Typed,Update.Nix.FetchGit=update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV:Update.Nix.FetchGit,Update.Nix.FetchGit.Prefetch=update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV:Update.Nix.FetchGit.Prefetch,Update.Nix.FetchGit.Types=update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV:Update.Nix.FetchGit.Types,Update.Nix.FetchGit.Utils=update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV:Update.Nix.FetchGit.Utils,Update.Nix.FetchGit.Warning=update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV:Update.Nix.FetchGit.Warning,Update.Nix.Updater=update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV:Update.Nix.Updater,Update.Span=update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV:Update.Span
update-nix-fetchgit>     unit update-nix-fetchgit-0.2.11-DYNysMMbbjFHLjisP0vOc8-update-nix-fetchgit
update-nix-fetchgit>         include base-4.16.4.0
update-nix-fetchgit>         include optparse-applicative-0.17.1.0-EKM9npoOArx7MZmzJtL1t1
update-nix-fetchgit>         include optparse-generic-1.4.9-D2Qve0Pw7fBGxrecbDGDbI
update-nix-fetchgit>         include regex-tdfa-1.3.2.1-1zuHnB1g99gHHlkaEo35Cu
update-nix-fetchgit>         include say-0.1.0.1-ImhFJaoo8ZlFDkEyOuO9lg
update-nix-fetchgit>         include text-1.2.5.0
update-nix-fetchgit>         include update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV
update-nix-fetchgit>     unit update-nix-fetchgit-0.2.11-SL1qfUFbtND7faV8TtDBw-update-nix-fetchgit-samples
update-nix-fetchgit>         include base-4.16.4.0
update-nix-fetchgit>         include directory-1.3.6.2
update-nix-fetchgit>         include filepath-1.4.2.2
update-nix-fetchgit>         include process-1.6.16.0
update-nix-fetchgit>         include tasty-1.4.3-DgmQAXy5gnh3yZGksKhi5D
update-nix-fetchgit>         include tasty-discover-4.2.2-KJvCoJH3cmyBcXXL7ASDgV
update-nix-fetchgit>         include tasty-golden-2.3.5-E28gPLNoep3LFZE0e5DCvH
update-nix-fetchgit>         include temporary-1.3-JFEYR3EjXyD5AeXaeg9fSh
update-nix-fetchgit>         include text-1.2.5.0
update-nix-fetchgit>         include update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV
update-nix-fetchgit> Ready component graph:
update-nix-fetchgit>     definite update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV
update-nix-fetchgit>         depends aeson-2.0.3.0-38qNkes9qFO1je5vH0DP0
update-nix-fetchgit>         depends async-2.2.4-EnmPe8NJJTiBYPIYJjNodq
update-nix-fetchgit>         depends base-4.16.4.0
update-nix-fetchgit>         depends bytestring-0.11.4.0
update-nix-fetchgit>         depends data-fix-0.3.2-5HCYaF3T7mU2rjOk560Neb
update-nix-fetchgit>         depends github-rest-1.1.2-7nW5lWIWk9RIG2nYycAyX9
update-nix-fetchgit>         depends hnix-0.16.0-K0uNkofI0G4IC3IKvaPd92
update-nix-fetchgit>         depends monad-validate-1.2.0.1-LXzAMwuf9P8AIflKIdBQ9L
update-nix-fetchgit>         depends mtl-2.2.2
update-nix-fetchgit>         depends process-1.6.16.0
update-nix-fetchgit>         depends regex-tdfa-1.3.2.1-1zuHnB1g99gHHlkaEo35Cu
update-nix-fetchgit>         depends syb-0.7.2.3-DBgvVcWGkap2ld7OdbHCaw
update-nix-fetchgit>         depends template-haskell-2.18.0.0
update-nix-fetchgit>         depends text-1.2.5.0
update-nix-fetchgit>         depends time-1.11.1.1
update-nix-fetchgit>         depends utf8-string-1.0.2-7oHzZGImbXQ3nFo9ta4aCJ
update-nix-fetchgit>         depends vector-0.12.3.1-FmsZ3ZrX5tkG8XbbJyaF1P
update-nix-fetchgit>     definite update-nix-fetchgit-0.2.11-DYNysMMbbjFHLjisP0vOc8-update-nix-fetchgit
update-nix-fetchgit>         depends base-4.16.4.0
update-nix-fetchgit>         depends optparse-applicative-0.17.1.0-EKM9npoOArx7MZmzJtL1t1
update-nix-fetchgit>         depends optparse-generic-1.4.9-D2Qve0Pw7fBGxrecbDGDbI
update-nix-fetchgit>         depends regex-tdfa-1.3.2.1-1zuHnB1g99gHHlkaEo35Cu
update-nix-fetchgit>         depends say-0.1.0.1-ImhFJaoo8ZlFDkEyOuO9lg
update-nix-fetchgit>         depends text-1.2.5.0
update-nix-fetchgit>         depends update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV
update-nix-fetchgit>     definite update-nix-fetchgit-0.2.11-SL1qfUFbtND7faV8TtDBw-update-nix-fetchgit-samples
update-nix-fetchgit>         depends base-4.16.4.0
update-nix-fetchgit>         depends directory-1.3.6.2
update-nix-fetchgit>         depends filepath-1.4.2.2
update-nix-fetchgit>         depends process-1.6.16.0
update-nix-fetchgit>         depends tasty-1.4.3-DgmQAXy5gnh3yZGksKhi5D
update-nix-fetchgit>         depends tasty-discover-4.2.2-KJvCoJH3cmyBcXXL7ASDgV
update-nix-fetchgit>         depends tasty-golden-2.3.5-E28gPLNoep3LFZE0e5DCvH
update-nix-fetchgit>         depends temporary-1.3-JFEYR3EjXyD5AeXaeg9fSh
update-nix-fetchgit>         depends text-1.2.5.0
update-nix-fetchgit>         depends update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV
update-nix-fetchgit> Using Cabal-3.6.3.0 compiled by ghc-9.2
update-nix-fetchgit> Using compiler: ghc-9.2.8
update-nix-fetchgit> Using install prefix:
update-nix-fetchgit> /nix/store/34yxap8zbcc2c3hajy3847dc1ri50v0h-update-nix-fetchgit-0.2.11
update-nix-fetchgit> Executables installed in:
update-nix-fetchgit> /nix/store/34yxap8zbcc2c3hajy3847dc1ri50v0h-update-nix-fetchgit-0.2.11/bin
update-nix-fetchgit> Libraries installed in:
update-nix-fetchgit> /nix/store/34yxap8zbcc2c3hajy3847dc1ri50v0h-update-nix-fetchgit-0.2.11/lib/ghc-9.2.8/x86_64-linux-ghc-9.2.8/update-nix-fetchgit-0.2.11-2IyWzLZOwTlum8XmMdLKV
update-nix-fetchgit> Dynamic Libraries installed in:
update-nix-fetchgit> /nix/store/34yxap8zbcc2c3hajy3847dc1ri50v0h-update-nix-fetchgit-0.2.11/lib/ghc-9.2.8/x86_64-linux-ghc-9.2.8
update-nix-fetchgit> Private executables installed in:
update-nix-fetchgit> /nix/store/34yxap8zbcc2c3hajy3847dc1ri50v0h-update-nix-fetchgit-0.2.11/libexec/x86_64-linux-ghc-9.2.8/update-nix-fetchgit-0.2.11
update-nix-fetchgit> Data files installed in:
update-nix-fetchgit> /nix/store/34yxap8zbcc2c3hajy3847dc1ri50v0h-update-nix-fetchgit-0.2.11/share/x86_64-linux-ghc-9.2.8/update-nix-fetchgit-0.2.11
update-nix-fetchgit> Documentation installed in:
update-nix-fetchgit> /nix/store/34yxap8zbcc2c3hajy3847dc1ri50v0h-update-nix-fetchgit-0.2.11/share/doc/x86_64-linux-ghc-9.2.8/update-nix-fetchgit-0.2.11
update-nix-fetchgit> Configuration files installed in:
update-nix-fetchgit> /nix/store/34yxap8zbcc2c3hajy3847dc1ri50v0h-update-nix-fetchgit-0.2.11/etc
update-nix-fetchgit> No alex found
update-nix-fetchgit> Using ar found on system at:
update-nix-fetchgit> /nix/store/5a8zvsw039b6z8n2ql9c84i4l2h65xss-binutils-2.40/bin/ar
update-nix-fetchgit> No c2hs found
update-nix-fetchgit> No cpphs found
update-nix-fetchgit> No doctest found
update-nix-fetchgit> Using gcc version 12.3.0 given by user at:
update-nix-fetchgit> /nix/store/8phn3d072kcfvwvf6p5ys8pk8yxh236x-gcc-wrapper-12.3.0/bin/gcc
update-nix-fetchgit> Using ghc version 9.2.8 found on system at:
update-nix-fetchgit> /nix/store/hd7zjah8wb4ywcrwp4hnbiya41xwv433-ghc-9.2.8/bin/ghc
update-nix-fetchgit> Using ghc-pkg version 9.2.8 found on system at:
update-nix-fetchgit> /nix/store/hd7zjah8wb4ywcrwp4hnbiya41xwv433-ghc-9.2.8/bin/ghc-pkg-9.2.8
update-nix-fetchgit> No ghcjs found
update-nix-fetchgit> No ghcjs-pkg found
update-nix-fetchgit> No greencard found
update-nix-fetchgit> Using haddock version 2.26.0 found on system at:
update-nix-fetchgit> /nix/store/hd7zjah8wb4ywcrwp4hnbiya41xwv433-ghc-9.2.8/bin/haddock-ghc-9.2.8
update-nix-fetchgit> No happy found
update-nix-fetchgit> Using haskell-suite found on system at: haskell-suite-dummy-location
update-nix-fetchgit> Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
update-nix-fetchgit> No hmake found
update-nix-fetchgit> Using hpc version 0.68 found on system at:
update-nix-fetchgit> /nix/store/hd7zjah8wb4ywcrwp4hnbiya41xwv433-ghc-9.2.8/bin/hpc
update-nix-fetchgit> Using hsc2hs version 0.68.8 found on system at:
update-nix-fetchgit> /nix/store/hd7zjah8wb4ywcrwp4hnbiya41xwv433-ghc-9.2.8/bin/hsc2hs
update-nix-fetchgit> No hscolour found
update-nix-fetchgit> No jhc found
update-nix-fetchgit> Using ld found on system at:
update-nix-fetchgit> /nix/store/h38wry0vp16pr5bk3iykaf1bhsgm8zyp-binutils-wrapper-2.40/bin/ld.gold
update-nix-fetchgit> No pkg-config found
update-nix-fetchgit> Using runghc version 9.2.8 found on system at:
update-nix-fetchgit> /nix/store/hd7zjah8wb4ywcrwp4hnbiya41xwv433-ghc-9.2.8/bin/runghc-9.2.8
update-nix-fetchgit> Using strip version 2.40 found on system at:
update-nix-fetchgit> /nix/store/8phn3d072kcfvwvf6p5ys8pk8yxh236x-gcc-wrapper-12.3.0/bin/strip
update-nix-fetchgit> Using tar found on system at:
update-nix-fetchgit> /nix/store/ifq0va0bw4yn7p9ysd48q9a2g9lh39ms-gnutar-1.34/bin/tar
update-nix-fetchgit> No uhc found
update-nix-fetchgit> building
update-nix-fetchgit> Preprocessing library for update-nix-fetchgit-0.2.11..
update-nix-fetchgit> Building library for update-nix-fetchgit-0.2.11..
update-nix-fetchgit> [ 1 of 11] Compiling Nix.Comments     ( src/Nix/Comments.hs, dist/build/Nix/Comments.o, dist/build/Nix/Comments.dyn_o )
update-nix-fetchgit> [ 2 of 11] Compiling Nix.Match        ( src/Nix/Match.hs, dist/build/Nix/Match.o, dist/build/Nix/Match.dyn_o )
update-nix-fetchgit> [ 3 of 11] Compiling Nix.Match.Typed  ( src/Nix/Match/Typed.hs, dist/build/Nix/Match/Typed.o, dist/build/Nix/Match/Typed.dyn_o )
update-nix-fetchgit> [ 4 of 11] Compiling Paths_update_nix_fetchgit ( dist/build/autogen/Paths_update_nix_fetchgit.hs, dist/build/Paths_update_nix_fetchgit.o, dist/build/Paths_update_nix_fetchgit.dyn_o )
update-nix-fetchgit> [ 5 of 11] Compiling Update.Nix.FetchGit.Warning ( src/Update/Nix/FetchGit/Warning.hs, dist/build/Update/Nix/FetchGit/Warning.o, dist/build/Update/Nix/FetchGit/Warning.dyn_o )
update-nix-fetchgit> [ 6 of 11] Compiling Update.Span      ( src/Update/Span.hs, dist/build/Update/Span.o, dist/build/Update/Span.dyn_o )
update-nix-fetchgit> [ 7 of 11] Compiling Update.Nix.FetchGit.Types ( src/Update/Nix/FetchGit/Types.hs, dist/build/Update/Nix/FetchGit/Types.o, dist/build/Update/Nix/FetchGit/Types.dyn_o )
update-nix-fetchgit> [ 8 of 11] Compiling Update.Nix.FetchGit.Utils ( src/Update/Nix/FetchGit/Utils.hs, dist/build/Update/Nix/FetchGit/Utils.o, dist/build/Update/Nix/FetchGit/Utils.dyn_o )
update-nix-fetchgit> [ 9 of 11] Compiling Update.Nix.FetchGit.Prefetch ( src/Update/Nix/FetchGit/Prefetch.hs, dist/build/Update/Nix/FetchGit/Prefetch.o, dist/build/Update/Nix/FetchGit/Prefetch.dyn_o )
update-nix-fetchgit> [10 of 11] Compiling Update.Nix.Updater ( src/Update/Nix/Updater.hs, dist/build/Update/Nix/Updater.o, dist/build/Update/Nix/Updater.dyn_o )
update-nix-fetchgit> [11 of 11] Compiling Update.Nix.FetchGit ( src/Update/Nix/FetchGit.hs, dist/build/Update/Nix/FetchGit.o, dist/build/Update/Nix/FetchGit.dyn_o )
update-nix-fetchgit> Preprocessing executable 'update-nix-fetchgit' for update-nix-fetchgit-0.2.11..
update-nix-fetchgit> Building executable 'update-nix-fetchgit' for update-nix-fetchgit-0.2.11..
update-nix-fetchgit> [1 of 2] Compiling Paths_update_nix_fetchgit ( dist/build/update-nix-fetchgit/autogen/Paths_update_nix_fetchgit.hs, dist/build/update-nix-fetchgit/update-nix-fetchgit-tmp/Paths_update_nix_fetchgit.o )
update-nix-fetchgit> [2 of 2] Compiling Main             ( app/Main.hs, dist/build/update-nix-fetchgit/update-nix-fetchgit-tmp/Main.o )
update-nix-fetchgit> Linking dist/build/update-nix-fetchgit/update-nix-fetchgit ...
update-nix-fetchgit> Preprocessing test suite 'update-nix-fetchgit-samples' for update-nix-fetchgit-0.2.11..
update-nix-fetchgit> Building test suite 'update-nix-fetchgit-samples' for update-nix-fetchgit-0.2.11..
update-nix-fetchgit> [1 of 3] Compiling Paths_update_nix_fetchgit ( dist/build/update-nix-fetchgit-samples/autogen/Paths_update_nix_fetchgit.hs, dist/build/update-nix-fetchgit-samples/update-nix-fetchgit-samples-tmp/Paths_update_nix_fetchgit.o )
update-nix-fetchgit> [2 of 3] Compiling Samples          ( tests/Samples.hs, dist/build/update-nix-fetchgit-samples/update-nix-fetchgit-samples-tmp/Samples.o )
update-nix-fetchgit> [3 of 3] Compiling Main             ( tests/Driver.hs, dist/build/update-nix-fetchgit-samples/update-nix-fetchgit-samples-tmp/Main.o )
update-nix-fetchgit> Linking dist/build/update-nix-fetchgit-samples/update-nix-fetchgit-samples ...
update-nix-fetchgit> running tests
update-nix-fetchgit> Running 1 test suites...
update-nix-fetchgit> Test suite update-nix-fetchgit-samples: RUNNING...
update-nix-fetchgit> Skipping networked tests inside Nix build
update-nix-fetchgit> tests/Driver.hs
update-nix-fetchgit>   golden
update-nix-fetchgit>     update of tests/test_dotgit.out.nix:                                  Initialized empty Git repository in /build/test-update-nix-fetchgit-26170a3cffee3eef/repo1/.git/
update-nix-fetchgit> [main (root-commit) 36dfafa] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> [main e52ac45] version 1.0.0
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> [main 1c60ae0] added stuff
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> Initialized empty Git repository in /build/test-update-nix-fetchgit-26170a3cffee3eef/repo2/.git/
update-nix-fetchgit> [main (root-commit) 1ac598e] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> test.txt
update-nix-fetchgit> Updating /build/test-update-nix-fetchgit-26170a3cffee3eef/repo1
update-nix-fetchgit> Updating /build/test-update-nix-fetchgit-26170a3cffee3eef/repo1
update-nix-fetchgit> Updating /build/test-update-nix-fetchgit-26170a3cffee3eef/repo1
update-nix-fetchgit> Made 6 updates
update-nix-fetchgit> Initialized empty Git repository in /build/test-update-nix-fetchgit-78121030c9b393ee/repo1/.git/
update-nix-fetchgit> [main (root-commit) 36dfafa] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> [main e52ac45] version 1.0.0
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> [main 1c60ae0] added stuff
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> Initialized empty Git repository in /build/test-update-nix-fetchgit-78121030c9b393ee/repo2/.git/
update-nix-fetchgit> [main (root-commit) 1ac598e] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> test.txt
update-nix-fetchgit> FAIL (0.62s)
update-nix-fetchgit>       Files 'tests/test_dotgit.expected.nix' and 'tests/test_dotgit.out.nix' differ
update-nix-fetchgit>       Use -p '/update of tests\/test_dotgit.out.nix/' to rerun this test only.
update-nix-fetchgit>     update of tests/test_scoped.out.nix:                                  Updating /build/test-update-nix-fetchgit-78121030c9b393ee/repo1
update-nix-fetchgit> Updating /build/test-update-nix-fetchgit-78121030c9b393ee/repo1
update-nix-fetchgit> Made 4 updates
update-nix-fetchgit> Initialized empty Git repository in /build/test-update-nix-fetchgit-c12adeccae24751d/repo1/.git/
update-nix-fetchgit> [main (root-commit) 36dfafa] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> [main e52ac45] version 1.0.0
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> [main 1c60ae0] added stuff
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> Initialized empty Git repository in /build/test-update-nix-fetchgit-c12adeccae24751d/repo2/.git/
update-nix-fetchgit> [main (root-commit) 1ac598e] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> test.txt
update-nix-fetchgit> OK (0.40s)
update-nix-fetchgit>     update of tests/test_rec_sets.out.nix:                                Updating /build/test-update-nix-fetchgit-c12adeccae24751d/repo1
update-nix-fetchgit> Made 3 updates
update-nix-fetchgit> Initialized empty Git repository in /build/test-update-nix-fetchgit-9fba91d192fc1132/repo1/.git/
update-nix-fetchgit> [main (root-commit) 36dfafa] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> [main e52ac45] version 1.0.0
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> [main 1c60ae0] added stuff
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> Initialized empty Git repository in /build/test-update-nix-fetchgit-9fba91d192fc1132/repo2/.git/
update-nix-fetchgit> [main (root-commit) 1ac598e] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> test.txt
update-nix-fetchgit> OK (0.28s)
update-nix-fetchgit>     update of tests/test_builtins_fetchgit_update_ignores_sha256.out.nix: Updating /build/test-update-nix-fetchgit-9fba91d192fc1132/repo1
update-nix-fetchgit> Made 1 update
update-nix-fetchgit> Initialized empty Git repository in /build/test-update-nix-fetchgit-588a88dbd5adb460/repo1/.git/
update-nix-fetchgit> [main (root-commit) 36dfafa] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> [main e52ac45] version 1.0.0
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> [main 1c60ae0] added stuff
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> Initialized empty Git repository in /build/test-update-nix-fetchgit-588a88dbd5adb460/repo2/.git/
update-nix-fetchgit> [main (root-commit) 1ac598e] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> test.txt
update-nix-fetchgit> OK (0.25s)
update-nix-fetchgit>     update of tests/test_simple_update.out.nix:                           Updating /build/test-update-nix-fetchgit-588a88dbd5adb460/repo1
update-nix-fetchgit> Made 2 updates
update-nix-fetchgit> Initialized empty Git repository in /build/test-update-nix-fetchgit-1b1cd0a4a343e193/repo1/.git/
update-nix-fetchgit> [main (root-commit) 36dfafa] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> [main e52ac45] version 1.0.0
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> [main 1c60ae0] added stuff
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> Initialized empty Git repository in /build/test-update-nix-fetchgit-1b1cd0a4a343e193/repo2/.git/
update-nix-fetchgit> [main (root-commit) 1ac598e] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> test.txt
update-nix-fetchgit> OK (0.27s)
update-nix-fetchgit>     update of tests/test_version_update.out.nix:                          Updating /build/test-update-nix-fetchgit-1b1cd0a4a343e193/repo1
update-nix-fetchgit> Made 3 updates
update-nix-fetchgit> OK (0.47s)
update-nix-fetchgit>     update of tests/test_updates_with_other_errors.out.nix:               Initialized empty Git repository in /build/test-update-nix-fetchgit-b578f9f296fb3c26/repo1/.git/
update-nix-fetchgit> [main (root-commit) 36dfafa] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> [main e52ac45] version 1.0.0
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> [main 1c60ae0] added stuff
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> Initialized empty Git repository in /build/test-update-nix-fetchgit-b578f9f296fb3c26/repo2/.git/
update-nix-fetchgit> [main (root-commit) 1ac598e] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> test.txt
update-nix-fetchgit> Updating /build/test-update-nix-fetchgit-b578f9f296fb3c26/missingRepo
update-nix-fetchgit> Updating /build/test-update-nix-fetchgit-b578f9f296fb3c26/repo1
update-nix-fetchgit> Made 3 updates
update-nix-fetchgit> Error: nix-prefetch-git failed with exit code 1 and error output:
update-nix-fetchgit> Initialized empty Git repository in /build/git-checkout-tmp-p9QzN2fY/missingRepo/.git/
update-nix-fetchgit> fatal: '/build/test-update-nix-fetchgit-b578f9f296fb3c26/missingRepo' does not appear to be a git repository
update-nix-fetchgit> fatal: Could not read from remote repository.
update-nix-fetchgit> Please make sure you have the correct access rights
update-nix-fetchgit> and the repository exists.
update-nix-fetchgit> fatal: '/build/test-update-nix-fetchgit-b578f9f296fb3c26/missingRepo' does not appear to be a git repository
update-nix-fetchgit> fatal: Could not read from remote repository.
update-nix-fetchgit> Please make sure you have the correct access rights
update-nix-fetchgit> and the repository exists.
update-nix-fetchgit> fatal: '/build/test-update-nix-fetchgit-b578f9f296fb3c26/missingRepo' does not appear to be a git repository
update-nix-fetchgit> fatal: Could not read from remote repository.
update-nix-fetchgit> Please make sure you have the correct access rights
update-nix-fetchgit> and the repository exists.
update-nix-fetchgit> fatal: '/build/test-update-nix-fetchgit-b578f9f296fb3c26/missingRepo' does not appear to be a git repository
update-nix-fetchgit> fatal: Could not read from remote repository.
update-nix-fetchgit> Please make sure you have the correct access rights
update-nix-fetchgit> and the repository exists.
update-nix-fetchgit> Unable to checkout HEAD from /build/test-update-nix-fetchgit-b578f9f296fb3c26/missingRepo.
update-nix-fetchgit> Error: Output from nix-prefetch-git is invalid:
update-nix-fetchgit> ""
update-nix-fetchgit> OK (0.28s)
update-nix-fetchgit>     update of tests/test_builtins_fetchgit.out.nix:                       Initialized empty Git repository in /build/test-update-nix-fetchgit-eed4ea8f2c8931f2/repo1/.git/
update-nix-fetchgit> [main (root-commit) 36dfafa] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> [main e52ac45] version 1.0.0
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> [main 1c60ae0] added stuff
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> Initialized empty Git repository in /build/test-update-nix-fetchgit-eed4ea8f2c8931f2/repo2/.git/
update-nix-fetchgit> [main (root-commit) 1ac598e] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> test.txt
update-nix-fetchgit> Updating /build/test-update-nix-fetchgit-eed4ea8f2c8931f2/repo1
update-nix-fetchgit> Made 1 update
update-nix-fetchgit> OK (0.21s)
update-nix-fetchgit>     update of tests/test_max_version.out.nix:                             Initialized empty Git repository in /build/test-update-nix-fetchgit-549896455b40571f/repo1/.git/
update-nix-fetchgit> [main (root-commit) 36dfafa] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> [main e52ac45] version 1.0.0
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> [main 1c60ae0] added stuff
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> Initialized empty Git repository in /build/test-update-nix-fetchgit-549896455b40571f/repo2/.git/
update-nix-fetchgit> [main (root-commit) 1ac598e] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> test.txt
update-nix-fetchgit> Updating /build/test-update-nix-fetchgit-549896455b40571f/repo1
update-nix-fetchgit> Updating /build/test-update-nix-fetchgit-549896455b40571f/repo2
update-nix-fetchgit> Made 8 updates
update-nix-fetchgit> OK (0.43s)
update-nix-fetchgit>     update of tests/test_builtins_fetchtarball.out.nix:                   Initialized empty Git repository in /build/test-update-nix-fetchgit-87258643f02cd4bf/repo1/.git/
update-nix-fetchgit> [main (root-commit) 36dfafa] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> [main e52ac45] version 1.0.0
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> [main 1c60ae0] added stuff
update-nix-fetchgit>  1 file changed, 1 insertion(+), 1 deletion(-)
update-nix-fetchgit> Initialized empty Git repository in /build/test-update-nix-fetchgit-87258643f02cd4bf/repo2/.git/
update-nix-fetchgit> [main (root-commit) 1ac598e] initial commit
update-nix-fetchgit>  1 file changed, 1 insertion(+)
update-nix-fetchgit>  create mode 100644 test.txt
update-nix-fetchgit> test.txt
update-nix-fetchgit> Updating file:///build/test-update-nix-fetchgit-87258643f02cd4bf/archive.tar.gz
update-nix-fetchgit> Made 1 update
update-nix-fetchgit> OK (0.23s)
update-nix-fetchgit> 1 out of 10 tests failed (3.60s)
update-nix-fetchgit> Test suite update-nix-fetchgit-samples: FAIL
update-nix-fetchgit> Test suite logged to:
update-nix-fetchgit> dist/test/update-nix-fetchgit-0.2.11-update-nix-fetchgit-samples.log
update-nix-fetchgit> 0 of 1 test suites (0 of 1 test cases) passed.
error: builder for '/nix/store/45icdl2mw8c9zkcd5yn7msclya7d0yyl-update-nix-fetchgit-0.2.11.drv' failed with exit code 1;
       last 10 log lines:
       > test.txt
       > Updating file:///build/test-update-nix-fetchgit-87258643f02cd4bf/archive.tar.gz
       > Made 1 update
       > OK (0.23s)
       >
       > 1 out of 10 tests failed (3.60s)
       > Test suite update-nix-fetchgit-samples: FAIL
       > Test suite logged to:
       > dist/test/update-nix-fetchgit-0.2.11-update-nix-fetchgit-samples.log
       > 0 of 1 test suites (0 of 1 test cases) passed.
       For full logs, run 'nix log /nix/store/45icdl2mw8c9zkcd5yn7msclya7d0yyl-update-nix-fetchgit-0.2.11.drv'.

And indeed their content differ:

# test_dotgit.expected.nix

{ pkgs ? import <nixpkgs> { } }:

with pkgs;

{
  src = fetchgit {
    url = "/tmp/nix-update-fetchgit-test/repo1";
    rev = "1c60ae07b5740aab02e32b4f64600f002112e6fd";
    sha256 = "008xwkjfsv3rj50x9fqj0vvggl1zwrbqh7bkvnga94krmij63hib";
  };

  srcDotGit = fetchgit {
    url = "/tmp/nix-update-fetchgit-test/repo1";
    rev = "1c60ae07b5740aab02e32b4f64600f002112e6fd";
    sha256 = "1ywf4ysn3fcr4dw24idz48i36ghvxbvi72icglp4nqhdj2s6bzj1";
    leaveDotGit = true;
  };

  srcDeep = fetchgit {
    url = "/tmp/nix-update-fetchgit-test/repo1";
    rev = "1c60ae07b5740aab02e32b4f64600f002112e6fd";
    sha256 = "1ywf4ysn3fcr4dw24idz48i36ghvxbvi72icglp4nqhdj2s6bzj1";
    deepClone = true;
  };
}
# test_dotgit.out.nix

{ pkgs ? import <nixpkgs> { } }:

with pkgs;

{
  src = fetchgit {
    url = "/tmp/nix-update-fetchgit-test/repo1";
    rev = "1c60ae07b5740aab02e32b4f64600f002112e6fd";
    sha256 = "008xwkjfsv3rj50x9fqj0vvggl1zwrbqh7bkvnga94krmij63hib";
  };

  srcDotGit = fetchgit {
    url = "/tmp/nix-update-fetchgit-test/repo1";
    rev = "1c60ae07b5740aab02e32b4f64600f002112e6fd";
    sha256 = "1bmralrrsq7q28jkknqpywh6ad3bq0hqqa2idq6qphbb1lyzxvid";
    leaveDotGit = true;
  };

  srcDeep = fetchgit {
    url = "/tmp/nix-update-fetchgit-test/repo1";
    rev = "1c60ae07b5740aab02e32b4f64600f002112e6fd";
    sha256 = "1bmralrrsq7q28jkknqpywh6ad3bq0hqqa2idq6qphbb1lyzxvid";
    deepClone = true;
  };
}

I'm still rather new to nix packaging, so I don't know if the problem comes from my end :(

@Laurent2916
Copy link
Author

Well it seems the build is also failing in Hydra:
https://hydra.nixos.org/build/225369075

@Laurent2916
Copy link
Author

Looks like the checks were disabled in NixOS/nixpkgs@61dd345

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant