head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.05.25.15.02.10; author mef; state Exp; branches; next ; commitid fsWAjN2I2hgKTcHG; desc @@ 1.1 log @(math/R-plyr) Fix against R 4.6.0 (-lexecinfo) @ text @$NetBSD$ symbol backtrace_symbols is defined in /usr/lib/libexecinfo --------------------------------- ** testing if installed package can be loaded from temporary location Error: package or namespace load failed for 'plyr' in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/tmp/math/R-plyr/work/.destdir/usr/pkg/lib/R/library/00LOCK-plyr/00new/plyr/libs/plyr.so': /tmp/math/R-plyr/work/.destdir/usr/pkg/lib/R/library/00LOCK-plyr/00new/plyr/libs/plyr.so: Undefined PLT symbol "backtrace_symbols" (symnum = 111) Error: loading failed Execution halted ERROR: loading failed --------------------------------- --- /dev/null 2026-05-25 23:49:38.565140977 +0900 +++ src/Makevars 2026-05-25 23:54:14.584419265 +0900 @@@@ -0,0 +1,11 @@@@ + #### Debugging flags #### + # Uncomment to enable thread assertions + # PKG_CPPFLAGS += -DDEBUG_THREAD -UNDEBUG + +UNAME := $(shell uname) + +ifneq ($(UNAME), Linux) +ifneq ($(UNAME), SunOS) +PKG_LIBS += -lexecinfo +endif +endif @