** Description changed:

+ [Impact]
+ 
+ The root cause is https://bugs.debian.org/cgi-
+ bin/bugreport.cgi?bug=991332. 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.
+ 
+ [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.
+ 
+ [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

** Description changed:

  [Impact]
  
- The root cause is https://bugs.debian.org/cgi-
- bin/bugreport.cgi?bug=991332. 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.
+ 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.
  
  [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)))
+   #!/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
+   liquidsoap --check ./radio.liq
  
  This should terminate successfully.
  
  [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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to