Bug 235368

Summary: net/vether-kmod: Update to g20190201
Product: Ports & Packages Reporter: Henning Matyschok <henning.matyschok>
Component: Individual Port(s)Assignee: Tobias Kortkamp <tobik>
Status: Closed FIXED    
Severity: Affects Only Me CC: swills
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Makefile and distinfo
koobs: maintainer-approval+
Mkefile and distinfo. none

Description Henning Matyschok 2019-02-01 06:26:10 UTC
Created attachment 201579 [details]
Makefile and distinfo

Makefile and distinfo changed, due to a bugfix.

Would you commit these changes, please.
Comment 1 Steve Wills freebsd_committer 2019-02-06 13:12:56 UTC
Fails to build on HEAD:

--- if_vether.o ---
cc  -O2 -pipe -fno-strict-aliasing  -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer    -MD  -MF.depend.if_vether.o -MTif_vether.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  -mno-aes -mno-avx  -std=iso9899:1999 -c if_vether.c -o if_vether.o
if_vether.c:272:4: error: use of undeclared identifier 'ifnet_rlock_et'; did you mean 'ifnet_rwlock'?
                        IFNET_RUNLOCK_NOSLEEP();
                        ^
/usr/src/sys/net/if_var.h:595:72: note: expanded from macro 'IFNET_RUNLOCK_NOSLEEP'
#define IFNET_RUNLOCK_NOSLEEP() epoch_exit_preempt(net_epoch_preempt, &ifnet_rlock_et)
                                                                       ^
/usr/src/sys/net/if_var.h:568:22: note: 'ifnet_rwlock' declared here
extern  struct rwlock ifnet_rwlock;
                      ^
1 error generated.
*** [if_vether.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/net/vether-kmod/work/if_vether-80680158073ad832a7726d5d6f5e22855af9ba6f/src
1 error

make[1]: stopped in /wrkdirs/usr/ports/net/vether-kmod/work/if_vether-80680158073ad832a7726d5d6f5e22855af9ba6f/src
Comment 2 Henning Matyschok 2019-02-07 12:15:11 UTC
Created attachment 201811 [details]
Mkefile and distinfo.
Comment 3 commit-hook freebsd_committer 2019-02-07 12:33:16 UTC
A commit references this bug:

Author: tobik
Date: Thu Feb  7 12:32:28 UTC 2019
New revision: 492363
URL: https://svnweb.freebsd.org/changeset/ports/492363

Log:
  net/vether-kmod: Update to g20190207

  PR:		235368
  Submitted by:	Henning Matyschok <henning.matyschok@outlook.com> (maintainer)

Changes:
  head/net/vether-kmod/Makefile
  head/net/vether-kmod/distinfo