-
Notifications
You must be signed in to change notification settings - Fork 274
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
Fixed missing deb packages #1270
Conversation
changed libffi6 to libffi7
changed ubuntu to latest
Cool, thanks for starting this work! The only problem with this approach is that we will drop support for the older distributions. We are trying our best to support all LTS distributions of Ubuntu, mainly because they are widely used in cloud services. We can see that libffi6 is provided by trusty, xenial, and bionic, whilst libffi7 is only provided by focal. So we have a three to one bargain that will break more than fix. And, as far as I can tell, there are indeed no backports of libffi7 to older distributions, neither compat builds of libffi6 on the newer distributions. With that said, we can try to make both worlds happy. We can keep the main release action on bionic (18.04) but add an additional action that will run on focal (latest, aka 20.04) and add extra assets to the main release. Thus, at the end, we will have two sets of binary packages - built on bionic, they will work on trusty, xenial, bionic, and the assets built on focal. The latter will be distinguished from the former by having an extra build identifier +libffi7, e.g., bap_2.3.0+libffi7.deb. Now to the technical stuff, here is the plan. We will keep the existing FFI_VERSION=${2:-6} that means take the second parameter to the Now we need to use it in the DEPENDS section of the DEBIAN/control file, e.g.,
After this changes are implemented we can call
and we need to repeat the |
I will try my best to fix this thing, thanks alot for guiding me |
Hey,
cause inside release.sh,
and this line
packages name is generated by BAP_VERSION not using FFI_VERSION so when looking for asset_name,
search may fail cause. |
Sure, the original plan was to pass the new version name to the
a little bit ugly but this should generate the correct artifacts. An alternative approach, would be to keep the version as it is, but to use
I think the latter solution (with different source and destination names, specified via |
Hey,
I tried fixing #1269 issue, missing deb packages and build it for latest ubuntu release.
Please review my commit and provide me with proper guidance cause this is my first contribution to Open Source.
Thanks