Debdiff:
diff -Nru liquidsoap-1.4.1/debian/changelog liquidsoap-1.4.1/debian/changelog
--- liquidsoap-1.4.1/debian/changelog 2020-01-22 14:04:09.000000000 +0200
+++ liquidsoap-1.4.1/debian/changelog 2021-08-15 21:46:44.000000000 +0200
@@ -1,3 +1,10 @@
+liquidsoap (1.4.1-1ubuntu1) focal; urgency=medium
+
+ * Link pervasive libraries to the correct location expected by liquidsoap
+ (LP: #1875414)
+
+ -- Kyle Robbertze <[email protected]> Sun, 15 Aug 2021 21:46:44 +0200
+
liquidsoap (1.4.1-1) unstable; urgency=medium
* Install bash completions into packaging dir (Closes: #945246)
diff -Nru liquidsoap-1.4.1/debian/liquidsoap.links
liquidsoap-1.4.1/debian/liquidsoap.links
--- liquidsoap-1.4.1/debian/liquidsoap.links 1970-01-01 02:00:00.000000000
+0200
+++ liquidsoap-1.4.1/debian/liquidsoap.links 2021-08-15 21:35:12.000000000
+0200
@@ -0,0 +1 @@
+usr/share/liquidsoap/libs usr/share/liquidsoap/1.4.1/libs
** Description changed:
[Impact]
The package ships the pervasive libraries /usr/share/liquidsoap/libs,
while liquidsoap searches for them in /usr/share/liquidsoap/1.4.1/libs.
These libraries are used to implement much of the built-in modules used
within liquidsoap scripts. The fix here would fix scripts using these
- pervasive libraries.
+ pervasive libraries. The fix has been working in Debian unstable and
+ testing without issue.
[Test Plan]
Here is a short script to replicate it:
#!/usr/bin/liquidsoap --check
stream = playlist("")
source = output.icecast(%mp3, host="localhost", port=8000,
mount="listen.m3u", password="hackme")
mksafe(source(mksafe(stream)))
Then ran the check against the liq file:
liquidsoap --check ./radio.liq
- This should terminate successfully.
+ This should terminate successfully. If the libs are not in the correct
+ position, this command will error out.
[Where problems could occur]
This patch creates a symlink, which could cause issues if the user has
used the workaround described below. Liquidsoap searches for the libs in
a subdirectory of /usr/share/liquidsoap that corresponds with the
version of the package, so for Ubuntu 20.04, this should be 1.4.1. An
incorrect symlink would result in no-change of the status-quo
-------------------------------
Original Bug report
-------------------------------
Could not use several script commands in liquidsoap, because liquidsoap
could not find several .liq - files.
Following
sudo mkdir /usr/share/liquidsoap/1.4.1
sudo ln -s /usr/share/liquidsoap/libs /usr/share/liquidsoap/1.4.1/
fixed it, like described here: https://github.com/radiorabe/centos-rpm-
liquidsoap/issues/3
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875414
Title:
Wrong liquidsoap installation, libs are missed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liquidsoap/+bug/1875414/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs