Re: [package - main-amd64-default][graphics/drm-515-kmod] Failed for drm-515-kmod-5.15.160.1600002_7 in build

Steve Kargl <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
On 10/21/25 17:54, [email protected] wrote:
> You are receiving this mail as a port that you maintain
> is failing to build on the FreeBSD package build server.
> Please investigate the failure and submit a PR to fix
> build.
> 
> Maintainer:     [email protected]
> Log URL:        https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/pb14ef2e3a017_s1cc316727e/logs/drm-515-kmod-5.15.160.1600002_7.log

(snip)

> /wrkdirs/usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.160_6/drivers/gpu/drm/drm_pci.c:99:12: error: incompatible pointer to integer conversion assigning to 'uint8_t' (aka 'unsigned char') from 'uint8_t (device_t)' (aka 'unsigned char (struct _device *)') [-Wint-conversion]
>     99 |         info->dev = pci_get_slot(dev->dev->bsddev);
>        |                   ^ ~~~~~~~~~~~~
> 3 errors generated.

This is fixed by the patch in

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290432

-- 
steve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.