Package: src:haskell-githash
Version: 0.1.4.0-1
Severity: serious
Control: close -1 0.1.6.3-1
Tags: ftbfs bullseye

Dear maintainer:

During a rebuild of all packages in bullseye, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
test -x debian/rules
mkdir -p "."
CDBS WARNING:    DEB_DH_STRIP_ARGS is deprecated since 0.4.85
CDBS WARNING:    DEB_COMPRESS_EXCLUDE is deprecated since 0.4.85
. /usr/share/haskell-devscripts/Dh_Haskell.sh && \
make_setup_recipe
Running ghc --make Setup.hs -o debian/hlibrary.setup
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking debian/hlibrary.setup ...
. /usr/share/haskell-devscripts/Dh_Haskell.sh && \
configure_recipe
Running debian/hlibrary.setup configure --ghc -v2 
--package-db=/var/lib/ghc/package.conf.d --prefix=/usr 
--libdir=/usr/lib/haskell-packages/ghc/lib --libexecdir=/usr/lib 
--builddir=dist-ghc --ghc-option=-optl-Wl\,-z\,relro 
--haddockdir=/usr/lib/ghc-doc/haddock/githash-0.1.4.0/ --datasubdir=githash 
--htmldir=/usr/share/doc/libghc-githash-doc/html/ --enable-library-profiling 
--enable-tests
Using Parsec parser
Configuring githash-0.1.4.0...
Dependency base >=4.9.1 && <5: using base-4.13.0.0
Dependency bytestring -any: using bytestring-0.10.10.1
Dependency directory -any: using directory-1.3.6.0
Dependency filepath -any: using filepath-1.4.2.1
Dependency process -any: using process-1.6.9.0
Dependency template-haskell -any: using template-haskell-2.15.0.0
Dependency base >=4.9.1 && <5: using base-4.13.0.0
Dependency bytestring -any: using bytestring-0.10.10.1
Dependency directory -any: using directory-1.3.6.0
Dependency filepath -any: using filepath-1.4.2.1
Dependency githash -any: using githash-0.1.4.0
Dependency hspec -any: using hspec-2.7.1
Dependency process -any: using process-1.6.9.0
Dependency template-haskell -any: using template-haskell-2.15.0.0
Dependency temporary -any: using temporary-1.3
Dependency unliftio -any: using unliftio-0.2.13
Source component graph:
    component lib
    component test:githash-spec dependency lib
Configured component graph:
    component githash-0.1.4.0-EWMeWIEd1YXHyyDgK1gfq1
        include base-4.13.0.0
        include bytestring-0.10.10.1
        include directory-1.3.6.0
        include filepath-1.4.2.1
        include process-1.6.9.0
        include template-haskell-2.15.0.0
    component githash-0.1.4.0-7CJF4xJqfu0EZYEwxaRJDG-githash-spec
        include base-4.13.0.0
        include bytestring-0.10.10.1
        include directory-1.3.6.0
        include filepath-1.4.2.1
        include githash-0.1.4.0-EWMeWIEd1YXHyyDgK1gfq1
        include hspec-2.7.1-5JvuKFX0Z3iFazfgnEEvF6
        include process-1.6.9.0
        include template-haskell-2.15.0.0
        include temporary-1.3-AvsKTkX8AtqCfWF6w2go8V
        include unliftio-0.2.13-5Ul6qtX6De7516Jlsz3Mou
Linked component graph:
    unit githash-0.1.4.0-EWMeWIEd1YXHyyDgK1gfq1
        include base-4.13.0.0
        include bytestring-0.10.10.1
        include directory-1.3.6.0
        include filepath-1.4.2.1
        include process-1.6.9.0
        include template-haskell-2.15.0.0
        GitHash=githash-0.1.4.0-EWMeWIEd1YXHyyDgK1gfq1:GitHash
    unit githash-0.1.4.0-7CJF4xJqfu0EZYEwxaRJDG-githash-spec
        include base-4.13.0.0
        include bytestring-0.10.10.1
        include directory-1.3.6.0
        include filepath-1.4.2.1
        include githash-0.1.4.0-EWMeWIEd1YXHyyDgK1gfq1
        include hspec-2.7.1-5JvuKFX0Z3iFazfgnEEvF6
        include process-1.6.9.0
        include template-haskell-2.15.0.0
        include temporary-1.3-AvsKTkX8AtqCfWF6w2go8V
        include unliftio-0.2.13-5Ul6qtX6De7516Jlsz3Mou
