Package: dh-debputy
Version: 0.1.81
Severity: normal

Hello.
The attached file demonstrates the issue.

# tar xf reproducer.tar.gz
# dpkg-buildpackage reproducer
[...]
debputy: info: Upstream builds completed successfully
dpkg-shlibdeps: warning: binaries to analyze should already be installed in 
their package's directory
dpkg-deb: building package 'libfoo0-dbgsym' in '../libfoo0-dbgsym_1_amd64.deb'.
dpkg-deb: building package 'libfoo0' in '../libfoo0_1_amd64.deb'.
dpkg-shlibdeps: error: cannot find library libfoo.so.0 needed by 
[...]/reproducer/debian/.debputy/scratch-dir/_pb-115263/generated-fs-content/no-package/tmpfhznj565__bar
 (ELF format: 'elf64-x86-64' abi: 'ELF:64:l:amd\ 64:0'; RPATH: '')
dpkg-shlibdeps: warning: binaries to analyze should already be installed in 
their package's directory
dpkg-shlibdeps: error: cannot continue due to the error above
Note: libraries are not searched in other binary packages that do not have any 
shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to use -l.
debputy: error: Attempting to auto-detect dependencies via dpkg-shlibdeps for 
bar failed. Please review the output from dpkg-shlibdeps above to understand 
what went wrong.

reproducer_dh.tar.gz manages to build the same package with debhelper.

Attachment: reproducer.tar.gz
Description: application/gzip

Attachment: reproducer_dh.tar.gz
Description: application/gzip

Reply via email to