aqtion-freebsd icon indicating copy to clipboard operation
aqtion-freebsd copied to clipboard

v.0.0.5 fails to build on 13-CURRENT: fatal error: 'opt_epoch.h' file not found

Open koobs opened this issue 6 years ago • 3 comments
trafficstars

After submitting the net/aquantia-atlantic-kmod v.0.0.5 port update the following pkg-fallout notification was received indicating a build failure on 13-CURRENT (i386/amd64)

--- aq_media.o ---
cc  -O2 -pipe -fno-strict-aliasing -DIFLIB -ferror-limit=1  -D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include     -MD  -MF.depend.aq_media.o -MTaq_media.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx  -
 std=iso9899:1999 -c aq_media.c -o aq_media.o
In file included from aq_media.c:44:
In file included from /usr/include/net/if_var.h:83:
/usr/include/sys/epoch.h:44:10: fatal error: 'opt_epoch.h' file not found
#include "opt_epoch.h"
         ^~~~~~~~~~~~~
--- aq_main.o ---
In file included from aq_main.c:61:
In file included from /usr/include/net/if_var.h:83:
/usr/include/sys/epoch.h:44:10: fatal error: 'opt_epoch.h' file not found
#include "opt_epoch.h"
         ^~~~~~~~~~~~~

Full log attached:

[package - head-amd64-default][net_aquantia-atlantic-kmod] Failed for aquantia-atlantic-kmod-0.0.5 in build.log

koobs avatar Sep 27 '19 04:09 koobs

Original commit introducing the issue: https://svnweb.freebsd.org/changeset/base/352707

I believe base r352778 is an attempt to fix it. Will monitor pkg-fallout

Edit:

Full svn-src-all thread

koobs avatar Sep 27 '19 04:09 koobs

We have a compilation issue with the current master again. I provided an issue #17 with patches #18 and #19.

@koobs are you the maintainer of the port in the ports tree? The mentioned pull request includes the the ports patches as well. Would you please update the port, one we have a new tag?

Edit: patches can be found in two separate pull requests now

swuensch avatar Jan 16 '22 11:01 swuensch

We have a compilation issue with the current master again. I provided an issue #17 and patch #16.

@koobs are you the maintainer of the port in the ports tree? The mentioned pull request includes the the ports patches as well. Would you please update the port, one we have a new tag?

Can do 👍

koobs avatar Jan 16 '22 23:01 koobs