Ready component graph:
    definite githash-0.1.4.0-EWMeWIEd1YXHyyDgK1gfq1
        depends base-4.13.0.0
        depends bytestring-0.10.10.1
        depends directory-1.3.6.0
        depends filepath-1.4.2.1
        depends process-1.6.9.0
        depends template-haskell-2.15.0.0
    definite githash-0.1.4.0-7CJF4xJqfu0EZYEwxaRJDG-githash-spec
        depends base-4.13.0.0
        depends bytestring-0.10.10.1
        depends directory-1.3.6.0
        depends filepath-1.4.2.1
        depends githash-0.1.4.0-EWMeWIEd1YXHyyDgK1gfq1
        depends hspec-2.7.1-5JvuKFX0Z3iFazfgnEEvF6
        depends process-1.6.9.0
        depends template-haskell-2.15.0.0
        depends temporary-1.3-AvsKTkX8AtqCfWF6w2go8V
        depends unliftio-0.2.13-5Ul6qtX6De7516Jlsz3Mou
Using Cabal-3.0.1.0 compiled by ghc-8.8
Using compiler: ghc-8.8.4
Using install prefix: /usr
Executables installed in: /usr/bin
Libraries installed in:
/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.8.4/githash-0.1.4.0-EWMeWIEd1YXHyyDgK1gfq1
Dynamic Libraries installed in:
/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.8.4
Private executables installed in:
/usr/lib/x86_64-linux-ghc-8.8.4/githash-0.1.4.0
Data files installed in: /usr/share/githash
Documentation installed in:
/usr/share/doc/x86_64-linux-ghc-8.8.4/githash-0.1.4.0
Configuration files installed in: /usr/etc
No alex found
Using ar found on system at: /usr/bin/x86_64-linux-gnu-ar
No c2hs found
No cpphs found
No doctest found
Using gcc version 10 found on system at: /usr/bin/x86_64-linux-gnu-gcc
Using ghc version 8.8.4 found on system at: /usr/bin/ghc
Using ghc-pkg version 8.8.4 found on system at: /usr/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.23.0 found on system at: /usr/bin/haddock
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at: /usr/bin/hpc
Using hsc2hs version 0.68.7 found on system at: /usr/bin/hsc2hs
No hscolour found
No jhc found
Using ld found on system at: /usr/bin/x86_64-linux-gnu-ld.gold
No pkg-config found
Using runghc version 8.8.4 found on system at: /usr/bin/runghc
Using strip version 2.35 found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
touch configure-ghc-stamp
. /usr/share/haskell-devscripts/Dh_Haskell.sh && \
build_recipe
Running debian/hlibrary.setup build --builddir=dist-ghc
Preprocessing library for githash-0.1.4.0..
Building library for githash-0.1.4.0..
[1 of 2] Compiling GitHash          ( src/GitHash.hs, dist-ghc/build/GitHash.o )
[2 of 2] Compiling Paths_githash    ( dist-ghc/build/autogen/Paths_githash.hs, 
dist-ghc/build/Paths_githash.o )
[1 of 2] Compiling GitHash          ( src/GitHash.hs, 
dist-ghc/build/GitHash.p_o )
[2 of 2] Compiling Paths_githash    ( dist-ghc/build/autogen/Paths_githash.hs, 
dist-ghc/build/Paths_githash.p_o )
Preprocessing test suite 'githash-spec' for githash-0.1.4.0..
Building test suite 'githash-spec' for githash-0.1.4.0..
[1 of 6] Compiling GitHashSpec      ( test/GitHashSpec.hs, 
dist-ghc/build/githash-spec/githash-spec-tmp/GitHashSpec.o )
[2 of 6] Compiling NormalRepoSpec   ( test/NormalRepoSpec.hs, 
dist-ghc/build/githash-spec/githash-spec-tmp/NormalRepoSpec.o )
[3 of 6] Compiling Paths_githash    ( 
dist-ghc/build/githash-spec/autogen/Paths_githash.hs, 
dist-ghc/build/githash-spec/githash-spec-tmp/Paths_githash.o )
[4 of 6] Compiling RepoWithASubmoduleSpec ( test/RepoWithASubmoduleSpec.hs, 
dist-ghc/build/githash-spec/githash-spec-tmp/RepoWithASubmoduleSpec.o )
[5 of 6] Compiling WorktreeRepoSpec ( test/WorktreeRepoSpec.hs, 
dist-ghc/build/githash-spec/githash-spec-tmp/WorktreeRepoSpec.o )
[6 of 6] Compiling Main             ( test/Spec.hs, 
dist-ghc/build/githash-spec/githash-spec-tmp/Main.o )
Linking dist-ghc/build/githash-spec/githash-spec ...
touch build-ghc-stamp
. /usr/share/haskell-devscripts/Dh_Haskell.sh && \
check_recipe
Running debian/hlibrary.setup test --builddir=dist-ghc --show-details=direct
Running 1 test suites...
Test suite githash-spec: RUNNING...
hint: Using 'master' as the name for the initial branch. This default branch 
name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
hint: Using 'master' as the name for the initial branch. This default branch 
name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
hint: Using 'master' as the name for the initial branch. This default branch 
name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
hint: Using 'master' as the name for the initial branch. This default branch 
name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
Cloning into '/tmp/with-submodule1922292/1/2'...
fatal: transport 'file' not allowed
fatal: clone of '/tmp/with-submodule1922292/2' into submodule path 
'/tmp/with-submodule1922292/1/2' failed
hint: Using 'master' as the name for the initial branch. This default branch 
name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
hint: Using 'master' as the name for the initial branch. This default branch 
name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
Cloning into '/tmp/with-submodule1922292/1/2'...
fatal: transport 'file' not allowed
fatal: clone of '/tmp/with-submodule1922292/2' into submodule path 
'/tmp/with-submodule1922292/1/2' failed
hint: Using 'master' as the name for the initial branch. This default branch 
name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
hint: Using 'master' as the name for the initial branch. This default branch 
name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>

