Re: Bug#667996: openconnect: FTBFS(kfreebsd-*,hurd): asprintf undefined
On Tue, 2012-04-10 at 17:15 +0200, Robert Millan wrote: > Sounds like memory corruption in GRUB. Do you get the same with plain > QEMU? Aha, It's '-vga qxl' on the KVM command line that breaks it. The newer daily install images are fine with qxl, fwiw. -- dwmw2 smime.p7s Description: S/MIME cryptographic signature
Re: Bug#667996: openconnect: FTBFS(kfreebsd-*,hurd): asprintf undefined
El 10 d’abril de 2012 15:51, David Woodhouse ha escrit: > Btw, I tried to install Debian/kfreebsd in KVM from the image at > http://ftp.nl.debian.org/debian/dists/squeeze/main/installer-kfreebsd-amd64/current/images/netboot/mini.iso > but it just dies at boot with 'unaligned pointer 0x8ef10002. Aborted. Press > any key to exit'. Regardless of whether I choose default/expert/automated > install, that's all I get after the boot menu. Sounds like memory corruption in GRUB. Do you get the same with plain QEMU? Btw, mini.iso can be booted in two ways (-cdrom or -hda). Are both affected? -- Robert Millan -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caofdtxohcby0pmhkbr+7atc7em_pqkbbzmwqk0u2x3e_mf6...@mail.gmail.com
Re: Bug#667996: openconnect: FTBFS(kfreebsd-*,hurd): asprintf undefined
On Mon, 2012-04-09 at 15:56 +0200, Julien Cristau wrote: > Could just use AC_USE_SYSTEM_EXTENSIONS instead to avoid having to > fiddle with those macros manually. Sounds like a fine plan — although the fiddling is done now, so any change would need to be retested on *BSD, Solaris, OpenIndiana, Linux etc. Unless there's a particularly good reason to fix it, I'm mostly inclined to leave it alone for now. Btw, I tried to install Debian/kfreebsd in KVM from the image at http://ftp.nl.debian.org/debian/dists/squeeze/main/installer-kfreebsd-amd64/current/images/netboot/mini.iso but it just dies at boot with 'unaligned pointer 0x8ef10002. Aborted. Press any key to exit'. Regardless of whether I choose default/expert/automated install, that's all I get after the boot menu. -- dwmw2 smime.p7s Description: S/MIME cryptographic signature
Re: Bug#667996: openconnect: FTBFS(kfreebsd-*,hurd): asprintf undefined
On Sun, Apr 8, 2012 at 00:47:46 +0100, Steven Chamberlain wrote: > tags 667996 + patch > thanks > > Hi, > > The attached patch fixes the problem for me on kfreebsd-i386, and I > would assume the other non-Linux GNU arches as well. > > Thanks, > Regards, > -- > Steven Chamberlain > ste...@pyro.eu.org > Description: fix to build on non-Linux GNU systems > Must enable _GNU_SOURCE to use asprintf; do this for GNU systems other > than Linux (e.g. GNU/kFreeBSD, GNU/Hurd) > Author: Steven Chamberlain > Bug-Debian: http://bugs.debian.org/667996 > > --- openconnect-3.15.orig/configure.ac > +++ openconnect-3.15/configure.ac > @@ -53,7 +53,7 @@ fi > AM_CONDITIONAL(USE_NLS, [test "$USE_NLS" = "yes"]) > > case $target_os in > - *linux*) > + *linux*|*-gnu*) > AC_MSG_NOTICE([Applying feature macros for Linux build]) > AC_DEFINE(_POSIX_C_SOURCE, 200112L) > # For strcasecmp() Could just use AC_USE_SYSTEM_EXTENSIONS instead to avoid having to fiddle with those macros manually. Cheers, Julien signature.asc Description: Digital signature
Re: Bug#667996: openconnect: FTBFS(kfreebsd-*,hurd): asprintf undefined
Hi Steven, On Sun, Apr 08, 2012 at 12:47:46AM +0100, Steven Chamberlain wrote: > The attached patch fixes the problem for me on kfreebsd-i386, and I > would assume the other non-Linux GNU arches as well. Thanks. I worked out a similar patch, needs a slight adjustment for GNU/Hurd. -- mike -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120408124724.GA4089@tesla
Re: Bug#667996: openconnect: FTBFS(kfreebsd-*,hurd): asprintf undefined
tags 667996 + patch thanks Hi, The attached patch fixes the problem for me on kfreebsd-i386, and I would assume the other non-Linux GNU arches as well. Thanks, Regards, -- Steven Chamberlain ste...@pyro.eu.org Description: fix to build on non-Linux GNU systems Must enable _GNU_SOURCE to use asprintf; do this for GNU systems other than Linux (e.g. GNU/kFreeBSD, GNU/Hurd) Author: Steven Chamberlain Bug-Debian: http://bugs.debian.org/667996 --- openconnect-3.15.orig/configure.ac +++ openconnect-3.15/configure.ac @@ -53,7 +53,7 @@ fi AM_CONDITIONAL(USE_NLS, [test "$USE_NLS" = "yes"]) case $target_os in - *linux*) + *linux*|*-gnu*) AC_MSG_NOTICE([Applying feature macros for Linux build]) AC_DEFINE(_POSIX_C_SOURCE, 200112L) # For strcasecmp() --- openconnect-3.15.orig/configure +++ openconnect-3.15/configure @@ -11582,7 +11582,7 @@ fi case $target_os in - *linux*) + *linux*|*-gnu*) { $as_echo "$as_me:${as_lineno-$LINENO}: Applying feature macros for Linux build" >&5 $as_echo "$as_me: Applying feature macros for Linux build" >&6;} $as_echo "#define _POSIX_C_SOURCE 200112L" >>confdefs.h
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 ste...@pyro.eu.org -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f80d080.4060...@pyro.eu.org