Package Details: liquidsoap 1.2.1-4

Git Clone URL: https://aur.archlinux.org/liquidsoap.git (read-only)
Package Base: liquidsoap
Description: a swiss-army knife for multimedia streaming, notably used for netradios and webtvs
Upstream URL: http://savonet.sourceforge.net/
Licenses: GPL
Conflicts: liquidsoap-full, liquidsoap-git
Submitter: mefistofeles
Maintainer: leonardder
Last Packager: leonardder
Votes: 7
Popularity: 0.019170
First Submitted: 2009-02-14 21:32
Last Updated: 2016-08-08 12:17

Latest Comments

M0Rf30 commented on 2016-11-20 11:15

However for those who quickly need:

https://github.com/M0Rf30/PKGBUILD/tree/master/liquidsoap

M0Rf30 commented on 2016-11-20 10:44

@leonardder: Sorry man but when I try to push local commits it fails. Is there another operation to push as a co-maintainer?

git-receive-pack: permission denied: M0Rf30
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

leonardder commented on 2016-11-18 17:56

@M0Rf30: I added you as co-maintainer, so feel free to fix it. You shouldn't flag packages out of date due to compiling errors, though.

M0Rf30 commented on 2016-11-17 19:14

This is a working solution:
https://gist.github.com/M0Rf30/f608fa21cb89e91c046b82f78252c139

Yamakaky commented on 2016-11-17 17:12

/usr/lib/ocaml/caml/memory.h:224:12: erreur : ‘caml__frame’ undeclared (first use in this function)
(void) caml__frame, \

M0Rf30 commented on 2016-11-07 14:41

sudo /usr/bin/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev
[/usr/lib/tmpfiles.d/liquidsoap.conf:1] Unknown user 'liquidsoap'.

leonardder commented on 2016-10-22 06:46

You can run makepkg with the "-A" flag for that. I'm not going to add armv7h to this package, unless all dependencies have it.

ashaman-crypto commented on 2016-10-21 18:46

Any chance of adding armv7h support for rasberrypi3?

5chdn commented on 2016-08-06 21:29

==> Retrieving sources...
-> Found liquidsoap-1.2.1-full.tar.gz
-> Found PACKAGES
-> Found liquidsoap.service
-> Found liquidsoap.tmpfilesd
==> Validating source files with sha256sums...
liquidsoap-1.2.1-full.tar.gz ... Passed
PACKAGES ... Passed
liquidsoap.service ... Passed
liquidsoap.tmpfilesd ... Passed
==> Extracting sources...
-> Extracting liquidsoap-1.2.1-full.tar.gz with bsdtar
==> Starting prepare()...
patch: **** Can't open patch file /home/user/.cache/pacaur/liquidsoap/src/ffmpeg_fixes.patch : No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
:: failed to build liquidsoap package(s)

danny8376 commented on 2016-08-02 14:34

Command "patch -Np1 -i "${srcdir}/ffmpeg_fixes.patch"" in prepare() should be removed.

leonardder commented on 2016-07-26 17:46

I'm sorry I haven't jumped on this earlier. I've removed the patch, please let me know whether it works now. If not, change ffmpeg dependency to ffmpeg2.8 and try again.

5chdn commented on 2016-07-22 15:05

Does not build currently:

==> Extracting sources...
-> Extracting liquidsoap-1.2.1-full.tar.gz with bsdtar
==> Starting prepare()...
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- liquidsoap-1.2.0-full/ocaml-ffmpeg-0.1.1/src/avutil_stubs.c 2015-08-03 17:47:57.000000000 +0200
|+++ avutil_stubs.c 2016-03-26 17:11:26.000000000 +0100
--------------------------
File to patch:

It asks which file to patch. What to do?

mutantmonkey commented on 2016-07-05 06:54

I'm not sure if ffmpeg_fixes.patch is still necessary or not, but since it refers to old paths it should be updated or removed. The build was breaking for me in the prepare() function.

After fixing that, I still ran into another issue that I was able to figure out, but I'll leave it here in case anyone else runs into the same issue:

OCAMLOPT -o liquidsoap
File "_none_", line 1:
Error: Files /usr/lib/ocaml/yojson/yojson.cmx
and /usr/lib/ocaml/easy-format/easy_format.cmx
make inconsistent assumptions over interface Easy_format
make[3]: *** [../Makefile.rules:110: liquidsoap] Error 2
make[3]: Leaving directory '/home/mutantmonkey/builds/liquidsoap/src/liquidsoap-1.2.1-full/liquidsoap-1.2.1/src'
make[2]: *** [../Makefile.rules:67: all-auto-ocaml-prog] Error 2
make[2]: Leaving directory '/home/mutantmonkey/builds/liquidsoap/src/liquidsoap-1.2.1-full/liquidsoap-1.2.1/src'
make[1]: *** [Makefile.rules:27: all-subdirs] Error 2
make[1]: Leaving directory '/home/mutantmonkey/builds/liquidsoap/src/liquidsoap-1.2.1-full/liquidsoap-1.2.1'
make: *** [Makefile:11: all] Error 1
==> ERROR: A failure occurred in build().
Aborting...

