Summary: | emulators/qemu: hw/rdma/vmw/pvrdma_cmd.c depends on linux/types.h? | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Trond.Endrestol | ||||
Component: | Individual Port(s) | Assignee: | Roman Bogorodskiy <novel> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | novel | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(bofh) novel: merge-quarterly+ |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Trond.Endrestol
2018-11-04 19:25:15 UTC
Created attachment 199057 [details] Proposed fix I can see a failure like this as well. I've cherry-picked two commits from upstream: https://github.com/qemu/qemu/commit/72221d03b85fcfba27a47a2af08ee59150550ced https://github.com/qemu/qemu/commit/21ab34c9543fe1b6d31b3edbd01a397e7e090d00 Squashed them together and added to the port. I've attached a patch for that. It works for me on -CURRENT locally and in poudriere. Running tests for other versions in poudriere now. (In reply to Roman Bogorodskiy from comment #1) Tested in poudriere, works fine. (In reply to Roman Bogorodskiy from comment #2) Thank you for piecing together the patches and for testing the outcome. I'll be taking my laptop home from work this weekend to do some more testing of 12.0-BETA3. I'll be sure to try out your patches. (In reply to Trond.Endrestol from comment #3) qemu finally got built on my laptop. I guess the patch can go live if there are no other concerns. (In reply to Trond.Endrestol from comment #4) It looks like the maintainer wasn't active for a few months, so I've asked portmgr@ if I can commit it. Otherwise will have to wait 2 weeks for maintainer timeout. A commit references this bug: Author: novel Date: Sun Nov 11 15:30:29 UTC 2018 New revision: 484695 URL: https://svnweb.freebsd.org/changeset/ports/484695 Log: emulators/qemu: fix build on 12 and -CURRENT Build fails with: hw/rdma/vmw/pvrdma_cmd.c:19:10: fatal error: 'linux/types.h' file not found Add two upstream commits to fix this issue: * 72221d03b85fcfba27a47a2af08ee59150550ced to not include linux/types.h * 21ab34c9543fe1b6d31b3edbd01a397e7e090d00 to split PVRDMA from RDMA as pvrdma device can't be used on FreeBSD as mremap() system call is missing PR: 232968 Reported by: Trond.Endrestol@ximalas.info Approved by: portmgr (build fix blanket) Obtained from: upstream MFH: 2018Q4 Changes: head/emulators/qemu/Makefile head/emulators/qemu/files/patch-rdma-pvrdma-split Fix committed, requested MFH to 2018Q4. A commit references this bug: Author: novel Date: Sun Dec 9 08:25:52 UTC 2018 New revision: 487030 URL: https://svnweb.freebsd.org/changeset/ports/487030 Log: MFH: r484695 emulators/qemu: fix build on 12 and -CURRENT Build fails with: hw/rdma/vmw/pvrdma_cmd.c:19:10: fatal error: 'linux/types.h' file not found Add two upstream commits to fix this issue: * 72221d03b85fcfba27a47a2af08ee59150550ced to not include linux/types.h * 21ab34c9543fe1b6d31b3edbd01a397e7e090d00 to split PVRDMA from RDMA as pvrdma device can't be used on FreeBSD as mremap() system call is missing PR: 232968 Reported by: Trond.Endrestol@ximalas.info Approved by: portmgr (build fix blanket) Obtained from: upstream Approved by: ports-secteam (miwi) Changes: _U branches/2018Q4/ branches/2018Q4/emulators/qemu/Makefile branches/2018Q4/emulators/qemu/files/patch-rdma-pvrdma-split |