-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make native-deb
should be removed, since it's never worked in a 2.2 release tarball
#16513
Comments
Wouldn't it make more sense to fix the tarball instead of removing the option? |
You would think so. But since it's been broken for a year, and it's been reported several times to the people generating releases without any change, I've given up on that happening. |
@rincebrain interesting? do you want to destroy something that works (make native-deb-utils) and leave make deb that doesn't work? #16478 |
I'd rather we stopped claiming that building packages worked if we don't test it and don't fix it when it's broken. I'm tired of having to explain to people for a year that it's known to be broken. Honestly, I'd remove the alien'd deb target while we're at it, because those would require a lot of patches to alien to be able to actually work reliably. |
@rincebrain I use make native-deb-utils compilation. tested for >=zfs-2.2.4, make deb does not work. I'm sorry you've had such a negative experience. |
You should probably read the report before commenting any more. The entire point is that the release tarballs do not work, for any version. I tried this on all of the release tarballs from 2.2.0 to 2.2.6. They do not contain most of the files needed for this to ever work, on any release, ever. This has been reported, and not fixed, just like "make -j native-deb" has been broken since it was merged, and not fixed, other than saying "don't do that". If we're not going to fix it, we should stop pretending to support it. |
All other things being equal, I agree that nothing is better than a broken thing. However, the fact that there is a broken thing is at least a statement of intent, so if its still wanted and not hard to fix, then I'm more on the side of fixing it, as long as that happens. It sounds like its more of a symptom, than a cause, and that's more about tarballs being broken. I've seen that myself on the FreeBSD side (in a customer project where git wasn't readily available); that one was easily fixed though. @tonyhutter with your release manager hat on, how "working" do you expect the tarballs to be? Would you prefer that broken options like this are fixed for all cases, removed for all cases, or gated off to tarball builds? Or something else? |
Given opinion from 2023-04 and opinion on original PR from 2022-05, shall I say... vindicated? |
I agree that there are issues with building from a tar-ball, but I have been successful in building native-deb, native-deb-kmod and native-deb-utils from a checkout on Ubuntu 24.04 and Debian 12. |
just building, or actually using? #15638 at least certainly indicates to me that it builds, but "actually using" it doesn't really happen let's see what the original PR says should happen here:
1 seems farcical, 2 has certainly not come to pass (and is nonsensical on its face, to me), 3 is weird given that there's no reason to... use this packaging? instead of the one from debian? if you're building debian (debian derivative) packages?, 4 is an outright lie for real Debian packages, and just fix the alien ones if they don't have dbgsyms? lol the original goals seem, to me, clearly unmet, this has increased support load, it doesn't work at all in any released version, and barely? works? or is subtly broken? on trunk |
Closes: openzfs#16513 Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Thanks for fully cataloging the issues and opening a PR to get feedback. I agree, this hasn't exactly been as trouble free as I was originally hoping. However, before we go ahead and remove this functionality we should do an honest assessment of what it will take to fix the open issues and properly maintain it. @usaleem-ix can you investigate the open issues. |
(ftr this is just what i got from searching "native deb" and "contrib/debian" and a cursory ^F inside, so i don't expect this to actually be exhaustive) |
FWIW, I switched to |
I am working on that. |
I use make native-deb on Devuan Ceres and Debian Sid. compilation works, installation of openzfs-* packages, including dkms compilation of kernel modules. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
I'd prefer to try and work through the reported issues before we consider dropping this support. A first round of fixes was merged in #16604 which we'll back port for 2.2.7. |
Attempting to
make native-deb
or any of the children of it, includingmake native-deb-utils
, will not work in any released tarball, because the tarballs are prepared incorrectly and missing most ofcontrib/debian/
.They will error out with
On any of 2.2.0 through 2.2.6.
The text was updated successfully, but these errors were encountered: