You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thank you for creating this docker builder.
I have Debian using 6.12.5-amd64 and it can't compile googles version of gasket_core.c:
~/gasket-builder# cat /var/lib/dkms/gasket/1.0/build/make.log
DKMS make.log for gasket-1.0 for kernel 6.12.5-amd64 (x86_64)
Tue 17 Dec 2024 13:09:15 NZDT
make: Entering directory '/usr/src/linux-headers-6.12.5-amd64'
CC [M] /var/lib/dkms/gasket/1.0/build/gasket_core.o
CC [M] /var/lib/dkms/gasket/1.0/build/gasket_ioctl.o
CC [M] /var/lib/dkms/gasket/1.0/build/gasket_interrupt.o
CC [M] /var/lib/dkms/gasket/1.0/build/gasket_page_table.o
CC [M] /var/lib/dkms/gasket/1.0/build/gasket_sysfs.o
CC [M] /var/lib/dkms/gasket/1.0/build/apex_driver.o
/var/lib/dkms/gasket/1.0/build/gasket_core.c:1376:19: error: ‘no_llseek’ undeclared here (not in a function); did you mean ‘noop_llseek’?
1376 | .llseek = no_llseek,
| ^~~~~~~~~
| noop_llseek
make[2]: *** [/usr/src/linux-headers-6.12.5-common/scripts/Makefile.build:234: /var/lib/dkms/gasket/1.0/build/gasket_core.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/usr/src/linux-headers-6.12.5-common/Makefile:1962: /var/lib/dkms/gasket/1.0/build] Error 2
make: *** [/usr/src/linux-headers-6.12.5-common/Makefile:236: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.12.5-amd64'
Another user submitted a fix to google's repo: google/gasket-driver#35 this does fiix my issue if I modify your Dockerfile to the following to use their pull request:
FROM ubuntu:24.04 AS build-stage
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -q -y --no-install-recommends git devscripts dkms dh-dkms build-essential debhelper
RUN git clone -b llseek https://github.com/heitbaum/gasket-driver
RUN cd gasket-driver && debuild -us -uc -tc -b
FROM scratch AS export-stage
COPY --from=build-stage *.deb .
The text was updated successfully, but these errors were encountered:
Thanks! I've pulled in that commit as a patch (5e78723) so that it doesn't risk pulling in any future changes heitbaum might make. Can you try to build it again?
Gidday,
First off, thank you for creating this docker builder.
I have Debian using 6.12.5-amd64 and it can't compile googles version of gasket_core.c:
Another user submitted a fix to google's repo: google/gasket-driver#35 this does fiix my issue if I modify your Dockerfile to the following to use their pull request:
The text was updated successfully, but these errors were encountered: