[Bug 267932] x11/nvidia-driver-340: debug symbols not installed WITH_DEBUG=yes

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 22 Nov 2022 19:43:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267932

            Bug ID: 267932
           Summary: x11/nvidia-driver-340: debug symbols not installed
                    WITH_DEBUG=yes
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: saper@saper.info
          Assignee: danfe@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)

While I was researching if my kernel panic is the same as
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251015 or maybe
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258691 I noticed that
submitters were asked to rebuild the driver with debug symbols and retry.

I have built the driver for FreeBSD-CURRENT 14 using WITH_DEBUG=yes and it
seems that debug symbols are not installed anyway:

> pkg list nvidia-driver-340 | grep ko
/boot/modules/nvidia.ko

The symbols are being built, but probably not staged:

# find ${WRKDIRPREFIX}/usr/ports/x11/nvidia-driver-340 -name '*.ko*'
/big/ports/usr/ports/x11/nvidia-driver-340/work/NVIDIA-FreeBSD-x86_64-340.108/src/nvidia.ko.debug
/big/ports/usr/ports/x11/nvidia-driver-340/work/NVIDIA-FreeBSD-x86_64-340.108/src/nvidia.ko.full
/big/ports/usr/ports/x11/nvidia-driver-340/work/NVIDIA-FreeBSD-x86_64-340.108/src/nvidia.ko
/big/ports/usr/ports/x11/nvidia-driver-340/work/stage/boot/modules/nvidia.ko

-- 
You are receiving this mail because:
You are the assignee for the bug.