Package: delve Version: 1.20.2-1 Severity: important Tags: upstream X-Debbugs-Cc: nozzy123no...@gmail.com
Dear Maintainer, The trace command of delve can't find debug info files. That problem can always be reproduced like this, $ env LANG=C dpkg -l 'hugo*' ii hugo 0.111.3-1 amd64 Fast and flexible Static Site Gene> ii hugo-dbgsym 0.111.3-1 amd64 debug symbols for hugo $ dlv trace --log -e (command -v hugo) 'commands\.new' 2023-06-10T15:21:49+09:00 info layer=debugger launching process with args: [/usr/bin/hugo] 2023-06-10T15:21:50+09:00 warning layer=debugger gnu_debuglink link "7c03fe5487be2cbd7f7097fae18a1337dc56bf.debug" not found in any debug info directory could not launch process: could not open debug info - debuggee must not be built with 'go run' or -ldflags='-s -w', which strip debug info I checked the existence of "7c03fe5487be2cbd7f7097fae18a1337dc56bf.debug" in my Debian box is ok, like below, $ ls -l /usr/lib/debug/.buildid/92/7c03fe5487be2cbd7f7097fae18a1337dc56bf.debug -rw-r--r-- 1 root root 15575008 3月 16 17:41 /usr/lib/debug/.build- id/92/7c03fe5487be2cbd7f7097fae18a1337dc56bf.debug I've already fixed that problem and sent PR upstream, which was accepted. https://github.com/go-delve/delve/pull/3405 Q. Could you please import that PR or upgrade the delve up to the latest upstream? At this moment, the trace command never works with debug info. Many thanks for considering my request. Takahide Nojima -- System Information: Debian Release: 12.0 APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'testing-proposed- updates'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.1.0-9-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages delve depends on: ii libc6 2.36-9 delve recommends no packages. delve suggests no packages. -- no debconf information