Opened 3 years ago
Closed 19 months ago
#62178 closed defect (fixed)
cmake +python27 has nonexistent dependencies
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | rubendibattista (Ruben Di Battista), cooljeanius (Eric Gallager) | |
Port: | cmake |
Description
https://build.macports.org/builders/jobs-mirror/builds/240336/steps/mirror/logs/stdio
---> Fetching distfiles for cmake Error: No such port: py27-sphinxcontrib-applehelp Error: No such port: py27-sphinxcontrib-devhelp Error: No such port: py27-sphinxcontrib-htmlhelp Error: No such port: py27-sphinxcontrib-jsmath Error: No such port: py27-sphinxcontrib-qthelp Error: No such port: py27-sphinxcontrib-serializinghtml
Change History (10)
comment:1 Changed 3 years ago by jmroot (Joshua Root)
Summary: | cmake has nonexistent dependencies → cmake +python27 has nonexistent dependencies |
---|
comment:2 Changed 3 years ago by rubendibattista (Ruben Di Battista)
Ehi @jmroot,
shouldn't this commit have addressed the error at least?
I'll check on the docs variant not being created.
Sorry for having introduced this bug.
comment:3 Changed 3 years ago by rubendibattista (Ruben Di Battista)
Also @jmroot, what do you mean by "a user would never discover that +docs even exists"?
If I do: port info cmake
The docs variants is correctly listed. Am I missing something?
port info cmake cmake @3.19.3 (devel) Sub-ports: cmake-devel Variants: docs, python27, python35, python36, python37, python38, (+)python39, qt5, universal Description: An extensible, open-source system that manages the build process in an operating system and compiler independent manner. Unlike many cross-platform systems, CMake is designed to be used in conjunction with the native build environment. The cmake release port is updated roughly every few months. Homepage: https://cmake.org Build Dependencies: py39-sphinx, py39-sphinxcontrib-applehelp, py39-sphinxcontrib-devhelp, py39-sphinxcontrib-htmlhelp, py39-sphinxcontrib-jsmath, py39-sphinxcontrib-qthelp, py39-sphinxcontrib-serializinghtml, py39-sphinxcontrib-websupport Library Dependencies: libcxx, curl, expat, zlib, bzip2, libarchive, ncurses, libuv Platforms: darwin, freebsd License: BSD Maintainers: Email: michaelld@macports.org, GitHub: michaelld
comment:4 Changed 3 years ago by rubendibattista (Ruben Di Battista)
Anyway, since the missing dependencies are a lot for Python27. Should we drop the support altogether?
comment:5 Changed 3 years ago by jmroot (Joshua Root)
You appear to have +python39 in variants.conf. Try removing it and look at the port info output.
comment:6 Changed 3 years ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:7 Changed 19 months ago by lukaso (Lukas Oberhuber)
The python27 variant should definitely be removed as it is not building. Or fixed.
The workaround for now (if you are landing here) is:
sudo port install cmake -python27
comment:8 Changed 19 months ago by lukaso (Lukas Oberhuber)
PR to fix this (dropping python27 support): https://github.com/macports/macports-ports/pull/16339
comment:9 Changed 19 months ago by lukaso (Lukas Oberhuber)
comment:10 Changed 19 months ago by michaelld (Michael Dickens)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Thanks!
Also, it doesn't create the docs variant unless some python variant or the docs variant itself is selected. So it's likely that a user would never discover that +docs even exists. And if they somehow did: