Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2018 14:14:33 +0300
From:      David Gessel <gessel@blackrosetech.com>
To:        python@FreeBSD.org
Subject:   Problem building python27-2.7.14_1 on FreeBSD 10.3-RELEASE-p26 #0 r327588
Message-ID:  <2c95aec0-a2f7-0394-cff6-a2e602ce0366@blackrosetech.com>

next in thread | raw e-mail | index | archive | help
Dear Python

I am having a new and unexpected build problem with Python:

Either
root@matanawa:/usr/ports/lang/python # make install clean
or
using portmaster results in


===>  Installing for python27-2.7.14_1
===>  Checking if python27 already installed
===>   Registering installation for python27-2.7.14_1 as automatic
pkg-static: Unable to access file /var/ports/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/_elementtree.so:No such file or directory
pkg-static: Unable to access file /var/ports/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/pyexpat.so:No such file or directory
*** Error code 74

Stop.
make: stopped in /usr/ports/lang/python27


and 

# ls /var/ports/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/
Python-2.7.14-py2.7.egg-info    _curses_panel.so                _socket.so                      datetime.so                     readline.so
_bisect.so                      _elementtree_failed.so          _ssl.so                         dbm.so                          resource.so
_codecs_cn.so                   _functools.so                   _struct.so                      fcntl.so                        select.so
_codecs_hk.so                   _hashlib.so                     _testcapi.so                    future_builtins.so              strop.so
_codecs_iso2022.so              _heapq.so                       array.so                        grp.so                          syslog.so
_codecs_jp.so                   _hotshot.so                     audioop.so                      itertools.so                    termios.so
_codecs_kr.so                   _io.so                          binascii.so                     math.so                         time.so
_codecs_tw.so                   _json.so                        bsddb185.so                     mmap.so                         unicodedata.so
_collections.so                 _locale.so                      bz2.so                          nis.so                          zlib.so
_csv.so                         _lsprof.so                      cPickle.so                      operator.so
_ctypes.so                      _multibytecodec.so              cStringIO.so                    ossaudiodev.so
_ctypes_test.so                 _multiprocessing.so             cmath.so                        parser.so
_curses.so                      _random.so                      crypt.so                        pyexpat_failed.so


Any hints as to why _elementtree.so and pyexpat_failed.so are failing?

I thought it might be related to https://forums.freebsd.org/threads/python27-problem-at-packaging-stage.51189/#post-379178 but that was _ssl.so, and this is different.

I found this: https://sourceforge.net/p/vms-ports/discussion/portingprojects/thread/333ab40a/  but doesn't seem to be related.

Any hints?

Thank you very much,

David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2c95aec0-a2f7-0394-cff6-a2e602ce0366>