GitHash
  tGitInfoCwd
    makes vaguely sane git info for this repository
NormalRepo
  getGitInfo
    it makes sensible git info for a regular git repository
  getGitRoot
    it gets the expected git root for a regular git repository
RepoWithASubmodule
  getGitInfo
    it makes sensible git info for a both the parent and the child module 
FAILED [1]
  getGitRoot
    it gets the expected git root for a both the parent and the child module 
FAILED [2]
WorktreeRepo
  getGitInfo
    it makes sensible git info for a git-worktree repository
  getGitRoot
    it gets the expected git root for a git-worktree repository

Failures:

  test/RepoWithASubmoduleSpec.hs:21:13:
  1) RepoWithASubmodule.getGitInfo it makes sensible git info for a both the 
parent and the child module
       uncaught exception: IOException of type OtherError
       readCreateProcess: git "submodule" "add" "/tmp/with-submodule1922292/2" 
"2" (exit 128): failed

  To rerun use: --match "/RepoWithASubmodule/getGitInfo/it makes sensible git info 
for a both the parent and the child module/"

  test/RepoWithASubmoduleSpec.hs:38:13:
  2) RepoWithASubmodule.getGitRoot it gets the expected git root for a both the 
parent and the child module
       uncaught exception: IOException of type OtherError
       readCreateProcess: git "submodule" "add" "/tmp/with-submodule1922292/2" 
"2" (exit 128): failed

  To rerun use: --match "/RepoWithASubmodule/getGitRoot/it gets the expected git 
root for a both the parent and the child module/"

Randomized with seed 267366579

Finished in 0.1695 seconds
7 examples, 2 failures
Test suite githash-spec: FAIL
Test suite logged to: dist-ghc/test/githash-0.1.4.0-githash-spec.log
0 of 1 test suites (0 of 1 test cases) passed.
make: *** [/usr/share/cdbs/1/class/hlibrary.mk:154: check-ghc-stamp] Error 1
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/bullseye/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to