Control: -1 patch
-=| Niko Tyni, 11.05.2014 14:13:09 +0300 |=-
> On Sun, May 11, 2014 at 01:37:04PM +0300, Niko Tyni wrote:
> > Package: amanda
> > Version: 1:3.3.3-2
> > Severity: serious
> >
> > This package fails to build on current sid/amd64. Tail of the build log:
>
> > checking for HMAC_CTX_init in -lcrypto... no
>
> > It looks like the build dependencies don't pull in libssl-dev anymore
> > on a clean system.
>
> This is probably due to this change:
>
> curl (7.36.0-2) unstable; urgency=medium
>
> * Move Depends on -dev packages needed to use static libraries to
> Suggests
Adding libssl-dev to the build-dependencies makes the configure step
pass, but here's what I get during compilation:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../config
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -D_GNU_SOURCE -pthread
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -O2 -g -Wall
-DAMANDATES_FILE=\"/var/lib/amanda/amandates\" -DIGNORE_TAR_ERRORS -MT
localcharset.lo -MD -MP -MF .deps/localcharset.Tpo -c localcharset.c
-fPIC -DPIC -o .libs/localcharset.o
In file included from localcharset.c:28:0:
./stdio.h:456:20: error: 'gets' undeclared here (not in a function)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
^
Makefile:1318: recipe for target 'localcharset.lo' failed
make[5]: *** [localcharset.lo] Error 1
The commit for the above change removes a bunch of dependencies, but
I get this error even if I add all of them (excluding libssh2-1-dev,
which seems to bring a conflict around libgcrypt-dev virtual package).
This seems to be a problem with gnulib/stdio.in.h. Removing lines
140-145 fixes the error.
Cheers,
dam
Attachment:
signature.asc
Description: Digital signature