Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
koobs opened this issue Sep 27, 2019 · 3 comments

Comments

@koobs
Copy link

koobs commented Sep 27, 2019

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
Copy link
Author

koobs commented Sep 27, 2019

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

@swuensch
Copy link
Contributor

swuensch commented Jan 16, 2022

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

@koobs
Copy link
Author

koobs commented Jan 16, 2022

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 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants