github / glb-director

GitHub Load Balancer Director and supporting tooling.
Other
2.38k stars 229 forks source link

Failing build as of 5.4.0-rc2 #82

Closed bobrik closed 5 years ago

bobrik commented 5 years ago

Hello, this commit in 5.4.0-rc2 renamed nf_reset to nf_reset_ct, which broke the build:

Failure looks roughly like this:

[03:15:15]  make -C /huh/build/linux-5.4.0-rc2 ARCH=x86_64  O=/huh/build/amd64 M=/huh/build/glb-director/src/glb-redirect modules
[03:15:15]  make[1]: Entering directory '/huh/build/linux-5.4.0-rc2'
[03:15:15]  make[2]: Entering directory '/huh/build/amd64'
[03:15:16]  grep: dkms.conf: No such file or directory
[03:15:16]    CC [M]  /huh/build/glb-director/src/glb-redirect/ipt_GLBREDIRECT.o
[03:15:17]  /huh/build/glb-director/src/glb-redirect/ipt_GLBREDIRECT.c: In function 'glbredirect_send_forwarded_skb':
[03:15:17]  /huh/build/glb-director/src/glb-redirect/ipt_GLBREDIRECT.c:94:2: error: implicit declaration of function 'nf_reset'; did you mean 'nf_ct_set'? [-Werror=implicit-function-declaration]
[03:15:17]     94 |  nf_reset(skb);
[03:15:17]        |  ^~~~~~~~
[03:15:17]        |  nf_ct_set
[03:15:17]  cc1: some warnings being treated as errors
[03:15:17]  make[2]: Leaving directory '/huh/build/amd64'
[03:15:17]  make[3]: *** [/huh/build/linux-5.4.0-rc2/scripts/Makefile.build:266: /huh/build/glb-director/src/glb-redirect/ipt_GLBREDIRECT.o] Error 1
[03:15:17]  make[1]: Leaving directory '/huh/build/linux-5.4.0-rc2'
[03:15:17]  make[2]: *** [/huh/build/linux-5.4.0-rc2/Makefile:1650: /huh/build/glb-director/src/glb-redirect] Error 2
[03:15:17]  make[1]: *** [Makefile:179: sub-make] Error 2
[03:15:17]  make: *** [Makefile:195: build-glb-redirect-amd64] Error 2
[03:15:19]  Failure: 2