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 problem on Debian testing #1095

Closed
ghost opened this issue Feb 15, 2020 · 15 comments
Closed

opam install problem on Debian testing #1095

ghost opened this issue Feb 15, 2020 · 15 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Feb 15, 2020

I tried to post this on the mailing list but my yandex mail account was SPAM listed by sourceforge as usual. Hope it's OK to post here!

Hello!

I am trying to install 1.4.1 with opam.

The install gets stuck at :

# /usr/bin/install -c -d /usr/share/bash-completion/completions
# /usr/bin/install: cannot change permissions of
‘/usr/share/bash-completion/completions’: Read-only file system
# make: *** [Makefile:84: install-local] Error 1

I don't know how to remount the whole file system read-write. Maybe it's
something in the Debian /etc/bash.bashrc which doesn't look for the
completions in the right place.

Regards,

Per Gunnarsson

@toots
Copy link
Member

toots commented Feb 16, 2020

Hi,

We've had issues with this in the past: #980 and I thought this was fixed but it looks like the fix broke debian stable install..

@toots
Copy link
Member

toots commented Feb 16, 2020

@mustafejen Could you send the full logs of opam install -v liquidsoap? Thks!

@ghost
Copy link
Author

ghost commented Feb 16, 2020

log.txt

Ecc. 1:18

@smimram smimram added the bug label Feb 23, 2020
@smimram
Copy link
Member

smimram commented Feb 23, 2020

I can confirm this problem, which means that the current opam is completely broken on at least all linux machines: HIGH PRIORITY!...

@smimram
Copy link
Member

smimram commented Feb 23, 2020

The culprit is likely to be 238a4bd (which overwrites 5f305b3).

@toots
Copy link
Member

toots commented Mar 1, 2020

liquidsoap.1.4.1-1 has been accepted in the opam repository and should fix this issue. I'll close the ticket here once this hits their server.

@toots
Copy link
Member

toots commented Mar 1, 2020

Fixed now, thanks for reporting! http://opam.ocaml.org/packages/liquidsoap/liquidsoap.1.4.1-1/

@toots toots closed this as completed Mar 1, 2020
@smimram
Copy link
Member

smimram commented Mar 2, 2020

Looks like it does not:

#=== ERROR while installing liquidsoap.1.4.1-1 ================================#
# context     2.0.5 | linux/x86_64 | ocaml-base-compiler.4.08.0 | https://opam.ocaml.org#329ac381
# path        ~/.opam/4.08.0/.opam-switch/build/liquidsoap.1.4.1-1
# command     ~/.opam/opam-init/hooks/sandbox.sh install make install
# exit-code   2
# env-file    ~/.opam/log/liquidsoap-974314-d2d111.env
# output-file ~/.opam/log/liquidsoap-974314-d2d111.out
### output ###
# [...]
# /usr/bin/install -c scripts/extract-replaygain /home/smimram/.opam/4.08.0/lib/liquidsoap/share/liquidsoap/1.4.1/bin
# find libs | grep '\.liq$' | while read l; do \
#   /usr/bin/install -c -m 644 $l /home/smimram/.opam/4.08.0/lib/liquidsoap/share/liquidsoap/1.4.1/libs ; \
# done
# /usr/bin/install -c -d /home/smimram/.opam/4.08.0/lib/liquidsoap/etc/liquidsoap
# /usr/bin/install -c -m 644 examples/radio.liq /home/smimram/.opam/4.08.0/lib/liquidsoap/etc/liquidsoap/radio.liq.example
# /usr/bin/install -c -d /home/smimram/.opam/4.08.0/lib/liquidsoap/etc/logrotate.d
# /usr/bin/install -c -m 644 scripts/liquidsoap.logrotate /home/smimram/.opam/4.08.0/lib/liquidsoap/etc/logrotate.d/liquidsoap
# /usr/bin/install -c -d /usr/share/bash-completion/completions
# /usr/bin/install -c -m 644 scripts/bash-completion /usr/share/bash-completion/completions/liquidsoap
# /usr/bin/install: cannot create regular file '/usr/share/bash-completion/completions/liquidsoap': Read-only file system
# make: *** [Makefile:85: install-local] Error 1



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ ∗ install liquidsoap 1.4.1-1
└─ 

@smimram smimram reopened this Mar 2, 2020
@toots
Copy link
Member

toots commented Mar 4, 2020

Wow.

smimram added a commit that referenced this issue Mar 5, 2020
Should solve #1095, which is quite bad.
@toots
Copy link
Member

toots commented Mar 8, 2020

I cannot reproduce on ubuntu 18.04. Gonna test on debian testing next.

@toots
Copy link
Member

toots commented Mar 8, 2020

Confirmed with debian testing.. What a mess..

toots pushed a commit that referenced this issue Mar 8, 2020
@toots
Copy link
Member

toots commented Mar 8, 2020

Ok, PR tested and confirmed to fix the issue. Just merged it, opam package update submitted here: ocaml/opam-repository#15961 Will close here when it is accepted into opam.

@smimram
Copy link
Member

smimram commented Mar 9, 2020

The patch has now been accepted in opam!

<><> liquidsoap.1.4.1-2 installed successfully ><><><><><><><><><><><><><><><><>
=> ✨ Congratulations on installing liquidsoap! ✨

@smimram smimram closed this as completed Mar 9, 2020
@kmahelona
Copy link

Huh... wow... it's crazy when you're working on something and it's just patched hours before. I had this issue in Ubuntu 19.10. I just did an opam update and I'm still seeing version 1.4.1-1 which fails to install. But the apt remove bash-completion trick worked for me. Thx.

@smimram
Copy link
Member

smimram commented Mar 10, 2020

You should do opam update in order to have access to 1.4.1-2.

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

3 participants