[Debian-med-packaging] Bug#1028666: libslow5lib: FTBFS: ModuleNotFoundError: No module named 'pyslow5'

Lucas Nussbaum lucas at debian.org
Sat Jan 14 12:41:08 GMT 2023


Source: libslow5lib
Version: 0.7.0+dfsg-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230113 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/`basename /<<PKGBUILDDIR>>/build/lib.linux-x86_64-*` python3 -m unittest -v python/test.py
> test (unittest.loader._FailedTest.test) ... ERROR
> 
> ======================================================================
> ERROR: test (unittest.loader._FailedTest.test)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/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/2023/01/13/libslow5lib_0.7.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-20230113;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&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 mark 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