Subject: pkgsrc-2006Q2 devel/stlport
To: None <pkgsrc-users@netbsd.org>
From: Aleksey Cheusov <cheusov@tut.by>
List: pkgsrc-users
Date: 07/25/2006 13:32:30
I cannot build devel/stlport with pkgsrc-2006Q2 under Linux.
Complete log follows.
Any help?

0 stlport>/usr/pkg/bin/bmake clean  
===> Cleaning for stlport-4.6nb2
0 stlport>/usr/pkg/bin/bmake package
===> Skipping vulnerability checks.
WARNING: No /home/cheusov/pkgsrc/distfiles/pkg-vulnerabilities file found.
WARNING: To fix, install the pkgsrc/security/audit-packages
WARNING: package and run: ``/usr/pkg/sbin/download-vulnerability-list''.
=> Checksum SHA1 OK for STLport-4.6.tar.gz.
=> Checksum RMD160 OK for STLport-4.6.tar.gz.
work.cheusov -> /home/cheusov/tmp/pkgsrc/devel/stlport/work.cheusov
===> Installing dependencies for stlport-4.6nb2
=> Required installed package libtool-base>=1.5.18nb5: libtool-base-1.5.22nb3 found
===> Overriding tools for stlport-4.6nb2
===> Extracting for stlport-4.6nb2
===> Patching for stlport-4.6nb2
=> Applying pkgsrc patches for stlport-4.6nb2
===> Creating toolchain wrappers for stlport-4.6nb2
===> Building for stlport-4.6nb2
common_rules.mak:15: warning: overriding commands for target `../lib/obj/GCC/Release'
common_rules.mak:9: warning: ignoring old commands for target `../lib/obj/GCC/Release'
common_rules.mak:17: warning: overriding commands for target `../lib/obj/GCC/Debug'
common_rules.mak:11: warning: ignoring old commands for target `../lib/obj/GCC/Debug'
common_rules.mak:19: warning: overriding commands for target `../lib/obj/GCC/DebugSTL'
common_rules.mak:13: warning: ignoring old commands for target `../lib/obj/GCC/DebugSTL'
mkdir -p ../lib/obj/GCC/Release
libtool  g++ -O2 -pthread -I/usr/include -I/usr/include -I../stlport -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32 -O2 dll_main.cpp -c -o ../lib/obj/GCC/Release/dll_main.lo
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
mkdir ../lib/obj/GCC/Release/.libs
 g++ -O2 -pthread -I../stlport -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32 -O2 dll_main.cpp -c  -fPIC -DPIC -o ../lib/obj/GCC/Release/.libs/dll_main.o
In file included from stlport_prefix.h:28,
                 from dll_main.cpp:29:
../stlport/ctime:25:44: ../g++/ctime: No such file or directory
In file included from stlport_prefix.h:28,
                 from dll_main.cpp:29:
../stlport/ctime:32: error: `size_t' not declared
../stlport/ctime:33: error: `clock_t' not declared
../stlport/ctime:34: error: `time_t' not declared
../stlport/ctime:35: error: `tm' not declared
../stlport/ctime:37: error: `clock' not declared
../stlport/ctime:38: error: `asctime' not declared
../stlport/ctime:39: error: `ctime' not declared
../stlport/ctime:40: error: `gmtime' not declared
../stlport/ctime:41: error: `difftime' not declared
../stlport/ctime:42: error: `mktime' not declared
../stlport/ctime:43: error: `localtime' not declared
../stlport/ctime:44: error: `strftime' not declared
../stlport/ctime:45: error: `time' not declared
In file included from dll_main.cpp:29:
stlport_prefix.h:30: error: `time_t' not declared
In file included from ../stlport/stl/debug/_debug.c:160,
                 from ../stlport/stl/debug/_debug.h:418,
                 from ../stlport/utility:40,
                 from dll_main.cpp:35:
../stlport/cstdlib:25:46: ../g++/cstdlib: No such file or directory
In file included from ../stlport/stl/debug/_debug.c:160,
                 from ../stlport/stl/debug/_debug.h:418,
                 from ../stlport/utility:40,
                 from dll_main.cpp:35:
../stlport/cstdlib:42: error: `div_t' not declared
../stlport/cstdlib:43: error: `ldiv_t' not declared
../stlport/cstdlib:44: error: `size_t' not declared
../stlport/cstdlib:47: error: `abort' not declared
../stlport/cstdlib:48: error: `atexit' not declared
../stlport/cstdlib:49: error: `exit' not declared
../stlport/cstdlib:50: error: `getenv' not declared
../stlport/cstdlib:51: error: `calloc' not declared
../stlport/cstdlib:52: error: `free' not declared
../stlport/cstdlib:53: error: `malloc' not declared
../stlport/cstdlib:54: error: `realloc' not declared
../stlport/cstdlib:55: error: `atof' not declared
../stlport/cstdlib:56: error: `atoi' not declared
../stlport/cstdlib:57: error: `atol' not declared
../stlport/cstdlib:58: error: `mblen' not declared
../stlport/cstdlib:59: error: `mbstowcs' not declared
../stlport/cstdlib:60: error: `mbtowc' not declared
../stlport/cstdlib:61: error: `strtod' not declared
../stlport/cstdlib:62: error: `strtol' not declared
../stlport/cstdlib:63: error: `strtoul' not declared
../stlport/cstdlib:64: error: `system' not declared
../stlport/cstdlib:70: error: `bsearch' not declared
../stlport/cstdlib:71: error: `qsort' not declared
../stlport/cstdlib:74: error: `abs' not declared
../stlport/cstdlib:76: error: `div' not declared
../stlport/cstdlib:77: error: `labs' not declared
../stlport/cstdlib:78: error: `ldiv' not declared
../stlport/cstdlib:79: error: `rand' not declared
../stlport/cstdlib:80: error: `srand' not declared
In file included from ../stlport/stl/debug/_debug.c:237,
                 from ../stlport/stl/debug/_debug.h:418,
                 from ../stlport/utility:40,
                 from dll_main.cpp:35:
../stlport/cstdarg:25:46: ../g++/cstdarg: No such file or directory
In file included from ../stlport/stl/debug/_debug.c:237,
                 from ../stlport/stl/debug/_debug.h:418,
                 from ../stlport/utility:40,
                 from dll_main.cpp:35:
../stlport/cstdarg:32: error: `va_list' not declared
In file included from ../stlport/stl/debug/_debug.c:238,
                 from ../stlport/stl/debug/_debug.h:418,
                 from ../stlport/utility:40,
                 from dll_main.cpp:35:
../stlport/cstdio:31:45: ../g++/cstdio: No such file or directory
In file included from ../stlport/stl/debug/_debug.c:238,
                 from ../stlport/stl/debug/_debug.h:418,
                 from ../stlport/utility:40,
                 from dll_main.cpp:35:
../stlport/cstdio:57: error: `FILE' not declared
../stlport/cstdio:58: error: `fpos_t' not declared
../stlport/cstdio:59: error: `size_t' not declared
../stlport/cstdio:70: error: `clearerr' not declared
../stlport/cstdio:71: error: `fclose' not declared
../stlport/cstdio:72: error: `feof' not declared
../stlport/cstdio:73: error: `ferror' not declared
../stlport/cstdio:74: error: `fflush' not declared
../stlport/cstdio:75: error: `fgetc' not declared
../stlport/cstdio:76: error: `fgetpos' not declared
../stlport/cstdio:77: error: `fgets' not declared
../stlport/cstdio:78: error: `fopen' not declared
../stlport/cstdio:79: error: `fprintf' not declared
../stlport/cstdio:80: error: `fputc' not declared
../stlport/cstdio:81: error: `fputs' not declared
../stlport/cstdio:82: error: `fread' not declared
../stlport/cstdio:83: error: `freopen' not declared
../stlport/cstdio:84: error: `fscanf' not declared
../stlport/cstdio:85: error: `fseek' not declared
../stlport/cstdio:86: error: `fsetpos' not declared
../stlport/cstdio:87: error: `ftell' not declared
../stlport/cstdio:88: error: `fwrite' not declared
../stlport/cstdio:91: error: `getc' not declared
../stlport/cstdio:92: error: `getchar' not declared
../stlport/cstdio:93: error: `putc' not declared
../stlport/cstdio:94: error: `putchar' not declared
../stlport/cstdio:97: error: `gets' not declared
../stlport/cstdio:98: error: `perror' not declared
../stlport/cstdio:99: error: `printf' not declared
../stlport/cstdio:100: error: `puts' not declared
../stlport/cstdio:101: error: `remove' not declared
../stlport/cstdio:102: error: `rename' not declared
../stlport/cstdio:103: error: `rewind' not declared
../stlport/cstdio:104: error: `scanf' not declared
../stlport/cstdio:105: error: `setbuf' not declared
../stlport/cstdio:106: error: `setvbuf' not declared
../stlport/cstdio:107: error: `sprintf' not declared
../stlport/cstdio:108: error: `sscanf' not declared
../stlport/cstdio:109: error: `tmpfile' not declared
../stlport/cstdio:110: error: `tmpnam' not declared
../stlport/cstdio:111: error: `ungetc' not declared
../stlport/cstdio:112: error: `vfprintf' not declared
../stlport/cstdio:113: error: `vprintf' not declared
../stlport/cstdio:114: error: `vsprintf' not declared
In file included from ../stlport/stl/debug/_debug.h:418,
                 from ../stlport/utility:40,
                 from dll_main.cpp:35:
