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

Bug#667996: openconnect: FTBFS(kfreebsd-*,hurd): asprintf undefined



Package: src:openconnect
Version: 3.15-2
Severity: serious
Tags: sid wheezy
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-bsd@lists.debian.org
Justification: fails to build from source (but built successfully in the
past)

Hi,

On GNU/kFreeBSD and GNU/Hurd, this package FTBFS because _GNU_SOURCE
must be defined in order to use asprintf.  Patch to follow shortly...

> libtool: compile:  gcc -DPACKAGE_NAME=\"openconnect\" -DPACKAGE_TARNAME=\"openco
> \" -DPACKAGE_URL=\"\" -DPACKAGE=\"openconnect\" -DVERSION=\"3.15\" -DSTDC_HEADER
> 1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DH
> /if_tun.h\" -DHAVE_ENGINE=1 -I. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include
> eter -Werror=pointer-to-int-cast -Wdeclaration-after-statement -Werror-implicit-
> issing-include-dirs -Wnested-externs -Wpointer-arith -Wwrite-strings -c ssl.c  -
> ssl.c: In function 'openconnect_open_https':
> ssl.c:924:5: error: implicit declaration of function 'asprintf' [-Werror=implici
> ssl.c:924:5: warning: nested extern declaration of 'asprintf' [-Wnested-externs]
> cc1: some warnings being treated as errors

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org



Reply to: