You are not logged in.
I recently updated my system and noticed that DKMS failed to build my DVB modules.
This is the first time that I've run into this issue so I'm not sure how to fix it.
The relevant module is tbs-linux_media-git (from the AUR) and the kernel I've just installed is 5.4.57-1-lts
The DKMS log file is here: http://ix.io/2u7m
There's a line in the log that says:
fatal: not a git repository: '../../media/.git'
but I don't know if that's the root cause of the issue here.
I've rebooted and tried running DKMS manually and get the same error.
Any tips on how to solve would be very welcome.
Last edited by elParaguayo (2020-08-14 18:39:42)
Offline
Try adding
sed -i 's|include/linux/random.h|include/linux/prandom.h|' media_build/v4l/scripts/make_config_compat.pl
to prepare so it becomes
prepare() {
if [ -d "${srcdir}/media" ]; then
cd "${srcdir}/media" && \
git fetch --depth=1 origin && \
git reset --hard origin/latest
else
git clone --depth=1 https://github.com/tbsdtv/linux_media.git -b latest "$srcdir/media"
fi
sed -i 's|include/linux/random.h|include/linux/prandom.h|' media_build/v4l/scripts/make_config_compat.pl
}
Rebuild the package and see if it then builds.
Offline
Thanks loqs.
Based on this recent commit to the kernel, I suspect you're absolutely correct.
I'll test later today and report back.
EDIT: Yes. That was it. Thank you so much. Not sure I'd have worked that one out on my own.
Last edited by elParaguayo (2020-08-14 18:39:29)
Offline