Bug#1017249: rheolef: FTBFS: ../../include/rheolef/communicator.h:112:25: error: expected initializer before ‘size’

Lucas Nussbaum lucas at debian.org
Sun Aug 14 09:05:04 BST 2022


Source: rheolef
Version: 7.2-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220813 ftbfs-bookworm

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../../config  -fno-strict-aliasing -I../../include -I/usr/include/suitesparse -I/usr/include/suitesparse          -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/eigen3  -g  -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++17 -fpermissive -Wno-unused -Wno-strict-aliasing -Wno-deprecated-declarations -Wno-narrowing -O3  -c -o dis_cpu_time.lo dis_cpu_time.cc
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../config -fno-strict-aliasing -I../../include -I/usr/include/suitesparse -I/usr/include/suitesparse -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/eigen3 -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++17 -fpermissive -Wno-unused -Wno-strict-aliasing -Wno-deprecated-declarations -Wno-narrowing -O3 -c dis_cpu_time.cc  -fPIC -DPIC -o .libs/dis_cpu_time.o
> In file included from ../../include/rheolef/dis_cpu_time.h:83,
>                  from dis_cpu_time.cc:21:
> ../../include/rheolef/communicator.h:112:25: error: expected initializer before ‘size’
>   112 | inline int communicator size() const { return 1; }
>       |                         ^~~~
> ../../include/rheolef/communicator.h:113:25: error: expected initializer before ‘rank’
>   113 | inline int communicator rank() const { return 0; }
>       |                         ^~~~
> make[4]: *** [Makefile:788: dis_cpu_time.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/08/13/rheolef_7.2-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the debian-science-maintainers mailing list