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

Bug#315228: ssss-0.3: build errors

On Mon, Oct 17, 2005 at 01:00:23PM +0200, B. Poettering wrote:
> On Sun, Oct 16, 2005 at 07:19:55PM +0200, Lennart Poettering wrote:
> > Subject: Bug#315228: ssss-0.3: build errors
> hi,
> lennart passed your email on to me. I'm the developer of ssss.
> I'm glad that you want to introduce ssss to debian.


well, thats my first debian package I'm working on, so it could take a
while until its good enough to be part of Debian. 

Maybe you could provide your full name to me, so'd be able to include it
to the copyright file.

> > I'm currently trying to debianize ssss-0.3 on debian testing, but its
> > still failing to build without errors:
> >                     < snip >
> >  Please check the code and put an updated version online, so I can
> >  proceed creating the package.
> strange. I know that my code isn't ANSI C code, but I used gcc to
> develop it, so I am surprised to see errors like yours. Which gcc
> version do you use? Mine is "gcc version 3.3.5 (Debian 1:3.3.5-8)"

 $ gcc -v
  Using built-in specs.
  Target: i486-linux-gnu
  Configured with: ../src/configure -v
   --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr
   --enable-shared --with-system-zlib --libexecdir=/usr/lib
   --without-included-gettext --enable-threads=posix --enable-nls
   --program-suffix=-4.0 --enable-__cxa_atexit
   --enable-libstdcxx-allocator=mt --enable-clocale=gnu
   --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk
   --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu
  Thread model: posix 
  gcc version 4.0.2 (Debian 4.0.2-2)

Further on as of July when Matthias Klose [1] announced GCC 4.0 as default
compiler you should rather use it than 3.3.5.

> Nevertheless, I think that the following change will fix the problem:
> Please replace line 366 by the following one:
>      int restore_secret(int n, mpz_t (*A)[], mpz_t b[])
> If this still fails, use
>      int restore_secret(int n, void *A, mpz_t b[]) 
> As I cannot reproduce the problem on my machine, I still don't want to
> release an updated version, because I can't garantee, that the fixes 
> proposed above really work. Please send me other error reports, and tell
> me, which of the porposed lines really work.

The latter one works here at my machine.

greetings, Stefan.

[1] - http://lists.debian.org/debian-devel-announce/2005/07/msg00001.html

Reply to: