Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opam install 2.3.0 build error but still installs #4266

Open
periode opened this issue Dec 13, 2024 · 1 comment
Open

Opam install 2.3.0 build error but still installs #4266

periode opened this issue Dec 13, 2024 · 1 comment
Labels

Comments

@periode
Copy link

periode commented Dec 13, 2024

Description

Hi!

I'm upgrading from 2.3.0-rc to 2.3.0 via opam install and it apparently succeeds but still throws this error:

[ERROR] The compilation of liquidsoap.2.3.0 failed at "dune build -p liquidsoap -j 7 --promote-install-files=false @install".

#=== ERROR while compiling liquidsoap.2.3.0 ===================================#
# context     2.3.0 | linux/x86_64 | ocaml.5.2.1 | https://opam.ocaml.org#de786e28dbea73843ad5e5f0290a4e81fba39370
# path        ~/.opam/default/.opam-switch/build/liquidsoap.2.3.0
# command     ~/.opam/opam-init/hooks/sandbox.sh build dune build -p liquidsoap -j 7 --promote-install-files=false @install
# exit-code   1
# env-file    ~/.opam/log/liquidsoap-3968542-bd7038.env
# output-file ~/.opam/log/liquidsoap-3968542-bd7038.out
### output ###
# [...]
# (cd _build/default/doc && /home/pierre/.opam/default/bin/liquidsoap --no-external-plugins --list-extra-functions-md) > _build/default/doc/reference-extras.md
# Command exited with code 1.
# File "doc/dune.inc", lines 14-26, characters 0-320:
# 14 | (rule
# 15 |   (alias doc)
# 16 |   (package liquidsoap)
# ....
# 24 |       (setenv PAGER none
# 25 |         (run %{bin:liquidsoap} --list-functions-md)))))
# 26 |       )
# (cd _build/default/doc && /home/pierre/.opam/default/bin/liquidsoap --list-functions-md) > _build/default/doc/reference.md
# Command exited with code 1.

Even though liquidsoap --version afterwards outputs:

Liquidsoap 2.3.0+dev
Copyright (c) 2003-2024 Savonet team
Liquidsoap is open-source software, released under GNU General Public License.
See <http://liquidsoap.info> for more information.

So it installs but docs fail?

Steps to reproduce

opam update
opam upgrade
opam install liquidsoap.2.3.0

Expected behavior

No errors during build.

Liquidsoap version

Liquidsoap 2.3.0+dev
Copyright (c) 2003-2024 Savonet team
Liquidsoap is open-source software, released under GNU General Public License.
See <http://liquidsoap.info> for more information.

Liquidsoap build config

