Bug 239046

Summary: net/libdnet: Fails to build on systems with WITHOUT_PF=true (needs PF headers)
Product: Ports & Packages Reporter: Robert Blayzor <rblayzor>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Some People CC: jpaetzel, onatan, oz42, rene
Priority: --- Flags: bugzilla: maintainer-feedback? (onatan)
Version: Latest   
Hardware: Any   
OS: Any   

Description Robert Blayzor 2019-07-08 14:18:01 UTC
libdnet is dependency for open-vm-tools-nox11

libdnet fails to build unless PF is installed as part of base system. If you installworld minus PF (WITHOUT_PF=true), libdnet fails to find a suitable firewall (as reported), even though ipfw2 is available.


On building:

|------------------------------------------|
|No suitable firewall interface found. Most|
|probably you are not running the FreeBSD  |
|OS. Please consider using this version    |
|of libdnet  with the FreeBSD system       |
|------------------------------------------|
===>  Script "configure" failed unexpectedly.
Please report the problem to onatan@gmail.com [maintainer] and attach the
"/var/build/.amd_mnt/public/FreeBSD/ports/net/libdnet/work/libdnet-1.13/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /.amd_mnt/public/FreeBSD/ports/net/libdnet

===>>> make build failed for net/libdnet
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> net/libdnet

This command has been saved to /tmp/portmasterfail.txt


cat /tmp/portmasterfail.txt
portmaster <flags> net/libdnet
Comment 1 Robert Blayzor 2019-09-19 14:07:42 UTC
Other than having to re-build/install world with PF, is there any update or workaround for this?
Comment 2 Robert Blayzor 2019-10-02 13:09:15 UTC
build log:

configure:16687: checking for net/pfvar.h
configure:16687: cc -c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   conftest.c >&5
In file included from conftest.c:49:
/usr/include/net/pfvar.h:50:10: fatal error: 'netpfil/pf/pf.h' file not found
#include <netpfil/pf/pf.h>
         ^~~~~~~~~~~~~~~~~
1 error generated.
Comment 3 Rene Ladan freebsd_committer freebsd_triage 2021-04-09 11:42:51 UTC
Maintainer reset.