Re: Arm64 fails to build r-cran-rcpptoml
On 24 January 2023 at 11:40, Andreas Tille wrote:
| Hi Dirk,
|
| when I realised that the arm64 build for r-cran-rcpptoml failed on arm64
| I tried to rather include the Debian packaged libtomlplusplus-dev and
| excluded the code copy you are providing. Unfortunately this ends up in
| the identic build error for arm64[1]:
Of course. Same code. It'll likely fail in more places as e.g. at CRAN it
also fails on 'Windows old-release' which still contains the jurassic i386
side of things. And it of course also fails on arm:
https://www.r-project.org/nosvn/R.check/r-release-macos-x86_64/RcppTOML-00install.html
I'll talk to upstream toml++ about it.
(Done. Refreshed this issue https://github.com/marzer/tomlplusplus/issues/178
and as upstream and I got friendly after he release also send him a DM
nudge. Moderately hopeful this will get sorted out.)
Dirk
PS If I ever don't reply email me with CCing debian-r as procmail puts
debian-r email in a folder I don't frequent as often as others.
| g++ -std=gnu++17 -I"/usr/share/R/include" -DNDEBUG -I../inst/include -I'/usr/lib/R/site-library/Rcpp/include' -fpic -g -O2 -ffile-prefix-map=/build/r-base-85GD2O/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c parse.cpp -o parse.o
| In file included from /usr/include/toml++/toml.h:39,
| from parse.cpp:22:
| /usr/include/toml++/impl/forward_declarations.h:630:29: error: ‘_Float16’ was not declared in this scope; did you mean ‘_Float64’?
| 630 | struct float_traits<_Float16> : float_traits_base<_Float16, __FLT16_MANT_DIG__, __FLT16_DIG__>
| | ^~~~~~~~
| | _Float64
| /usr/include/toml++/impl/forward_declarations.h:630:37: error: template argument 1 is invalid
| 630 | struct float_traits<_Float16> : float_traits_base<_Float16, __FLT16_MANT_DIG__, __FLT16_DIG__>
| | ^
| /usr/include/toml++/impl/forward_declarations.h:630:59: error: ‘_Float16’ was not declared in this scope; did you mean ‘_Float64’?
| 630 | struct float_traits<_Float16> : float_traits_base<_Float16, __FLT16_MANT_DIG__, __FLT16_DIG__>
| | ^~~~~~~~
| | _Float64
| /usr/include/toml++/impl/forward_declarations.h:630:102: error: template argument 1 is invalid
| 630 | struct float_traits<_Float16> : float_traits_base<_Float16, __FLT16_MANT_DIG__, __FLT16_DIG__>
| | ^
| /usr/include/toml++/impl/forward_declarations.h:651:29: error: ‘_Float16’ was not declared in this scope; did you mean ‘_Float64’?
| 651 | struct value_traits<_Float16> : float_traits<_Float16>
| | ^~~~~~~~
| | _Float64
| ...
|
| Kind regards
| Andreas.
|
| [1] https://buildd.debian.org/status/fetch.php?pkg=r-cran-rcpptoml&arch=arm64&ver=0.2.0%2Bdfsg-1&stamp=1674418861&raw=0
|
| --
| http://fam-tille.de
--
dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org
Reply to: