Package: src:git-build-recipe
Version: 0.3.7
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

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

If you cannot 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 add an affects on src:git-build-recipe, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:384: python3.13 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: GNU General Public License v3

[... snipped ...]


  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 9f34267 one
}}}

Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/gitbuildrecipe/tests/test_functional.py",
 line 318, in test_cmd_dailydeb_with_upstream_version_from_changelog
    out, err = self.run_recipe(
               ~~~~~~~~~~~~~~~^
        "--allow-fallback-to-native test.recipe working")
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/gitbuildrecipe/tests/test_functional.py",
 line 122, in run_recipe
    self.assertEqual(retcode, process.returncode)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 400, in 
assertEqual
    self.assertThat(observed, matcher, message)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 506, in 
assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 0 != 1


_____ FunctionalBuilderTests.test_cmd_dailydeb_with_version_from_changelog _____
'NoneType' object is not iterable

During handling of the above exception, another exception occurred:
NOTE: Incompatible Exception Representation, displaying natively:

testtools.testresult.real._StringException: stderr: {{{
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/gitbuildrecipe/main.py:123: 
DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
  time = datetime.datetime.utcnow()
debuild: fatal error at line 1185:
dpkg-buildpackage -us -uc -ui -i -I -S failed
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/gitbuildrecipe/main.py", 
line 185, in <module>
    sys.exit(main())
             ~~~~^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/gitbuildrecipe/main.py", 
line 174, in main
    build_source_package(
    ~~~~~~~~~~~~~~~~~~~~^
        working_directory, tgz_check=not args.allow_fallback_to_native)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/gitbuildrecipe/deb_util.py", 
line 175, in build_source_package
    subprocess.check_call(command, cwd=basedir)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/subprocess.py", line 419, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/debuild', '--no-tgz-check', 
'-i', '-I', '-S', '-uc', '-us']' returned non-zero exit status 29.
}}}

stdout: {{{
dpkg-buildpackage -us -uc -ui -i -I -S
dpkg-buildpackage: info: source package package
dpkg-buildpackage: info: source version 0.1-1-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by M. Maintainer <[email protected]>
 dpkg-source -i -I --before-build .
dpkg-source: error: cannot parse Maintainer field value "maint [email protected]"
dpkg-buildpackage: error: dpkg-source -i -I --before-build . subprocess failed 
with exit status 25
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:
hint: Disable this message with "git config set advice.defaultBranchName false"
Initialized empty Git repository in /tmp/tmpli_6w7wt/working/test/.git/
>From /tmp/tmpli_6w7wt/source
 * [new branch]      master     -> source/master
Note: switching to '9f342676d43a1e3e7a57e1e79730bb86bed68d5e'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 9f34267 one
}}}

Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/gitbuildrecipe/tests/test_functional.py",
 line 283, in test_cmd_dailydeb_with_version_from_changelog
    out, err = self.run_recipe(
               ~~~~~~~~~~~~~~~^
        "--allow-fallback-to-native test.recipe working")
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/gitbuildrecipe/tests/test_functional.py",
 line 122, in run_recipe
    self.assertEqual(retcode, process.returncode)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 400, in 
assertEqual
    self.assertThat(observed, matcher, message)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 506, in 
assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 0 != 1


_ 
FunctionalBuilderTests.test_cmd_dailydeb_with_version_from_other_branch_changelog
 _
'NoneType' object is not iterable

During handling of the above exception, another exception occurred:
NOTE: Incompatible Exception Representation, displaying natively:

testtools.testresult.real._StringException: stderr: {{{
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/gitbuildrecipe/main.py:123: 
DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
  time = datetime.datetime.utcnow()
debuild: fatal error at line 1185:
dpkg-buildpackage -us -uc -ui -i -I -S failed
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/gitbuildrecipe/main.py", 
line 185, in <module>
    sys.exit(main())
             ~~~~^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/gitbuildrecipe/main.py", 
line 174, in main
    build_source_package(
    ~~~~~~~~~~~~~~~~~~~~^
        working_directory, tgz_check=not args.allow_fallback_to_native)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/gitbuildrecipe/deb_util.py", 
line 175, in build_source_package
    subprocess.check_call(command, cwd=basedir)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/subprocess.py", line 419, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/debuild', '--no-tgz-check', 
'-i', '-I', '-S', '-uc', '-us']' returned non-zero exit status 29.
}}}

