Opened 4 years ago

Closed 2 years 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 4 years ago by jmroot (Joshua Root)

Summary: cmake has nonexistent dependenciescmake +python27 has nonexistent dependencies

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:

% port info cmake +docs    
Error: cmake: Error executing docs: can't read "PYTHON_VERSION_WITH_DOT": no such variable
Error: Unable to open port: Error evaluating variants
Last edited 4 years ago by jmroot (Joshua Root) (previous) (diff)

comment:2 Changed 4 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.

Last edited 4 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 4 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@…, GitHub: michaelld

Version 0, edited 4 years ago by rubendibattista (Ruben Di Battista) (next)

comment:4 Changed 4 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 4 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 2 years 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 2 years ago by lukaso (Lukas Oberhuber)

PR to fix this (dropping python27 support): https://github.com/macports/macports-ports/pull/16339

comment:9 Changed 2 years ago by lukaso (Lukas Oberhuber)

In 1c0e2de71514900443b0a04d48c7fd18e6c53115/macports-ports (master):

cmake +python27: Does not build, so remove option

#62178

comment:10 Changed 2 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

Thanks!

Note: See TracTickets for help on using tickets.