[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#975800: marked as done (libxcb: FTBFS: ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib/python3.9/fractions.py))



Your message dated Sat, 26 Dec 2020 10:48:34 +0000
with message-id <E1kt77i-000A1f-BG@fasolo.debian.org>
and subject line Bug#975800: fixed in libxcb 1.14-2.1
has caused the Debian Bug report #975800,
regarding libxcb: FTBFS: ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib/python3.9/fractions.py)
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 owner@bugs.debian.org
immediately.)


-- 
975800: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975800
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: libxcb
Version: 1.14-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201125 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/build/src'
> python3 ../../src/c_client.py	-c "libxcb 1.14" -l "X Version 11" \
> 	-s "3" -p //usr/lib/python3.8/site-packages \
> 	 \
> 	//usr/share/xcb/xproto.xml
> python3 ../../src/c_client.py	-c "libxcb 1.14" -l "X Version 11" \
> 	-s "3" -p //usr/lib/python3.8/site-packages \
> 	 \
> 	//usr/share/xcb/bigreq.xml
> python3 ../../src/c_client.py	-c "libxcb 1.14" -l "X Version 11" \
> 	-s "3" -p //usr/lib/python3.8/site-packages \
> 	 \
> 	//usr/share/xcb/xc_misc.xml
> python3 ../../src/c_client.py	-c "libxcb 1.14" -l "X Version 11" \
> 	-s "3" -p //usr/lib/python3.8/site-packages \
> 	 \
> 	//usr/share/xcb/composite.xml
> 
> Failed to load the xcbgen Python package!
> Make sure that xcb/proto installed it on your Python path.
> If not, you will need to create a .pth file or define $PYTHONPATH
> to extend the path.
> Refer to the README file in xcb/proto for more info.
> 
> 
> Failed to load the xcbgen Python package!
> Make sure that xcb/proto installed it on your Python path.
> If not, you will need to create a .pth file or define $PYTHONPATH
> to extend the path.
> Refer to the README file in xcb/proto for more info.
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/build/src/../../src/c_client.py", line 3338, in <module>
> 
> Failed to load the xcbgen Python package!
> Make sure that xcb/proto installed it on your Python path.
> If not, you will need to create a .pth file or define $PYTHONPATH
> to extend the path.
> Refer to the README file in xcb/proto for more info.
> 
> 
> Failed to load the xcbgen Python package!
> Make sure that xcb/proto installed it on your Python path.
> If not, you will need to create a .pth file or define $PYTHONPATH
> to extend the path.
> Refer to the README file in xcb/proto for more info.
> 
> Traceback (most recent call last):
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/build/src/../../src/c_client.py", line 3338, in <module>
>   File "/<<PKGBUILDDIR>>/build/src/../../src/c_client.py", line 3338, in <module>
>     from xcbgen.state import Module
>   File "/usr/lib/python3/dist-packages/xcbgen/state.py", line 7, in <module>
>     from xcbgen.state import Module
>     from xcbgen.state import Module
>   File "/usr/lib/python3/dist-packages/xcbgen/state.py", line 7, in <module>
>   File "/usr/lib/python3/dist-packages/xcbgen/state.py", line 7, in <module>
>     from xcbgen import matcher
>     from xcbgen import matcher
>   File "/usr/lib/python3/dist-packages/xcbgen/matcher.py", line 12, in <module>
>     from xcbgen import matcher
>   File "/usr/lib/python3/dist-packages/xcbgen/matcher.py", line 12, in <module>
>     from xcbgen.xtypes import *
>   File "/usr/lib/python3/dist-packages/xcbgen/xtypes.py", line 5, in <module>
>     from xcbgen.xtypes import *
>   File "/usr/lib/python3/dist-packages/xcbgen/matcher.py", line 12, in <module>
>     from xcbgen.align import Alignment, AlignmentLog
>   File "/usr/lib/python3/dist-packages/xcbgen/align.py", line 5, in <module>
>   File "/usr/lib/python3/dist-packages/xcbgen/xtypes.py", line 5, in <module>
>     from fractions import gcd
>     from xcbgen.xtypes import *
>   File "/usr/lib/python3/dist-packages/xcbgen/xtypes.py", line 5, in <module>
>     from xcbgen.align import Alignment, AlignmentLog
>     from xcbgen.align import Alignment, AlignmentLog
>   File "/usr/lib/python3/dist-packages/xcbgen/align.py", line 5, in <module>
> ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib/python3.9/fractions.py)
>   File "/usr/lib/python3/dist-packages/xcbgen/align.py", line 5, in <module>
>     from fractions import gcd
> ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib/python3.9/fractions.py)
>     from fractions import gcd
> ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib/python3.9/fractions.py)
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/build/src/../../src/c_client.py", line 3338, in <module>
>     from xcbgen.state import Module
>   File "/usr/lib/python3/dist-packages/xcbgen/state.py", line 7, in <module>
>     from xcbgen import matcher
>   File "/usr/lib/python3/dist-packages/xcbgen/matcher.py", line 12, in <module>
>     from xcbgen.xtypes import *
>   File "/usr/lib/python3/dist-packages/xcbgen/xtypes.py", line 5, in <module>
>     from xcbgen.align import Alignment, AlignmentLog
>   File "/usr/lib/python3/dist-packages/xcbgen/align.py", line 5, in <module>
>     from fractions import gcd
> ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib/python3.9/fractions.py)
> make[2]: *** [Makefile:1407: xproto.c] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/11/25/libxcb_1.14-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

