[Bug 279544] Unable to install lang/python27 on 14/14.1 RELEASE
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Jun 2024 16:04:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279544
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 path,
leading to the files to be installed not being found.
I have to mention that some users on questions@freebsd.org told me that they 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/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 # 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
*** 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.
--
You are receiving this mail because:
You are the assignee for the bug.