Opened 5 years ago
Closed 2 years ago
#59685 closed defect (worksforme)
gtk-doc: gtkdoc-rebase: /opt/local/bin/python3.6: bad interpreter: No such file or directory
Reported by: | physicsbeany | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: | gtk-doc |
Description
After upgrading XCode on my Mojave (MacOS 10.14.6) machine, I tried a clean reinstall of some ports, including libxml2. This now fails because it's specifically looking for Python 3.6 --- I have 2.7 and 3.7.
Attaching failed installation logfile.
Attachments (1)
Change History (9)
Changed 5 years ago by physicsbeany
Attachment: | Harfbuzz_failure.log added |
---|
comment:1 Changed 5 years ago by mf2k (Frank Schima)
In the future, please add the port maintainer(s) to Cc (port info --maintainers harfbuzz
), if any.
comment:2 Changed 5 years ago by mf2k (Frank Schima)
Owner: | set to ryandesign |
---|---|
Status: | new → assigned |
comment:3 Changed 5 years ago by jmroot (Joshua Root)
Which port provides /opt/local/bin/gtkdoc-rebase
?
comment:4 Changed 5 years ago by physicsbeany
@jmroot: Aha!
It looks like gtkdoc-rebase is provided by the port "gtk-doc". My installed + active version of that port is "gtk-doc @1.32_0+python36" ... though why it's there when I have no memory of using Python 3.6 I don't know. Presumably I had 3.6 briefly, and installed gtk-doc around then.
Anyway, I just replaced my gtk-doc with the python37 variant, and now the rest of the installation proceeds OK. Which means this ticket can be closed. Sorry for the false alarm.
comment:5 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from ryandesign to dbevans |
---|---|
Port: | gtk-doc added; harfbuzz removed |
Summary: | Harfbuzz expects/requires Python 3.6 → gtk-doc: gtkdoc-rebase: /opt/local/bin/python3.6: bad interpreter: No such file or directory |
I don't understand how you arrived at this problem:
:info:destroot /bin/sh: /opt/local/bin/gtkdoc-rebase: /opt/local/bin/python3.6: bad interpreter: No such file or directory
If gtk-doc was installed with the python36 variant, it should have had a library dependency on the python36 port which should have ensured that the python3.6 program was there when gtkdoc-rebase needed it.
The only explanation I can come up with is if you had forcibly uninstalled python36 despite the dependency. Did you?
comment:6 Changed 5 years ago by physicsbeany
@ryandesign: I didn't think so, but it's possible. I've taken drastic action to try to resolve other dependencies in the past, and not all of these have been 100% clean uninstalls.
Related: does MacPorts retain a human-readable log of all port installation/upgrade/uninstallation requests?
comment:7 Changed 3 years ago by mascguy (Christopher Nielsen)
Owner: | changed from dbevans to mascguy |
---|
Take over Dave's tickets for GTK and friends, now that he's formally dropped maintainership. Boo! ;-)
comment:8 Changed 2 years ago by mascguy (Christopher Nielsen)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
It looks like this is no longer an issue, closing.
Log from failed installation.