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

Re: For those who have some spare time r-cran-rwiener does not build



On 13 March 2020 at 18:02, Graham Inggs wrote:
| On 2020/03/13 12:26, Andreas Tille wrote:
| > with the latest update in Git I get
| > 
| > gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-GLgnFl/r-base-3.6.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c dwiener.c -o dwiener.o
| > In file included from /usr/share/R/include/R.h:57,
| >                   from dwiener.c:1:
| > /usr/include/limits.h:124:26: error: no include path in which to search for limits.h
| >    124 | # include_next <limits.h>
| >        |                          ^
| > In file included from /usr/share/R/include/Rinternals.h:40,
| >                   from dwiener.c:2:
| > /usr/include/limits.h:124:26: error: no include path in which to search for limits.h
| >    124 | # include_next <limits.h>
| >        |                          ^
| > In file included from dwiener.c:2:
| > /usr/share/R/include/Rinternals.h:575:28: error: 'INT_MIN' undeclared here (not in a function)
| >    575 |       UNKNOWN_SORTEDNESS = INT_MIN, /*INT_MIN is NA_INTEGER! */
| >        |                            ^~~~~~~
| > 
| > for r-cran-rwiener.  Anybody is invited to fix this.  My time is
| > currently very limited.
| 
|  From topic on #debian-devel today:
| broken: <limits.h> in gcc-9 >= 9.3.0, << 9.3.0-3
| 
| So should be fixed soon once gcc-9 9.3.0-3 is built everywhere.

Nice catch!

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org


Reply to: