* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘winch’ ...
** package ‘winch’ successfully unpacked and MD5 sums checked
** using staged installation
No cflags and libs found!
------------------------- ANTICONF ERROR ---------------------------
libunwind was not found. Try installing:
 * deb: libunwind-dev (Debian, Ubuntu, etc)
 * rpm: libunwind-devel (Fedora, EPEL)
 * from source: https://github.com/libunwind/libunwind
If libunwind is already installed, check that either:
'pkg-config' is in your PATH AND PKG_CONFIG_PATH contains
a libunwind.pc file.
If it cannot detect , you can set INCLUDE_DIR
and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
--------------------------------------------------------------------
Proceeding without libunwind.
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src'
mkdir -p build/libbacktrace && cd build/libbacktrace && CC="clang-19" AR="ar" RANLIB="ranlib" ../../vendor/libbacktrace/configure --disable-host-shared --prefix=${PWD}/../../local
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for gcc... clang-19
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 clang-19 accepts -g... yes
checking for clang-19 option to accept ISO C89... none needed
checking whether clang-19 understands -c and -o together... yes
checking how to run the C preprocessor... clang-19 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src/vendor/libbacktrace/missing: Unknown `--is-lightweight' option
Try `/home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src/vendor/libbacktrace/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) clang-19
checking whether we are using the GNU C compiler... (cached) yes
checking whether clang-19 accepts -g... (cached) yes
checking for clang-19 option to accept ISO C89... (cached) none needed
checking whether clang-19 understands -c and -o together... (cached) yes
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking for dwz... dwz
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang-19... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 4718592
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from clang-19 object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang-19 supports -fno-rtti -fno-exceptions... yes
checking for clang-19 option to produce PIC... -fPIC -DPIC
checking if clang-19 PIC flag -fPIC -DPIC works... yes
checking if clang-19 static flag -static works... yes
checking if clang-19 supports -c -o file.o... yes
checking if clang-19 supports -c -o file.o... (cached) yes
checking whether the clang-19 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking unwind.h usability... yes
checking unwind.h presence... yes
checking for unwind.h... yes
checking for _Unwind_Backtrace... yes
checking for -funwind-tables option... yes
checking for -frandom-seed=string option... yes
checking whether clang-19 supports -Wall... yes
checking for _Unwind_GetIPInfo... yes
checking __sync extensions... yes
checking __atomic extensions... yes
checking output filetype... elf64
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking link.h usability... yes
checking link.h presence... yes
checking for link.h... yes
checking for dl_iterate_phdr... yes
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking sys/ldr.h usability... no
checking sys/ldr.h presence... no
checking for sys/ldr.h... no
checking for fcntl... yes
checking whether strnlen is declared... yes
checking whether getpagesize is declared... yes
checking for lstat... yes
checking for readlink... yes
checking for getexecname... no
checking for KERN_PROC... no
checking for KERN_PROG_ARGS... no
checking for clock_gettime... yes
checking whether -pthread is supported... yes
checking whether -gdwarf-5 is supported... yes
checking for compress in -lz... yes
checking whether --compress-debug-sections is supported... yes
checking for objcopy... objcopy
checking for readelf... readelf
checking whether objcopy supports debuglink... objcopy: /bin/ls: debuglink section already exists
yes
checking for dsymutil... no
checking whether tests can run... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating backtrace-supported.h
config.status: creating install-debuginfo-for-buildid.sh
config.status: creating config.h
config.status: executing libtool commands
config.status: executing default commands
cd build/libbacktrace && make install
make[2]: Entering directory '/home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src/build/libbacktrace'
/bin/bash ./libtool  --tag=CC   --mode=compile clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace   -I/usr/local/include -funwind-tables -frandom-seed=atomic.lo -Wall -fPIC -g -O3 -Wall -pedantic  -c -o atomic.lo ../../vendor/libbacktrace/atomic.c
libtool: compile:  clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace -I/usr/local/include -funwind-tables -frandom-seed=atomic.lo -Wall -fPIC -g -O3 -Wall -pedantic -c ../../vendor/libbacktrace/atomic.c -o atomic.o
/bin/bash ./libtool  --tag=CC   --mode=compile clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace   -I/usr/local/include -funwind-tables -frandom-seed=dwarf.lo -Wall -fPIC -g -O3 -Wall -pedantic  -c -o dwarf.lo ../../vendor/libbacktrace/dwarf.c
libtool: compile:  clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace -I/usr/local/include -funwind-tables -frandom-seed=dwarf.lo -Wall -fPIC -g -O3 -Wall -pedantic -c ../../vendor/libbacktrace/dwarf.c -o dwarf.o
/bin/bash ./libtool  --tag=CC   --mode=compile clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace   -I/usr/local/include -funwind-tables -frandom-seed=fileline.lo -Wall -fPIC -g -O3 -Wall -pedantic  -c -o fileline.lo ../../vendor/libbacktrace/fileline.c
libtool: compile:  clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace -I/usr/local/include -funwind-tables -frandom-seed=fileline.lo -Wall -fPIC -g -O3 -Wall -pedantic -c ../../vendor/libbacktrace/fileline.c -o fileline.o
/bin/bash ./libtool  --tag=CC   --mode=compile clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace   -I/usr/local/include -funwind-tables -frandom-seed=posix.lo -Wall -fPIC -g -O3 -Wall -pedantic  -c -o posix.lo ../../vendor/libbacktrace/posix.c
libtool: compile:  clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace -I/usr/local/include -funwind-tables -frandom-seed=posix.lo -Wall -fPIC -g -O3 -Wall -pedantic -c ../../vendor/libbacktrace/posix.c -o posix.o
/bin/bash ./libtool  --tag=CC   --mode=compile clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace   -I/usr/local/include -funwind-tables -frandom-seed=print.lo -Wall -fPIC -g -O3 -Wall -pedantic  -c -o print.lo ../../vendor/libbacktrace/print.c
libtool: compile:  clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace -I/usr/local/include -funwind-tables -frandom-seed=print.lo -Wall -fPIC -g -O3 -Wall -pedantic -c ../../vendor/libbacktrace/print.c -o print.o
/bin/bash ./libtool  --tag=CC   --mode=compile clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace   -I/usr/local/include -funwind-tables -frandom-seed=sort.lo -Wall -fPIC -g -O3 -Wall -pedantic  -c -o sort.lo ../../vendor/libbacktrace/sort.c
libtool: compile:  clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace -I/usr/local/include -funwind-tables -frandom-seed=sort.lo -Wall -fPIC -g -O3 -Wall -pedantic -c ../../vendor/libbacktrace/sort.c -o sort.o
/bin/bash ./libtool  --tag=CC   --mode=compile clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace   -I/usr/local/include -funwind-tables -frandom-seed=state.lo -Wall -fPIC -g -O3 -Wall -pedantic  -c -o state.lo ../../vendor/libbacktrace/state.c
libtool: compile:  clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace -I/usr/local/include -funwind-tables -frandom-seed=state.lo -Wall -fPIC -g -O3 -Wall -pedantic -c ../../vendor/libbacktrace/state.c -o state.o
/bin/bash ./libtool  --tag=CC   --mode=compile clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace   -I/usr/local/include -funwind-tables -frandom-seed=backtrace.lo -Wall -fPIC -g -O3 -Wall -pedantic  -c -o backtrace.lo ../../vendor/libbacktrace/backtrace.c
libtool: compile:  clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace -I/usr/local/include -funwind-tables -frandom-seed=backtrace.lo -Wall -fPIC -g -O3 -Wall -pedantic -c ../../vendor/libbacktrace/backtrace.c -o backtrace.o
/bin/bash ./libtool  --tag=CC   --mode=compile clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace   -I/usr/local/include -funwind-tables -frandom-seed=simple.lo -Wall -fPIC -g -O3 -Wall -pedantic  -c -o simple.lo ../../vendor/libbacktrace/simple.c
libtool: compile:  clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace -I/usr/local/include -funwind-tables -frandom-seed=simple.lo -Wall -fPIC -g -O3 -Wall -pedantic -c ../../vendor/libbacktrace/simple.c -o simple.o
/bin/bash ./libtool  --tag=CC   --mode=compile clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace   -I/usr/local/include -funwind-tables -frandom-seed=elf.lo -Wall -fPIC -g -O3 -Wall -pedantic  -c -o elf.lo ../../vendor/libbacktrace/elf.c
libtool: compile:  clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace -I/usr/local/include -funwind-tables -frandom-seed=elf.lo -Wall -fPIC -g -O3 -Wall -pedantic -c ../../vendor/libbacktrace/elf.c -o elf.o
/bin/bash ./libtool  --tag=CC   --mode=compile clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace   -I/usr/local/include -funwind-tables -frandom-seed=mmapio.lo -Wall -fPIC -g -O3 -Wall -pedantic  -c -o mmapio.lo ../../vendor/libbacktrace/mmapio.c
libtool: compile:  clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace -I/usr/local/include -funwind-tables -frandom-seed=mmapio.lo -Wall -fPIC -g -O3 -Wall -pedantic -c ../../vendor/libbacktrace/mmapio.c -o mmapio.o
/bin/bash ./libtool  --tag=CC   --mode=compile clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace   -I/usr/local/include -funwind-tables -frandom-seed=mmap.lo -Wall -fPIC -g -O3 -Wall -pedantic  -c -o mmap.lo ../../vendor/libbacktrace/mmap.c
libtool: compile:  clang-19 -DHAVE_CONFIG_H -I. -I../../vendor/libbacktrace -I/usr/local/include -funwind-tables -frandom-seed=mmap.lo -Wall -fPIC -g -O3 -Wall -pedantic -c ../../vendor/libbacktrace/mmap.c -o mmap.o
/bin/bash ./libtool  --tag=CC   --mode=link clang-19 -funwind-tables -frandom-seed=libbacktrace.la -Wall -fPIC -g -O3 -Wall -pedantic   -Wl,-O1 -o libbacktrace.la -rpath /home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src/build/libbacktrace/../../local/lib atomic.lo dwarf.lo fileline.lo posix.lo print.lo sort.lo state.lo backtrace.lo simple.lo elf.lo mmapio.lo mmap.lo 
libtool: link: ar cru .libs/libbacktrace.a  atomic.o dwarf.o fileline.o posix.o print.o sort.o state.o backtrace.o simple.o elf.o mmapio.o mmap.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libbacktrace.a
libtool: link: ( cd ".libs" && rm -f "libbacktrace.la" && ln -s "../libbacktrace.la" "libbacktrace.la" )
make[3]: Entering directory '/home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src/build/libbacktrace'
 /usr/bin/mkdir -p '/home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src/build/libbacktrace/../../local/lib'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libbacktrace.la '/home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src/build/libbacktrace/../../local/lib'
libtool: install: /usr/bin/install -c .libs/libbacktrace.lai /home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src/build/libbacktrace/../../local/lib/libbacktrace.la
libtool: install: /usr/bin/install -c .libs/libbacktrace.a /home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src/build/libbacktrace/../../local/lib/libbacktrace.a
libtool: install: chmod 644 /home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src/build/libbacktrace/../../local/lib/libbacktrace.a
libtool: install: ranlib /home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src/build/libbacktrace/../../local/lib/libbacktrace.a
libtool: finish: PATH="/home/hornik/bin:/usr/local/bin:/usr/bin:/bin:/sbin" ldconfig -n /home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src/build/libbacktrace/../../local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src/build/libbacktrace/../../local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src/build/libbacktrace/../../local/include'
 /usr/bin/install -c -m 644 ../../vendor/libbacktrace/backtrace.h backtrace-supported.h '/home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src/build/libbacktrace/../../local/include'
make[3]: Leaving directory '/home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src/build/libbacktrace'
make[2]: Leaving directory '/home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src/build/libbacktrace'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src'
Contents of Makevars
# Generated from Makevars.in, do not edit by hand
PKG_CPPFLAGS = -Ilocal/include
PKG_CFLAGS =   -DHAVE_LIBBACKTRACE
WINCH_LOCAL_LIBS = local/lib/libbacktrace.a
PKG_LIBS =  ${WINCH_LOCAL_LIBS}
** libs
using C compiler: ‘Debian clang version 19.1.3 (2)’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src'
clang-19 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilocal/include  -I/usr/local/include -D_FORTIFY_SOURCE=3  -DHAVE_LIBBACKTRACE -fpic  -g -O3 -Wall -pedantic -c call.c -o call.o
clang-19 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilocal/include  -I/usr/local/include -D_FORTIFY_SOURCE=3  -DHAVE_LIBBACKTRACE -fpic  -g -O3 -Wall -pedantic -c init.c -o init.o
clang-19 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilocal/include  -I/usr/local/include -D_FORTIFY_SOURCE=3  -DHAVE_LIBBACKTRACE -fpic  -g -O3 -Wall -pedantic -c stop.c -o stop.o
clang-19 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilocal/include  -I/usr/local/include -D_FORTIFY_SOURCE=3  -DHAVE_LIBBACKTRACE -fpic  -g -O3 -Wall -pedantic -c trace_back.c -o trace_back.o
clang-19 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilocal/include  -I/usr/local/include -D_FORTIFY_SOURCE=3  -DHAVE_LIBBACKTRACE -fpic  -g -O3 -Wall -pedantic -c trace_back_backtrace.c -o trace_back_backtrace.o
clang-19 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ilocal/include  -I/usr/local/include -D_FORTIFY_SOURCE=3  -DHAVE_LIBBACKTRACE -fpic  -g -O3 -Wall -pedantic -c trace_back_unwind.c -o trace_back_unwind.o
clang-19 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o winch.so call.o init.o stop.o trace_back.o trace_back_backtrace.o trace_back_unwind.o local/lib/libbacktrace.a -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpwpGMqP/R.INSTALL12724c16439f70/winch/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-winch/00new/winch/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (winch)