[Debian-med-packaging] Bug#1020023: libslow5lib: FTBFS: ModuleNotFoundError: No module named 'pyslow5'
Lucas Nussbaum
lucas at debian.org
Sun Sep 18 07:01:28 BST 2022
Source: libslow5lib
Version: 0.6.0+dfsg-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/test'
> mkdir bin
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -Werror -std=gnu99 -DSLOW5_USE_ZSTD -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include/ -I ../src/ endian_test.c -o bin/endian_test -Wl,-z,relro -Wl,-z,now ../lib/libslow5.a -lm -lz -lstreamvbyte -lzstd
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -Werror -std=gnu99 -DSLOW5_USE_ZSTD -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include/ -I ../src/ unit_test_helpers.c -o bin/unit_test_helpers -Wl,-z,relro -Wl,-z,now ../lib/libslow5.a -lm -lz -lstreamvbyte -lzstd
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -Werror -std=gnu99 -DSLOW5_USE_ZSTD -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include/ -I ../src/ unit_test_press.c -o bin/unit_test_press -Wl,-z,relro -Wl,-z,now ../lib/libslow5.a -lm -lz -lstreamvbyte -lzstd
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -Werror -std=gnu99 -DSLOW5_USE_ZSTD -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include/ -I ../src/ unit_test_ascii.c -o bin/unit_test_ascii -Wl,-z,relro -Wl,-z,now ../lib/libslow5.a -lm -lz -lstreamvbyte -lzstd
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -Werror -std=gnu99 -DSLOW5_USE_ZSTD -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include/ -I ../src/ unit_test_binary.c -o bin/unit_test_binary -Wl,-z,relro -Wl,-z,now ../lib/libslow5.a -lm -lz -lstreamvbyte -lzstd
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -Werror -std=gnu99 -DSLOW5_USE_ZSTD -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include/ -I ../src/ convert_slow5_test.c -o bin/convert_slow5_test -Wl,-z,relro -Wl,-z,now ../lib/libslow5.a -lm -lz -lstreamvbyte -lzstd
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -Werror -std=gnu99 -DSLOW5_USE_ZSTD -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include/ -I ../src/ unit_test_two_rg.c -o bin/unit_test_two_rg -Wl,-z,relro -Wl,-z,now ../lib/libslow5.a -lm -lz -lstreamvbyte -lzstd
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -Werror -std=gnu99 -DSLOW5_USE_ZSTD -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include/ -I ../src/ unit_test_lossless.c -o bin/unit_test_lossless -Wl,-z,relro -Wl,-z,now ../lib/libslow5.a -lm -lz -lstreamvbyte -lzstd
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -Werror -std=gnu99 -DSLOW5_USE_ZSTD -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include/ -I ../src/ unit_test_empty.c -o bin/unit_test_empty -Wl,-z,relro -Wl,-z,now ../lib/libslow5.a -lm -lz -lstreamvbyte -lzstd
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -Werror -std=gnu99 -DSLOW5_USE_ZSTD -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include/ -I ../src/ unit_test_enum.c -o bin/unit_test_enum -Wl,-z,relro -Wl,-z,now ../lib/libslow5.a -lm -lz -lstreamvbyte -lzstd
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/test'
> PYTHONPATH=/<<PKGBUILDDIR>>/build/lib.linux-x86_64-3.10 python3 -m unittest -v python/test.py
> test (unittest.loader._FailedTest) ... ERROR
>
> ======================================================================
> ERROR: test (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test
> Traceback (most recent call last):
> File "/usr/lib/python3.10/unittest/loader.py", line 154, in loadTestsFromName
> module = __import__(module_name)
> File "/<<PKGBUILDDIR>>/python/test.py", line 2, in <module>
> import pyslow5 as slow5
> ModuleNotFoundError: No module named 'pyslow5'
>
>
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
>
> FAILED (errors=1)
> make[1]: *** [debian/rules:33: override_dh_auto_test] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/09/17/libslow5lib_0.6.0+dfsg-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Debian-med-packaging
mailing list