Package: hercules Version: 3.04.1-1 Severity: serious Tags: patch Justification: no longer builds from source
hercules fails to build from source on arm: Automatic build of hercules_3.04.1-1 on europa by sbuild/arm 98 Build started at 20070214-1750 ****************************************************************************** Checking available source versions... Fetching source files... Reading package lists... [...] if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -W -Wall -mstructure-size-boundary=8 -O2 -MT loadparm.lo -MD -MP -MF ".deps/loadparm.Tpo" -c -o loadparm.lo loadparm.c; \ then mv -f ".deps/loadparm.Tpo" ".deps/loadparm.Plo"; else rm -f ".deps/loadparm.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -W -Wall -mstructure-size-boundary=8 -O2 -MT loadparm.lo -MD -MP -MF .deps/loadparm.Tpo -c loadparm.c -fPIC -DPIC -o .libs/loadparm.o if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -W -Wall -mstructure-size-boundary=8 -O2 -MT hsccmd.lo -MD -MP -MF ".deps/hsccmd.Tpo" -c -o hsccmd.lo hsccmd.c; \ then mv -f ".deps/hsccmd.Tpo" ".deps/hsccmd.Plo"; else rm -f ".deps/hsccmd.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -W -Wall -mstructure-size-boundary=8 -O2 -MT hsccmd.lo -MD -MP -MF .deps/hsccmd.Tpo -c hsccmd.c -fPIC -DPIC -o .libs/hsccmd.o hsccmd.c:49: error: stray '$' in program hsccmd.c:4139: error: stray '$' in program make[3]: *** [hsccmd.lo] Error 1 make[3]: Leaving directory `/build/buildd/hercules-3.04.1' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/build/buildd/hercules-3.04.1' make[1]: *** [all] Error 2 make[1]: Leaving directory `/build/buildd/hercules-3.04.1' make: *** [build-stamp] Error 2 ****************************************************************************** Build finished at 20070214-1943 FAILED [dpkg-buildpackage died] Purging chroot-unstable/build/buildd/hercules-3.04.1 ------------------------------------------------------------------------------ For a full build log, see: http://buildd.debian.org/fetch.cgi?&pkg=hercules&ver=3.04.1-1&arch=arm&stamp=1171500344&file=log The patch below fixes the problem by removing the dollar from the function name. --- hercules-3.04.1.orig/hsccmd.c +++ hercules-3.04.1/hsccmd.c @@ -44,9 +44,9 @@ int process_script_file(char *,int); /////////////////////////////////////////////////////////////////////// -/* $test_cmd - do something or other */ +/* test_cmd - do something or other */ -int $test_cmd(int argc, char *argv[],char *cmdline) +int test_cmd(int argc, char *argv[],char *cmdline) { UNREFERENCED(argc); UNREFERENCED(argv); @@ -4136,7 +4136,7 @@ COMMAND ( "resume", resume_cmd, "Resume hercules\n" ) #define TEST_CMD "$test" // (hidden internal command) -COMMAND ( TEST_CMD, $test_cmd, "(hidden internal command)" ) +COMMAND ( TEST_CMD, test_cmd, "(hidden internal command)" ) COMMAND ( NULL, NULL, NULL ) /* (end of table) */ }; -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: arm (armv5tejl) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-4-versatile Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]