Date: Wed, 05 Jun 2024 16:04:28 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 279544] Unable to install lang/python27 on 14/14.1 RELEASE Message-ID: <bug-279544-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279544 Bug ID: 279544 Summary: Unable to install lang/python27 on 14/14.1 RELEASE Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: python@FreeBSD.org Reporter: odhiambo@gmail.com Flags: maintainer-feedback?(python@FreeBSD.org) Assignee: python@FreeBSD.org I am struggling for over 1 month now trying to install lang/python27. FWIW,= the compile completes successfully. The problem comes when I do `make install`as shown below. For some strange reason something probably strips out 'usr/local/' from a p= ath, leading to the files to be installed not being found. I have to mention that some users on questions@freebsd.org told me that the= y do not have the same problem so I am wondering if the problem is caused by something I messed up on my server. ``` [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/Pyt= hon-2.7.18-py2.7.egg-info rm /usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/_sy= sconfigdata.py* install -m 0644 ./Misc/python.man=20 /usr/ports/lang/python27/work/stage/usr/local/share/man/man1/python2.7.1 if test "xno" !=3D "xno" ; then case no in upgrade) ensurepip=3D"--altin= stall --upgrade --no-default-pip" ;; install|*) ensurepip=3D"--altinstall --no-default-pip" ;; esac;=20 LD_LIBRARY_PATH=3D/usr/ports/lang/python27/work/Python-2.7.18 ./python -E -m ensurepip $ensurepip --root=3D/usr/ports/lang/python27/work/stage/ ; fi for i in /usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/*.s= o; 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=20 /usr/ports/lang/python27/work/stage/usr/local/lib/libpython2.7.so.1-gdb.py =3D=3D=3D=3D> Compressing man pages (compress-man) root@gw:/usr/ports/lang/python27 # make install =3D=3D=3D> Installing for python27-2.7.18 =3D=3D=3D> Checking if python27 is already installed =3D=3D=3D> 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=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 *** Error code 1 Stop. make: stopped in /usr/ports/lang/python27 root@gw:/usr/ports/lang/python27 # ``` root@gw:/usr/ports/lang/python27 # find work/stage -name "_hashlib.so" work/stage/usr/local/lib/python2.7/lib-dynload/_hashlib.so I am asking myself why it is that usr/local is not showing in the path here= - leading to the "No such file or directory" error and how I can fix that. Thank you. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279544-7788>