[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#963285: libfreehand: FTBFS: libfreehand_utils.cpp:166:5: error: expected ‘;’ before ‘unsigned’



Source: libfreehand
Version: 0.1.2-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200620 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> /bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBFREEHAND_BUILD=1 -I../../inc -I/usr/include/librevenge-0.0    -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DUCHAR_TYPE=uint16_t -fvisibility=hidden -DLIBFREEHAND_VISIBILITY -Wall -Wextra -Wshadow -pedantic -c -o libfreehand_utils.lo libfreehand_utils.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBFREEHAND_BUILD=1 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DUCHAR_TYPE=uint16_t -fvisibility=hidden -DLIBFREEHAND_VISIBILITY -Wall -Wextra -Wshadow -pedantic -c libfreehand_utils.cpp  -fPIC -DPIC -o .libs/libfreehand_utils.o
> libfreehand_utils.cpp: In function ‘void libfreehand::_appendUTF16(librevenge::RVNGString&, std::vector<short unsigned int>&)’:
> libfreehand_utils.cpp:166:5: error: expected ‘;’ before ‘unsigned’
>   166 |     unsigned char outbuf[U8_MAX_LENGTH+1];
>       |     ^~~~~~~~
> make[5]: *** [Makefile:583: libfreehand_utils.lo] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/06/20/libfreehand_0.1.2-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


Reply to: