[Python-modules-team] Bug#971118: dulwich: FTBFS: XXX

Lucas Nussbaum lucas at debian.org
Sun Sep 27 19:44:49 BST 2020


Source: dulwich
Version: 0.20.6-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200926 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>>'
> python3 setup.py build
> running build
> running build_py
> creating build/lib.linux-x86_64-3.8
> creating build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/greenthreads.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/reflog.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/cli.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/errors.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/object_store.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/__init__.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/index.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/porcelain.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/ignore.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/log_utils.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/archive.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/walk.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/graph.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/objectspec.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/file.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/line_ending.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/lru_cache.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/stash.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/lfs.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/client.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/config.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/pack.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/objects.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/fastexport.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/web.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/hooks.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/mailmap.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/protocol.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/refs.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/patch.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/server.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/diff_tree.py -> build/lib.linux-x86_64-3.8/dulwich
> copying dulwich/repo.py -> build/lib.linux-x86_64-3.8/dulwich
> creating build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_server.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_diff_tree.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_blackbox.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_graph.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_lru_cache.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_repository.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_missing_obj_finder.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/__init__.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_index.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_pack.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_lfs.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_utils.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_grafts.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_porcelain.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_walk.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_config.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_objectspec.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_fastexport.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_objects.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_hooks.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_stash.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_file.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_object_store.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_ignore.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_protocol.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_archive.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_reflog.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_client.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_mailmap.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_line_ending.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_refs.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/utils.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_patch.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_web.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> copying dulwich/tests/test_greenthreads.py -> build/lib.linux-x86_64-3.8/dulwich/tests
> creating build/lib.linux-x86_64-3.8/dulwich/tests/compat
> copying dulwich/tests/compat/test_server.py -> build/lib.linux-x86_64-3.8/dulwich/tests/compat
> copying dulwich/tests/compat/test_repository.py -> build/lib.linux-x86_64-3.8/dulwich/tests/compat
> copying dulwich/tests/compat/__init__.py -> build/lib.linux-x86_64-3.8/dulwich/tests/compat
> copying dulwich/tests/compat/test_pack.py -> build/lib.linux-x86_64-3.8/dulwich/tests/compat
> copying dulwich/tests/compat/test_utils.py -> build/lib.linux-x86_64-3.8/dulwich/tests/compat
> copying dulwich/tests/compat/server_utils.py -> build/lib.linux-x86_64-3.8/dulwich/tests/compat
> copying dulwich/tests/compat/test_client.py -> build/lib.linux-x86_64-3.8/dulwich/tests/compat
> copying dulwich/tests/compat/utils.py -> build/lib.linux-x86_64-3.8/dulwich/tests/compat
> copying dulwich/tests/compat/test_patch.py -> build/lib.linux-x86_64-3.8/dulwich/tests/compat
> copying dulwich/tests/compat/test_web.py -> build/lib.linux-x86_64-3.8/dulwich/tests/compat
> creating build/lib.linux-x86_64-3.8/dulwich/contrib
> copying dulwich/contrib/swift.py -> build/lib.linux-x86_64-3.8/dulwich/contrib
> copying dulwich/contrib/__init__.py -> build/lib.linux-x86_64-3.8/dulwich/contrib
> copying dulwich/contrib/release_robot.py -> build/lib.linux-x86_64-3.8/dulwich/contrib
> copying dulwich/contrib/diffstat.py -> build/lib.linux-x86_64-3.8/dulwich/contrib
> copying dulwich/contrib/test_swift.py -> build/lib.linux-x86_64-3.8/dulwich/contrib
> copying dulwich/contrib/test_swift_smoke.py -> build/lib.linux-x86_64-3.8/dulwich/contrib
> copying dulwich/contrib/test_release_robot.py -> build/lib.linux-x86_64-3.8/dulwich/contrib
> copying dulwich/contrib/paramiko_vendor.py -> build/lib.linux-x86_64-3.8/dulwich/contrib
> creating build/lib.linux-x86_64-3.8/docs
> creating build/lib.linux-x86_64-3.8/docs/tutorial
> copying dulwich/../docs/tutorial/porcelain.txt -> build/lib.linux-x86_64-3.8/dulwich/../docs/tutorial
> copying dulwich/../docs/tutorial/file-format.txt -> build/lib.linux-x86_64-3.8/dulwich/../docs/tutorial
> copying dulwich/../docs/tutorial/encoding.txt -> build/lib.linux-x86_64-3.8/dulwich/../docs/tutorial
> copying dulwich/../docs/tutorial/object-store.txt -> build/lib.linux-x86_64-3.8/dulwich/../docs/tutorial
> copying dulwich/../docs/tutorial/repo.txt -> build/lib.linux-x86_64-3.8/dulwich/../docs/tutorial
> copying dulwich/../docs/tutorial/index.txt -> build/lib.linux-x86_64-3.8/dulwich/../docs/tutorial
> copying dulwich/../docs/tutorial/remote.txt -> build/lib.linux-x86_64-3.8/dulwich/../docs/tutorial
> copying dulwich/../docs/tutorial/conclusion.txt -> build/lib.linux-x86_64-3.8/dulwich/../docs/tutorial
> copying dulwich/../docs/tutorial/introduction.txt -> build/lib.linux-x86_64-3.8/dulwich/../docs/tutorial
> copying dulwich/../docs/tutorial/tag.txt -> build/lib.linux-x86_64-3.8/dulwich/../docs/tutorial
> running build_ext
> building 'dulwich._objects' extension
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c dulwich/_objects.c -o build/temp.linux-x86_64-3.8/dulwich/_objects.o
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/dulwich/_objects.o -o build/lib.linux-x86_64-3.8/dulwich/_objects.cpython-38-x86_64-linux-gnu.so
> building 'dulwich._pack' extension
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c dulwich/_pack.c -o build/temp.linux-x86_64-3.8/dulwich/_pack.o
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/dulwich/_pack.o -o build/lib.linux-x86_64-3.8/dulwich/_pack.cpython-38-x86_64-linux-gnu.so
> building 'dulwich._diff_tree' extension
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c dulwich/_diff_tree.c -o build/temp.linux-x86_64-3.8/dulwich/_diff_tree.o
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/dulwich/_diff_tree.o -o build/lib.linux-x86_64-3.8/dulwich/_diff_tree.cpython-38-x86_64-linux-gnu.so
> running build_scripts
> /usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'project_urls'
>   warnings.warn(msg)
> python3 setup.py build_ext -i
> running build_ext
> building 'dulwich._objects' extension
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c dulwich/_objects.c -o build/temp.linux-x86_64-3.8/dulwich/_objects.o
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/dulwich/_objects.o -o /<<PKGBUILDDIR>>/dulwich/_objects.cpython-38-x86_64-linux-gnu.so
> building 'dulwich._pack' extension
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c dulwich/_pack.c -o build/temp.linux-x86_64-3.8/dulwich/_pack.o
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/dulwich/_pack.o -o /<<PKGBUILDDIR>>/dulwich/_pack.cpython-38-x86_64-linux-gnu.so
> building 'dulwich._diff_tree' extension
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c dulwich/_diff_tree.c -o build/temp.linux-x86_64-3.8/dulwich/_diff_tree.o
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/dulwich/_diff_tree.o -o /<<PKGBUILDDIR>>/dulwich/_diff_tree.cpython-38-x86_64-linux-gnu.so
> /usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'project_urls'
>   warnings.warn(msg)
> PYTHONHASHSEED=random PYTHONPATH=/<<PKGBUILDDIR>> python3 -m unittest  dulwich.tests.test_suite
> ...s...............................................................................s...............................................................................................................................................................s......................................sss......................................................................................................................................................................................................................................................................................................................................................................................................................................................s........................................................................s..........................................................................................................................................s............................................................../<<PKGBUILDDIR>>/dulwich/repo.py:470: UserWarning: ref refs/heads/blah points at non-present sha 1234566789123456789123567891234657373833
>   warnings.warn(
> .............................................................................................................................................................s........../usr/lib/python3.8/contextlib.py:449: ResourceWarning: unclosed <socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 36343)>
>   _exit_wrapper = self._create_cb_wrapper(callback, *args, **kwds)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /usr/lib/python3.8/contextlib.py:449: ResourceWarning: unclosed file <_io.BufferedReader name='local/.git/objects/pack/pack-caa084541a24820af5df13f70cddbc09a3397bad.pack'>
>   _exit_wrapper = self._create_cb_wrapper(callback, *args, **kwds)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> .......................................................E..s...............................................................ss.sss.ss............................................sssssssssssssssssssssssssssssssssssssss
> ======================================================================
> ERROR: test_send_remove_branch (dulwich.tests.compat.test_client.DulwichTCPClientTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/dulwich/protocol.py", line 220, in read_pkt_line
>     pkt_contents = read(size-4)
>   File "/usr/lib/python3.8/socket.py", line 669, in readinto
>     return self._sock.recv_into(b)
> ConnectionResetError: [Errno 104] Connection reset by peer
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/dulwich/tests/compat/test_client.py", line 314, in test_send_remove_branch
>     c.send_pack(
>   File "/<<PKGBUILDDIR>>/dulwich/client.py", line 887, in send_pack
>     ref_status = self._handle_receive_pack_tail(
>   File "/<<PKGBUILDDIR>>/dulwich/client.py", line 627, in _handle_receive_pack_tail
>     self._read_side_band64k_data(proto, channel_callbacks)
>   File "/<<PKGBUILDDIR>>/dulwich/client.py", line 530, in _read_side_band64k_data
>     for pkt in proto.read_pkt_seq():
>   File "/<<PKGBUILDDIR>>/dulwich/protocol.py", line 266, in read_pkt_seq
>     pkt = self.read_pkt_line()
>   File "/<<PKGBUILDDIR>>/dulwich/protocol.py", line 222, in read_pkt_line
>     raise GitProtocolError(e)
> dulwich.errors.GitProtocolError: [Errno 104] Connection reset by peer
> 
> ----------------------------------------------------------------------
> Ran 1380 tests in 67.403s
> 
> FAILED (errors=1, skipped=57)
> make[2]: *** [Makefile:27: check] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/09/26/dulwich_0.20.6-1_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.



More information about the Python-modules-team mailing list