Created attachment 203695 [details] config.log config.log attached. Build output: checking for Berkeley Packet Filter... yes checking for raw IP sockets ip_{len,off} host byte ordering... yes |------------------------------------------| |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.
*** Bug 237301 has been marked as a duplicate of this bug. ***
It fails to build in a jail: checking for Berkeley Packet Filter... no checking for raw IP sockets ip_{len,off} host byte ordering... yes |------------------------------------------| |No suitable Ethernet 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.
Can you provide more informations about the way you are building this port ? Poudriere build with FreeBSD12 works as expected.
(In reply to Rodrigo Osorio from comment #3) clean jail with standard devfs /etc/make.conf USE_PACKAGE_DEPENDS=yes cd /usr/ports/net/libdnet && make package Reason to build: net/libdnet is now needed as a dependency for emulators/open-vm-tools-nox11
The failure was caused because your jail doesn't expose the required devfs devices; in that case /dev/bpf. You can solve the problem by creating a /etc/devfs.rules file in the host, and add the following lines : [devfsrules_jail=4] add include $devfsrules_hide_all add include $devfsrules_unhide_basic add include $devfsrules_unhide_login add path fuse unhide add path zfs unhide add path 'bpf*' unhide This is a copy of the /etc/default/devfs.rules with an extra line to allow bpf devices. Now you can restart your jail, see if the /dev/bpf is available and build your port again. The error was caused by a failed test during the configure step (take a look in the configure file at line 17256 who set ac_cv_dnet_bsd_bpf to false. Later in line 17311, the variable is tested, and the error message displayed. I consider this issue solved, but I will wait for your feedback to close it. Please test and le me know if it's ok for you. Cheers, -- rodrigo
reporter time-out