* Liquidsoap version  : 2.3.0+dev

 * Compilation options
   - Release build       : false
   - Git SHA             : (none)
   - OCaml version       : 5.2.1
   - OS type             : Unix
   - Libs versions       : angstrom=0.16.1 ao=0.2.4 asetmap=0.8.1 astring=0.8.5 base=v0.17.1 base.base_internalhash_types=v0.17.1 base.shadow_stdlib=v0.17.1 base64=3.5.1 bigarray-compat=1.1.0 bigstringaf=0.10.0 bytes=[distributed with OCaml 4.02 or above] camlp-streams camomile.lib=2.0 cohttp=v6.0.0 cohttp-lwt=v6.0.0 cohttp-lwt-unix=v6.0.0 conduit=7.1.0 conduit-lwt=7.1.0 conduit-lwt-unix=7.1.0 cry=1.0.3 ctypes=0.23.0 ctypes-foreign=0.23.0 curl=0.9.2 domain-name=0.4.0 domain_shims dtools=0.4.5 dune-build-info=3.17.0 dune-private-libs.dune-section=3.17.0 dune-site=3.17.0 dune-site.private=3.17.0 duppy=0.9.4 fdkaac=0.3.3 fileutils=0.6.4 fmt=0.9.0 gen=1.1 http=v6.0.0 http.__private__.http_bytebuffer=v6.0.0 integers ipaddr=5.6.0 ipaddr-sexp=5.6.0 ipaddr.unix=5.6.0 lame=0.3.7 liquidsoap-lang=2.3.0 liquidsoap-lang.console=2.3.0 liquidsoap_ao liquidsoap_builtins liquidsoap_core liquidsoap_fdkaac liquidsoap_lame liquidsoap_mad liquidsoap_ndi liquidsoap_ogg liquidsoap_optionals liquidsoap_opus liquidsoap_oss liquidsoap_prometheus liquidsoap_pulseaudio liquidsoap_runtime liquidsoap_sdl liquidsoap_sdl_log_level liquidsoap_stereotool liquidsoap_vorbis logs=0.7.0 logs.fmt=0.7.0 logs.lwt=0.7.0 lwt lwt.unix macaddr=5.6.0 mad=0.5.3 magic-mime=1.3.1 mem_usage=0.1.1 menhirLib=20240715 metadata=0.3.0 mm=0.8.6 mm.audio=0.8.6 mm.base=0.8.6 mm.image=0.8.6 mm.midi=0.8.6 mm.video=0.8.6 ndi ocaml_intrinsics_kernel=v0.17.1 ocplib-endian ocplib-endian.bigstring ogg=0.7.4 ogg.decoder=0.7.4 opus=0.2.2 opus.decoder=0.2.2 ppx_compare.runtime-lib=v0.17.0 ppx_hash.runtime-lib=v0.17.0 ppx_sexp_conv.runtime-lib=v0.17.0 ppx_string.runtime=v0.17.0 prometheus=1.2 prometheus-app=1.2 pulseaudio=0.1.5 re=1.12.0 saturn_lockfree=0.4.1 sedlex=3.3 seq=[distributed with OCaml 4.07 or above] sexplib0=v0.17.0 stdlib-shims=0.3.0 stereotool str=5.2.1 stringext=1.6.0 threads=5.2.1 tsdl=v1.1.0 tsdl-image=0.5 tsdl-ttf=0.6 unix=5.2.1 uri=4.4.0 uri-sexp=4.4.0 uri.services=4.4.0 vorbis=0.8.0 vorbis.decoder=0.8.0
   - architecture        : amd64
   - host                : x86_64-pc-linux-gnu
   - target              : x86_64-pc-linux-gnu
   - system              : linux
   - ocamlopt_cflags     : -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread
   - native_c_compiler   : gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64
   - native_c_libraries  : -lm -lpthread

 * Configured paths
   - mode              : default
   - standard library  : (set by dune-site)
   - scripted binaries : (set by dune-site)
   - rundir            : (set by dune-site)
   - logdir            : (set by dune-site)
   - user cache        : $HOME/.cache/liquidsoap (override with $LIQ_CACHE_USER_DIR)
   - system cache      : (set by dune-site) (override with $LIQ_CACHE_SYSTEM_DIR)
   - camomile files    : (set by dune-site)

 * Supported input formats
   - MP3               : yes
   - AAC               : no (requires faad)
   - Ffmpeg            : no (requires ffmpeg)
   - Flac (native)     : no (requires flac)
   - Flac (ogg)        : no (requires ogg)
   - Opus              : yes
   - Speex             : no (requires speex)
   - Theora            : no (requires theora)
   - Vorbis            : yes
   - WAV/AIFF          : yes (native)

 * Supported output formats
   - FDK-AAC           : yes
   - FFmpeg            : no (requires ffmpeg)
   - MP3               : yes
   - MP3 (fixed-point) : no (requires shine)
   - Flac (native)     : no (requires flac)
   - Flac (ogg)        : no (requires ogg)
   - Opus              : yes
   - Speex             : no (requires speex)
   - Theora            : no (requires theora)
   - Vorbis            : yes
   - WAV/AIFF          : yes (native)

 * Tags
   - AAC               : no (requires faad)
   - FFmpeg            : no (requires ffmpeg)
   - FLAC (native)     : no (requires flac)
   - Flac (ogg)        : no (requires ogg)
   - Native decoder    : yes
   - Vorbis            : yes

 * Input / output
   - ALSA              : no (requires alsa)
   - AO                : yes
   - FFmpeg            : no (requires ffmpeg)
   - JACK              : no (requires bjack)
   - NDI               : yes
   - OSS               : yes
   - Portaudio         : no (requires portaudio)
   - Pulseaudio        : yes
   - SRT               : no (requires srt)

 * Audio manipulation
   - FFmpeg            : no (requires ffmpeg)
   - LADSPA            : no (requires ladspa)
   - Lilv              : no (requires lilv)
   - Samplerate        : no (requires samplerate)
   - SoundTouch        : no (requires soundtouch)
   - StereoTool        : yes

 * Video manipulation
   - camlimages        : no (requires camlimages)
   - FFmpeg            : no (requires ffmpeg)
   - frei0r            : no (requires frei0r)
   - ImageLib          : no (requires imagelib)
   - SDL               : yes

 * MIDI manipulation
   - DSSI              : no (requires dssi)

 * Visualization
   - GD                : no (requires gd)
   - Graphics          : no (requires graphics)
   - SDL               : yes

 * Additional libraries
   - FFmpeg filters    : no (requires ffmpeg)
   - FFmpeg devices    : no (requires ffmpeg)
   - inotify           : no (requires inotify)
   - irc               : no (requires irc-client-unix)
   - jemalloc          : no (requires jemalloc)
   - lastfm            : no (requires lastfm)
   - lo                : no (requires lo)
   - memtrace          : no (requires memtrace)
   - osc               : no (requires osc-unix)
   - ssl               : no (requires ssl)
   - sqlite3           : no (requires sqlite3)
   - tls               : no (requires tls-liquidsoap)
   - posix-time2       : no (requires posix)
   - windows service   : no (requires winsvc)
   - YAML support      : no (requires yaml)
   - XML playlists     : no (requires xmlplaylist)

 * Monitoring
   - Prometheus        : yes

Installation method

From OPAM

Additional Info

Thanks!

@periode periode added the bug label Dec 13, 2024
@periode
Copy link
Author

periode commented Dec 14, 2024

FYI: installing 2.3.1 from source, and then unpinning all liquidsoap-* and then opam install, but I wonder if this will create problems in future releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant