Mercury-Language / packaging

Packaging scripts
9 stars 3 forks source link

Packaging for Ubuntu 19.04? #4

Closed vmchale closed 5 years ago

vmchale commented 5 years ago

I am using Ubuntu 19.04 and would ideally like to get my packages from a disco ppa. Right now it only has stretch :)

PaulBone commented 5 years ago

Do the existing packages work or are they broken in some way?

What I've found is that as Mercury has a small number of dependencies sometimes one package works on multiple versions. If it doesn't work I'm happy to build a new package, but knowing that would help me prioritise it (and know what to look for when I try to make a new package).

Thank you.

PaulBrownMagic commented 5 years ago

I'm on disco too, when I try to apt install from jessie I'm getting errors:

:~$ sudo apt install mercury-devel mercury-tools mercury-recommended

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 mercury-devel : Depends: libreadline6 (>= 6.0) but it is not installable
 mercury-tools : Depends: gcc-4.8 but it is not installable
E: Unable to correct problems, you have held broken packages.
PaulBone commented 5 years ago

I'll work on this this evening. Thanks for the reminder.

PaulBone commented 5 years ago

Here's what I'm working on to update the packages.

PaulBone commented 5 years ago

I have added new package builds for both "buster" (Debian 10) and "disco" (Ubuntu 19.04). I only intend to package mercury-rotd on these unless there's a new Mercury release. The Mercury version packaged is ROTD 2018-11-14, same as was already done for the other OSs. I'll update this in a couple of weeks.

Follow the instructions at http://dl.mercurylang.org/deb/ and let me know if there are any problems. Enjoy.