[R-pkg-team] Bug#1042179: r-cran-lasso2: FTBFS: lasso.h:46:23: error: unknown type name ‘Sint’; did you mean ‘uint’?

Lucas Nussbaum lucas at debian.org
Wed Jul 26 20:53:48 BST 2023


Source: r-cran-lasso2
Version: 1.2-22-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230726 ftbfs-trixie

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-hJdbdy/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c lasso.c -o lasso.o
> In file included from lasso.c:19:
> lasso.h:46:23: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    46 | void lasso(double *x, Sint *pn, Sint *pm, double *pt,
>       |                       ^~~~
>       |                       uint
> lasso.h:46:33: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    46 | void lasso(double *x, Sint *pn, Sint *pm, double *pt,
>       |                                 ^~~~
>       |                                 uint
> lasso.h:48:32: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    48 |            double *lagrangian, Sint *psuc,  Sint *pverb, Sint *pas_sub);
>       |                                ^~~~
>       |                                uint
> lasso.h:48:45: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    48 |            double *lagrangian, Sint *psuc,  Sint *pverb, Sint *pas_sub);
>       |                                             ^~~~
>       |                                             uint
> lasso.h:48:58: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    48 |            double *lagrangian, Sint *psuc,  Sint *pverb, Sint *pas_sub);
>       |                                                          ^~~~
>       |                                                          uint
> lasso.h:49:28: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    49 | void mult_lasso(double *x, Sint *pn, Sint *pm, double *pt, Sint *pl,
>       |                            ^~~~
>       |                            uint
> lasso.h:49:38: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    49 | void mult_lasso(double *x, Sint *pn, Sint *pm, double *pt, Sint *pl,
>       |                                      ^~~~
>       |                                      uint
> lasso.h:49:60: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    49 | void mult_lasso(double *x, Sint *pn, Sint *pm, double *pt, Sint *pl,
>       |                                                            ^~~~
>       |                                                            uint
> lasso.h:51:37: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    51 |                 double *lagrangian, Sint *psuc, Sint *pverb);
>       |                                     ^~~~
>       |                                     uint
> lasso.h:51:49: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    51 |                 double *lagrangian, Sint *psuc, Sint *pverb);
>       |                                                 ^~~~
>       |                                                 uint
> lasso.h:52:37: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    52 | void rs_lasso(double *x, double *y, Sint *pn, Sint *porder,
>       |                                     ^~~~
>       |                                     uint
> lasso.h:52:47: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    52 | void rs_lasso(double *x, double *y, Sint *pn, Sint *porder,
>       |                                               ^~~~
>       |                                               uint
> lasso.h:54:23: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    54 |            double *r, Sint *psuc, Sint *pverb, Sint *pas_sub);
>       |                       ^~~~
>       |                       uint
> lasso.h:54:35: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    54 |            double *r, Sint *psuc, Sint *pverb, Sint *pas_sub);
>       |                                   ^~~~
>       |                                   uint
> lasso.h:54:48: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    54 |            double *r, Sint *psuc, Sint *pverb, Sint *pas_sub);
>       |                                                ^~~~
>       |                                                uint
> lasso.h:55:36: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    55 | void rs_auto(double *x, double *y, Sint *pn, Sint *porder,
>       |                                    ^~~~
>       |                                    uint
> lasso.h:55:46: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    55 | void rs_auto(double *x, double *y, Sint *pn, Sint *porder,
>       |                                              ^~~~
>       |                                              uint
> lasso.h:57:24: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    57 |            double *r,  Sint *pcrit1, double *pprec,
>       |                        ^~~~
>       |                        uint
> lasso.h:58:12: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    58 |            Sint *psuc, Sint *pverb,
>       |            ^~~~
>       |            uint
> lasso.h:58:24: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    58 |            Sint *psuc, Sint *pverb,
>       |                        ^~~~
>       |                        uint
> lasso.h:59:42: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    59 |            double *tgr, double *tgr_val, Sint *ptgr_len);
>       |                                          ^~~~
>       |                                          uint
> lasso.c:21:25: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    21 | static void lasso_alloc(Sint n, Sint m);
>       |                         ^~~~
>       |                         uint
> lasso.c:21:33: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    21 | static void lasso_alloc(Sint n, Sint m);
>       |                                 ^~~~
>       |                                 uint
> lasso.c:45:23: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    45 | void lasso(double *x, Sint *pn, Sint *pm, double *pt,
>       |                       ^~~~
>       |                       uint
> lasso.c:45:33: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    45 | void lasso(double *x, Sint *pn, Sint *pm, double *pt,
>       |                                 ^~~~
>       |                                 uint
> lasso.c:47:32: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    47 |            double *lagrangian, Sint *psuc, Sint *pverb, Sint *pas_sub)
>       |                                ^~~~
>       |                                uint
> lasso.c:47:44: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    47 |            double *lagrangian, Sint *psuc, Sint *pverb, Sint *pas_sub)
>       |                                            ^~~~
>       |                                            uint
> lasso.c:47:57: error: unknown type name ‘Sint’; did you mean ‘uint’?
>    47 |            double *lagrangian, Sint *psuc, Sint *pverb, Sint *pas_sub)
>       |                                                         ^~~~
>       |                                                         uint
> lasso.c:441:28: error: unknown type name ‘Sint’; did you mean ‘uint’?
>   441 | void mult_lasso(double *x, Sint *pn, Sint *pm, double *pt, Sint *pl,
>       |                            ^~~~
>       |                            uint
> lasso.c:441:38: error: unknown type name ‘Sint’; did you mean ‘uint’?
>   441 | void mult_lasso(double *x, Sint *pn, Sint *pm, double *pt, Sint *pl,
>       |                                      ^~~~
>       |                                      uint
> lasso.c:441:60: error: unknown type name ‘Sint’; did you mean ‘uint’?
>   441 | void mult_lasso(double *x, Sint *pn, Sint *pm, double *pt, Sint *pl,
>       |                                                            ^~~~
>       |                                                            uint
> lasso.c:443:37: error: unknown type name ‘Sint’; did you mean ‘uint’?
>   443 |                 double *lagrangian, Sint *psuc, Sint *pverb)
>       |                                     ^~~~
>       |                                     uint
> lasso.c:443:49: error: unknown type name ‘Sint’; did you mean ‘uint’?
>   443 |                 double *lagrangian, Sint *psuc, Sint *pverb)
>       |                                                 ^~~~
>       |                                                 uint
> lasso.c:485:25: error: unknown type name ‘Sint’; did you mean ‘uint’?
>   485 | static void lasso_alloc(Sint n, Sint m)
>       |                         ^~~~
>       |                         uint
> lasso.c:485:33: error: unknown type name ‘Sint’; did you mean ‘uint’?
>   485 | static void lasso_alloc(Sint n, Sint m)
>       |                                 ^~~~
>       |                                 uint
> make[1]: *** [/usr/lib/R/etc/Makeconf:191: lasso.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/07/26/r-cran-lasso2_1.2-22-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&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 mark 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 R-pkg-team mailing list