Bug 239046 - net/libdnet: Fails to build on systems with WITHOUT_PF=true (needs PF headers)
Summary: net/libdnet: Fails to build on systems with WITHOUT_PF=true (needs PF headers)
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2019-07-08 14:18 UTC by Robert Blayzor
Modified: 2021-04-09 11:42 UTC (History)
4 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
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
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

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 2021-04-09 11:42:51 UTC
Maintainer reset.