* Norbert Tretkowski wrote:
> I tried to build 0.4.0-5 on sarge, but it failed:
> 
> if g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I../../.. 
> -Wall  -I../../.. -I. -I../../.. -I../../../src    -g -O2 
> -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include   -D_REENTRANT -MT 
> temp.o -MD -MP -MF ".deps/temp.Tpo" -c -o temp.o temp.cc; \
> then mv -f ".deps/temp.Tpo" ".deps/temp.Po"; else rm -f ".deps/temp.Tpo"; 
> exit 1; fi
> In file included from temp.cc:20:
> temp.h: In member function `void temp::dir::impl::decref()':
> temp.h:175: error: `assert' undeclared (first use this function)
> temp.h:175: error: (Each undeclared identifier is reported only once for each
>    function it appears in.)
> temp.h: In member function `void temp::name::impl::decref()':
> temp.h:326: error: `assert' undeclared (first use this function)
> make[5]: *** [temp.o] Error 1

That's fixed in 0.4.1-1, but it's failing a bit later now:

if g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I../../.. 
-Wall  -I../../.. -I. -I../../.. -I../../../src    -g -O2 
-I/usr/include/sigc++-2.0 -I/usr/lib/si
gc++-2.0/include   -D_REENTRANT -MT matchers.o -MD -MP -MF ".deps/matchers.Tpo" 
-c -o matchers.o matchers.cc; \
then mv -f ".deps/matchers.Tpo" ".deps/matchers.Po"; else rm -f 
".deps/matchers.Tpo"; exit 1; fi
matchers.cc:72: error: parse error before `{' token
matchers.cc:77: error: invalid use of member `CompilationException::args'
matchers.cc:77: error: `format' was not declared in this scope
matchers.cc:77: error: invalid data member initialization
matchers.cc:77: error: (use `=' to initialize static data members)
matchers.cc:77: error: ISO C++ forbids declaration of `__builtin_va_start' with
   no type
matchers.cc:79: error: `buf' was not declared in this scope
matchers.cc:79: error: `buf' was not declared in this scope
matchers.cc:79: error: `format' was not declared in this scope
matchers.cc:79: error: invalid use of member `CompilationException::args'
matchers.cc:79: error: invalid data member initialization
matchers.cc:79: error: ISO C++ forbids declaration of `vsnprintf' with no type
matchers.cc:81: error: syntax error before `.' token
matchers.cc:84: error: ISO C++ forbids defining types within return type
matchers.cc:84: error: syntax error before `&' token
matchers.cc: In member function `void pkg_string_matcher::do_compile(const
   std::string&, regex_t&, int)':
matchers.cc:217: error: no matching function for call to `CompilationException
   ::CompilationException(const char[28], char*)'
matchers.cc:64: error: candidates are:
   CompilationException::CompilationException(const CompilationException&)
matchers.cc: In function `std::string
   parse_substr(__gnu_cxx::__normal_iterator<const char*,
   std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&,
   const __gnu_cxx::__normal_iterator<const char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >&, const std::vector<const
   char*, std::allocator<const char*> >&)':
matchers.cc:1921: error: no matching function for call to `CompilationException
   ::CompilationException(char*, const char*)'
matchers.cc:64: error: candidates are:
   CompilationException::CompilationException(const CompilationException&)
matchers.cc: In function `pkg_matcher*
   parse_atom(__gnu_cxx::__normal_iterator<const char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >&, const
   __gnu_cxx::__normal_iterator<const char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >&, const std::vector<const
   char*, std::allocator<const char*> >&, bool)':
matchers.cc:1981: error: no matching function for call to `CompilationException
   ::CompilationException(char*)'
matchers.cc:64: error: candidates are:                 
   CompilationException::CompilationException(const CompilationException&)
