Your message dated Fri, 08 Nov 2019 16:22:52 +0000
with message-id <[email protected]>
and subject line Bug#939946: fixed in telepathy-logger 0.8.2-4
has caused the Debian Bug report #939946,
regarding telepathy-logger: missing python build-dependency causes FTBFS with 
gtk-doc-tools 1.32
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
939946: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939946
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: telepathy-logger
Severity: important
Control: block 939500 by -1

Dear Maintainer,

The telepathy-logger package seems to require python(2) during build,
but relies on gtk-doc-tools to actually pull in python.  This causes a
failure to build from source when building with the new gtk-doc-tools
1.32 (currently in experimental).
(The new gtk-doc-tools has been fully ported to python3 and no longer
pulls in python(2).)

Snippet from the build log:

make[3]: Entering directory '/build/telepathy-logger-0.8.2/extensions'
/bin/mkdir -p _gen
/usr/bin/python3 ../tools/xincludator.py all.xml > _gen/all.xml
Traceback (most recent call last):
  File "../tools/xincludator.py", line 36, in <module>
    xincludate(dom, argv[0])
  File "../tools/xincludator.py", line 14, in xincludate
    for i in xrange(dom.documentElement.attributes.length):
NameError: name 'xrange' is not defined
make[3]: *** [Makefile:936: _gen/all.xml] Error 1
make[3]: Leaving directory '/build/telepathy-logger-0.8.2/extensions'
make[2]: *** [Makefile:489: all-recursive] Error 1
make[2]: Leaving directory '/build/telepathy-logger-0.8.2'
make[1]: *** [Makefile:420: all] Error 2
make[1]: Leaving directory '/build/telepathy-logger-0.8.2'
dh_auto_build: make -j1 returned exit code 2
make: *** [debian/rules:6: build] Error 255
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

My conclusion is that it seems the tools/xincludator.py file is a
python2 (only) script, not compatible with python3.  The reason the
shebang in that file (which references python(2)) is not used, is
because it's invoked as "python3 ../tools/..." rather than directly
executing the script. The reason python3 is used here is because the
Makefile(.am) specifies $(PYTHON) which is set via AM_PATH_PYTHON in
configure(.ac) which will find python3 since python(2) is nowhere to be
found.

This issue could simply be fixed by adding the missing python (or
python:any) build-dependency. However, there's currently ongong work to
remove python2 from bullseye so a better solution would be to properly
port to python3 (and get rid of python(2) dependency).

Regards,
Andreas Henriksson

--- End Message ---
--- Begin Message ---
Source: telepathy-logger
Source-Version: 0.8.2-4

We believe that the bug you reported is fixed in the latest version of
telepathy-logger, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Laurent Bigonville <[email protected]> (supplier of updated telepathy-logger 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 08 Nov 2019 16:54:02 +0100
Source: telepathy-logger
Architecture: source
Version: 0.8.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Telepathy maintainers 
<[email protected]>
Changed-By: Laurent Bigonville <[email protected]>
Closes: 939946
Changes:
 telepathy-logger (0.8.2-4) unstable; urgency=medium
 .
   * debian/patches/sync_tools_with_tp-glib_master.patch: Fix FTBFS with
     python3 and add python3 to the build-dependencies, patch from upstream
     (Closes: #939946)
   * debian/control: Bump Standards-Version to 4.4.1 (no further changes)
   * debian/control: Update the Vcs-* fields, git repository has moved to salsa
   * debian/libtelepathy-logger3.symbols: Add the Build-Depends-Package field
   * Bump debhelper compatibility to 12 and drop explicit call and dependency
     to autoreconf
   * debian/control: Mark the -dev package as Multi-arch: same and the -doc
     package as Multi-arch: foreign
Checksums-Sha1:
 f91cfe25912fbe3e907dfd716840ee4c41cc9f28 2480 telepathy-logger_0.8.2-4.dsc
 89e3a9bea33a26b1ba1ce24bad8f57c236d4abbc 16176 
telepathy-logger_0.8.2-4.debian.tar.xz
 8f672025d4d81c059477eeec6525c1cfac19c8d1 7162 
telepathy-logger_0.8.2-4_source.buildinfo
Checksums-Sha256:
 2307caac8620d0a44136fa28ccf12a66268dbfbae0419105405b781bbdd8458e 2480 
telepathy-logger_0.8.2-4.dsc
 00cbe646ffac2bd02bcae39091b077c759641280e8ee137ec187e00514fea9e8 16176 
telepathy-logger_0.8.2-4.debian.tar.xz
 851942aa4962d18a2567a94b02118673ab8266209a7d998060bcd1c30204c13e 7162 
telepathy-logger_0.8.2-4_source.buildinfo
Files:
 299ee856c17a505dfba3ec5a550b6fd5 2480 libs optional 
telepathy-logger_0.8.2-4.dsc
 6d9732fdc4d55a9d08f48bce0b198901 16176 libs optional 
telepathy-logger_0.8.2-4.debian.tar.xz
 b2df172fb33621f3f57126c32adcbf89 7162 libs optional 
telepathy-logger_0.8.2-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQFFBAEBCAAvFiEEmRrdqQAhuF2x31DwH8WJHrqwQ9UFAl3Fj8QRHGJpZ29uQGRl
Ymlhbi5vcmcACgkQH8WJHrqwQ9USaggAkY/GDbRihnFHFEOcHdiLpjHAMASP7Eby
L8UT6Ciaw5UFWEbstDORRFObvDNM0qfQwymoTp2E/5nCzt70YKxXHB7p3b38Rpow
J3r58fTrTQsvzw7cATDW0GHBV2WBtGTR6n0fPAqLcAqP0oVYJ6YaGgvtCF2ocQpm
Lyi8LhVFYcwv0L2i4tnbR6VIjqnWN9Yy1AqJiCldvaWOiEza4/JQb7fL84i7IlQo
5LLrQLT0/WBbH8lj7Uy4nmdnwfxhzTuYg+Yw6r/ycGczytWfK/uEhI6W7bd/jPWL
LqznguCO2Dfz1ewNWaXNtRKc6kHBvUuupZ8NrCn5C4hTdNo3Tg9pLQ==
=2QLR
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to