Package: src:sumo Version: 0.25.0+dfsg1-2 User: sanv...@debian.org Usertags: binary-indep Severity: important
Dear maintainer: I tried to build this package with "dpkg-buildpackage -A" (i.e. only architecture-independent packages), and it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --parallel --with autoreconf dh_testdir -i -O--parallel dh_update_autotools_config -i -O--parallel dh_autoreconf -i -O--parallel libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT' configure.ac:37: installing './compile' configure.ac:10: installing './missing' src/Makefile.am: installing './depcomp' debian/rules override_dh_auto_configure make[1]: Entering directory '/<<BUILDDIR>>/sumo-0.25.0+dfsg1' dh_auto_configure -- --prefix=/usr ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr configure: WARNING: unrecognized options: --disable-maintainer-mode checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '924' is supported by ustar format... yes checking whether GID '924' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for ranlib... ranlib checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for XERCES... yes checking for main in -lxerces-c... yes checking xercesc/util/XercesVersion.hpp usability... yes checking xercesc/util/XercesVersion.hpp presence... yes checking for xercesc/util/XercesVersion.hpp... yes checking for main in -lproj... yes checking proj_api.h usability... yes checking proj_api.h presence... yes checking for proj_api.h... yes checking for gdal-config... /usr/bin/gdal-config checking ogr_api.h usability... yes checking ogr_api.h presence... yes checking for ogr_api.h... yes checking for fox-config... /usr/bin/fox-config checking fxver.h usability... yes checking fxver.h presence... yes checking for fxver.h... yes checking for gtest-config... no checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for ANSI C header files... (cached) no checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working volatile... yes checking for error_at_line... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for floor... yes checking for getcwd... yes checking for gettimeofday... yes checking for memset... yes checking for pow... yes checking for select... yes checking for socket... yes checking for sqrt... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating src/Makefile config.status: creating src/activitygen/Makefile config.status: creating src/activitygen/activities/Makefile config.status: creating src/activitygen/city/Makefile config.status: creating src/foreign/Makefile config.status: creating src/foreign/eulerspiral/Makefile config.status: creating src/foreign/mersenne/Makefile config.status: creating src/foreign/nvwa/Makefile config.status: creating src/foreign/polyfonts/Makefile config.status: creating src/foreign/rtree/Makefile config.status: creating src/foreign/tcpip/Makefile config.status: creating src/gui/Makefile config.status: creating src/gui/dialogs/Makefile config.status: creating src/guinetload/Makefile config.status: creating src/guisim/Makefile config.status: creating src/microsim/Makefile config.status: creating src/microsim/actions/Makefile config.status: creating src/microsim/cfmodels/Makefile config.status: creating src/microsim/devices/Makefile config.status: creating src/microsim/lcmodels/Makefile config.status: creating src/microsim/logging/Makefile config.status: creating src/microsim/output/Makefile config.status: creating src/microsim/pedestrians/Makefile config.status: creating src/microsim/traffic_lights/Makefile config.status: creating src/microsim/trigger/Makefile config.status: creating src/marouter/Makefile config.status: creating src/netbuild/Makefile config.status: creating src/netedit/Makefile config.status: creating src/netgen/Makefile config.status: creating src/netimport/Makefile config.status: creating src/netimport/vissim/Makefile config.status: creating src/netimport/vissim/tempstructs/Makefile config.status: creating src/netimport/vissim/typeloader/Makefile config.status: creating src/netload/Makefile config.status: creating src/netwrite/Makefile config.status: creating src/od/Makefile config.status: creating src/polyconvert/Makefile config.status: creating src/router/Makefile config.status: creating src/dfrouter/Makefile config.status: creating src/duarouter/Makefile config.status: creating src/jtrrouter/Makefile config.status: creating src/tools/Makefile config.status: creating src/traci_testclient/Makefile config.status: creating src/traci-server/Makefile config.status: creating src/utils/Makefile config.status: creating src/utils/common/Makefile config.status: creating src/utils/distribution/Makefile config.status: creating src/utils/emissions/Makefile config.status: creating src/utils/foxtools/Makefile config.status: creating src/utils/geom/Makefile config.status: creating src/utils/gui/Makefile config.status: creating src/utils/gui/div/Makefile config.status: creating src/utils/gui/events/Makefile config.status: creating src/utils/gui/globjects/Makefile config.status: creating src/utils/gui/images/Makefile config.status: creating src/utils/gui/settings/Makefile config.status: creating src/utils/gui/tracker/Makefile config.status: creating src/utils/gui/windows/Makefile config.status: creating src/utils/importio/Makefile config.status: creating src/utils/iodevices/Makefile config.status: creating src/utils/options/Makefile config.status: creating src/utils/shapes/Makefile config.status: creating src/utils/traci/Makefile config.status: creating src/utils/vehicle/Makefile config.status: creating src/utils/xml/Makefile config.status: creating unittest/Makefile config.status: creating unittest/src/Makefile config.status: creating unittest/src/microsim/Makefile config.status: creating unittest/src/netbuild/Makefile config.status: creating unittest/src/utils/Makefile config.status: creating unittest/src/utils/common/Makefile config.status: creating unittest/src/utils/foxtools/Makefile config.status: creating unittest/src/utils/geom/Makefile config.status: creating unittest/src/utils/iodevices/Makefile config.status: creating bin/Makefile config.status: creating Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-maintainer-mode Optional features summary ------------------------- Enabled: InternalLanes DoublePrecision Subsecond TRACI PROJ GDAL GUI Disabled: Debug Profiling MemoryChecks UnitTests Python make[1]: Leaving directory '/<<BUILDDIR>>/sumo-0.25.0+dfsg1' debian/rules override_dh_auto_build-indep make[1]: Entering directory '/<<BUILDDIR>>/sumo-0.25.0+dfsg1' /usr/bin/make doxygen make[2]: Entering directory '/<<BUILDDIR>>/sumo-0.25.0+dfsg1' rm -rf docs/doxygen mkdir docs/doxygen doxygen sumo.doxyconf &> doxygen.log make[2]: Leaving directory '/<<BUILDDIR>>/sumo-0.25.0+dfsg1' /usr/bin/make pydoc make[2]: Entering directory '/<<BUILDDIR>>/sumo-0.25.0+dfsg1' rm -rf docs/pydoc mkdir docs/pydoc cd docs/pydoc && \ for i in `find ../../tools/traci ../../tools/sumolib -name "*.py" -not -executable | sed 's,../../tools/,,;s,/,.,g;s,.py,,;s,.__init__,,'`; do \ PYTHONPATH="../../tools" python -c "import $i, pydoc; pydoc.writedoc($i)"; \ done wrote traci.junction.html wrote traci.vehicletype.html wrote traci.gui.html wrote traci.edge.html wrote traci.vehicle.html wrote traci.polygon.html wrote traci.constants.html wrote traci.inductionloop.html wrote traci.person.html wrote traci.simulation.html wrote traci.trafficlights.html wrote traci.multientryexit.html wrote traci.html wrote traci.poi.html wrote traci.route.html wrote traci.areal.html wrote traci.lane.html wrote sumolib.sensors.inductive_loop.html wrote sumolib.sensors.html wrote sumolib.options.html wrote sumolib.shapes.polygon.html wrote sumolib.shapes.html wrote sumolib.shapes.poi.html wrote sumolib.output.inductionloop.html wrote sumolib.output.convert.gpx.html wrote sumolib.output.convert.ns2.html wrote sumolib.output.convert.shawn.html wrote sumolib.output.convert.phem.html wrote sumolib.output.convert.gpsdat.html wrote sumolib.output.convert.html wrote sumolib.output.convert.omnet.html wrote sumolib.output.convert.poi.html wrote sumolib.output.html wrote sumolib.output.dump.html wrote sumolib.net.node.html wrote sumolib.net.edge.html wrote sumolib.net.roundabout.html wrote sumolib.net.connection.html wrote sumolib.net.html wrote sumolib.net.lane.html wrote sumolib.geomhelper.html wrote sumolib.color.html wrote sumolib.miscutils.html wrote sumolib.html wrote sumolib.route.html wrote sumolib.files.selection.html wrote sumolib.files.additional.html wrote sumolib.files.html Traceback (most recent call last): File "<string>", line 1, in <module> File "/<<BUILDDIR>>/sumo-0.25.0+dfsg1/tools/sumolib/visualization/__init__.py", line 20, in <module> import helpers File "/<<BUILDDIR>>/sumo-0.25.0+dfsg1/tools/sumolib/visualization/helpers.py", line 22, in <module> import matplotlib ImportError: No module named matplotlib Traceback (most recent call last): File "<string>", line 1, in <module> File "/<<BUILDDIR>>/sumo-0.25.0+dfsg1/tools/sumolib/visualization/__init__.py", line 20, in <module> import helpers File "/<<BUILDDIR>>/sumo-0.25.0+dfsg1/tools/sumolib/visualization/helpers.py", line 22, in <module> import matplotlib ImportError: No module named matplotlib Makefile:823: recipe for target 'pydoc' failed make[2]: *** [pydoc] Error 1 make[2]: Leaving directory '/<<BUILDDIR>>/sumo-0.25.0+dfsg1' debian/rules:25: recipe for target 'override_dh_auto_build-indep' failed make[1]: *** [override_dh_auto_build-indep] Error 2 make[1]: Leaving directory '/<<BUILDDIR>>/sumo-0.25.0+dfsg1' debian/rules:4: recipe for target 'build-indep' failed make: *** [build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 -------------------------------------------------------------------------------- This happens in a random fashion: sometimes it fails, sometimes it does not. By comparing the build logs, I see that things are built in a different order each time, probably because of the parallel setting in debian/rules. So, my theory is that this package is not actually ready to be built in parallel. The following trivial patch disables parallel building. I have not tested it but I have the strong feeling that this should fix this issue. Thanks. --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,7 @@ #!/usr/bin/make -f %: - dh $@ --parallel --with autoreconf + dh $@ --with autoreconf no_hardening_all_archs = mips mipsel