../stlport/stl/debug/_debug.c: In static member function `static void 
   _STL::__stl_debug_engine<_Dummy>::_Message(const char*, ...)':
../stlport/stl/debug/_debug.c:246: error: syntax error before `;' token
In file included from ../stlport/stl/_alloc.h:31,
                 from ../stlport/memory:32,
                 from dll_main.cpp:38:
../stlport/cstddef:35:46: ../g++/cstddef: No such file or directory
In file included from ../stlport/stl/_alloc.h:31,
                 from ../stlport/memory:32,
                 from dll_main.cpp:38:
../stlport/cstddef: At global scope:
../stlport/cstddef:42: error: `ptrdiff_t' not declared
../stlport/cstddef:43: error: `size_t' not declared
In file included from ../stlport/stl/_alloc.h:42,
                 from ../stlport/memory:32,
                 from dll_main.cpp:38:
../stlport/cstring:25:46: ../g++/cstring: No such file or directory
In file included from ../stlport/cstring:32,
                 from ../stlport/stl/_alloc.h:42,
                 from ../stlport/memory:32,
                 from dll_main.cpp:38:
../stlport/using/cstring:1: error: `size_t' not declared
../stlport/using/cstring:17: error: `memmove' not declared
../stlport/using/cstring:18: error: `memcpy' not declared
../stlport/using/cstring:23: error: `memchr' not declared
../stlport/using/cstring:24: error: `strchr' not declared
../stlport/using/cstring:25: error: `strpbrk' not declared
../stlport/using/cstring:26: error: `strrchr' not declared
../stlport/using/cstring:27: error: `strstr' not declared
../stlport/using/cstring:30: error: `memcmp' not declared
../stlport/using/cstring:31: error: `memset' not declared
../stlport/using/cstring:33: error: `strcat' not declared
../stlport/using/cstring:36: error: `strcmp' not declared
../stlport/using/cstring:39: error: `strcoll' not declared
../stlport/using/cstring:41: error: `strcpy' not declared
../stlport/using/cstring:43: error: `strcspn' not declared
../stlport/using/cstring:44: error: `strerror' not declared
../stlport/using/cstring:45: error: `strlen' not declared
../stlport/using/cstring:46: error: `strncat' not declared
../stlport/using/cstring:47: error: `strncmp' not declared
../stlport/using/cstring:49: error: `strncpy' not declared
../stlport/using/cstring:50: error: `strspn' not declared
../stlport/using/cstring:52: error: `strtok' not declared
../stlport/using/cstring:53: error: `strxfrm' not declared
In file included from ../stlport/stl/_new.h:50,
                 from ../stlport/stl/_alloc.h:60,
                 from ../stlport/memory:32,
                 from dll_main.cpp:38:
../stlport/new:36:49: ../g++/new: No such file or directory
In file included from ../stlport/stl/_alloc.h:60,
                 from ../stlport/memory:32,
                 from dll_main.cpp:38:
../stlport/stl/_new.h:57: error: `nothrow_t' not declared
../stlport/stl/_new.h:58: error: `nothrow' not declared
../stlport/stl/_new.h:64: error: `new_handler' not declared
../stlport/stl/_new.h:65: error: `set_new_handler' not declared
../stlport/stl/_new.h:86: error: `size_t' was not declared in this scope
../stlport/stl/_new.h:86: error: syntax error before `)' token
../stlport/stl/_new.h: In function `void* _STL::__stl_new(...)':
../stlport/stl/_new.h:86: error: `__n' undeclared (first use this function)
../stlport/stl/_new.h:86: error: (Each undeclared identifier is reported only 
   once for each function it appears in.)
In file included from ../stlport/stl/_alloc.h:64,
                 from ../stlport/memory:32,
                 from dll_main.cpp:38:
../stlport/stl/_threads.h: At global scope:
../stlport/stl/_threads.h:57: error: syntax error before `;' token
In file included from ../stlport/stl/_alloc.h:64,
                 from ../stlport/memory:32,
                 from dll_main.cpp:38:
