pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

error: '::vfwscanf' has not been declared



geography/R-s2
devel/bazel
time/R-RcppCCTZ

are suffered much similar symptom (I believe):

- Those are OK on NetBSD/10.0, which has gcc-12
- Adding GCC_REQD+= 12 does not make it

Looking at the error log, with even with gcc-12, 
g++ library referenced is not of gcc-12 but of base system
one (7.5 ?), is that right ?


http://www.ki.nu/pkgsrc/reports/current/NetBSD-9.0/20241222.0854/R-s2-1.1.7/install.log
---------------------------------------------------------------
c++ -std=gnu++14 -I"/usr/pkg/lib/R/include" -DNDEBUG -I../src
-DSTRICT_R_HEADERS -I'/usr/pkg/lib/R/library/Rcpp/include'
-I'/usr/pkg/lib/R/library/wk/include' -I/usr/pkg/include
-I/usr/include -I/usr/pkg/include/glib-2.0
-I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include
-I/usr/X11R7/include -I/usr/pkg/include/freetype2
-I/usr/pkg/include/harfbuzz -DIS_LITTLE_ENDIAN -pthread -fpic -O2
-pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0
-I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include
-I/usr/X11R7/include -I/usr/pkg/include/freetype2
-I/usr/pkg/include/harfbuzz -c
absl/time/internal/cctz/src/time_zone_format.cc -o
absl/time/internal/cctz/src/time_zone_format.o

In file included from /usr/include/g++/bits/postypes.h:40:0,
                 from /usr/include/g++/bits/char_traits.h:40,
                 from /usr/include/g++/string:40,
                 from ../src/absl/time/internal/cctz/include/cctz/time_zone.h:26,
                 from absl/time/internal/cctz/src/time_zone_format.cc:28:

/usr/include/g++/cwchar:164:11: error: '::vfwscanf' has not been declared
   using ::vfwscanf;
           ^~~~~~~~
---------------------------------------------------------------	   
-- 
Makoto Fujiwara
mef%NetBSD.org@localhost
makoto%if.t.u-tokyo.ac.jp@localhost


Home | Main Index | Thread Index | Old Index