Bug#1143648: dvisvgm: FTBFS: clipper.cpp:1973:12: error: ambiguous overload for 'operator!=' (operand types are 'ClipperLib::ZType' and 'int')
Santiago Vila <[email protected]> Wed, 05 Aug 2026 11:23:32 +0000
| Newsgroups | gmane.linux.debian.devel.bugs.rc |
|---|---|
| Message-ID | <[email protected]> |
Package: src:dvisvgm
Version: 3.6+ds-2
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202608/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:dvisvgm, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: no obvious need to run autopoint
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: configure.ac: no need to run autopoint (confirmed)
autoreconf: running: aclocal --force -I m4
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:24: installing './ar-lib'
configure.ac:21: installing './compile'
configure.ac:12: installing './config.guess'
configure.ac:12: installing './config.sub'
configure.ac:13: installing './install-sh'
configure.ac:13: installing './missing'
doc/Makefile.am:34: warning: addprefix --stringparam , $(DB_VARS: non-POSIX variable name
doc/Makefile.am:34: (probably a GNU make extension)
doc/Makefile.am:39: warning: basename $(TWEAK_DBLATEX_TEX: non-POSIX variable name
doc/Makefile.am:39: (probably a GNU make extension)
doc/Makefile.am:41: warning: basename $<: non-POSIX variable name
doc/Makefile.am:41: (probably a GNU make extension)
doc/Makefile.am:58: warning: basename $<: non-POSIX variable name
doc/Makefile.am:58: (probably a GNU make extension)
libs/brotli/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: configure.ac: not running make: --make not given
autoreconf: Leaving directory '.'
dh_auto_configure
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/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 xargs -n works... yes
checking whether UID '995' is supported by ustar format... yes
checking whether GID '995' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... x86_64-linux-gnu-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 the compiler supports GNU C... yes
checking whether x86_64-linux-gnu-gcc accepts -g... yes
checking for x86_64-linux-gnu-gcc option to enable C23 features... none needed
checking whether x86_64-linux-gnu-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of x86_64-linux-gnu-gcc... none
checking whether the compiler supports GNU C++... yes
checking whether x86_64-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-linux-gnu-g++... none
checking whether x86_64-linux-gnu-g++ supports C++11 features by default... yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by x86_64-linux-gnu-gcc... /usr/bin/x86_64-linux-gnu-ld
checking if the linker (/usr/bin/x86_64-linux-gnu-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 whether ln -s works... yes
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/x86_64-linux-gnu-ld option to reload object files... -r
checking for file... file
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 ranlib... ranlib
checking for archiver @FILE support... @
checking for strip... strip
checking command to parse /usr/bin/nm -B output from x86_64-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for libintl.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-linux-gnu-gcc static flag -static works... yes
checking if x86_64-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-linux-gnu-gcc linker (/usr/bin/x86_64-linux-gnu-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... x86_64-linux-gnu-g++ -E
checking for ld used by x86_64-linux-gnu-g++... /usr/bin/x86_64-linux-gnu-ld -m elf_x86_64
checking if the linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-linux-gnu-g++ linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-linux-gnu-g++ static flag -static works... yes
checking if x86_64-linux-gnu-g++ supports -c -o file.o... yes
checking if x86_64-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-linux-gnu-g++ linker (/usr/bin/x86_64-linux-gnu-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 whether C compiler accepts -Wmismatched-tags -Wno-mismatched-tags... yes
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking for xlocale.h... no
checking whether termios.h defines TIOCGWINSZ... no
checking whether sys/ioctl.h defines TIOCGWINSZ... yes
checking for kpathsea/kpathsea.h... yes
checking for kpse_find_file in -lkpathsea... yes
checking kpathsea version... "6.4.2"
checking for ghostscript/iapi.h... yes
checking for gsapi_revision in -lgs... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for freetype2... yes
checking for potracelib.h... yes
checking for library containing potrace_trace... -lpotrace
checking for xxhash.h... yes
checking for library containing XXH32... -lxxhash
checking for libbrotlienc... yes
checking for libwoff2enc... yes
checking for gzopen in -lz... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for _Bool... yes
checking for stdbool.h that conforms to C99 or later... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for ftime... yes
checking for gettimeofday... yes
checking for sigaction... yes
checking for umask... yes
checking for uselocale... yes
checking for __builtin_clz... yes
checking if the kpathsea headers are C++ safe... yes
checking for asciidoc... yes
checking for xmlto... yes
checking for xsltproc... yes
checking whether to build with code coverage support... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libs/Makefile
config.status: creating libs/boost/Makefile
config.status: creating libs/brotli/Makefile
config.status: creating libs/clipper/Makefile
config.status: creating libs/md5/Makefile
config.status: creating libs/potrace/Makefile
config.status: creating libs/variant/Makefile
config.status: creating libs/woff2/Makefile
config.status: creating libs/xxHash/Makefile
config.status: creating src/Makefile
config.status: creating src/version.hpp
config.status: creating src/fonts/Makefile
config.status: creating src/optimizer/Makefile
config.status: creating src/ttf/Makefile
config.status: creating tests/Makefile
config.status: creating tests/data/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
dh_auto_build
make -j2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make all-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making all in libs
make[3]: Entering directory '/<<PKGBUILDDIR>>/libs'
Making all in boost
make[4]: Entering directory '/<<PKGBUILDDIR>>/libs/boost'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/libs/boost'
Making all in clipper
make[4]: Entering directory '/<<PKGBUILDDIR>>/libs/clipper'
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-mismatched-tags -c -o clipper.o clipper.cpp
clipper.cpp: In member function ‘void ClipperLib::Clipper::SetZ(ClipperLib::IntPoint&, ClipperLib::TEdge&, ClipperLib::TEdge&)’:
clipper.cpp:1973:12: error: ambiguous overload for ‘operator!=’ (operand types are ‘ClipperLib::ZType’ and ‘int’)
1973 | if (pt.Z != 0 || !m_ZFill) return;
| ~~~~ ^~ ~
| | |
| | int
| ClipperLib::ZType
• there are 2 candidates
clipper.cpp:1973:12:
1973 | if (pt.Z != 0 || !m_ZFill) return;
| ~~~~~^~~~
In file included from clipper.cpp:41:
• candidate 1: ‘bool ClipperLib::ZType::operator==(const ClipperLib::ZType&) const’ (rewritten)
clipper.hpp:96:14:
96 | bool operator == (const ZType &p) const {return minLabel() == p.minLabel() && maxLabel() == p.maxLabel();}
| ^~~~~~~~
• candidate 2: ‘operator!=(uint64_t {aka long unsigned int}, int)’ (built-in)
clipper.cpp:1973:12:
1973 | if (pt.Z != 0 || !m_ZFill) return;
| ~~~~~^~~~
make[4]: *** [Makefile:434: clipper.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/libs/clipper'
make[3]: *** [Makefile:402: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libs'
make[2]: *** [Makefile:477: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:408: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:18: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------