Package: aime Severity: important Tags: patch Hi,
currently your package FTBFS on GNU/kFreeBSD with the following error: > UNAME_MACHINE = i686 > UNAME_RELEASE = 6.2-1-686 > UNAME_SYSTEM = GNU/kFreeBSD > UNAME_VERSION = #0 Mon Jan 15 10:21:36 CET 2007 > configure: error: cannot guess build type; you must specify one > make: *** [configure-stamp] Error 1 Full build logs are available at <http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=aime>. This means that config.{guess,sub} are outdated, see /usr/share/doc/autotools-dev/README.Debian.gz for the long story. In short words: just replace your config.{guess,sub} scripts by those in /usr/share/misc (package: autotools-dev), and eventually think of autocopying them through your debian/rules (a B-D on autotools-dev is then needed). Once that done, there's still a bit to do, see the attached patch. Once that done, the build runs OK. Thanks in advance. Cheers, -- Cyril Brulebois
--- aime-0.60.3/include/sysdep.h 2007-03-10 03:58:59.863147000 +0100 +++ aime-0.60.3/include/sysdep.h 2007-03-10 04:10:38.000000000 +0100 @@ -45,7 +45,7 @@ -#elif defined( linux ) +#elif defined( linux ) || defined( __FreeBSD_kernel__ ) #include <stdlib.h> #include <ctype.h> @@ -71,7 +71,10 @@ #include <sys/time.h> #include <sys/types.h> +/* Used apparently for SIGPWR (see main.cpp); there's none on GNU/kFreeBSD */ +#if !defined( __FreeBSD_kernel__ ) #include <asm/param.h> +#endif #include <rpc/types.h> --- aime-0.60.3/src/main.cpp 2007-03-10 04:01:59.948220000 +0100 +++ aime-0.60.3/src/main.cpp 2007-03-10 04:10:28.000000000 +0100 @@ -272,7 +272,7 @@ if (!the_config.conf_flags->get_flag(CF_CRASHSIGNAL)) { -#if !defined( __CYGWIN__ ) +#if !defined( __CYGWIN__ ) && !defined( __FreeBSD_kernel__ ) signal(SIGPWR,signal_shutdown); #endif @@ -319,7 +319,7 @@ { Strings the_msg; -#if defined( __CYGWIN__ ) +#if defined( __CYGWIN__ ) || defined( __FreeBSD_kernel__ ) the_msg.sprintf("*** Shutting down Mud after receiving signal %d\n",sig); mainstruct->log_error(the_msg.str_show(),"signalhandling"); the_msg = "&+RSYSTEM MESSAGE: Server is shutting down.&*\n";