matchers.cc:2115: error: no matching function for call to `CompilationException
   ::CompilationException(char*, const char*)'         
matchers.cc:64: error: candidates are:                 
   CompilationException::CompilationException(const CompilationException&)
matchers.cc:2120: error: no matching function for call to `CompilationException
   ::CompilationException(char*)'                      
matchers.cc:64: error: candidates are:                 
   CompilationException::CompilationException(const CompilationException&)
matchers.cc:2176: error: no matching function for call to `CompilationException
   ::CompilationException(char*, const char*)'         
matchers.cc:64: error: candidates are:                 
   CompilationException::CompilationException(const CompilationException&)
matchers.cc:2188: error: no matching function for call to `CompilationException
   ::CompilationException(char*, const char*)'         
matchers.cc:64: error: candidates are:                 
   CompilationException::CompilationException(const CompilationException&)
matchers.cc:2230: error: no matching function for call to `CompilationException
   ::CompilationException(char*, const char*)'         
matchers.cc:64: error: candidates are:                 
   CompilationException::CompilationException(const CompilationException&)
matchers.cc:2250: error: no matching function for call to `CompilationException
   ::CompilationException(char*, const char&)'         
matchers.cc:64: error: candidates are:                 
   CompilationException::CompilationException(const CompilationException&)
matchers.cc:2273: error: no matching function for call to `CompilationException
   ::CompilationException(char*)'                      
matchers.cc:64: error: candidates are:                 
   CompilationException::CompilationException(const CompilationException&)
matchers.cc: In function `pkg_matcher*                 
   parse_and_group(__gnu_cxx::__normal_iterator<const char*,
   std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&,
   const __gnu_cxx::__normal_iterator<const char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >&, const std::vector<const
   char*, std::allocator<const char*> >&, bool)':      
matchers.cc:2301: error: no matching function for call to `CompilationException
   ::CompilationException(char*)'                      
matchers.cc:64: error: candidates are:                 
   CompilationException::CompilationException(const CompilationException&)
matchers.cc: In function `pkg_matcher*                 
   parse_condition_list(__gnu_cxx::__normal_iterator<const char*,
   std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&,
   const __gnu_cxx::__normal_iterator<const char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >&, const std::vector<const
   char*, std::allocator<const char*> >&, bool)':      
matchers.cc:2328: error: no matching function for call to `CompilationException
   ::CompilationException(char*)'                      
matchers.cc:64: error: candidates are:                 
   CompilationException::CompilationException(const CompilationException&)
matchers.cc: In function `pkg_matcher*                 
   parse_pattern(__gnu_cxx::__normal_iterator<const char*,
   std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&,
   const __gnu_cxx::__normal_iterator<const char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >&, const std::vector<const
   char*, std::allocator<const char*> >&, bool, bool, bool)':
matchers.cc:2363: error: no matching function for call to `CompilationException
   ::CompilationException(char*)'                      
matchers.cc:64: error: candidates are:                 
   CompilationException::CompilationException(const CompilationException&)
matchers.cc:2370: error: `get_msg' undeclared (first use this function)
matchers.cc:2370: error: (Each undeclared identifier is reported only once for
   each function it appears in.)                       
make[5]: *** [matchers.o] Error 1                      
make[5]: Leaving directory 
`/home/tretkowski/aptitude/aptitude-0.4.1/src/generic/apt'
make[4]: *** [all-recursive] Error 1                   
make[4]: Leaving directory 
`/home/tretkowski/aptitude/aptitude-0.4.1/src/generic'
make[3]: *** [all-recursive] Error 1                   
make[3]: Leaving directory `/home/tretkowski/aptitude/aptitude-0.4.1/src'
make[2]: *** [all-recursive] Error 1                   
make[2]: Leaving directory `/home/tretkowski/aptitude/aptitude-0.4.1'
make[1]: *** [all] Error 2                             
make[1]: Leaving directory `/home/tretkowski/aptitude/aptitude-0.4.1'
make: *** [build-stamp] Error 2                        

Thanks, Norbert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to