Skip to content

RSQLite does not install and ends up with catastrophic error #442

Description

@lolow

When trying to install a recent version of RSQLite, I get this error:

> remotes::install_version("RSQLite")
Downloading package from url: https://cloud.r-project.org/src/contrib/RSQLite_2.2.18.tar.gz
Installing package into ‘/work/seme/ad05922/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
* installing *source* package ‘RSQLite’ ...
** package ‘RSQLite’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
icpc -std=gnu++11 -I"/zeus/opt/intel20.1/R/4.0.2/lib64/R/include" -DNDEBUG -I. -Ivendor -Ivendor/extensions -Ivendor/sqlite3 -DRSQLITE_USE_BUNDLED_SQLITE -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_STAT4 -DSQLITE_SOUNDEX -DSQLITE_USE_URI=1 -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -DSQLITE_MAX_LENGTH=2147483647 -DHAVE_USLEEP=1 -I'/work/seme/ad05922/R/x86_64-pc-linux-gnu-library/4.0/plogr/include' -I'/work/seme/ad05922/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I/usr/local/include   -fpic  -g -O2  -c DbColumn.cpp -o DbColumn.o
In file included from vendor/boost/container/stable_vector.hpp(68),
                 from RSQLite.h(14),
                 from pch.h(1),
                 from DbColumn.cpp(1):
vendor/boost/container/vector.hpp(2705): warning #2196: routine is both "inline" and "noinline"
     BOOST_CONTAINER_NOINLINE iterator priv_insert_forward_range_no_capacity
     ^

In file included from vendor/boost/container/stable_vector.hpp(68),
                 from RSQLite.h(14),
                 from pch.h(1),
                 from DbColumn.cpp(1):
vendor/boost/container/vector.hpp(2722): warning #2196: routine is both "inline" and "noinline"
     BOOST_CONTAINER_NOINLINE iterator priv_insert_forward_range_no_capacity
     ^

In file included from vendor/boost/preprocessor/control/while.hpp(323),
                 from vendor/boost/preprocessor/arithmetic/add.hpp(60),
                 from vendor/boost/mpl/aux_/preprocessor/def_params_tail.hpp(66),
                 from vendor/boost/mpl/aux_/na_spec.hpp(28),
                 from vendor/boost/mpl/if.hpp(19),
                 from vendor/boost/ptr_container/detail/default_deleter.hpp(15),
                 from vendor/boost/ptr_container/detail/static_move_ptr.hpp(23),
                 from vendor/boost/ptr_container/detail/reversible_ptr_container.hpp(22),
                 from vendor/boost/ptr_container/ptr_sequence_adapter.hpp(20),
                 from vendor/boost/ptr_container/ptr_vector.hpp(20),
                 from RSQLite.h(15),
                 from pch.h(1),
                 from DbColumn.cpp(1):
vendor/boost/preprocessor/list/fold_left.hpp(341): catastrophic error: cannot open source file "boost/preprocessor/list/detail/edg/fold_left.hpp"
  #    include <boost/preprocessor/list/detail/edg/fold_left.hpp>
                                                                 ^

compilation aborted for DbColumn.cpp (code 4)
make: *** [DbColumn.o] Error 4

Note, the use of the icpc compiler. The version 2.2.5 is working well. The system has boost version 1.73.0 installed.

Thanks for any help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions