Bug#1081861: ftgl: FTBFS: FTVectoriser.cpp:171:25: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
Package: src:ftgl
Version: 2.4.0-3
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.auto'.
libtoolize: copying file '.auto/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'
configure.ac:10: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.ac:10: You should use the 'AC_CONFIG_HEADERS' macro instead.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:745: AM_CONFIG_HEADER is expanded from...
configure.ac:10: the top level
configure.ac:31: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:31: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:31: the top level
configure.ac:41: warning: The macro 'AC_PROG_CC_STDC' is obsolete.
configure.ac:41: You should run autoupdate.
./lib/autoconf/c.m4:1669: AC_PROG_CC_STDC is expanded from...
m4/func.m4:5: FTGL_CPP_FUNC is expanded from...
configure.ac:41: the top level
configure.ac:44: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.ac:44: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.ac:44: the top level
configure.ac:55: warning: The macro 'AC_CHECK_LIBM' is obsolete.
configure.ac:55: You should run autoupdate.
m4/libtool.m4:3890: AC_CHECK_LIBM is expanded from...
configure.ac:55: the top level
configure.ac:62: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:62: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/gl.m4:4: FTGL_CHECK_GL is expanded from...
configure.ac:62: the top level
configure.ac:62: warning: The macro 'AC_LANG_C' is obsolete.
configure.ac:62: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
m4/gl.m4:4: FTGL_CHECK_GL is expanded from...
configure.ac:62: the top level
configure.ac:62: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:62: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
m4/gl.m4:4: FTGL_CHECK_GL is expanded from...
configure.ac:62: the top level
configure.ac:62: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:62: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from...
m4/gl.m4:4: FTGL_CHECK_GL is expanded from...
configure.ac:62: the top level
configure.ac:62: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.ac:62: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
m4/gl.m4:4: FTGL_CHECK_GL is expanded from...
configure.ac:62: the top level
configure.ac:63: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:63: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/glut.m4:4: FTGL_CHECK_GLUT is expanded from...
configure.ac:63: the top level
configure.ac:63: warning: The macro 'AC_LANG_C' is obsolete.
configure.ac:63: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
m4/glut.m4:4: FTGL_CHECK_GLUT is expanded from...
configure.ac:63: the top level
configure.ac:76: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.ac:76: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
m4/compiler.m4:54: BC_COMPILER_AND_LINKER_RECOGNIZES is expanded from...
configure.ac:76: the top level
configure.ac:76: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:76: You should run autoupdate.
./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
m4/compiler.m4:54: BC_COMPILER_AND_LINKER_RECOGNIZES is expanded from...
configure.ac:76: the top level
configure.ac:77: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.ac:77: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
m4/compiler.m4:54: BC_COMPILER_AND_LINKER_RECOGNIZES is expanded from...
configure.ac:77: the top level
configure.ac:77: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:77: You should run autoupdate.
./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
m4/compiler.m4:54: BC_COMPILER_AND_LINKER_RECOGNIZES is expanded from...
configure.ac:77: the top level
configure.ac:31: installing '.auto/compile'
configure.ac:12: installing '.auto/config.guess'
configure.ac:12: installing '.auto/config.sub'
configure.ac:9: installing '.auto/install-sh'
configure.ac:9: installing '.auto/missing'
demo/Makefile.am: installing '.auto/depcomp'
src/Makefile.am:77: warning: source file 'FTGlyph/FTGlyph.cpp' is in a subdirectory,
src/Makefile.am:77: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least one source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However, this
automake: behavior may change in a future Automake major version, with object
automake: files being placed in the same subdirectory as the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
src/Makefile.am:77: warning: source file 'FTGlyph/FTGlyphGlue.cpp' is in a subdirectory,
src/Makefile.am:77: but option 'subdir-objects' is disabled
src/Makefile.am:77: warning: source file 'FTGlyph/FTBitmapGlyph.cpp' is in a subdirectory,
src/Makefile.am:77: but option 'subdir-objects' is disabled
src/Makefile.am:77: warning: source file 'FTGlyph/FTBufferGlyph.cpp' is in a subdirectory,
src/Makefile.am:77: but option 'subdir-objects' is disabled
src/Makefile.am:77: warning: source file 'FTGlyph/FTExtrudeGlyph.cpp' is in a subdirectory,
src/Makefile.am:77: but option 'subdir-objects' is disabled
src/Makefile.am:77: warning: source file 'FTGlyph/FTOutlineGlyph.cpp' is in a subdirectory,
src/Makefile.am:77: but option 'subdir-objects' is disabled
src/Makefile.am:77: warning: source file 'FTGlyph/FTPixmapGlyph.cpp' is in a subdirectory,
src/Makefile.am:77: but option 'subdir-objects' is disabled
src/Makefile.am:77: warning: source file 'FTGlyph/FTPolygonGlyph.cpp' is in a subdirectory,
src/Makefile.am:77: but option 'subdir-objects' is disabled
src/Makefile.am:77: warning: source file 'FTGlyph/FTTextureGlyph.cpp' is in a subdirectory,
src/Makefile.am:77: but option 'subdir-objects' is disabled
src/Makefile.am:77: warning: source file 'FTGlyph/FTTriangleExtractorGlyph.cpp' is in a subdirectory,
src/Makefile.am:77: but option 'subdir-objects' is disabled
src/Makefile.am:99: warning: source file 'FTFont/FTFont.cpp' is in a subdirectory,
src/Makefile.am:99: but option 'subdir-objects' is disabled
src/Makefile.am:99: warning: source file 'FTFont/FTFontGlue.cpp' is in a subdirectory,
src/Makefile.am:99: but option 'subdir-objects' is disabled
src/Makefile.am:99: warning: source file 'FTFont/FTBitmapFont.cpp' is in a subdirectory,
src/Makefile.am:99: but option 'subdir-objects' is disabled
src/Makefile.am:99: warning: source file 'FTFont/FTBufferFont.cpp' is in a subdirectory,
src/Makefile.am:99: but option 'subdir-objects' is disabled
src/Makefile.am:99: warning: source file 'FTFont/FTExtrudeFont.cpp' is in a subdirectory,
src/Makefile.am:99: but option 'subdir-objects' is disabled
src/Makefile.am:99: warning: source file 'FTFont/FTOutlineFont.cpp' is in a subdirectory,
src/Makefile.am:99: but option 'subdir-objects' is disabled
src/Makefile.am:99: warning: source file 'FTFont/FTPixmapFont.cpp' is in a subdirectory,
src/Makefile.am:99: but option 'subdir-objects' is disabled
src/Makefile.am:99: warning: source file 'FTFont/FTPolygonFont.cpp' is in a subdirectory,
src/Makefile.am:99: but option 'subdir-objects' is disabled
src/Makefile.am:99: warning: source file 'FTFont/FTTextureFont.cpp' is in a subdirectory,
src/Makefile.am:99: but option 'subdir-objects' is disabled
src/Makefile.am:99: warning: source file 'FTFont/FTTriangleExtractorFont.cpp' is in a subdirectory,
src/Makefile.am:99: but option 'subdir-objects' is disabled
src/Makefile.am:121: warning: source file 'FTLayout/FTLayout.cpp' is in a subdirectory,
src/Makefile.am:121: but option 'subdir-objects' is disabled
src/Makefile.am:121: warning: source file 'FTLayout/FTLayoutGlue.cpp' is in a subdirectory,
src/Makefile.am:121: but option 'subdir-objects' is disabled
src/Makefile.am:121: warning: source file 'FTLayout/FTSimpleLayout.cpp' is in a subdirectory,
src/Makefile.am:121: but option 'subdir-objects' is disabled
parallel-tests: installing '.auto/test-driver'
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 --libexecdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking
checking for a BSD-compatible install... /usr/bin/install -c
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 build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make supports the include directive... yes (GNU style)
checking for g++... g++
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 g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... none
configure: ECHO was not defined by configure so defining manually
checking how to print strings... printf
checking for gcc... gcc
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
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 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 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/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 ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from 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 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... yes
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... yes
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 __func__... yes
checking for egrep... (cached) /usr/bin/grep -E
checking for stdlib.h... (cached) yes
checking for wcsdup... yes
checking for strndup... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for cos in -lm... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FT2... yes
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for GL/gl.h... yes
checking for OpenGL framework (Darwin-specific)... no
checking for GL library... host=x86_64-pc-linux-gnu
yes
checking for GL/glu.h... yes
checking for GLU version >= 1.2... yes
checking for GLU library... yes
checking for GL/glut.h... yes
checking for GLUT library... yes
checking for a TrueType font on the system...
checking for CPPUNIT... yes
yes
checking if compiler and linker recognize -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline... yes
checking if compiler and linker recognize -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs... yes
checking for doxygen... /usr/bin/doxygen
checking for pdflatex... /usr/bin/pdflatex
checking for kpsewhich... /usr/bin/kpsewhich
checking for dvips... /usr/bin/dvips
checking for convert... /usr/bin/convert
checking for epstopdf... /usr/bin/epstopdf
checking for gsed... (cached) /usr/bin/sed
checking for a4.sty and a4wide.sty... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating ftgl.pc
config.status: creating Makefile
config.status: creating demo/Makefile
config.status: creating docs/Makefile
config.status: creating docs/doxygen.cfg
config.status: creating msvc/Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Done.
FTGL configured with the following settings:
Prefix: /usr
Binaries: /usr/bin
Configuration files: /etc
Data files: /usr/share
CC = gcc
CXX = g++
CFLAGS = -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
CXXFLAGS = -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline
CPPFLAGS = -Wdate-time -D_FORTIFY_SOURCE=2 -I${top_srcdir}/src
LDFLAGS = -Wl,-z,relro -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline
---
./configure complete, type 'make' to begin building
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- GLUT_LIBS="-lglut -lGLU -lGL -lm"
make -j2 "GLUT_LIBS=-lglut -lGLU -lGL -lm"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make all-recursive
make[3]: Entering directory '/<<PKGBUILDDIR>>'
Making all in src
make[4]: Entering directory '/<<PKGBUILDDIR>>/src'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c -o libftgl_la-FTBuffer.lo `test -f 'FTBuffer.cpp' || echo './'`FTBuffer.cpp
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c -o libftgl_la-FTCharmap.lo `test -f 'FTCharmap.cpp' || echo './'`FTCharmap.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTBuffer.cpp -fPIC -DPIC -o .libs/libftgl_la-FTBuffer.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTCharmap.cpp -fPIC -DPIC -o .libs/libftgl_la-FTCharmap.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTBuffer.cpp -o libftgl_la-FTBuffer.o >/dev/null 2>&1
In file included from FTCharmap.h:35,
from FTCharmap.cpp:30:
In destructor 'virtual FTCharToGlyphIndexMap::~FTCharToGlyphIndexMap()',
inlined from 'FTCharmap::FTCharmap(FTFace*)' at FTCharmap.cpp:55:1:
FTCharToGlyphIndexMap.h:77:21: warning: inlining failed in call to 'void FTCharToGlyphIndexMap::clear()': call is unlikely and code size would grow [-Winline]
77 | inline void clear()
| ^~~~~
FTCharToGlyphIndexMap.h:74:18: note: called from here
74 | clear();
| ~~~~~^~
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTCharmap.cpp -o libftgl_la-FTCharmap.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c -o libftgl_la-FTCleanup.lo `test -f 'FTCleanup.cpp' || echo './'`FTCleanup.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTCleanup.cpp -fPIC -DPIC -o .libs/libftgl_la-FTCleanup.o
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c -o libftgl_la-FTContour.lo `test -f 'FTContour.cpp' || echo './'`FTContour.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTContour.cpp -fPIC -DPIC -o .libs/libftgl_la-FTContour.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTCleanup.cpp -o libftgl_la-FTCleanup.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c -o libftgl_la-FTFace.lo `test -f 'FTFace.cpp' || echo './'`FTFace.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTContour.cpp -o libftgl_la-FTContour.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTFace.cpp -fPIC -DPIC -o .libs/libftgl_la-FTFace.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTFace.cpp -o libftgl_la-FTFace.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c -o libftgl_la-FTGL.lo `test -f 'FTGL.cpp' || echo './'`FTGL.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTGL.cpp -fPIC -DPIC -o .libs/libftgl_la-FTGL.o
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c -o libftgl_la-FTGlyphContainer.lo `test -f 'FTGlyphContainer.cpp' || echo './'`FTGlyphContainer.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTGlyphContainer.cpp -fPIC -DPIC -o .libs/libftgl_la-FTGlyphContainer.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTGL.cpp -o libftgl_la-FTGL.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTGlyphContainer.cpp -o libftgl_la-FTGlyphContainer.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c -o libftgl_la-FTLibrary.lo `test -f 'FTLibrary.cpp' || echo './'`FTLibrary.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTLibrary.cpp -fPIC -DPIC -o .libs/libftgl_la-FTLibrary.o
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c -o libftgl_la-FTPoint.lo `test -f 'FTPoint.cpp' || echo './'`FTPoint.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTPoint.cpp -fPIC -DPIC -o .libs/libftgl_la-FTPoint.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTLibrary.cpp -o libftgl_la-FTLibrary.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTPoint.cpp -o libftgl_la-FTPoint.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c -o libftgl_la-FTSize.lo `test -f 'FTSize.cpp' || echo './'`FTSize.cpp
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c -o libftgl_la-FTVectoriser.lo `test -f 'FTVectoriser.cpp' || echo './'`FTVectoriser.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTSize.cpp -fPIC -DPIC -o .libs/libftgl_la-FTSize.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTVectoriser.cpp -fPIC -DPIC -o .libs/libftgl_la-FTVectoriser.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -Winline -c FTSize.cpp -o libftgl_la-FTSize.o >/dev/null 2>&1
FTVectoriser.cpp: In member function 'void FTVectoriser::ProcessContours()':
FTVectoriser.cpp:171:25: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
171 | char* tagList = &outline.tags[startIndex];
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| unsigned char*
FTVectoriser.cpp: In member function 'void FTVectoriser::MakeMesh(FTGL_DOUBLE, int, float)':
FTVectoriser.cpp:277:52: warning: cast between incompatible function types from 'void (*)(GLenum, FTMesh*)' {aka 'void (*)(unsigned int, FTMesh*)'} to 'GLUTesselatorFunction' {aka 'void (*)()'} [-Wcast-function-type]
277 | gluTessCallback(tobj, GLU_TESS_BEGIN_DATA, (GLUTesselatorFunction)ftglBegin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FTVectoriser.cpp:278:52: warning: cast between incompatible function types from 'void (*)(void*, FTMesh*)' to 'GLUTesselatorFunction' {aka 'void (*)()'} [-Wcast-function-type]
278 | gluTessCallback(tobj, GLU_TESS_VERTEX_DATA, (GLUTesselatorFunction)ftglVertex);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FTVectoriser.cpp:279:52: warning: cast between incompatible function types from 'void (*)(FTGL_DOUBLE*, void**, GLfloat*, void**, FTMesh*)' {aka 'void (*)(double*, void**, float*, void**, FTMesh*)'} to 'GLUTesselatorFunction' {aka 'void (*)()'} [-Wcast-function-type]
279 | gluTessCallback(tobj, GLU_TESS_COMBINE_DATA, (GLUTesselatorFunction)ftglCombine);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FTVectoriser.cpp:280:52: warning: cast between incompatible function types from 'void (*)(FTMesh*)' to 'GLUTesselatorFunction' {aka 'void (*)()'} [-Wcast-function-type]
280 | gluTessCallback(tobj, GLU_TESS_END_DATA, (GLUTesselatorFunction)ftglEnd);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FTVectoriser.cpp:281:52: warning: cast between incompatible function types from 'void (*)(GLenum, FTMesh*)' {aka 'void (*)(unsigned int, FTMesh*)'} to 'GLUTesselatorFunction' {aka 'void (*)()'} [-Wcast-function-type]
281 | gluTessCallback(tobj, GLU_TESS_ERROR_DATA, (GLUTesselatorFunction)ftglError);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:779: libftgl_la-FTVectoriser.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:522: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:431: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 "GLUT_LIBS=-lglut -lGLU -lGL -lm" returned exit code 2
make[1]: *** [debian/rules:16: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202409/
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 could not 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.
Reply to: