Package: bashdb
Version: 4.3.0.91+ds-4
Severity: minor

Dear Maintainer,

bashdb 4.3.0.91+ds-4 only builds on mon-linux because we turn
off compiling set0 and readc. They compile but fail to load.

There are three potential sources of the problem:
1. The set0.c and readc.c code.
2. The headers supplied by the bash-builtins package
3. Some inadequacies on the non-linux platform.

So I ran this experiment that points to the issue being 1. It can be reproduced
using the followig steps:

cp /usr/share/doc/bash-builtins/examples/loadables/hello.c .
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I /usr/include/bash/ -I 
/usr/include/bash//include -I/usr/include/bash//builtins  -fPIC -DPIC -g -O2 
-fstack-protector-strong -Wformat -Werror=format-security -c -o hello-hello.o 
`test -f 'hello.c' || echo './'`hello.c 
gcc  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  
-Wl,-z,relro -o hello \
        -shared hello-hello.o  
enable -f ./hello hello
hello

This should print "hello world" and it works on both linux and kfreebsd. So by 
trisecting the 
difference between hello.c on the one hand and set0.c/readc.c on the other we 
should 
be able to locate here the issue is. 

Versions of packages bashdb depends on:
ii  bash          4.3-11+b1
ii  libc6         2.19-18+deb8u1
ii  libreadline6  6.3-8+b3
ii  python        2.7.9-1

bashdb recommends no packages.

bashdb suggests no packages.

-- no debconf information

Reply via email to