Bug#1009438: mapnik: FTBFS: ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.10/collections/__init__.py)

Lucas Nussbaum lucas at debian.org
Tue Apr 12 19:17:44 BST 2022


Source: mapnik
Version: 3.1.0+ds-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220412 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir build-python
> mkdir debian/stamps
> cp -r demo deps fonts include plugins src test utils SConstruct build-python
> touch debian/stamps/configure-python
> python3 /<<PKGBUILDDIR>>/scons/scons.py -C build-python configure \
> 	-j8 OPTIMIZATION=2 FULL_LIB_PATH=False INPUT_PLUGINS=csv,gdal,geojson,ogr,pgraster,postgis,raster,shape,sqlite,topojson PROJ_INCLUDES=/usr/include PROJ_LIBS=/usr/lib SYSTEM_FONTS=/usr/share/fonts XMLPARSER=libxml2 DEMO=False CPP_TESTS=False PREFIX=/usr LIB_DIR_NAME=/mapnik/3.1 CUSTOM_CXXFLAGS="-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -Wdate-time -D_FORTIFY_SOURCE=2 -g0" CUSTOM_CFLAGS="-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -Wdate-time -D_FORTIFY_SOURCE=2 -g0" CUSTOM_LDFLAGS="-Wl,-z,relro -Wl,-z,now -g0" \
> 	CCFLAGS="-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" \
> 	DESTDIR=/<<PKGBUILDDIR>>/debian/tmp
> SCons import failed. Unable to find engine files in:
>   /<<PKGBUILDDIR>>/scons/../engine
>   /<<PKGBUILDDIR>>/scons/scons-local-3.0.1
>   /<<PKGBUILDDIR>>/scons/scons-local
>   /usr/lib/scons-3.0.1
>   /usr/local/lib/scons-3.0.1
>   /usr/lib/python3.1/site-packages/scons-3.0.1
>   /usr/local/lib/python3.1/site-packages/scons-3.0.1
>   /usr/lib/scons-3.0.1
>   /usr/lib/scons
>   /usr/local/lib/scons
>   /usr/lib/python3.1/site-packages/scons
>   /usr/local/lib/python3.1/site-packages/scons
>   /usr/lib/scons
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/scons/scons.py", line 192, in <module>
>     import SCons.Script
>   File "/<<PKGBUILDDIR>>/scons/scons-local-3.0.1/SCons/Script/__init__.py", line 80, in <module>
>     import SCons.Action
>   File "/<<PKGBUILDDIR>>/scons/scons-local-3.0.1/SCons/Action.py", line 113, in <module>
>     import SCons.Errors
>   File "/<<PKGBUILDDIR>>/scons/scons-local-3.0.1/SCons/Errors.py", line 34, in <module>
>     import SCons.Util
>   File "/<<PKGBUILDDIR>>/scons/scons-local-3.0.1/SCons/Util.py", line 49, in <module>
>     from collections import Iterable
> ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
> make[1]: *** [debian/rules:66: debian/stamps/configure-python] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/04/12/mapnik_3.1.0+ds-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&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 Pkg-grass-devel mailing list