Mac Binary releases tainted by build path
Steps to reproduce
- grab binary release:
curl -LvO https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/8.0.5/Darwin_21.6.0_graphviz-8.0.5-x86_64.tar.gz
- unpack the release:
tar xzf Darwin_21.6.0_graphviz-8.0.5-x86_64.tar.gz
- check library dependencies:
otool -L build/bin/dot
It seems an error that the build path, which doesn't exist on an install host, is the place that th blinker is instructed to find the libs:
$ otool -L build/bin/dot
build/bin/dot:
/Users/gitlab/builds/graphviz/graphviz/build/lib/libgvc.6.dylib (compatibility version 7.0.0, current version 7.0.0)
/Users/gitlab/builds/graphviz/graphviz/build/lib/libxdot.4.dylib (compatibility version 5.0.0, current version 5.0.0)
/usr/local/opt/libtool/lib/libltdl.7.dylib (compatibility version 11.0.0, current version 11.2.0)
/Users/gitlab/builds/graphviz/graphviz/build/lib/libcgraph.6.dylib (compatibility version 7.0.0, current version 7.0.0)
/Users/gitlab/builds/graphviz/graphviz/build/lib/libpathplan.4.dylib (compatibility version 5.0.0, current version 5.0.0)
/usr/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 8.0.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.0.0)
/Users/gitlab/builds/graphviz/graphviz/build/lib/libcdt.5.dylib (compatibility version 6.0.0, current version 6.0.0)
Expected Behaviour
No hint of the build path, nothing suggesting I need a user named gitlab
Actual Behaviour
/Users/gitlab/builds/graphviz/graphviz/build/lib/libgvc.6.dylib (compatibility version 7.0.0, current version 7.0.0)
/Users/gitlab/builds/graphviz/graphviz/build/lib/libxdot.4.dylib (compatibility version 5.0.0, current version 5.0.0)
...
/Users/gitlab/builds/graphviz/graphviz/build/lib/libcgraph.6.dylib (compatibility version 7.0.0, current version 7.0.0)
/Users/gitlab/builds/graphviz/graphviz/build/lib/libpathplan.4.dylib (compatibility version 5.0.0, current version 5.0.0)
...
/Users/gitlab/builds/graphviz/graphviz/build/lib/libcdt.5.dylib (compatibility version 6.0.0, current version 6.0.0)
OS Version
Mac M1 with OSX-14.2.1
Graphviz Version
run $ dot -V
(I cannot)
Additional info
I would like to help you maintain Mac builds if I could get a build that works.