Missing dependency installing on Ubuntu 20.04

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
lilgoomba
Posts: 2
Joined: Thu May 14, 2020 1:34 pm

Missing dependency installing on Ubuntu 20.04

Post by lilgoomba »

I seem to not be able to install Exult on any Ubuntu 20.04 machine. Apt fails with this dependency issue:

The following packages have unmet dependencies:
exult : Depends: libfluidsynth1 but it is not installable

I checked and libfluidsynth2 is installed but there is no candidate for libfuildsynth1, at least not with Ubuntu 20.04.

Is there a workaround for this install issue? I have tested this on multiple machines running 20.04 with the same result.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Missing dependency installing on Ubuntu 20.04

Post by Dominus »

That's odd.
Just for "fun" I downloaded the Ubuntu 20.04 iso and installed it in a VM.

sudo apt install exult shows me
sudo apt install exult
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
fluid-soundfont-gm libfluidsynth2 libinstpatch-1.0-2 libmad0 libmikmod3 libopenal-data libopenal1 libsdl-mixer1.2 libsdl1.2debian libsdl2-2.0-0 libsndio7.0
timgm6mb-soundfont timidity
Suggested packages:
fluid-soundfont-gs fluidsynth libportaudio2 sndiod musescore freepats pmidi timidity-daemon
The following NEW packages will be installed:
exult fluid-soundfont-gm libfluidsynth2 libinstpatch-1.0-2 libmad0 libmikmod3 libopenal-data libopenal1 libsdl-mixer1.2 libsdl1.2debian libsdl2-2.0-0
libsndio7.0 timgm6mb-soundfont timidity
and it installed ok. So I cannot reproduce this in a fresh Ubuntu 20.04 install. Did you tinker with your package list or where the packages are pulled from (I dimly remember that you can do that, but I'm not really accustomed to any linux or apt)

BUT that is the old Exult 1.2 not the new 1.6.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Missing dependency installing on Ubuntu 20.04

Post by Dominus »

Can you tell us the output of
apt-cache policy exult

on a new system this outputs:
exult:
Installed: (none)
Candidate: 1.2-18build1
Version table:
1.2-18build1 500
500 http://us.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages
100 /var/lib/dpkg/status
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Missing dependency installing on Ubuntu 20.04

Post by Dominus »

But once we figured this out, just install Exult 1.6 from source. You just need to install libsdl2-dev, libogg-dev and libvorbis-dev. Then in the Exult source run
./autogen.sh
./configure
make
make install
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
lilgoomba
Posts: 2
Joined: Thu May 14, 2020 1:34 pm

Re: Missing dependency installing on Ubuntu 20.04

Post by lilgoomba »

The machines I tried this on were all upgraded from previous versions of Ubuntu so that could be the problem.
Here is the apt-cache output:

exult:
Installed: (none)
Candidate: 1.5.0+svn20200428~ubuntu20.04.1
Version table:
1.5.0+svn20200428~ubuntu20.04.1 500
500 http://ppa.launchpad.net/exult-team/exult-daily/ubuntu focal/main amd64 Packages
1.5.0+svn20190920~ubuntu19.10.1 -1
100 /var/lib/dpkg/status
1.2-18build1 500
500 http://us.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages

I might try installing from source. Your help is greatly appreciated!
i30817
Posts: 38
Joined: Mon May 25, 2020 10:24 am

Re: Missing dependency installing on Ubuntu 20.04

Post by i30817 »

If you're using the ppa, i just pushed a change that might fix this (or break everything) where i replaced the runtime dependency on 'libfluidsynth1' by installing the virtual package 'fluidsynth' that appears to link to fluidsynth 1 in eoan down and fluidsynth2 in focal up.
mbanck

Re: Missing dependency installing on Ubuntu 20.04

Post by mbanck »

That's the Ubuntu PPA - would be good to report that problem to them, probably at https://bugs.launchpad.net/~exult-team

They also should bump the version of their snapshots to 1.7.0 I guess.
mbanck

Re: Missing dependency installing on Ubuntu 20.04

Post by mbanck »

Ah well, I hadn't refreshed the page so missed i30817's reply. Seems everything is under control.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Missing dependency installing on Ubuntu 20.04

Post by Dominus »

Thanks everyone :)
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Locked