-
Notifications
You must be signed in to change notification settings - Fork 178
Failing to build packages: Invalid version (double separator '-') #673
Comments
i have the same problem on the newest ubuntu bionic or something what i did to fix it was go grab these packages from artful "prev version" and install them and it fixed my problem. debugedit_4.12.0.2+dfsg1-2build2_amd64.deb This is a issue with looks like rpm 4.14 and above don't know what the zfs guy can do about it only soultion other then manually building rpm and alien i could figure out. I hope this help anyone been bugging me for days |
Yes, I tough it might be something in RPM itself but I was not sure. So I went upstream by just one step. But downgrading seems to work nicely. Thank you very much for suggesting it. I went with these on Debian:
|
Still happening on Debian Testing as of 02/03/2018 |
I got the same thing on Ubuntu Artful, but got it all working in the end. The only thing I did differently was not use dkms. I think the documentation here is incorrect: https://github.com/zfsonlinux/zfs/wiki/Custom-Packages#kmod-rpm-and-deb After compiling spl and creating the debs, you're asked to install all of the generated debs. Install all of them EXCEPT spl-dkms_*.deb - dkms is for rpm distros, not Ubuntu. Once you compile zfs and generate debs, install all of them EXCEPT zfs-dkms_*.deb |
But how do you install the packages if they refuse to be build due to this error @doubleddav ? |
Thank you @loli10K this saves load of headaches 👍 |
Hello,
I have an issue while trying to build the spl deb/rpm packages. I am getting an error that says
error: line 68: Invalid version (double separator '-')
. I found same issue regarding this error under zfs itself openzfs/zfs#2369. But my error was not solved by removing all installed zfs/spl packages. I am trying to build from master under Linux4.14.2-1
running a Debian. I am attaching the build log. My gcc isgcc (Debian 7.2.0-18) 7.2.0
and RPM isRPM version 4.14.0
.Thank you in advance.
The text was updated successfully, but these errors were encountered: