NetBSD Problem Report #53937

From  Sun Feb  3 09:26:10 2019
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id E6AD07A111
	for <>; Sun,  3 Feb 2019 09:26:10 +0000 (UTC)
Message-Id: <>
Date: Sun,  3 Feb 2019 09:26:09 +0000 (UTC)
Subject: py27-numpy tries to write-enable text segment on NetBSD/i386-8.0 fails.
X-Send-Pr-Version: www-1.0

>Number:         53937
>Category:       pkg
>Synopsis:       py27-numpy tries to write-enable text segment on NetBSD/i386-8.0 fails.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 03 09:30:00 +0000 2019
>Originator:     K.I.A.Derouiche
>Release:        netbsd-8.0
Adgon Solution 
NetBSD DrakDabiq.lan 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 UTC 2018 i386

On my i386-8.0 system, py27-numpy built from recent pkgsrc-HEAD (in
pkgsrc-current) fails to run as follows:

Python 2.7.15 (default, Dec 23 2018, 13:07:38) 
[GCC 5.5.0] on netbsd8
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
/usr/pkg/lib/gcc-lib/i486--netbsdelf/4.1.2/ text relocations
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/pkg/lib/python2.7/site-packages/numpy/", line 142, in <module>
    from . import add_newdocs
  File "/usr/pkg/lib/python2.7/site-packages/numpy/", line 13, in <module>
    from numpy.lib import add_newdoc
  File "/usr/pkg/lib/python2.7/site-packages/numpy/lib/", line 9, in <module>
    from .index_tricks import *
  File "/usr/pkg/lib/python2.7/site-packages/numpy/lib/", line 13, in <module>
    import numpy.matrixlib as matrixlib
  File "/usr/pkg/lib/python2.7/site-packages/numpy/matrixlib/", line 6, in <module>
    from .defmatrix import *
  File "/usr/pkg/lib/python2.7/site-packages/numpy/matrixlib/", line 12, in <module>
    from numpy.linalg import matrix_power
  File "/usr/pkg/lib/python2.7/site-packages/numpy/linalg/", line 51, in <module>
    from .linalg import *
  File "/usr/pkg/lib/python2.7/site-packages/numpy/linalg/", line 32, in <module>
    from numpy.linalg import lapack_lite, _umath_linalg
ImportError: /usr/pkg/lib/gcc-lib/i486--netbsdelf/4.1.2/ Cannot write-enable text segment: Permission denied

See above.  Also affects i386

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.