NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/55802: Reproducible builds aren't

>Number:         55802
>Category:       misc
>Synopsis:       Reproducible builds aren't
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 11 12:35:00 +0000 2020
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current
System: NetBSD
Architecture: x86_64
Machine: amd64

If I download, install, and boot a daily build, for example

including the debug and source sets, when I try to debug a userland
program using gdb, it fails to find the sources:

  # gdb sync
  (gdb) l main
  47      /home/source/ab/HEAD/src/bin/sync/sync.c: No such file or directory.

According to /etc/release, this is a MKREPRO build, so it shouldn't
contain any references to paths on the build system such as the
/home/source/ab/HEAD path above.


install misc/py-anita 2.8 and emulators/qemu from pkgsrc

anita --disk-size 10G --memory-size 256M --sets kern-GENERIC,modules,base,etc,comp,games,man,misc,tests,text,syssrc,src,sharesrc,gnusrc,debug interact

login: root

gdb sync

l main


Home | Main Index | Thread Index | Old Index