It turned out that I had to rebuild ocaml-biniou, ocaml-easy-format, and ocaml-yojson (in that order), and I was able to build Liquidsoap.

Thanks for the package!

melvinvermeeren commented on 2016-04-29 18:35

After updating soundtouch from 1.9.0-3 to 1.9.2-1 and recompiling liquidsoap segfaults on start, even with something like --help.

Can't find anything about it online, running it with gdb gives:
Program received signal SIGSEGV, Segmentation fault.
0x00000000007d1314 in caml_copy_string ()

Anyone else experiencing the problem?

leonardder commented on 2016-03-26 16:26

I've just created a patch which updates ocaml-ffmpeg to the newest version from source. Could anyone try this with the ffmpeg version from the arch repo?

leonardder commented on 2016-03-23 08:56

That probably means you can build liquidsoap-git correctly.

Ryex commented on 2016-03-23 08:38

it seems a fix was applied upstream to build with 3.0 in the ocaml-ffmpeg repo but that commit has not been linked into the liquidsoap-full repo. I'll be on the lookout for when it is and let you know

Ryex commented on 2016-03-23 07:59

unfortunately not as the correct 2.8 header files are included under /usr/include/ffmpeg2.8/ not /usr/include and it's entirely possible to have ffmpeg2.8 and ffmpeg installed at the same time. some sort of patch or configuration change will be needed to account for that.

sadly just adding

CPPFLAGS="-I/usr/include/ffmpeg2.8" LDFLAGS="-L/usr/include/ffmpeg2.8"

to the end of the configure line doesn't work. it will compile but when it comes time to link this happens:

OCAMLOPT -o liquidsoap
/tmp/makepkg/liquidsoap/src/liquidsoap-1.2.0-full/liquidsoap-1.2.0/../ocaml-ffmpeg-0.1.1/src/libffmpeg_stubs.a(avutil_stubs.o): In function `caml_avutil_bits_per_pixel':
avutil_stubs.c:(.text+0x66): undefined reference to `av_pix_fmt_descriptors'
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
../Makefile.rules:109: recipe for target 'liquidsoap' failed

leonardder commented on 2016-03-22 08:09

I've changed ffmpeg dependency to ffmpeg2.8. Please let me know whether compilation works again. I currently don't have enough spare time to test myself.

Ryex commented on 2016-03-22 08:02

$ pacman -Q ffmpeg
ffmpeg 1:2.8.6-2

$ ls -lah /var/cache/pacman/pkg/ffmpeg*
-rw-r--r-- 1 root root 7.1M Oct 14 02:31 /var/cache/pacman/pkg/ffmpeg-1:2.8.1-2-x86_64.pkg.tar.xz
-rw-r--r-- 1 root root 7.1M Nov 2 15:32 /var/cache/pacman/pkg/ffmpeg-1:2.8.1-3-x86_64.pkg.tar.xz
-rw-r--r-- 1 root root 7.1M Oct 9 05:10 /var/cache/pacman/pkg/ffmpeg-1:2.8-2-x86_64.pkg.tar.xz
-rw-r--r-- 1 root root 7.2M Feb 2 12:16 /var/cache/pacman/pkg/ffmpeg-1:2.8.6-2-x86_64.pkg.tar.xz
-rw-r--r-- 1 root root 8.2M Feb 15 15:17 /var/cache/pacman/pkg/ffmpeg-1:3.0-1-x86_64.pkg.tar.xz

no, I do mean 2.8.6-2
version 3.0-1 released 2016-02-15 21:45 UTC causes the issue

leonardder commented on 2016-03-19 08:22

It seems that ffmpeg 2.8.6-2 isn't out yet. Could it be that you meant ffmpeg 2.8.5-2?

Ryex commented on 2016-03-15 03:19

FFMpeg indeed updated and bumped the so version for libavutil to 54
libswscale has also been bumped form 3 to 4 causing a breakage
sym linking the so's back of course does not work because the symbols LIBAVUTIL_54 and LIBSWSCALE_3 are missing

ffmpeg 2.8.6-2 is the last working version

Ryex commented on 2016-03-15 01:48

Broken with same errors here too. same missing .so and same compile error

leonardder commented on 2016-03-07 19:49

@5chdn: Have you updated all OCAML dependencies?
it seems like there has been an FFMPEG update which might break stuff. Other people who can confirm this?

