Source: gtimelog
Version: 0.12.0-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source
X-Debbugs-Cc: sidto...@gmail.com

Dear Maintainer,

"apt-get source -b gtimelog" command fails to build.

This was on debian unstable.

Build log:
==========

$ apt-get source -b gtimelog
Reading package lists... Done
NOTICE: 'gtimelog' packaging is maintained in the 'Git' version control system
at:
https://salsa.debian.org/python-team/packages/gtimelog.git
Please use:
git clone https://salsa.debian.org/python-team/packages/gtimelog.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 316 kB of source archives.
Get:1 http://httpredir.debian.org/debian sid/main gtimelog 0.12.0-2 (dsc)
[2,086 B]
Get:2 http://httpredir.debian.org/debian sid/main gtimelog 0.12.0-2 (tar) [300
kB]
Get:3 http://httpredir.debian.org/debian sid/main gtimelog 0.12.0-2 (diff)
[13.7 kB]
Fetched 316 kB in 1s (620 kB/s)
dpkg-source: info: extracting gtimelog in gtimelog-0.12.0
dpkg-source: info: unpacking gtimelog_0.12.0.orig.tar.gz
dpkg-source: info: unpacking gtimelog_0.12.0-2.debian.tar.xz
dpkg-buildpackage: info: source package gtimelog
dpkg-buildpackage: info: source version 0.12.0-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Boyuan Yang <by...@debian.org>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py clean
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning:
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning:
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
running clean
removing '/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build' (and
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.12' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning:
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning:
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning:
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning:
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
running build
running build_py
creating /tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog
copying src/gtimelog/__init__.py ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog
copying src/gtimelog/debian-paths.py ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog
copying src/gtimelog/main.py ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog
copying src/gtimelog/paths.py ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog
copying src/gtimelog/secrets.py ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog
copying src/gtimelog/settings.py ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog
copying src/gtimelog/timelog.py ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog
copying src/gtimelog/utils.py ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog
creating /tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog/tests
copying src/gtimelog/tests/__init__.py ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog/tests
copying src/gtimelog/tests/__main__.py ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog/tests
copying src/gtimelog/tests/test_main.py ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog/tests
copying src/gtimelog/tests/test_settings.py ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog/tests
copying src/gtimelog/tests/test_timelog.py ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog/tests
running egg_info
creating src/gtimelog.egg-info
writing src/gtimelog.egg-info/PKG-INFO
writing dependency_links to src/gtimelog.egg-info/dependency_links.txt
writing entry points to src/gtimelog.egg-info/entry_points.txt
writing requirements to src/gtimelog.egg-info/requires.txt
writing top-level names to src/gtimelog.egg-info/top_level.txt
writing manifest file 'src/gtimelog.egg-info/SOURCES.txt'
[08/21/24 10:47:40] ERROR    listing git files failed - pretending there aren't
any
git.py:26
reading manifest file 'src/gtimelog.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/build'
no previously-included directories found matching 'src/gtimelog/locale'
adding license file 'COPYING'
writing manifest file 'src/gtimelog.egg-info/SOURCES.txt'
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:215: _Warning:
Package 'gtimelog.data' is absent from the `packages` configuration.
!!

********************************************************************************
        ############################
        # Package would be ignored #
        ############################
        Python recognizes 'gtimelog.data' as an importable package[^1],
        but it is absent from setuptools' `packages` configuration.

        This leads to an ambiguous overall configuration. If you want to
distribute this
        package, please make sure that 'gtimelog.data' is explicitly added
        to the `packages` configuration field.

        Alternatively, you can also rely on setuptools' discovery methods
        (for example by using `find_namespace_packages(...)`/`find_namespace:`
        instead of `find_packages(...)`/`find:`).

        You can read more about "package discovery" on setuptools documentation
page:

        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

        If you don't want 'gtimelog.data' to be distributed and are
        already explicitly excluding 'gtimelog.data' via
        `find_namespace_packages(...)/find_namespace` or
`find_packages(...)/find`,
        you can try to use `exclude_package_data`, or `include-package-
data=False` in
        combination with a more fine grained `package-data` configuration.

        You can read more about "package data files" on setuptools
documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


        [^1]: For Python, any directory (with suitable naming) can be imported,
              even if it does not contain any `.py` files.
              On the other hand, currently there is no concept of package data
              directory, all directories are treated like packages.
********************************************************************************

!!
  check.warn(importable)
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:215: _Warning:
Package 'gtimelog.po' is absent from the `packages` configuration.
!!

********************************************************************************
        ############################
        # Package would be ignored #
        ############################
        Python recognizes 'gtimelog.po' as an importable package[^1],
        but it is absent from setuptools' `packages` configuration.

        This leads to an ambiguous overall configuration. If you want to
distribute this
        package, please make sure that 'gtimelog.po' is explicitly added
        to the `packages` configuration field.

        Alternatively, you can also rely on setuptools' discovery methods
        (for example by using `find_namespace_packages(...)`/`find_namespace:`
        instead of `find_packages(...)`/`find:`).

        You can read more about "package discovery" on setuptools documentation
page:

        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

        If you don't want 'gtimelog.po' to be distributed and are
        already explicitly excluding 'gtimelog.po' via
        `find_namespace_packages(...)/find_namespace` or
`find_packages(...)/find`,
        you can try to use `exclude_package_data`, or `include-package-
data=False` in
        combination with a more fine grained `package-data` configuration.

        You can read more about "package data files" on setuptools
documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


        [^1]: For Python, any directory (with suitable naming) can be imported,
              even if it does not contain any `.py` files.
              On the other hand, currently there is no concept of package data
              directory, all directories are treated like packages.
********************************************************************************

!!
  check.warn(importable)
copying src/gtimelog/CONTRIBUTORS.rst ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog
copying src/gtimelog/about.ui ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog
copying src/gtimelog/gtimelog-large.png ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog
copying src/gtimelog/gtimelog.css ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog
copying src/gtimelog/gtimelog.png ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog
copying src/gtimelog/gtimelog.ui ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog
copying src/gtimelog/menus.ui ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog
copying src/gtimelog/preferences.ui ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog
copying src/gtimelog/shortcuts.ui ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog
creating /tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog/data
copying src/gtimelog/data/gschemas.compiled ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog/data
copying src/gtimelog/data/org.gtimelog.gschema.xml ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog/data
creating /tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog/po
copying src/gtimelog/po/POTFILES.in ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog/po
copying src/gtimelog/po/en.po ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog/po
copying src/gtimelog/po/fr.po ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog/po
copying src/gtimelog/po/gtimelog.pot ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog/po
copying src/gtimelog/po/lt.po ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog/po
copying src/gtimelog/po/nb.po ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog/po
copying src/gtimelog/po/nl.po ->
/tmp/test/gtimelog-0.12.0/.pybuild/cpython3_3.12/build/gtimelog/po
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py test
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning:
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning:
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'test'
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1:
python3.12 setup.py test
dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit
code 13
make: *** [debian/rules:4: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
E: Build command 'cd gtimelog-0.12.0 && dpkg-buildpackage -b -uc' failed.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.10.4-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to