stdout: {{{
dpkg-buildpackage -us -uc -ui -i -I -S
dpkg-buildpackage: info: source package package
dpkg-buildpackage: info: source version 0.4-1.2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by M. Maintainer <[email protected]>
 dpkg-source -i -I --before-build .
dpkg-source: error: cannot parse Maintainer field value "maint [email protected]"
dpkg-buildpackage: error: dpkg-source -i -I --before-build . subprocess failed 
with exit status 25
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:
hint: Disable this message with "git config set advice.defaultBranchName false"
Initialized empty Git repository in /tmp/tmpmhkpfvkq/working/test/.git/
>From /tmp/tmpmhkpfvkq/source
 * [new branch]      master     -> source/master
Note: switching to '9f342676d43a1e3e7a57e1e79730bb86bed68d5e'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 9f34267 one
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:
hint: Disable this message with "git config set advice.defaultBranchName false"
Initialized empty Git repository in /tmp/tmpmhkpfvkq/working/test/other/.git/
>From /tmp/tmpmhkpfvkq/other
 * [new branch]      master     -> source-other/master
Note: switching to '04d596177530d6bd871bc95ada22b851ee23ea07'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 04d5961 new changelog entry
}}}

Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/gitbuildrecipe/tests/test_functional.py",
 line 305, in test_cmd_dailydeb_with_version_from_other_branch_changelog
    out, err = self.run_recipe(
               ~~~~~~~~~~~~~~~^
        "--allow-fallback-to-native test.recipe working")
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/gitbuildrecipe/tests/test_functional.py",
 line 122, in run_recipe
    self.assertEqual(retcode, process.returncode)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 400, in 
assertEqual
    self.assertThat(observed, matcher, message)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 506, in 
assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 0 != 1


=============================== warnings summary ===============================
.pybuild/cpython3_3.13/build/gitbuildrecipe/tests/test_deb_version.py::RecipeBranchTests::test_substitute_date
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/gitbuildrecipe/tests/test_deb_version.py:383:
 DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and 
scheduled for removal in a future version. Use timezone-aware objects to 
represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, 
datetime.UTC).
    time = datetime.datetime.utcfromtimestamp(1)

.pybuild/cpython3_3.13/build/gitbuildrecipe/tests/test_deb_version.py::RecipeBranchTests::test_substitute_time
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/gitbuildrecipe/tests/test_deb_version.py:375:
 DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and 
scheduled for removal in a future version. Use timezone-aware objects to 
represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, 
datetime.UTC).
    time = datetime.datetime.utcfromtimestamp(1)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED 
gitbuildrecipe/tests/test_functional.py::FunctionalBuilderTests::test_cmd_dailydeb
FAILED 
gitbuildrecipe/tests/test_functional.py::FunctionalBuilderTests::test_cmd_dailydeb_allow_fallback_to_native_with_orig_tarball
FAILED 
gitbuildrecipe/tests/test_functional.py::FunctionalBuilderTests::test_cmd_dailydeb_force_native
FAILED 
gitbuildrecipe/tests/test_functional.py::FunctionalBuilderTests::test_cmd_dailydeb_force_native_apply_quilt
FAILED 
gitbuildrecipe/tests/test_functional.py::FunctionalBuilderTests::test_cmd_dailydeb_force_native_empty_series
FAILED 
gitbuildrecipe/tests/test_functional.py::FunctionalBuilderTests::test_cmd_dailydeb_if_changed_from_non_existent
FAILED 
gitbuildrecipe/tests/test_functional.py::FunctionalBuilderTests::test_cmd_dailydeb_no_work_dir
FAILED 
gitbuildrecipe/tests/test_functional.py::FunctionalBuilderTests::test_cmd_dailydeb_with_append_version
FAILED 
gitbuildrecipe/tests/test_functional.py::FunctionalBuilderTests::test_cmd_dailydeb_with_nonascii_maintainer_in_changelog
FAILED 
gitbuildrecipe/tests/test_functional.py::FunctionalBuilderTests::test_cmd_dailydeb_with_orig_tarball
FAILED 
gitbuildrecipe/tests/test_functional.py::FunctionalBuilderTests::test_cmd_dailydeb_with_package_from_changelog
FAILED 
gitbuildrecipe/tests/test_functional.py::FunctionalBuilderTests::test_cmd_dailydeb_with_pristine_orig_bz2_tarball
FAILED 
gitbuildrecipe/tests/test_functional.py::FunctionalBuilderTests::test_cmd_dailydeb_with_pristine_orig_gz_tarball
FAILED 
gitbuildrecipe/tests/test_functional.py::FunctionalBuilderTests::test_cmd_dailydeb_with_upstream_version_from_changelog
FAILED 
gitbuildrecipe/tests/test_functional.py::FunctionalBuilderTests::test_cmd_dailydeb_with_version_from_changelog
FAILED 
gitbuildrecipe/tests/test_functional.py::FunctionalBuilderTests::test_cmd_dailydeb_with_version_from_other_branch_changelog
================== 16 failed, 145 passed, 2 warnings in 9.38s ==================
E: pybuild pybuild:483: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest 
dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit 
code 13
make[1]: *** [debian/rules:9: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to