Source: liquidsoap Version: 1.4.3-1 Severity: serious Hi, liquidsoap fails to compile on an up-to-date amd64 sid machine:
OCAMLOPT -c stream/frame.ml File "stream/frame.ml", line 363, characters 25-59: 363 | contents = [(!!size, create_content (type_of_kind kind))]; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: This expression has type (float array array, Video.t array, MIDI.buffer array) fields but an expression was expected of type content = (audio_t array, video_t array, midi_t array) fields Type float array is not compatible with type audio_t = (float, Bigarray.float32_elt, Bigarray.c_layout) Bigarray.Array1.t here is the output of the configure: checking for a BSD-compatible install... /usr/bin/install -c checking for GNU make... make checking whether user liquidsoap exists... no configure: WARNING: Won't be able to install log and PID directories! checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for ocamlc... ocamlc OCaml version is 4.11.1 checking if ocaml compiler supports first-class modules... yes OCaml library path is /usr/lib/ocaml checking for ocamlopt... ocamlopt checking for ocamlc.opt... ocamlc.opt checking for ocamlopt.opt... ocamlopt.opt checking for ocaml... ocaml checking for ocamldep... ocamldep checking for ocamldep.opt... ocamldep.opt checking for ocamlmktop... ocamlmktop checking for ocamlmklib... ocamlmklib checking for ocamldoc... ocamldoc checking for ocamldoc.opt... ocamldoc.opt checking for ocamlbuild... ocamlbuild checking for camlidl... camlidl checking for ocamllex... ocamllex checking for ocamllex.opt... ocamllex.opt checking for ocamlyacc... ocamlyacc checking for camlp4... camlp4 checking for camlp4boot... camlp4boot checking for camlp4o... camlp4o checking for camlp4of... camlp4of checking for camlp4oof... camlp4oof checking for camlp4orf... camlp4orf checking for camlp4prof... camlp4prof checking for camlp4r... camlp4r checking for camlp4rf... camlp4rf checking for ocamlfind... ocamlfind checking for ocaml standard library path... /usr/lib/ocaml checking for caml/threads.h... yes checking whether ocamlopt accepts -ffast-math... no checking for ocamlc version... 4.11.1 checking for ocaml bytes module... ok checking for ocaml pcre module... ok checking for ocaml sedlex module >= 2.0... ok checking for ocaml menhirLib module... ok checking for ocaml dtools module >= 0.4.0... ok checking for ocaml duppy module >= 0.6.0... ok checking for ocaml cry module >= 0.6.0... ok checking for ocaml mm module >= 0.5.0... ok checking for ocaml xmlplaylist module >= 0.1.3... ok checking for ocaml lastfm module >= 0.3.0... ok checking for ocaml ogg module >= 0.5.0... ok checking for ocaml vorbis module >= 0.7.0... ok checking for ocaml opus module >= 0.1.3... ok checking for ocaml speex module >= 0.2.1... ok checking for ocaml mad module >= 0.4.4... ok checking for ocaml flac module >= 0.1.5... ok checking for ocaml flac.ogg module... ok checking for ocaml dynlink module... ok checking whether ocaml compiler supports dynlink... yes checking for ocaml lame module >= 0.3.2... ok checking for ocaml shine module >= 0.2.0... ok checking for ocaml gstreamer module >= 0.3.0... ok checking for ocaml frei0r module >= 0.1.0... ok checking for ocaml fdkaac module >= 0.3.1... Not found. checking for ocaml theora module >= 0.3.1... ok checking for ocaml gavl module >= 0.1.4... ok checking for ocaml ffmpeg module >= 0.4.1... ok checking for ocaml bjack module >= 0.1.3... ok checking for ocaml alsa module >= 0.2.1... ok checking for ocaml ao module >= 0.2.0... ok checking for ocaml samplerate module >= 0.1.1... ok checking for ocaml taglib module >= 0.3.0... ok checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking for ocaml ssl module >= 0.5.2... ok checking for ocaml osx-secure-transport module... Not found. checking for ocaml magic module... ok checking for ocaml camomile module >= 1.0.0... ok checking for ocaml inotify module >= 1.5... ok checking for ocaml yojson module... ok checking for ocaml faad module >= 0.4.0... ok checking for ocaml soundtouch module >= 0.1.7... ok checking for ocaml portaudio module >= 0.2.0... ok checking for ocaml pulseaudio module >= 0.1.2... ok checking for ocaml ladspa module >= 0.1.4... ok checking for ocaml dssi module >= 0.1.0... Not found. checking for ocaml sdl module... ok checking for ocaml camlimages module >= 4.0.0... ok checking for ocaml srt.types module >= 0.1.0... Not found. checking for ocaml srt.stubs module >= 0.1.0... Not found. checking for ocaml srt.stubs module >= 0.1.0... Not found. checking for ocaml srt module >= 0.1.0... Not found. checking for ocaml lo module >= 0.1.2... ok checking for ocaml gd module... ok checking for ocaml winsvc module >= 0.0.1... Not found. checking for python... no configure: creating ./config.status config.status: creating doc/content/install.md config.status: creating doc/content/build.md config.status: creating doc/liquidsoap.1.md config.status: creating Makefile.defs config.status: creating src/META config.status: creating liquidsoap.opam config.status: creating config.h make[2]: Entering directory '/home/rt/debian/packages/ocaml-team/build-area/liquidsoap-1.4.3' Creating scripts/liquidsoap.logrotate make[2]: Leaving directory '/home/rt/debian/packages/ocaml-team/build-area/liquidsoap-1.4.3' ----------------------------------------------------------------- Compilation Compiler : ocamlfind ocamlopt Version : 4.11.1 OS : Unix Plugins : Custom path : no OCAML_CFLAGS : -g -annot -bin-annot -g -w +A-4@5-7@8-9@11@12@20-35-44-45-50 -ccopt "$(CFLAGS)" -package bytes -package pcre -package sedlex -package sedlex.ppx -package menhirLib -package dtools -package duppy -package cry -package mm -package xmlplaylist -package lastfm -package ogg -package vorbis -package opus -package speex -package mad -package flac -package flac.ogg -package dynlink -package lame -package shine -package gstreamer -package frei0r -package theora -package gavl -package ffmpeg -package bjack -package alsa -package ao -package samplerate -package taglib -package ssl -package magic -package camomile -package inotify -package yojson -package faad -package soundtouch -package portaudio -package pulseaudio -package ladspa -package sdl.sdlmixer -package sdl.sdlttf -package sdl.sdlimage -package camlimages.all_formats -I /types -I /stubs -I /stubs/locked -package lo -package gd OCAML_LFLAGS : -g -linkpkg -package unix -package threads -package str -package bigarray -cc "$(CC)" CFLAGS : -g -O2 -fdebug-prefix-map=/home/rt/debian/packages/ocaml-team/build-area/liquidsoap-1.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -I$(top_srcdir) -I/usr/include -fPIC -I/usr/lib/ocaml -g LDFLAGS : -Wl,-z,relro -L/usr/lib CAMLP4O : camlp4o ---------------------------------------------------------------- Installation prefix : /usr exec_prefix : ${prefix} binary : ${exec_prefix}/bin configuration : /etc/liquidsoap logging : /var/log/liquidsoap PIDs : /var/run/liquidsoap logrotate conf : /etc/logrotate.d man page : ${prefix}/share/man/man1 doc : ${datarootdir}/doc bash completion: /usr/share/bash-completion/completions emacs mode : ${prefix}/share/emacs/site-lisp/liquidsoap-mode -------------------------------------------------------------------- Features * Supported input formats - AAC : yes - Ffmpeg : yes - Flac (native) : yes - Flac (ogg) : yes - Mp3 : yes - Opus : yes - Speex : yes - Theora : yes - Vorbis : yes - XML playlists : yes * Supported output formats - FDK-AAC : detected at runtime - Ffmpeg : yes - MP3 : yes - MP3 (fixed-point) : yes - Opus : yes - SPEEX : yes - Theora : yes - Vorbis : yes * Tags - charset detection : yes - Taglib (ID3 tags) : yes - Vorbis : yes * Input / output - ALSA : yes - AO : yes - Icecast/Shoutcast : yes - GStreamer : yes - JACK : yes - OSS : yes - Portaudio : yes - Pulseaudio : yes - SRT : no (requires srt) * Audio manipulation - LADSPA : yes - Samplerate : yes - SoundTouch : yes * Video manipulation - camlimages : yes - FFmpeg : yes - frei0r : yes - Gavl : yes * MIDI manipulation - DSSI : no (requires dssi) * Visualization - GD : yes - Graphics : no - SDL : yes * Additional libraries - curl URI resolver : requires curl at runtime - dynlink : yes - inotify : yes - lo : yes - magic : yes - SecureTransport : no (requires osx-secure-transport) - ssl : yes - windows service : no (requires winsvc) - yojson : yes * Graphical interfaces - Python GUI : no