On 11 Aug 2018, at 20:41 , Thibault Vatter <thibault.vatter at gmail.com> wrote:
Yes, the non-portable call to log which causes the current build to fail on
solaris has been corrected in a development version. However, the segfault
that we don't understand and were asked to correct was present in the
previous versions (e.g., 0.2.8.1.0 and 0.2.7.1.0), and we believe that it
is likely to reappear if we resubmit with only the non-portable log call
corrected.
This is why, in order to avoid resubmitting with the segfault still there
and having the package removed from CRAN, we would like to be able to
replicate the solaris build.
On Sat, Aug 11, 2018 at 2:17 PM I?aki ?car <i.ucar86 at gmail.com> wrote:
El s?b., 11 ago. 2018 a las 19:30, Thibault Vatter
(<thibault.vatter at gmail.com>) escribi?:
removed from CRAN unless the errors from the solaris build were
Note that the package compile and the unit tests pass on the other test
platforms from CRAN and even a local R devel build with ASAN / UBSAN
sanitizers. On solaris, the package compiles but a segfault is produced
one unit test for a reason that we still don't understand.
Are you talking about a new development version that is not still on
CRAN? Because the current CRAN version fails to install.
I?aki
https://gist.github.com/tvatter/b2503f03fcd604ff764ffe4b979afcb6
Note that the "--with-readline=no" configure option at the end was added
because I got "configure: error: --with-readline=yes (default) and
headers/libs are not available" without it.
Unfortunately, I then got the "configure: error: a suitable iconv is
essential" and could not proceed to build R.
I know that I should get GNU iconv as specified in the installation
hence the "/opt/csw/bin/pkgutil -y -i libiconv_dev" in the gist above. I
verified that iconv is in /opt/csw/lib as expected and I thought that
adding /opt/csw/lib to R_LD_LIBRARY_PATH as suggested in the manual would
then do the trick, but it does not seem to be the case.
Two questions:
1) What did I miss or do wrong?
2) Anyone found a way to replicate solaris CRAN builds to test packages?
tried to use https://builder.r-hub.io/, but some of my package's
dependencies fail to install because of udunits2 is missing on their
if I recall correctly.
Thibault
[[alternative HTML version deleted]]