Package plcairo.5.15.0.1 - #30297
Open
phstrauss wants to merge 1 commit into
Open
Conversation
jmid
reviewed
Jul 25, 2026
| ["plplot-devel"] {os-family = "suse"} | ||
| ["plplot-devel" "epel-release"] {os-distribution = "centos"} | ||
| ["plplot"] {os-distribution = "nixos"} | ||
| ] |
Member
There was a problem hiding this comment.
Thanks for the contribution!
This is also failing CI across the board.
4.14
plcairo.5.15.0.1 (failed: Library "cairo2" not found.)
#=== ERROR while compiling plcairo.5.15.0.1 ===================================#
# context 2.5.2 | linux/x86_64 | ocaml-base-compiler.4.14.4 | pinned(https://codeberg.org/catseyechandra/ocaml-plcairo/archive/v5.15.0.1.tar.gz)
# path ~/.opam/4.14/.opam-switch/build/plcairo.5.15.0.1
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p plcairo -j 71
# exit-code 1
# env-file ~/.opam/log/plcairo-7-0acab0.env
# output-file ~/.opam/log/plcairo-7-0acab0.out
### output ###
# File "src/dune", line 13, characters 19-25:
# 13 | (libraries plplot cairo2)
# ^^^^^^
# Error: Library "cairo2" not found.
# -> required by library "plcairo" in _build/default/src
# -> required by _build/default/META.plcairo
# -> required by _build/install/default/lib/plcairo/META
# -> required by _build/default/plcairo.install
# -> required by alias install
# File "src/dune", lines 5-8, characters 0-95:
# 5 | (rule
# 6 | (targets c_flags.sexp c_library_flags.sexp)
# 7 | (action
# 8 | (run ../configure/discover.exe)))
# (cd _build/default/src && ../configure/discover.exe)
# which: pkgconf
# -> found: /usr/bin/pkgconf
# run: /usr/bin/pkgconf --personality x86_64-pc-linux-gnu --print-errors 'plplot cairo'
# -> process exited with code 1
# -> stdout:
# -> stderr:
# | Package cairo was not found in the pkg-config search path.
# | Perhaps you should add the directory containing `cairo.pc'
# | to the PKG_CONFIG_PATH environment variable
# | Package 'cairo', required by 'virtual:world', not found
# run: /usr/bin/pkgconf --personality x86_64-pc-linux-gnu --print-errors 'plplotd cairo'
# -> process exited with code 1
# -> stdout:
# -> stderr:
# | Package plplotd was not found in the pkg-config search path.
# | Perhaps you should add the directory containing `plplotd.pc'
# | to the PKG_CONFIG_PATH environment variable
# | Package 'plplotd', required by 'virtual:world', not found
# | Package 'cairo', required by 'virtual:world', not found
# compiling c program:
# |
# | #include <plplot.h>
# | #include <cairo.h>
# |
# | int main()
# | {
# | printf("plplot and cairo include test\n");
# | return 0;
# | }
# run: gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -I /home/opam/.opam/4.14/lib/ocaml -o /opam-tmp/build_3647d9_dune/ocaml-configuratora9d2ea/c-test-2/test.exe /opam-tmp/build_3647d9_dune/ocaml-configuratora9d2ea/c-test-2/test.c -lm -lplplot -lcairo
# -> process exited with code 1
# -> stdout:
# -> stderr:
# | /opam-tmp/build_3647d9_dune/ocaml-configuratora9d2ea/c-test-2/test.c:2:10: fatal error: plplot.h: No such file or directory
# | 2 | #include <plplot.h>
# | | ^~~~~~~~~~
# | compilation terminated.
# Fatal error: exception Failure("No valid installation of plplot and cairo found.")
Again, I suggest removing the above depexts and adding a regular depends on
"conf-cairo" and "conf-plplot".
Member
|
@phstrauss Have you had a chance to look at this? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
plcairo.5.15.0.1Bindings for the PLplot Cairo support
Binding for the Cairo rendering layer of PLplot, a high quality scientific plotting library with long history
🐫 Pull-request generated by opam-publish v3.0.0