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
>Organization:
>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:

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

  http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/202011092220Z/amd64/

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.

>How-To-Repeat:

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 http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/202011092220Z/amd64/

login: root

gdb sync

l main

>Fix:



Home | Main Index | Thread Index | Old Index