Bug 240109 - x11/nvidia-driver-304 fails to build on 12-stable
Summary: x11/nvidia-driver-304 fails to build on 12-stable
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-25 19:54 UTC by Mikhail Teterin
Modified: 2019-08-25 20:00 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (danfe)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Teterin freebsd_committer freebsd_triage 2019-08-25 19:54:22 UTC
On a 12.x system, with today's content of /sys I get the following error trying to build the port:

nvidia_subr.c:1219:45: error: too few arguments to function call, expected 8, have 7
            sc->dma_mask, PAGE_SIZE, 0, attr);
                                            ^
/usr/src/sys/vm/vm_extern.h:57:1: note: 'kmem_alloc_contig' declared here
vm_offset_t kmem_alloc_contig(struct vmem *, vm_size_t size, int flags,
^
nvidia_subr.c:1267:61: error: too few arguments to function call, expected 3, have 2
        kmem_free(at->pte_array[0].virtual_address, at->size);
        ~~~~~~~~~                                           ^
/usr/src/sys/vm/vm_extern.h:61:1: note: 'kmem_free' declared here
void kmem_free(struct vmem *, vm_offset_t, vm_size_t);

... more errors about kmem_free ...
Comment 1 Mikhail Teterin freebsd_committer freebsd_triage 2019-08-25 20:00:09 UTC
Err, never mind. I had the 11.x /usr/src mount over. Sorry for the noise.