Summary: | net/libdnet fails to build in jail | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dean E. Weimer <dweimer> | ||||
Component: | Individual Port(s) | Assignee: | Dmitry Marakasov <amdmi3> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | onatan, rea | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(onatan) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Dean E. Weimer
2019-06-12 14:37:37 UTC
I was able to look through more of the source files, and get it to successuflly build by passing the jail a custom devfs rules and adding the following to the defaults. This of course also required I pass the mount.devfs option as well. add path 'bpf' unhide add path 'bpf0' unhide Created attachment 205439 [details]
Disable build-time checking for /dev/bpf0
Could you, please, put the attached file into the port's directory as files/patch-configure.ac-bpf and try your in-jail build without devfs (and, thus, /dev/bpf*).
If the build will be successful, will you be able to test the resulting port in the cases where BPF is used (by consumers of libdnet)?
Thanks!
A commit references this bug: Author: amdmi3 Date: Tue Feb 16 20:02:33 UTC 2021 New revision: 565450 URL: https://svnweb.freebsd.org/changeset/ports/565450 Log: net/libdnet: disable useless buildtime check for /dev/bpf presence Device is not guarateed to exist at package building time. PR: 238523 Submitted by: rea@FreeBSD.org Reported by: dweimer@dweimer.net Approved by: maintainer timeout (onatan@gmail.com, 1.5 years) MFH: 2021Q1 Changes: head/net/libdnet/files/ head/net/libdnet/files/patch-configure.ac Just to be sure I've checked that adding the patch results in binary equivalent package. A commit references this bug: Author: amdmi3 Date: Thu Feb 18 21:23:40 UTC 2021 New revision: 565990 URL: https://svnweb.freebsd.org/changeset/ports/565990 Log: MFH: r565450 net/libdnet: disable useless buildtime check for /dev/bpf presence Device is not guarateed to exist at package building time. PR: 238523 Submitted by: rea@FreeBSD.org Reported by: dweimer@dweimer.net Approved by: maintainer timeout (onatan@gmail.com, 1.5 years) Changes: _U branches/2021Q1/ branches/2021Q1/net/libdnet/files/ |