Re: Installing Python2.7 in 14-RELEASE
- In reply to: Odhiambo Washington : "Re: Installing Python2.7 in 14-RELEASE"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 May 2024 12:46:14 UTC
From: Odhiambo Washington <odhiambo@gmail.com> Subject: Re: Installing Python2.7 in 14-RELEASE Date: Tue, 14 May 2024 15:29:49 +0300 > Thank you. I applied this patch, but the installation still fails somehow: > > [snip] > running install_scripts > copying build/scripts-2.7/idle2.7 -> /usr/ports/lang/python27/work/stage/usr/local/bin > copying build/scripts-2.7/pydoc2.7 -> /usr/ports/lang/python27/work/stage/usr/local/bin > copying build/scripts-2.7/2to3-2.7 -> /usr/ports/lang/python27/work/stage/usr/local/bin > changing mode of /usr/ports/lang/python27/work/stage/usr/local/bin/idle2.7 to 755 > changing mode of /usr/ports/lang/python27/work/stage/usr/local/bin/pydoc2.7 to 755 > changing mode of /usr/ports/lang/python27/work/stage/usr/local/bin/2to3-2.7 to 755 > running install_egg_info > Writing /usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/Python-2.7.18-py2.7.egg-info > rm /usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/_sysconfigdata.py* > install -m 0644 ./Misc/python.man /usr/ports/lang/python27/work/stage/usr/local/share/man/man1/python2.7.1 > if test "xno" != "xno" ; then case no in upgrade) ensurepip="--altinstall --upgrade --no-default-pip" ;; install|*) ensurepip="--altinstall > --no-default-pip" ;; esac; LD_LIBRARY_PATH=/usr/ports/lang/python27/work/Python-2.7.18 ./python -E -m ensurepip $ensurepip --root=/usr/ports/lang > /python27/work/stage/ ; fi > for i in /usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/*.so; do /usr/bin/strip $i; done > # Strip shared extensions > install -m 0644 /usr/ports/lang/python27/work/Python-2.7.18/Tools/gdb/libpython.py /usr/ports/lang/python27/work/stage/usr/local/lib/ > libpython2.7.so.1-gdb.py > ====> Compressing man pages (compress-man) > root@gw:/usr/ports/lang/python27 # find work/stage -name "_hashlib.so" > work/stage/usr/local/lib/python2.7/lib-dynload/_hashlib.so > root@gw:/usr/ports/lang/python27 # make install > ===> 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 > ^^^ why is it that usr/local is not > showing here? > *** Error code 1 > > Stop. > make: stopped in /usr/ports/lang/python27 > root@gw:/usr/ports/lang/python27 # Umm...I tried build of lang/python27 with following conditions. Host: 14.0-RELEASE amd64 Poudriere: 3.4.1 (ports-mgmt/poudriere) Jail: 14.0-RELEASE amd64 Ports tree: 5f14d1e919f2 of main branch + attached patch make.conf: 'DEFAULT_VERSIONS+=ssl=openssl' And build with `poudriere testport` finishes successfully. Is there anything other than 'DEFAULT_VERSIONS+=ssl=openssl' in your /etc/make.conf? --- Yasuhiro Kimura