Your message dated Tue, 8 Dec 2020 19:03:10 +0000
with message-id
<cabwkt9oxtpnalasdo3wikckdkt9hrt89k_upogi1xmavnzr...@mail.gmail.com>
and subject line polybar: FTBFS: ImportError: cannot import name 'gcd' from
'fractions' (/usr/lib/python3.9/fractions.py)
has caused the Debian Bug report #975795,
regarding polybar: 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 [email protected]
immediately.)
--
975795: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975795
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: polybar
Version: 3.4.3-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[3]: Entering directory '/<<PKGBUILDDIR>>/build'
> [ 3%] Building CXX object lib/i3ipcpp/CMakeFiles/i3ipc++.dir/src/ipc.cpp.o
> [ 3%] sphinx-build man: see doc/builder-man.log
> cd /<<PKGBUILDDIR>>/build/lib/i3ipcpp && /usr/bin/c++
> -I/<<PKGBUILDDIR>>/lib/i3ipcpp/3rd/auss/include
> -I/<<PKGBUILDDIR>>/lib/i3ipcpp/include -I/usr/include/jsoncpp -g -O2
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra
> -Wpedantic -std=c++11 -Wall -Wextra -Wno-unused-parameter
> -Wno-deprecated-declarations -std=c++14 -o
> CMakeFiles/i3ipc++.dir/src/ipc.cpp.o -c
> /<<PKGBUILDDIR>>/lib/i3ipcpp/src/ipc.cpp
> cd /<<PKGBUILDDIR>>/build/doc && /usr/bin/sphinx-build -b man -c
> /<<PKGBUILDDIR>>/build/doc -d /<<PKGBUILDDIR>>/build/doc/doctrees
> /<<PKGBUILDDIR>>/doc /<<PKGBUILDDIR>>/build/doc/man > builder-man.log
> [ 4%] Building CXX object bin/CMakeFiles/polybar-msg.dir/ipc.cpp.o
> cd /<<PKGBUILDDIR>>/build/bin && /usr/bin/c++ -I/usr/include/cairo
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2
> -I/usr/include/libpng16 -I/usr/include/libnl3 -I/<<PKGBUILDDIR>>/include
> -I/<<PKGBUILDDIR>>/build/generated-sources -g -O2
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra
> -Wpedantic -std=c++14 -o CMakeFiles/polybar-msg.dir/ipc.cpp.o -c
> /<<PKGBUILDDIR>>/src/ipc.cpp
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/lib/xpp/generators/cpp_client.py", line 3101, 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[3]: *** [lib/xpp/CMakeFiles/xpp.dir/build.make:96:
> ../lib/xpp/include/xpp/proto/x.hpp] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/11/25/polybar_3.4.3-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 ---
Issue was actually in the python3-xcbgen package and it was solved #976624
--
Samuel Henrique <samueloph>
--- End Message ---