Closed kvaps closed 2 years ago
does not reproduce.
Dockerfile
root@0a91e5644d6c:~# rm -rf /var/cache/saas/tarballs/* /var/cache/saas/patches/* && saas -tarcache /var/cache/saas/tarballs -patchcache /var/cache/saas/patches -addr ':2020' -keeptmpdir -debug
linux-headers-5.15.0-48-generic
), after extracting drbd-9.1.11.tar.gz
, and cd drbd-9.1.11/drbd
, and make compat.h
curl -d "$(cat compat.h | base64 -)" -X POST http://localhost:2020/api/v1/spatch/9.1.11
(same test VM), I got a patch as expected.So maybe you can at least provide the compat.h
that should trigger the bug?
Sure,
We based our spaas image on debian bullseye, I think the problem is that it is using gcc v10, while ubuntu jammy is using gcc v11 by default.
Meanwhile patch generation was successful after installing additional dependencies and setting symlink for python
your compat.h still works for my jammy container. so if your image is actually based on something else, then fix that yourself please. my guess (and that might be perfectly wrong) is that the symlink alone would be good enough and the dependency is not even needed. that is why I wanted to reproduce it in the first place.
anyways if it is an actual bug in the code we have here, then that is something we need to fix, if it happens somewhere else, then please fix it there. sorry, I currently don't have the time to play around with other base images where this might reproduce. thanks. closing till proven otherwise.
When I trying to build drbd for Ubuntu 22.04. I see the errors:
If I switch default python to
python3
, thenpython3-dev
is still required