Opened 3 years ago
Closed 3 years ago
#64240 closed defect (duplicate)
graphviz-devel @2.50.0, or port, creates one sym-link too many on macOS High Sierra, version 10.12.6
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | highsierra | Cc: | mascguy (Christopher Nielsen) |
Port: | graphviz-devel |
Description
At the end of upgrading the outdated ports:
---> Updating database of binaries DEBUG: Updating binary flag for file 1 of 1: /opt/local/share/man/man1/dot2gxl.1 ---> Scanning binaries for linking errors
But:
pete 124 /\ l /opt/local/share/man/man1/dot2gxl.1 lrwxr-xr-x 1 root wheel 8 18 Dez 11:38 /opt/local/share/man/man1/dot2gxl.1 -> gv2gxl.1 pete 125 /\ l -L /opt/local/share/man/man1/dot2gxl.1 lrwxr-xr-x 1 root wheel 8 18 Dez 11:38 /opt/local/share/man/man1/dot2gxl.1 -> gv2gxl.1 ls: dot2gxl.1: No such file or directory Exit 1
And but again:
lrwxr-xr-x 1 root wheel 8 18 Dez 11:38 /opt/local/share/man/man1/dot2gxl.1 -> gv2gxl.1 lrwxr-xr-x 1 root wheel 11 11 Jan 2019 /opt/local/share/man/man1/dot2gxl.1.gz -> gxl2gv.1.gz pete 128 /\ l -L /opt/local/share/man/man1/dot2gxl.1* lrwxr-xr-x 1 root wheel 8 18 Dez 11:38 /opt/local/share/man/man1/dot2gxl.1 -> gv2gxl.1 -r--r--r-- 1 root wheel 1082 18 Dez 11:38 /opt/local/share/man/man1/dot2gxl.1.gz ls: dot2gxl.1: No such file or directory Exit 1
Is Makefile incorrectly set up?
root 722 /\ find root 723 /\ find /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz-devel/graphviz-devel/work -type f -exec grep -n dot2gxl.1 {} /dev/null \; …/graphviz-devel/work/graphviz-2.50.0/cmd/tools/Makefile:1551: (cd $(DESTDIR)$(man1dir); rm -f dot2gxl.1; $(LN_S) gv2gxl.1 dot2gxl.1;) …/graphviz-devel/work/graphviz-2.50.0/cmd/tools/Makefile.am:51: (cd $(DESTDIR)$(man1dir); rm -f dot2gxl.1; $(LN_S) gv2gxl.1 dot2gxl.1;) …/graphviz-devel/work/graphviz-2.50.0/cmd/tools/Makefile.in:1551: (cd $(DESTDIR)$(man1dir); rm -f dot2gxl.1; $(LN_S) gv2gxl.1 dot2gxl.1;)
The mentioned Makefiles do not reference dot2gxl.1.gz. Compressing all manual files seems to be a speciality of port
…
Change History (3)
comment:1 Changed 3 years ago by ballapete (Peter "Pete" Dyballa)
comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mascguy added; ryandesign@… mascguy@… removed |
---|---|
Owner: | set to ryandesign |
Status: | new → accepted |
The Makefile is correct but it sets up a manpage symlink that points to another manpage symlink which is a scenario MacPorts base does not accommodate correctly.
The difference you observe between Tiger and High Sierra is likely down to the difference in the order in which readdir
returns entries on HFS+ and APFS volumes.
comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | accepted → closed |
Duplicate of #61288.
Note: See
TracTickets for help on using
tickets.
On PC Tiger, Mac OS X 10.4.11, I see:
and then
followed by
which results on disk in:
On
High Sierra
a working sym-link and a completely defunct sym-link are created while the binary archive forTiger
contains only the defunct sym-link.