../stlport/stl/_threads.h:479: error: ISO C++ forbids declaration of `
   __stl_atomic_t' with no type
../stlport/stl/_threads.h:479: error: syntax error before `;' token
../stlport/stl/_threads.h:486: error: syntax error before `__n'
../stlport/stl/_threads.h:486: error: missing ';' before right brace
../stlport/stl/_threads.h:493: error: semicolon missing after declaration of `
   _STL::_Refcount_Base'
../stlport/stl/_threads.h:493: error: ISO C++ forbids defining types within 
   return type
../stlport/stl/_threads.h:493: error: two or more data types in declaration of 
   `_M_incr'
../stlport/stl/_threads.h:493: error: semicolon missing after declaration of `
   struct _STL::_Refcount_Base'
../stlport/stl/_threads.h: In function `int _STL::_M_incr()':
../stlport/stl/_threads.h:494: error: `_M_mutex' undeclared (first use this 
   function)
../stlport/stl/_threads.h:495: error: `_M_ref_count' undeclared (first use this 
   function)
../stlport/stl/_threads.h: At global scope:
../stlport/stl/_threads.h:522: error: ISO C++ forbids declaration of `
   _STLP_mutex' with no type
../stlport/stl/_threads.h:522: error: syntax error before `;' token
../stlport/stl/_threads.h:529: error: syntax error before `(' token
../stlport/stl/_threads.h:531: error: syntax error before `=' token
../stlport/stl/_threads.h:532: error: ISO C++ forbids declaration of `__p' with 
   no type
../stlport/stl/_threads.h:532: error: `__q' was not declared in this scope
../stlport/stl/_threads.h:533: error: syntax error before `.' token
../stlport/stl/_threads.h:555: error: syntax error before `&' token
../stlport/stl/_threads.h:557: error: syntax error before `&' token
../stlport/stl/_threads.h:559: error: ISO C++ forbids defining types within 
   return type
../stlport/stl/_threads.h:559: error: destructor `_STLP_auto_lock' must match 
   class name `_Swap_lock_struct'
../stlport/stl/_threads.h:559: error: return type specification for destructor 
   invalid
../stlport/stl/_threads.h: In function `void _Swap_lock_struct()':
../stlport/stl/_threads.h:559: error: `void _Swap_lock_struct()' redeclared as 
   different kind of symbol
../stlport/stl/_threads.h:521: error: previous declaration of `template<int 
   __dummy> struct _Swap_lock_struct'
../stlport/stl/_threads.h:521: error: previous non-function declaration `
   template<int __dummy> struct _Swap_lock_struct'
../stlport/stl/_threads.h:559: error: conflicts with function declaration `void 
   _Swap_lock_struct()'
../stlport/stl/_threads.h:559: error: `_M_lock' undeclared (first use this 
   function)
../stlport/stl/_threads.h: At global scope:
../stlport/stl/_threads.h:561: error: syntax error before `private'
../stlport/stl/_threads.h:563: error: syntax error before `const'
../stlport/stl/_threads.h:621: error: syntax error before `}' token
In file included from ../stlport/stl/_threads.h:624,
                 from ../stlport/stl/_alloc.h:64,
                 from ../stlport/memory:32,
                 from dll_main.cpp:38:
../stlport/stl/_threads.c:40: error: `time_t' not declared
In file included from ../stlport/stl/_threads.h:624,
                 from ../stlport/stl/_alloc.h:64,
                 from ../stlport/memory:32,
                 from dll_main.cpp:38:
../stlport/stl/_threads.c:53: error: `_STL::_STLP_mutex 
   _Swap_lock_struct<__dummy>::_S_swap_lock' is not a static member of `struct 
   _Swap_lock_struct<__dummy>'
../stlport/stl/_threads.c:53: error: template definition of non-template `
   _STL::_STLP_mutex _Swap_lock_struct<__dummy>::_S_swap_lock'
In file included from ../stlport/stl/_construct.h:43,
                 from ../stlport/stl/_alloc.h:68,
                 from ../stlport/memory:32,
                 from dll_main.cpp:38:
../stlport/stl/_iterator_base.h:56: error: syntax error before `,' token
../stlport/stl/_iterator_base.h:60: error: template declaration of `typedef _Tp 
   _STL::value_type'
../stlport/stl/_iterator_base.h:60: confused by earlier errors, bailing out
make: *** [../lib/obj/GCC/Release/dll_main.lo] Error 1
*** Error code 2

Stop.
bmake: stopped in /home/cheusov/pkgsrc/devel/stlport
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /home/cheusov/tmp/pkgsrc/devel/stlport/work.cheusov/.work.log
===> 
*** Error code 1

Stop.
bmake: stopped in /home/cheusov/pkgsrc/devel/stlport
1 stlport>

-- 
Best regards, Aleksey Cheusov.