Solved Most ports fail to build, doesn't build dependencies in order

Hi,

This is driving me nuts, it started today with not being able to build devel/git and then devel/llvm37.

It seems that ports are not built in order, e.g. it tries to build a port without its dependencies.

I managed to build git after a few tries, but the weird thing is that it doesn't build all dependencies.

Code:
# cd /usr/ports/devel/git
# make missing
devel/pkgconf
devel/autoconf
devel/m4
misc/help2man
devel/gmake-lite
lang/perl5.20
devel/gmake
devel/autoconf-wrapper
devel/automake
devel/automake-wrapper
devel/libtool
lang/p5-Error
textproc/expat2

Code:
# make install clean
...
===>  Cleaning for p5-Error-0.17024
===>  Cleaning for gmake-4.1_2
===>  Cleaning for perl5-5.20.3_13
===>  Cleaning for expat-2.1.1
===>  Cleaning for git-2.8.1

Code:
# make missing
devel/pkgconf
devel/autoconf
devel/m4
misc/help2man
devel/gmake-lite
devel/autoconf-wrapper
devel/automake
devel/automake-wrapper
devel/libtool

I still can't build devel/llvm37:
Code:
===>  llvm37-3.7.1_2 depends on executable: sphinx-build - not found
===>  License BSD2CLAUSE accepted by the user
===>  py27-sphinx-1.4.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py27-sphinx-1.4.1 for building
===>  Extracting for py27-sphinx-1.4.1
=> SHA256 Checksum OK for python/Sphinx-1.4.1.tar.gz.
===>  Patching for py27-sphinx-1.4.1
===>  py27-sphinx-1.4.1 depends on package: py27-Jinja2>=2.3 - not found
===>  py27-sphinx-1.4.1 depends on package: py27-Jinja2>=2.3 - not found
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/textproc/py-sphinx
*** Error code 1

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

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

It lists devel/py-Jinja2 as a dependency, but it doesn't try to install it.

What is going on here? Have I managed to break my system somehow? pkg behaves like it should when deleting packages etc.
 
Hey wblock@, thanks for replying. No /etc/make.conf, but it looks like it was solved by cleaning the entire ports tree:

Code:
# cd /usr/ports
# make clean

devel/llvm37 builds without any problems now.

I still don't understand why make missing lists dependencies that aren't needed/built.
 
Back
Top