[PROJ] PROJ 6.0.0RC3

Greg Troxel gdt at lexort.com
Mon Feb 25 17:00:25 PST 2019


Here is the build failure.  It seems to be only mutex.cpp, so far.

  - I am unclear on all the -f and -W options and what they might cause.

  - There is no "--std=c++11".

I have FORTIFY and SSP enabled, as I did for proj 5.2.  I'll check without.



=> Bootstrap dependency digest>=20010302: found digest-20180917
===> Building for proj-6.0.0RC3nb3
Making all in include
gmake[1]: Entering directory '/home/n0/gdt/pkgsrc-current/pkgsrc/geography/proj/work/proj-6.0.0/include'
Making all in proj
gmake[2]: Entering directory '/home/n0/gdt/pkgsrc-current/pkgsrc/geography/proj/work/proj-6.0.0/include/proj'
Making all in internal
gmake[3]: Entering directory '/home/n0/gdt/pkgsrc-current/pkgsrc/geography/proj/work/proj-6.0.0/include/proj/internal'
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory '/home/n0/gdt/pkgsrc-current/pkgsrc/geography/proj/work/proj-6.0.0/include/proj/internal'
gmake[3]: Entering directory '/home/n0/gdt/pkgsrc-current/pkgsrc/geography/proj/work/proj-6.0.0/include/proj'
gmake[3]: Nothing to be done for 'all-am'.
gmake[3]: Leaving directory '/home/n0/gdt/pkgsrc-current/pkgsrc/geography/proj/work/proj-6.0.0/include/proj'
gmake[2]: Leaving directory '/home/n0/gdt/pkgsrc-current/pkgsrc/geography/proj/work/proj-6.0.0/include/proj'
gmake[2]: Entering directory '/home/n0/gdt/pkgsrc-current/pkgsrc/geography/proj/work/proj-6.0.0/include'
gmake[2]: Nothing to be done for 'all-am'.
gmake[2]: Leaving directory '/home/n0/gdt/pkgsrc-current/pkgsrc/geography/proj/work/proj-6.0.0/include'
gmake[1]: Leaving directory '/home/n0/gdt/pkgsrc-current/pkgsrc/geography/proj/work/proj-6.0.0/include'
Making all in src
gmake[1]: Entering directory '/home/n0/gdt/pkgsrc-current/pkgsrc/geography/proj/work/proj-6.0.0/src'
/usr/pkg/bin/gmake  all-am
gmake[2]: Entering directory '/home/n0/gdt/pkgsrc-current/pkgsrc/geography/proj/work/proj-6.0.0/src'
depbase=`echo mutex.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I.  -DPROJ_LIB=\"/usr/pkg/share/proj\" -DMUTEX_pthread  -I../include  -I/usr/include -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wdate-time -Wfloat-conversion -Wmissing-declarations -Wnon-virtual-dtor -Weffc++ -Woverloaded-virtual -Wdeprecated -fno-operator-names -Wzero-as-null-pointer-constant  -DPROJ_COMPILATION -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -fvisibility=hidden -MT mutex.lo -MD -MP -MF $depbase.Tpo -c -o mutex.lo mutex.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -DPROJ_LIB=\"/usr/pkg/share/proj\" -DMUTEX_pthread -I../include -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wdate-time -Wfloat-conversion -Wmissing-declarations -Wnon-virtual-dtor -Weffc++ -Woverloaded-virtual -Wdeprecated -fno-operator-names -Wzero-as-null-pointer-constant -DPROJ_COMPILATION -O2 -D_FORTIFY_SOURCE=2 -fvisibility=hidden -MT mutex.lo -MD -MP -MF .deps/mutex.Tpo -c mutex.cpp  -fPIC -DPIC -o .libs/mutex.o
In file included from /usr/include/g++/bits/postypes.h:40:0,
                 from /usr/include/g++/iosfwd:40,
                 from /usr/include/g++/memory:72,
                 from ../include/proj/common.hpp:32,
                 from proj_internal.h:61,
                 from mutex.cpp:44:
/usr/include/g++/cwchar:164:11: error: '::vfwscanf' has not been declared
   using ::vfwscanf;
           ^
/usr/include/g++/cwchar:170:11: error: '::vswscanf' has not been declared
   using ::vswscanf;
           ^
/usr/include/g++/cwchar:174:11: error: '::vwscanf' has not been declared
   using ::vwscanf;
           ^
/usr/include/g++/cwchar:191:11: error: '::wcstof' has not been declared
   using ::wcstof;
           ^
/usr/include/g++/cwchar:248:11: error: '::wcstold' has not been declared
   using ::wcstold;
           ^
/usr/include/g++/cwchar:257:11: error: '::wcstoll' has not been declared
   using ::wcstoll;
           ^
/usr/include/g++/cwchar:258:11: error: '::wcstoull' has not been declared
   using ::wcstoull;
           ^
/usr/include/g++/cwchar:264:22: error: '__gnu_cxx::wcstold' has not been declared
   using ::__gnu_cxx::wcstold;
                      ^
/usr/include/g++/cwchar:265:22: error: '__gnu_cxx::wcstoll' has not been declared
   using ::__gnu_cxx::wcstoll;
                      ^
/usr/include/g++/cwchar:266:22: error: '__gnu_cxx::wcstoull' has not been declared
   using ::__gnu_cxx::wcstoull;
                      ^
/usr/include/g++/cwchar:280:14: error: 'std::wcstof' has not been declared
   using std::wcstof;
              ^
/usr/include/g++/cwchar:283:14: error: 'std::vfwscanf' has not been declared
   using std::vfwscanf;
              ^
/usr/include/g++/cwchar:286:14: error: 'std::vswscanf' has not been declared
   using std::vswscanf;
              ^
/usr/include/g++/cwchar:289:14: error: 'std::vwscanf' has not been declared
   using std::vwscanf;
              ^
/usr/include/g++/cwchar:293:14: error: 'std::wcstold' has not been declared
   using std::wcstold;
              ^
/usr/include/g++/cwchar:294:14: error: 'std::wcstoll' has not been declared
   using std::wcstoll;
              ^
/usr/include/g++/cwchar:295:14: error: 'std::wcstoull' has not been declared
   using std::wcstoull;
              ^
In file included from /usr/include/g++/bits/localefwd.h:42:0,
                 from /usr/include/g++/string:43,
                 from /usr/include/g++/stdexcept:39,
                 from /usr/include/g++/array:38,
                 from /usr/include/g++/tuple:39,
                 from /usr/include/g++/functional:55,
                 from /usr/include/g++/memory:79,
                 from ../include/proj/common.hpp:32,
                 from proj_internal.h:61,
                 from mutex.cpp:44:
/usr/include/g++/cctype:87:11: error: '::isblank' has not been declared
   using ::isblank;
           ^
In file included from /usr/include/g++/ext/string_conversions.h:43:0,
                 from /usr/include/g++/bits/basic_string.h:5352,
                 from /usr/include/g++/string:52,
                 from /usr/include/g++/stdexcept:39,
                 from /usr/include/g++/array:38,
                 from /usr/include/g++/tuple:39,
                 from /usr/include/g++/functional:55,
                 from /usr/include/g++/memory:79,
                 from ../include/proj/common.hpp:32,
                 from proj_internal.h:61,
                 from mutex.cpp:44:
/usr/include/g++/cstdio:176:11: error: '::vfscanf' has not been declared
   using ::vfscanf;
           ^
/usr/include/g++/cstdio:177:11: error: '::vscanf' has not been declared
   using ::vscanf;
           ^
/usr/include/g++/cstdio:179:11: error: '::vsscanf' has not been declared
   using ::vsscanf;
           ^
/usr/include/g++/cstdio:186:22: error: '__gnu_cxx::vfscanf' has not been declared
   using ::__gnu_cxx::vfscanf;
                      ^
/usr/include/g++/cstdio:187:22: error: '__gnu_cxx::vscanf' has not been declared
   using ::__gnu_cxx::vscanf;
                      ^
/usr/include/g++/cstdio:189:22: error: '__gnu_cxx::vsscanf' has not been declared
   using ::__gnu_cxx::vsscanf;
                      ^
In file included from /usr/include/g++/string:52:0,
                 from /usr/include/g++/stdexcept:39,
                 from /usr/include/g++/array:38,
                 from /usr/include/g++/tuple:39,
                 from /usr/include/g++/functional:55,
                 from /usr/include/g++/memory:79,
                 from ../include/proj/common.hpp:32,
                 from proj_internal.h:61,
                 from mutex.cpp:44:
/usr/include/g++/bits/basic_string.h: In function 'long long int std::stoll(const wstring&, std::size_t*, int)':
/usr/include/g++/bits/basic_string.h:5480:31: error: 'wcstoll' is not a member of 'std'
   { return __gnu_cxx::__stoa(&std::wcstoll, "stoll", __str.c_str(),
                               ^
/usr/include/g++/bits/basic_string.h: In function 'long long unsigned int std::stoull(const wstring&, std::size_t*, int)':
/usr/include/g++/bits/basic_string.h:5485:31: error: 'wcstoull' is not a member of 'std'
   { return __gnu_cxx::__stoa(&std::wcstoull, "stoull", __str.c_str(),
                               ^
/usr/include/g++/bits/basic_string.h: In function 'float std::stof(const wstring&, std::size_t*)':
/usr/include/g++/bits/basic_string.h:5491:31: error: 'wcstof' is not a member of 'std'
   { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); }
                               ^
/usr/include/g++/bits/basic_string.h: In function 'long double std::stold(const wstring&, std::size_t*)':
/usr/include/g++/bits/basic_string.h:5499:31: error: 'wcstold' is not a member of 'std'
   { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); }
                               ^
gmake[2]: *** [Makefile:1757: mutex.lo] Error 1
gmake[2]: Leaving directory '/home/n0/gdt/pkgsrc-current/pkgsrc/geography/proj/work/proj-6.0.0/src'
gmake[1]: *** [Makefile:984: all] Error 2
gmake[1]: Leaving directory '/home/n0/gdt/pkgsrc-current/pkgsrc/geography/proj/work/proj-6.0.0/src'
gmake: *** [Makefile:457: all-recursive] Error 1
*** Error code 2

Stop.
make[1]: stopped in /home/n0/gdt/pkgsrc-current/pkgsrc/geography/proj
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/geography/proj





More information about the PROJ mailing list