r-hub / rhub

R-hub API client
https://r-hub.github.io/rhub/
Other
353 stars 51 forks source link

xml2 does not install on asan container #481

Closed gaborcsardi closed 4 months ago

gaborcsardi commented 3 years ago
* installing *source* package ‘xml2’ ...
** package ‘xml2’ successfully unpacked and MD5 sums checked
** using staged installation
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/usr/include/libxml2
Using PKG_LIBS=-lxml2
** libs
g++ -fsanitize=undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++98 -I"/usr/local/lib/R/include" -DNDEBUG -I../inst/include -I/usr/include/libxml2 -DUCHAR_TYPE=wchar_t  -I/usr/local/include  -fvisibility=hidden -fpic  -g -O2 -Wall -pedantic -mtune=native  -c connection.cpp -o connection.o
In file included from /usr/include/unicode/uenum.h:23,
                 from /usr/include/unicode/ucnv.h:53,
                 from /usr/include/libxml2/libxml/encoding.h:31,
                 from /usr/include/libxml2/libxml/parser.h:810,
                 from /usr/include/libxml2/libxml/globals.h:18,
                 from /usr/include/libxml2/libxml/threads.h:35,
                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
                 from /usr/include/libxml2/libxml/tree.h:1307,
                 from xml2_utils.h:5,
                 from connection.cpp:3:
/usr/include/unicode/localpointer.h:224:34: error: expected ‘,’ or ‘...’ before ‘&&’ token
  224 |     LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) {
      |                                  ^~
/usr/include/unicode/localpointer.h:224:5: error: invalid constructor; you probably meant ‘icu_67::LocalPointer<T> (const icu_67::LocalPointer<T>&)’
  224 |     LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) {
      |     ^~~~~~~~~~~~
/usr/include/unicode/localpointer.h:224:39: error: expected ‘;’ at end of member declaration
  224 |     LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) {
      |                                       ^
      |                                        ;
gaborcsardi commented 4 months ago

This issue is about the previous R-hub system, it does not apply to the new system, so I am closing it now. Please see https://r-hub.github.io/rhub/ for the new system, R-hub v2.