reopen 375404
retitle 375404 cheops: FTBFS: bashisms in generate-gpl.sh
severity 375404 important
thanks

Hello,

Sorry not yet:

> Automatic build of cheops_0.61-14 on avidan by sbuild/i386 0.49
> Build started at 20060815-1814
> ******************************************************************************
...
> sh generate-gpl.sh >gpl.c
> gcc -g -O2 -Wall -DDEFAULT_PATH=\"/usr/share/cheops\" 
> -DLIB_PATH=\"/usr/lib/cheops\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
> -I/usr/lib/glib/include -DHAS_GMODULE  -DINET6 -O2 -D_REENTRANT -Wall -Dlinux 
> -I. -I/usr/include -DSNMP -DINET6 -O2 -D_REENTRANT -Wall -Dlinux -I. 
> -I/usr/include  -c -o gpl.o gpl.c
> gpl.c:1: error: missing terminating " character
> gpl.c:2: error: missing terminating " character
> make[1]: *** [gpl.o] Error 1
> make[1]: Leaving directory `/build/buildd/cheops-0.61'
> make: *** [build-stamp] Error 2
> ******************************************************************************
> Build finished at 20060815-1815
> FAILED [dpkg-buildpackage died]
> ------------------------------------------------------------------------------

This is caused by the echo used in generate-gpl.sh
echo has not the same behaviour in bash, dash, or any shell. Since this
buildd is using dash as /bin/sh, the build fails.

I suggest you to use printf instead of echo.

Cheers,
-- 
Julien Danjou
.''`.  Debian Developer
: :' : http://julien.danjou.info
`. `'  http://people.debian.org/~acid
  `-   9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD

Attachment: signature.asc
Description: Digital signature

Reply via email to