The build log says
dh_strip debug symbol extraction: ignored packages: autofs5 is already stripped, ignoring autofs5-ldap is already stripped, ignoring autofs5-hesiod is already stripped, ignoring autofs is already stripped, ignoring autofs-ldap is already stripped, ignoring autofs-hesiod is already stripped, ignoring
Apparently the binaries are already stripped during build:
gcc -s -lpthread -rdynamic -pie -o automount automount.o indirect.o direct.o spawn.o module.o mount.o lookup.o state.o flag.o ../lib/autofs.a -ldl -lpthread -lxml2 strip --strip-debug automount
The build system needs to be told to not do that. dh_strip will do it, and put the debug symbols into ddebs before. Many projects have an --enable-debug configure switch, or something similar.
The build log says
dh_strip debug symbol extraction: ignored packages:
autofs5 is already stripped, ignoring
autofs5-ldap is already stripped, ignoring
autofs5-hesiod is already stripped, ignoring
autofs is already stripped, ignoring
autofs-ldap is already stripped, ignoring
autofs-hesiod is already stripped, ignoring
Apparently the binaries are already stripped during build:
gcc -s -lpthread -rdynamic -pie -o automount automount.o indirect.o direct.o spawn.o module.o mount.o lookup.o state.o flag.o ../lib/autofs.a -ldl -lpthread -lxml2
strip --strip-debug automount
The build system needs to be told to not do that. dh_strip will do it, and put the debug symbols into ddebs before. Many projects have an --enable-debug configure switch, or something similar.