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

GenABEL fails to build (Was: Bug#1008356: r-cran-genabel: FTBFS: fexact.c:1025:13: error: ‘PROBLEM’ undeclared (first use in this function))



Control: tags -1 upstream
Control: forwarded -1 yurii@bionet.nsc.ru
Control: tags -1 pending

Hi,

the Debian packaged version of GenABEL received a bug report once we
switched from R 4.1.2 to 4.1.3  The following patch solves this issue:

   https://salsa.debian.org/r-pkg-team/r-cran-genabel/-/blob/master/debian/patches/fix_PROBLEM.patch

Kind regards

     Andreas.

Am Sat, Mar 26, 2022 at 09:47:51PM +0100 schrieb Lucas Nussbaum:
> Source: r-cran-genabel
> Version: 1.8-0-5
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lucas@debian.org
> Usertags: ftbfs-20220326 ftbfs-bookworm
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> 
> Relevant part (hopefully):
> > gcc -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -ffile-prefix-map=/build/r-base-yTleYq/r-base-4.1.3.20220324=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c fexact.c -o fexact.o
> > fexact.c: In function ‘f3xact’:
> > fexact.c:1025:13: error: ‘PROBLEM’ undeclared (first use in this function)
> >  1025 |             PROBLEM "Bug in FEXACT: gave negative key" RECOVER(NULL_ENTRY);
> >       |             ^~~~~~~
> > fexact.c:1025:13: note: each undeclared identifier is reported only once for each function it appears in
> > fexact.c:1025:20: error: expected ‘;’ before string constant
> >  1025 |             PROBLEM "Bug in FEXACT: gave negative key" RECOVER(NULL_ENTRY);
> >       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >       |                    ;
> > fexact.c: In function ‘prterr’:
> > fexact.c:1806:5: error: ‘PROBLEM’ undeclared (first use in this function)
> >  1806 |     PROBLEM "FEXACT error %d.\n%s", icode, mes RECOVER(NULL_ENTRY);
> >       |     ^~~~~~~
> > fexact.c:1806:12: error: expected ‘;’ before string constant
> >  1806 |     PROBLEM "FEXACT error %d.\n%s", icode, mes RECOVER(NULL_ENTRY);
> >       |            ^~~~~~~~~~~~~~~~~~~~~~~
> >       |            ;
> > make[1]: *** [/usr/lib/R/etc/Makeconf:168: fexact.o] Error 1
> 
> 
> The full build log is available from:
> http://qa-logs.debian.net/2022/03/26/r-cran-genabel_1.8-0-5_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!
> 
> 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.
> 
> _______________________________________________
> R-pkg-team mailing list
> R-pkg-team@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/r-pkg-team

-- 
http://fam-tille.de


Reply to: