Thursday, June 10, 2021

Re: OpenBSD 6.8, ports collection, Python 2.7 installation fails with “requires a clean source tree"

Le 09/06/2021 à 20:22, Vassilis Prevelakis a écrit :
> Hi Remi,
>
> The OpenBSD Python port gave me your email, so I am sending you this report.
>
> On a fresh install of 6.8 on a Pi4 I was trying to install nmap which has Python 2.7 as prerequisite.
>
> So started "make" on the /usr/ports/net/nmap directory and after a long while I got the message that the installation of Python 2.7 failed because 'check-clean-src' failed, line 430 of the /usr/ports/pobj/Python-2.7.18/Python-2.7.18/Makefile.
>
> Essentially file /usr/ports/pobj/Python-2.7.18/Python-2.7.18/Modules/python.o exists and that breaks the installation. Getting rid of python.o means that the install fails a little bit later.
>
> So I removed the entire ports tree and reinstalled from the distribution, and then
> cd /usr/ports/lang/Python
> make
>
> and again it fails when it tries to **install** Python 2.7 with the same error, "requires a clean source tree"
>
> Any help will be appreciated.
>
> Best Regards
>
> **vp

Hello,

Sorry for that.

I'm ccing this problem to ports@, maybe someone knowns whats is
happening. I don't know why you could have this error.

best regards,

Remi.

No comments:

Post a Comment