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

Compilation fails due to unknown sed option #3

Open
sim642 opened this issue Feb 12, 2024 · 1 comment
Open

Compilation fails due to unknown sed option #3

sim642 opened this issue Feb 12, 2024 · 1 comment

Comments

@sim642
Copy link

sim642 commented Feb 12, 2024

All Apron-dependent GitHub Actions jobs for Goblint fail during the build of this package with:

#=== ERROR while compiling ez-conf-lib.1 ======================================#
# context     2.1.5 | linux/x86_64 | ocaml-base-compiler.5.0.0 | git+https://github.com/ocaml/opam-repository.git
# path        ~/work/analyzer/analyzer/_opam/.opam-switch/build/ez-conf-lib.1
# command     ~/.opam/opam-init/hooks/sandbox.sh build sh -ecx sed -e 's_@@ez-conf-lib:lib@@_/home/runner/work/analyzer/analyzer/_opam/lib/ez-conf-lib_g' ez-conf-lib.config.in > ez-conf-lib.config
# exit-code   1
# env-file    ~/.opam/log/ez-conf-lib-16891-b0399b.env
# output-file ~/.opam/log/ez-conf-lib-16891-b0399b.out
### output ###
# + sed -e s_@@ez-conf-lib:lib@@_/home/runner/work/analyzer/analyzer/_opam/lib/ez-conf-lib_g ez-conf-lib.config.in
# sed: -e expression #1, char 60: unknown option to `s'

(https://github.com/goblint/analyzer/actions/runs/7866405426/job/21460633443).

@sim642
Copy link
Author

sim642 commented Feb 15, 2024

The problem is using _ as the separator character for the sed expression on paths: local opam switches use the _opam subdirectory, where the _ causes sed to delimit things in an unintended way.

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

No branches or pull requests

1 participant