gagolews / stringi

Fast and portable character string processing in R (with the Unicode ICU)
https://stringi.gagolewski.com/
Other
304 stars 44 forks source link

`stringi` fails to build on Travis x64 with `bioc-stable` or `bioc-devel` R versions #365

Closed andzajan closed 4 years ago

andzajan commented 4 years ago

Hi, since the latest version, stringi package is failing to build.

Travis configuration:

language: r
r: bioc-devel
cache: 
  packages: true
sudo: required
warnings_are_errors: false
dist: trusty
after_success:
    - Rscript -e 'covr::codecov()'

And Tavis log file:

* installing *source* package ‘stringi’ ...

** package ‘stringi’ successfully unpacked and MD5 sums checked

** using staged installation

checking for R_HOME... /home/travis/R-bin/lib/R

checking for R... /home/travis/R-bin/lib/R/bin/R

checking for endianness... little

checking for R >= 3.1.0 for C++11 use... yes

checking for R < 3.4.0 for CXX1X flag use... no

checking for cat... /bin/cat

checking for local ICUDT_DIR... icu61/data

checking for gcc... gcc -std=gnu99

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables... 

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc -std=gnu99 accepts -g... yes

checking for gcc -std=gnu99 option to accept ISO C89... none needed

checking how to run the C preprocessor... gcc -std=gnu99 -E

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking elf.h usability... yes

checking elf.h presence... yes

checking for elf.h... yes

checking whether we are using the GNU C++ compiler... yes

checking whether g++ -std=gnu++11 accepts -g... yes

checking whether the C++ compiler supports the long long type... yes

checking whether the compiler implements namespaces... yes

checking whether the compiler supports Standard Template Library... yes

checking whether std::map is available... yes

checking for pkg-config... /usr/bin/pkg-config

checking with pkg-config for the system ICU4C... 52.1

checking for ICU4C >= 52... yes

checking for additional required CPPFLAGS, LDFLAGS, and LIBS... done

checking whether we may build an ICU4C-based project... yes

checking programmatically for sufficient U_ICU_VERSION_MAJOR_NUM... yes

checking programmatically if U_CHARSET_IS_UTF8 is defined and set... no

checking for available ICU data library (ucnv, uloc, utrans)... yes

checking for available ICU data library (ucol)... yes

configure: creating ./config.status

config.status: creating src/Makevars

config.status: creating src/uconfig_local.h

config.status: creating src/install.libs.R

*** stringi configure summary:

    ICU_FOUND=1

    STRINGI_CXXSTD=CXX_STD=CXX11

    STRINGI_CFLAGS=   -fpic

    STRINGI_CPPFLAGS=-I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H

    STRINGI_CXXFLAGS=   -fpic

    STRINGI_LDFLAGS=-L/usr/lib/x86_64-linux-gnu    

    STRINGI_LIBS=-licui18n -licuuc -licudata    

*** compiler settings used:

    CC=gcc -std=gnu99

    LD=g++ -std=gnu++11

    CFLAGS=-g -O2 -fpic  

    CPPFLAGS=-I/home/travis/R-bin/include   -UDEBUG -DNDEBUG

    CXX=g++ -std=gnu++11

    CXXFLAGS=-g -O2 -fpic  

    LDFLAGS=  

    LIBS=  

** libs

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_brkiter.cpp -o stri_brkiter.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_collator.cpp -o stri_collator.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_common.cpp -o stri_common.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_compare.cpp -o stri_compare.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_container_base.cpp -o stri_container_base.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_container_bytesearch.cpp -o stri_container_bytesearch.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_container_listint.cpp -o stri_container_listint.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_container_listraw.cpp -o stri_container_listraw.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_container_listutf8.cpp -o stri_container_listutf8.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_container_regex.cpp -o stri_container_regex.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_container_usearch.cpp -o stri_container_usearch.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_container_utf16.cpp -o stri_container_utf16.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_container_utf8.cpp -o stri_container_utf8.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_container_utf8_indexable.cpp -o stri_container_utf8_indexable.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_encoding_conversion.cpp -o stri_encoding_conversion.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_encoding_detection.cpp -o stri_encoding_detection.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_encoding_management.cpp -o stri_encoding_management.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_escape.cpp -o stri_escape.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_exception.cpp -o stri_exception.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_ICU_settings.cpp -o stri_ICU_settings.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_join.cpp -o stri_join.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_length.cpp -o stri_length.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_pad.cpp -o stri_pad.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_prepare_arg.cpp -o stri_prepare_arg.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_random.cpp -o stri_random.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_reverse.cpp -o stri_reverse.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_class_count.cpp -o stri_search_class_count.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_class_detect.cpp -o stri_search_class_detect.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_class_extract.cpp -o stri_search_class_extract.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_class_locate.cpp -o stri_search_class_locate.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_class_replace.cpp -o stri_search_class_replace.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_class_split.cpp -o stri_search_class_split.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_class_startsendswith.cpp -o stri_search_class_startsendswith.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_class_subset.cpp -o stri_search_class_subset.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_class_trim.cpp -o stri_search_class_trim.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_common.cpp -o stri_search_common.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_coll_count.cpp -o stri_search_coll_count.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_coll_detect.cpp -o stri_search_coll_detect.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_coll_extract.cpp -o stri_search_coll_extract.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_coll_locate.cpp -o stri_search_coll_locate.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_coll_replace.cpp -o stri_search_coll_replace.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_coll_split.cpp -o stri_search_coll_split.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_coll_startsendswith.cpp -o stri_search_coll_startsendswith.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_coll_subset.cpp -o stri_search_coll_subset.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_boundaries_count.cpp -o stri_search_boundaries_count.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_boundaries_extract.cpp -o stri_search_boundaries_extract.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_boundaries_locate.cpp -o stri_search_boundaries_locate.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_boundaries_split.cpp -o stri_search_boundaries_split.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_fixed_count.cpp -o stri_search_fixed_count.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_fixed_detect.cpp -o stri_search_fixed_detect.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_fixed_extract.cpp -o stri_search_fixed_extract.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_fixed_locate.cpp -o stri_search_fixed_locate.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_fixed_replace.cpp -o stri_search_fixed_replace.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_fixed_split.cpp -o stri_search_fixed_split.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_fixed_subset.cpp -o stri_search_fixed_subset.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_fixed_startsendswith.cpp -o stri_search_fixed_startsendswith.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_in.cpp -o stri_search_in.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_other_split.cpp -o stri_search_other_split.o

g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu     -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/home/travis/R-bin/include  -fpic -fpic  -g -O2  -c stri_search_regex_count.cpp -o stri_search_regex_count.o

stri_search_regex_count.cpp: In function ‘SEXPREC* stri_count_regex(SEXP, SEXP, SEXP)’:

stri_search_regex_count.cpp:92:48: error: no matching function for call to ‘icu_52::RegexMatcher::find(UErrorCode&)’

          int m_res = (bool)matcher->find(status);

                                                ^

stri_search_regex_count.cpp:92:48: note: candidates are:

In file included from stri_container_regex.h:37:0,

                 from stri_search_regex_count.cpp:35:

/usr/include/x86_64-linux-gnu/unicode/regex.h:810:19: note: virtual UBool icu_52::RegexMatcher::find()

     virtual UBool find();

                   ^

/usr/include/x86_64-linux-gnu/unicode/regex.h:810:19: note:   candidate expects 0 arguments, 1 provided

/usr/include/x86_64-linux-gnu/unicode/regex.h:822:19: note: virtual UBool icu_52::RegexMatcher::find(int64_t, UErrorCode&)

     virtual UBool find(int64_t start, UErrorCode &status);

                   ^

/usr/include/x86_64-linux-gnu/unicode/regex.h:822:19: note:   candidate expects 2 arguments, 1 provided

make: *** [stri_search_regex_count.o] Error 1

ERROR: compilation failed for package ‘stringi’

* removing ‘/home/travis/R/Library/stringi’

* restoring previous ‘/home/travis/R/Library/stringi’

Error in i.p(...) : 

  (converted from warning) installation of package ‘stringi’ had non-zero exit status

Calls: <Anonymous> ... with_rprofile_user -> with_envvar -> force -> force -> i.p

Execution halted
andzajan commented 4 years ago

I am sorry, this is not stringi related issue. I can compile version 1.4.4 on Debian 10 with R r77648 compiled from source.