Source: aggdraw Version: 1.3.18-1 Severity: serious Tags: ftbfs Justification: FTBFS
Dear maintainer, During a test rebuild, aggdraw failed to rebuild. ------------------------------------------------------------------------------- [...] creating build/temp.linux-aarch64-cpython-312/agg2/src aarch64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DVERSION=1.3.18 -DHAVE_FREETYPE2 -Iagg2/include -Iagg2/font_freetype -I/usr/include -I/usr/include/freetype -I/usr/include/freetype2 -I/usr/include/python3.12 -c agg2/font_freetype/agg_font_freetype.cpp -o build/temp.linux-aarch64-cpython-312/agg2/font_freetype/agg_font_freetype.o agg2/font_freetype/agg_font_freetype.cpp: In member function ‘void agg::font_engine_freetype_base::update_signature()’: agg2/font_freetype/agg_font_freetype.cpp:766:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 10 has type ‘FT_Fixed’ {aka ‘long int’} [-Wformat=] 766 | "%s,%u,%d,%d,%d:%dx%d,%d,%d,%d,%d,%d,%d,%08X", | ~^ | | | int | %ld ...... 774 | m_matrix.xx, | ~~~~~~~~~~~ | | | FT_Fixed {aka long int} agg2/font_freetype/agg_font_freetype.cpp:766:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 11 has type ‘FT_Fixed’ {aka ‘long int’} [-Wformat=] 766 | "%s,%u,%d,%d,%d:%dx%d,%d,%d,%d,%d,%d,%d,%08X", | ~^ | | | int | %ld ...... 775 | m_matrix.xy, | ~~~~~~~~~~~ | | | FT_Fixed {aka long int} agg2/font_freetype/agg_font_freetype.cpp:766:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 12 has type ‘FT_Fixed’ {aka ‘long int’} [-Wformat=] 766 | "%s,%u,%d,%d,%d:%dx%d,%d,%d,%d,%d,%d,%d,%08X", | ~^ | | | int | %ld ...... 776 | m_matrix.yx, | ~~~~~~~~~~~ | | | FT_Fixed {aka long int} agg2/font_freetype/agg_font_freetype.cpp:766:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 13 has type ‘FT_Fixed’ {aka ‘long int’} [-Wformat=] 766 | "%s,%u,%d,%d,%d:%dx%d,%d,%d,%d,%d,%d,%d,%08X", | ~^ | | | int | %ld ...... 777 | m_matrix.yy, | ~~~~~~~~~~~ | | | FT_Fixed {aka long int} agg2/font_freetype/agg_font_freetype.cpp: In instantiation of ‘bool agg::decompose_ft_outline(const FT_Outline&, bool, PathStorage&, ConvCoord) [with PathStorage = path_storage_integer<int, 6>; ConvCoord = int (*)(int); FT_Outline = FT_Outline_]’: agg2/font_freetype/agg_font_freetype.cpp:883:48: required from here 883 | if(decompose_ft_outline(m_cur_face->glyph->outline, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 884 | flip, | ~~~~~ 885 | m_path32, | ~~~~~~~~~ 886 | conv_coord_none)) | ~~~~~~~~~~~~~~~~ agg2/font_freetype/agg_font_freetype.cpp:174:35: error: invalid conversion from ‘unsigned char*’ to ‘char*’ [-fpermissive] 174 | tags = outline.tags + first; | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned char* agg2/font_freetype/agg_font_freetype.cpp: In instantiation of ‘bool agg::decompose_ft_outline(const FT_Outline&, bool, PathStorage&, ConvCoord) [with PathStorage = path_storage_integer<short int, 6>; ConvCoord = int (*)(int); FT_Outline = FT_Outline_]’: agg2/font_freetype/agg_font_freetype.cpp:903:48: required from here 903 | if(decompose_ft_outline(m_cur_face->glyph->outline, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 904 | flip, | ~~~~~ 905 | m_path16, | ~~~~~~~~~ 906 | conv_coord_none)) | ~~~~~~~~~~~~~~~~ agg2/font_freetype/agg_font_freetype.cpp:174:35: error: invalid conversion from ‘unsigned char*’ to ‘char*’ [-fpermissive] 174 | tags = outline.tags + first; | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned char* error: command '/usr/bin/aarch64-linux-gnu-g++' failed with exit code 1 ERROR Backend subprocess exited when trying to invoke build_wheel E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_aggdraw dh_auto_build: error: pybuild --build -i python{version} -p 3.12 returned exit code 13 make: *** [debian/rules:15: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-09-07T14:01:09Z ------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here (for the next 30 days): https://debusine.debian.net/artifact/609752/ About the archive rebuild: The build was made on debusine.debian.net, on arm64 using sbuild. You can find the build task here: https://debusine.debian.net/work-request/20306/ If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks, Stefano