Re: For those who have some spare time r-cran-rwiener does not build
On 13 March 2020 at 11: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>
| | ^
^^^^^^^^^^^^^^
That is a tell, but I do not remember right now what from. An include
directory is omitted, so maybe the Build-Depends is too narrow? OTOH it lists
what we normally list.
Strangely, the, the package is
- really *very* vanilla (just some C files)
- builds and installs just fine locally
- builds and installs just fine in the 'r-base' Docker container
- has no CRAN build issues across their 13 test plaforms:
https://cloud.r-project.org/web/packages/RWiener/index.html
Dirk
| 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.
|
| Kind regards
|
| Andreas.
|
|
| --
| http://fam-tille.de
|
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org
Reply to: