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

Bug#975127: wvstreams: FTBFS: ./include/wvscatterhash.h:186:46: error: invalid use of non-static data member ‘WvScatterHashBase::xstatus’



Source: wvstreams
Version: 4.6.1-15
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201119 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> x86_64-linux-gnu-g++ -c -o utils/wvfork.o utils/wvfork.cc -MMD -MF utils/.wvfork.d -MP -MQ utils/wvfork.o -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/tcl8.3 -DDEBUG=0 -I./include -D_BSD_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUNSTABLE -fPIC -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DPIC -fno-tree-dce -fno-optimize-sibling-calls -Wall -Woverloaded-virtual
> In file included from /usr/include/fcntl.h:25,
>                  from utils/wvfork.cc:20:
> /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>   187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
>       |   ^~~~~~~
> In file included from ./include/wvfork.h:18,
>                  from utils/wvfork.cc:22:
> ./include/wvscatterhash.h: In member function ‘unsigned char* WvScatterHash<T, K, Accessor, Comparator>::Iter::getstatus()’:
> ./include/wvscatterhash.h:186:46: error: invalid use of non-static data member ‘WvScatterHashBase::xstatus’
>   186 |         unsigned char *getstatus() { return &xstatus[index-1]; }
>       |                                              ^~~~~~~
> ./include/wvscatterhash.h:90:13: note: declared here
>    90 |     Status *xstatus;
>       |             ^~~~~~~
> utils/wvfork.cc: In function ‘pid_t wvfork_start(int*)’:
> utils/wvfork.cc:105:6: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   105 |  read(waitpipe[0], &buf, 1);
>       |  ~~~~^~~~~~~~~~~~~~~~~~~~~~
> make[1]: *** [wvrules.mk:163: utils/wvfork.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/11/19/wvstreams_4.6.1-15_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: