Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 15:13:18 +0200
From:      "Herbert J. Skuhra" <herbert@gojira.at>
To:        questions@freebsd.org
Subject:   Re: Installing Python2.7 in 14-RELEASE
Message-ID:  <87r0e57t3l.wl-herbert@gojira.at>
In-Reply-To: <CAAdA2WPxWhD0CeNJ7e6kutTSXMkzYuFTWT_gWrsY39Da9uCjug@mail.gmail.com>
References:  <CAAdA2WPxWhD0CeNJ7e6kutTSXMkzYuFTWT_gWrsY39Da9uCjug@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 13 May 2024 14:31:16 +0200, Odhiambo Washington wrote:
> 
> Hi
> 
> I need to install Python27 from /usr/ports/lang/python27 to test something,
> but it fails:
> 
> ```
> root@gw:/usr/ports/lang/python27 # make reinstall clean
> ===>  Deinstalling for python27
> ===>   python27 not installed, skipping
> ===>  Installing for python27-2.7.18
> ===>  Checking if python27 is already installed
> ===>   Registering installation for python27-2.7.18
> pkg-static: Unable to access file
> /usr/ports/lang/python27/work/stage//lib/python2.7/lib-dynload/_hashlib.so:No
> such file or directory
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/ports/lang/python27
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/lang/python27
> ```
> 
> The files missing are actually
> in /usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/.
> 
> How can I solve this problem?

Works for me on stable/14 (amd64) and main(arm64):

% find work/stage -name "_hashlib.so"
work/stage/usr/local/lib/python2.7/lib-dynload/_hashlib.so

Do you use openssl/libressl from ports? Can you check the build log
for more information? 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87r0e57t3l.wl-herbert>