FreeBSD Port: devel/cmake - cannot build without py-babel

Kris Moore kris at pcbsd.org
Wed Jul 15 15:27:40 UTC 2015


On 07/15/2015 10:57, Miroslav Lachman wrote:
> Hi,
> cmake cannot be built in my poudriere setup. It always ends with the
> same error (on FreeBSD 8.4 and 10.1)
>
> [ 99%] Building CXX object Source/CMakeFiles/cpack.dir/CPack/cpack.cxx.o
> Linking CXX executable ../bin/cpack
> [ 99%] Built target cpack
> Scanning dependencies of target ctest
> [ 99%] Building CXX object Source/CMakeFiles/ctest.dir/ctest.cxx.o
> Linking CXX executable ../bin/ctest
> [ 99%] Built target ctest
> Scanning dependencies of target documentation
> [100%] sphinx-build man: see Utilities/Sphinx/build-man.log
> Traceback (most recent call last):
>   File "/usr/local/bin/sphinx-build", line 5, in <module>
>     from pkg_resources import load_entry_point
>   File
> "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 3074, in <module>
>     @_call_aside
>   File
> "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 3060, in _call_aside
>     f(*args, **kwargs)
>   File
> "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 3087, in _initialize_master_working_set
>     working_set = WorkingSet._build_master()
>   File
> "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 645, in _build_master
>     ws.require(__requires__)
>   File
> "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 946, in require
>     needed = self.resolve(parse_requirements(requirements))
>   File
> "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 833, in resolve
>     raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'babel>=1.3' distribution was
> not found and is required by Sphinx
> *** Error code 1
>
> Stop in /wrkdirs/usr/ports/devel/cmake/work/cmake-3.2.3.
> *** Error code 1
>
> Stop in /wrkdirs/usr/ports/devel/cmake/work/cmake-3.2.3.
> *** Error code 1
>
> Stop in /wrkdirs/usr/ports/devel/cmake/work/cmake-3.2.3.
> *** Error code 1
>
> Stop in /usr/ports/devel/cmake.
> ====>> Cleaning up wrkdir
> ===>  Cleaning for cmake-3.2.3_1
> build of devel/cmake ended at Wed Jul 15 16:11:15 CEST 2015
> build time: 00:05:20
> !!! build failure encountered !!!
>
>
>
> The full log is here http://pastebin.com/5MxnT3K5
>
> It worked two weeks ago without babel.
>
> Now Sphinx (py27-Jinja2) requires Babel extension.
>
> Is this intentional?
>
> Miroslav Lachman
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

Yea, the update to sphinx looks like it needs babel for some
functionality now.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201587

I've just commited this fix, let me know if it still fails.

-- 
Kris Moore
PC-BSD Software / iXsystems
Enterprise Storage & Servers Driven By Open Source



More information about the freebsd-ports mailing list