FTBFS texlive with GCC16
Josef Melcr <[email protected]> Mon, 13 Apr 2026 16:33:50 +0200
| Newsgroups | gmane.comp.tex.live |
|---|---|
| Message-ID | <[email protected]> |
Hi,
texlive doesn't build with GCC 16 on openSUSE Tumbleweed:
```
[ 425s]
../../../../../../texk/dvisvgm/dvisvgm-src/libs/clipper/clipper.cpp: In
member function ‘void ClipperLib::Clipper::SetZ(ClipperLib::IntPoint&,
ClipperLib::TEdge&, ClipperLib::TEdge&)’: [ 425s]
../../../../../../texk/dvisvgm/dvisvgm-src/libs/clipper/clipper.cpp:1973:12:
error: ambiguous overload for ‘operator!=’ (operand types are
‘ClipperLib::ZType’ and ‘int’) [ 425s] 1973 | if (pt.Z != 0 || !m_ZFill)
return; [ 425s] | ~~~~ ^~ ~ [ 425s] | | | [ 425s] | | int [ 425s] |
ClipperLib::ZType [ 425s] • there are 2 candidates [ 425s]
../../../../../../texk/dvisvgm/dvisvgm-src/libs/clipper/clipper.cpp:1973:12:
[ 425s] 1973 | if (pt.Z != 0 || !m_ZFill) return; [ 425s] | ~~~~~^~~~ [
425s] In file included from
../../../../../../texk/dvisvgm/dvisvgm-src/libs/clipper/clipper.cpp:41:
[ 425s] • candidate 1: ‘bool ClipperLib::ZType::operator==(const
ClipperLib::ZType&) const’ (rewritten) [ 425s]
../../../../../../texk/dvisvgm/dvisvgm-src/libs/clipper/clipper.hpp:96:14:
[ 425s] 96 | bool operator == (const ZType &p) const {return minLabel()
== p.minLabel() && maxLabel() == p.maxLabel();} [ 425s] | ^~~~~~~~ [
425s] • candidate 2: ‘operator!=(uint64_t {aka long unsigned int}, int)’
(built-in) [ 425s]
../../../../../../texk/dvisvgm/dvisvgm-src/libs/clipper/clipper.cpp:1973:12:
[ 425s] 1973 | if (pt.Z != 0 || !m_ZFill) return; [ 425s] | ~~~~~^~~~ [
425s] make[7]: *** [Makefile:432: clipper.o] Error 1 ```
This is probably the result of a missing include somewhere. GCC 16 is
pre-release. If you don't want to deal with it yourself, I can test your
patches for you.
Originally raised in openSUSE bugzilla:
https://bugzilla.suse.com/show_bug.cgi?id=1262013
You can find the failing build and the full build log here:
https://build.opensuse.org/package/show/home:rguenther:plgrnd/texlive
Best regards,
Josef