5chdn commented on 2016-03-06 09:45

~ $ liquidsoap --check
liquidsoap: error while loading shared libraries: libavutil.so.54: cannot open shared object file: No such file or directory

:-(

Recompiling also fails:

~ $ pacaur -Syu liquidsoap
[...]
ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I/usr/include -Wall -DCAML_NAME_SPACE \
-DPIC -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include \
-o avutil_stubs.o " avutil_stubs.c
avutil_stubs.c:13:31: error: array type has incomplete element type ‘enum PixelFormat’
static const enum PixelFormat PIXEL_FORMATS[] = {

It's a mess, any idea? :(

5chdn commented on 2016-01-18 10:12

Ok, I had to manually upgrade all ocaml dependencies, now it works again. Strange glitch.

5chdn commented on 2016-01-18 10:03

liquidsoap 1.2.0-1 fails to compile:

ocamlc.opt -c -g -w +A@5-7@8@11@12@20-35-44-45 -I /usr/lib/ocaml/xmlm xmlplaylist.ml
File "xmlplaylist.ml", line 1:
Error: The files /usr/lib/ocaml/pervasives.cmi
and /usr/lib/ocaml/xmlm/xmlm.cmi make inconsistent assumptions
over interface CamlinternalFormatBasics
OCamlMakefile:951: recipe for target 'xmlplaylist.cmo' failed
make[3]: *** [xmlplaylist.cmo] Error 2
make[3]: Leaving directory '/tmp/pacaurtmp-user/liquidsoap/src/liquidsoap-1.2.0-full/ocaml-xmlplaylist-0.1.4/src'
OCamlMakefile:716: recipe for target 'byte-code-library' failed
make[2]: *** [byte-code-library] Error 2
make[2]: Leaving directory '/tmp/pacaurtmp-user/liquidsoap/src/liquidsoap-1.2.0-full/ocaml-xmlplaylist-0.1.4/src'
Makefile:11: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/tmp/pacaurtmp-user/liquidsoap/src/liquidsoap-1.2.0-full/ocaml-xmlplaylist-0.1.4'
Makefile:11: recipe for target 'all' failed
make: *** [all] Error 1


any idea?

minus commented on 2015-09-11 22:28

Two dependencies seem to have gone missing (probably with the move to AUR4):
error: target not found: ocaml-ocamlsdl
error: target not found: ocaml-includepatch

So can't build it; would be great if you could adopt/restore those packages from the backup https://wiki.archlinux.org/index.php/Arch_User_Repository#Git_repositories_for_AUR3_packages

leonardder commented on 2015-08-24 13:39

Thanks for notifying. Do you have a suggestion for another uid/gid?

BoySka commented on 2015-08-24 11:29

Please note that this package has a slight conflict with usbmuxd ( https://www.archlinux.org/packages/extra/x86_64/usbmuxd/ ): the liquidsoap group and the usbmux one try to get the same gid.

codl commented on 2015-03-01 00:53

It seems the problem described by JP-Ellis is caused by this bug: https://bugs.archlinux.org/task/41907

Building camlp4 with the patch provided in the comments fixed it for me.

JP-Ellis commented on 2015-01-10 23:32

I have installed `ocaml-compiler-libs` and it still fails:

ocamlfind: Package 'camlp4' not found
Makefile:50: recipe for target 'pa_duppy.cmi' failed

leonardder commented on 2015-01-10 08:51

Could you try installing ocaml-compiler-libs before building? May be that's a missing dependency nowadays.

JP-Ellis commented on 2015-01-10 02:23

Just tried installing this, and it fails to find `camlp4`, though version 4.02.0+1-1 is installed on the system.

EDIT: As a temporary measure, adding the `--disable-camlp4` flag to `./configure` circumvents the issue.

JP-Ellis commented on 2015-01-10 02:09

Just tried installing this, and it fails to find `camlp4`, though version 4.02.0+1-1 is installed on the system.

leonardder commented on 2014-07-03 07:24

It should now have staticlibs enabled.

LucasHenderson commented on 2014-07-03 00:52

ocaml-xmlm needs to be built with staticlibs as well, as the package looks for xmlm.a

BoySka commented on 2013-12-30 12:13

Note that ocaml-pcre and ocaml-camomile need to be built using "staticlibs" option, because this package will look for pcre.a and camomile.a

leonardder commented on 2013-10-16 10:17

I removed shine support for the time being, since liquidsoap isn't yet in sync with the newest shine. Furthermore, I removed vo-aacenc en libaacplus due to the fact fdk-aac covers both.

leonardder commented on 2013-05-13 07:15

Updated to Liquidsoap 1.1.1, with support for FDK-AAC. Removed support for camlimages as camlimages doesn't build with recent library updates from core. Usage of SDL is advised.

leonardder commented on 2013-04-27 07:27

Liquidsoap 1.1.0 is there. It should compile smoothly with all the dependencies installed. I suggest using yaourt, for example. Pacaur is known to have problems. Also, if you want the git release, check liquidsoap-git. I'll try to keep the pkgbuilds in sync as much as possible.

Myshkin commented on 2012-10-19 19:48

This package will not compile with OCaml 4.0 or greater. Nor will 1.0.1, and I'm not willing to go to a previous version of OCaml so I've decided not to adopt this just yet. I *think* I have most of the dependencies worked out and have updated most of them. If anyone wants to fiddle with it, add 'camlidl' and 'ocaml-lo' to either of the depends and you'll need them installed to build. But the compile will still fail on tools/socket_stubs.c. I think we'll have to wait for the next upstream release. They say it has been fixed in the development repository.

Myshkin commented on 2012-10-19 19:42

This package will not compile with OCaml 4.0 or greater. Nor will 1.0.1, and I'm not willing to go to a previous version of OCaml so I've decided not to adopt this just yet. I *think* I have most of the dependencies worked out and have updated most of them. If anyone wants to fiddle with it, add 'camlidl' and 'ocaml-lo' to either of the depends and you'll need them installed to build. But the compile will still fail on tools/socket_stubs.c.

Anonymous comment on 2011-09-06 19:17

hI, ERROR IN INSTALATION --> File "_none_", line 1, characters 0-1:
Error: Files /usr/lib/ocaml/pcre/pcre.cmxa and /usr/lib/ocaml/stdlib.cmxa
make inconsistent assumptions over implementation String
make[2]: *** [liquidsoap] Error 2
make[2]: se sale del directorio `/tmp/yaourt-tmp-arder/aur-liquidsoap/src/liquidsoap-0.9.3/src'
make[1]: *** [all-auto-ocaml-prog] Error 2
make[1]: se sale del directorio `/tmp/yaourt-tmp-arder/aur-liquidsoap/src/liquidsoap-0.9.3/src'
make: *** [all-subdirs] Error 2

Plus there's too many depencies broken -.-'

Anonymous comment on 2011-08-05 04:06

hI, ERROR IN INSTALATION --> File "_none_", line 1, characters 0-1:
Error: Files /usr/lib/ocaml/pcre/pcre.cmxa and /usr/lib/ocaml/stdlib.cmxa
make inconsistent assumptions over implementation String
make[2]: *** [liquidsoap] Error 2
make[2]: se sale del directorio `/tmp/yaourt-tmp-arder/aur-liquidsoap/src/liquidsoap-0.9.3/src'
make[1]: *** [all-auto-ocaml-prog] Error 2
make[1]: se sale del directorio `/tmp/yaourt-tmp-arder/aur-liquidsoap/src/liquidsoap-0.9.3/src'
make: *** [all-subdirs] Error 2

thatch45 commented on 2011-01-05 20:02

Thanks jonas, you saved me some trouble, I will get these fixed up

Anonymous comment on 2011-01-05 19:55

had to update duppy, findlib, magic, ogg, vorbis, mad, lame and taglib (possibly also, cry) before it actually would build. so yes, i guess you need version checks for those :)

thatch45 commented on 2011-01-05 18:59

Oh, and what version of duppy are you using? You may need to update that as well - Looks like I need some version deps!

thatch45 commented on 2011-01-05 18:53

Ohh, I may need to change the findlib dep, can you upgrade ocaml-findlib and then tell me how it goes?

Anonymous comment on 2011-01-05 18:49

Fails to build:
File "configure.mli", line 1, characters 0-1:
Error: /usr/lib/ocaml/site-lib/dtools/dtools.cmi
is not a compiled interface
make[2]: *** [configure.cmi] Error 2
make[2]: *** Waiting for unfinished jobs....
File "tools/tutils.mli", line 1, characters 0-1:
Error: /usr/lib/ocaml/site-lib/duppy/duppy.cmi
is not a compiled interface

thatch45 commented on 2011-01-04 05:33

Ok, the PKGBUILD has been revamped, be advised that all of the recomended makedeps are not yet available, if you attempt to build this package with ocaml-alsa installed it will fail.
There are still a number of things which need to be modified to make this build %100, expect updates, because this package looks cool

luuuciano commented on 2010-04-14 13:11

@pyropeter, here you have the place to send your comments on that matter: https://lists.sourceforge.net/mailman/listinfo/savonet-users

pyropeter commented on 2010-04-02 22:21

No, this is extremous fail. sudo? in build() ? Adding accounts, also in build() ?

This PKGBUILD is absolutely inacceptable.

I strongly recommend not to use it.

If this software does not build without a user account on the build system, its just a big pile of crap.