maintainer-feedback requested: [Bug 227573] CMAKE build issues with py36

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 17 06:48:53 UTC 2018


Bugzilla Automation <bugzilla at FreeBSD.org> has asked kde at FreeBSD.org for
maintainer-feedback:
Bug 227573: CMAKE build issues with py36
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227573



--- Description ---
Hi,

I am trying to build cmake with the the build options of just MANPAGES with
uses py-sphinx to build the respective manpages.

I am hitting a couple of issues.

Firstly, in order to build with python36, and having looked at the Makefile, i
have to specify PY_FLAVOR=py36 rather than just FLAVOR=py36 which seems to
differ to other ports.

root at server:/usr/ports/devel/cmake # make FLAVOR=py36 install clean
===>  cmake-3.11.0 FLAVOR is defined (to py36) while this port does not have
FLAVORS..
*** Error code 1

Specifying PY_FLAVOR=py36 does work and instigates the build/install of the
dependant py36 python packages.

Secondly, even with PY_FLAVOR=py36 stated and cmake picking up py36-sphinx
being installed, cmake fails to install with the error of

------

root at server:/usr/ports/devel/cmake # make PY_FLAVOR=py36 all install clean
===>   cmake-3.11.0 depends on executable: sphinx-build - not found
===>   cmake-3.11.0 depends on executable: sphinx-build - not found
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/cmake
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/cmake

------

root at server:~ # pkg info | grep py36-sphinx
py36-sphinx-1.6.5_1,1	       Python documentation generator
py36-sphinx_rtd_theme-0.2.4    Mobile-friendly py-sphinx theme
py36-sphinxcontrib-websupport-1.0.1 Sphinx API for Web Apps
root at server:~ #


More information about the kde-freebsd mailing list