bglibs: ./installer failure on amd64

Gerrit Pape <[email protected]>
Newsgroups gmane.comp.sysutils.bgware
Message-ID <[email protected]>
Hi, Kurt Roeckx reported a problem with installing bglibs-1.021 on
Debian/amd64.  I'm not sure why this wasn't a problem on other 64bit
architectures, but agree with the suggested fix.

 http://bugs.debian.org/313064

Thanks, Gerrit.

----- Forwarded message from Kurt Roeckx -----

Subject: Bug#313064: bglibs: FTBFS: Segmentation fault during install.
To: [email protected]

Package: bglibs
Version: 1.021-1
Severity: serious

Hi,

Your package is failing to build on amd64 with the following
error:
make[1]: Entering directory `/usr/src/bglibs-1.021/gnu/bglibs-1.021'
./installer
make[1]: *** [install] Segmentation fault
make[1]: Leaving directory `/usr/src/bglibs-1.021/gnu/bglibs-1.021'

For a full buildd log see:
http://amd64.ftbfs.de/fetch.php?&pkg=bglibs&ver=1.021-1&arch=amd64&stamp=1118404555&file=log&as=raw

The build log shows:
instlib/installer.c: In function `main':
instlib/installer.c:125: warning: implicit declaration of function `getenv'
instlib/installer.c:125: warning: assignment makes pointer from integer without
 a cast

You need to include <stdlib.h> to get a good declaration of the
function.  The implicit declaration defaults to returning an int
instead of a pointer, and pointers are a different size on 64 bit
arches.


Kurt


----- End forwarded message -----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.