--- End Message ---
--- Begin Message ---
Source: libxcb
Source-Version: 1.14-2.1
Done: Matthias Klose <doko@debian.org>

We believe that the bug you reported is fixed in the latest version of
libxcb, 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 975800@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated libxcb 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Wed, 23 Dec 2020 11:13:32 +0100
Source: libxcb
Architecture: source
Version: 1.14-2.1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 975800
Changes:
 libxcb (1.14-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Apply upstream pull request 8 to fix ftbfs with Python 3.9. Closes: #975800.
Checksums-Sha1:
 107dfd68ad9883844b8a6167af50adb4df9172cb 5377 libxcb_1.14-2.1.dsc
 6663b8b8039a613e7a7fb6aed04ca40618894c29 26530 libxcb_1.14-2.1.diff.gz
 8513d68426ff4aef7067368def3c2c0ad9c8b1cb 7723 libxcb_1.14-2.1_source.buildinfo
Checksums-Sha256:
 d8e6540c3247c67334c073c34ce6d6313252fc230153d443801dea0b988d9112 5377 libxcb_1.14-2.1.dsc
 ca00891d107c73107da10fad3a01ee6acca7893e549f8a2b38a8b65272373ef7 26530 libxcb_1.14-2.1.diff.gz
 7aa90073c58eadac2cfa9a121ed7ea0b95fb47f0bb2f486be45797c0898d0fed 7723 libxcb_1.14-2.1_source.buildinfo
Files:
 878ee0b0537a7d613f23ace4c1de701c 5377 libdevel optional libxcb_1.14-2.1.dsc
 651314e3cf96a8233e2c3c89d53affb4 26530 libdevel optional libxcb_1.14-2.1.diff.gz
 b1c24db2bc93d66ce74c88ccb73e0628 7723 libdevel optional libxcb_1.14-2.1_source.buildinfo

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

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAl/jGO4QHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9TQkEACYj90fi5BuxzanIQET4XLXh+DoxBy/ORFl
TPReH13pXGhqlqC8j4gBqipQ22kcgi60m+42s41oDsUvSbLq843DynNh4nfXuica
524EryA8kUzwDdcTjh0TNsaYWipO8jCEys87CM9y4wKScDu2gJLmwpqyzv00VgAw
CJiHaJcCMcs+DNX31SxpPC6MU2/fqYyJfFzuhKPKp7jR47cLVRji+/PswX5uVE49
MftfqzW6Pw7I7qtic03CQwjpKtE9hqDt+QQww/T5TZaLtxfgFBIQABtTf89/XjXU
wfA1vtFK8o7m/DnYA8EDOXLqYoAgpZ5SQaj0/2IrwcD+ooZ358KcMM+jwhJMwMZj
LJMb8P6OkHq5Jw0W15NU4tutXFje7nFC4JJVH8GVCmQzZNRMjJmCr+3U4A4w2hH+
4jJc9DqJM79XQVltUe8L+eq5cmNCFRS9Fs7j/wXmCDqZ2QZMf7dYvXjTuuhASn4q
kK7sl4binG6gZ2Yg4O+tKONCvNgpk18guNPnS9DIxSFfyGDoMCdVjj0zBqOrPuLL
OGuC2Z9OTIqyh2oNQ/L5+alI7ygJ56X4EUdqpyHp9pazBcpMsZmvvp6xz83qFu1h
+r9/opevOKIQrYYLSXDg8dBCdvj4u4pO2Wo6h+wDVra4pbgeKnufMucUmbj1flZw
MX41Na/eNA==
=1my6
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: