Is /usr/ports a symlink? I don't know if it results in this problem, but
IIRC the python build has some problem with that. (If you need to move the
ports directory because you didn't account for it when partitioning, use
PORTSDIR in /etc/mk.conf not a symlink).
Why not just pkg_add nmap though?
--
Sent from a phone, apologies for poor formatting.
On 11 June 2021 06:40:21 Rémi Pointel <remi.pointel@xiri.fr> wrote:
> 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