Hi @Ellson (or y’all if you can help).
Installation problem:
When I install homebuilt RPM’s or RPM’s from Index of /Packages/stable/centos/6/os/x86_64, I get errors saying that /bin/dot is not found. After the installation, I find dot in /usr/bin/dot. Before the installation dot does not exist (as expected).
Execution problem:
When running dot after the installation, no output formats are supported. I don’t know if it’s related to the first problem or if it’s something different.
Context:
As you can see below, I’m doing this in a Docker container since I don’t have access to a native system. I don’t know if this has something to do with it or not. @Ellson: Perhaps you can try on your virtual machine?
Why am I doing this? I’m trying to add automated tests to the GitLab CI/CD pipeline, see Pipeline · Magnus Jacobsson / graphviz · GitLab. As you can see, all other operating systems run fine.
Full log from manual attempt:
magjac@magjac-ThinkPad-T440s:~/graphviz-test$ docker run -it -v /home/magjac/graphviz-test:/repo graphviz:centos6
[root@0a7f0f086141 /]# whereis dot
dot:
[root@0a7f0f086141 /]# dot -V
bash: dot: command not found
[root@0a7f0f086141 /]# rpm --install --force /repo/Packages/development/centos/6/os/x86_64/graphviz-*.rpm
/var/tmp/rpm-tmp.q2JL8v: line 1: /bin/dot: No such file or directory
warning: %post(graphviz-plugins-core-2.43.20200406.0510-1.el6.x86_64) scriptlet failed, exit status 127
/var/tmp/rpm-tmp.5Bdo6c: line 1: /bin/dot: No such file or directory
warning: %post(graphviz-plugins-x-2.43.20200406.0510-1.el6.x86_64) scriptlet failed, exit status 127
/var/tmp/rpm-tmp.Cz4XbV: line 1: /bin/dot: No such file or directory
warning: %post(graphviz-plugins-gd-2.43.20200406.0510-1.el6.x86_64) scriptlet failed, exit status 127
/var/tmp/rpm-tmp.VgtZwq: line 1: /bin/dot: No such file or directory
warning: %post(graphviz-plugins-core-2.45.20200412.0919-1.el6.x86_64) scriptlet failed, exit status 127
/var/tmp/rpm-tmp.W1Zgod: line 1: /bin/dot: No such file or directory
warning: %post(graphviz-plugins-x-2.45.20200412.0919-1.el6.x86_64) scriptlet failed, exit status 127
/var/tmp/rpm-tmp.ubVuK1: line 1: /bin/dot: No such file or directory
warning: %post(graphviz-plugins-gd-2.45.20200412.0919-1.el6.x86_64) scriptlet failed, exit status 127
/var/tmp/rpm-tmp.uT6YgS: line 1: /bin/dot: No such file or directory
warning: %post(graphviz-plugins-visio-2.43.20200406.0510-1.el6.x86_64) scriptlet failed, exit status 127
/var/tmp/rpm-tmp.Bu9IXJ: line 1: /bin/dot: No such file or directory
warning: %post(graphviz-plugins-visio-2.45.20200412.0919-1.el6.x86_64) scriptlet failed, exit status 127
[root@0a7f0f086141 /]# whereis dot
dot: /usr/bin/dot /usr/share/man/man1/dot.1.gz
[root@0a7f0f086141 /]# dot -V
dot - graphviz version 2.45.20200412.0919 (20200412.0919)
[root@0a7f0f086141 /]# echo 'digraph {a}' | dot -Tsvg
Format: "svg" not recognized. Use one of:
[root@0a7f0f086141 /]#
Full log from pipeline:
Available at centos6-test (#507804557) · Jobs · Magnus Jacobsson / graphviz · GitLab