NetBSD Problem Report #53937

From www@NetBSD.org  Sun Feb  3 09:26:10 2019
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id E6AD07A111
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  3 Feb 2019 09:26:10 +0000 (UTC)
Message-Id: <20190203092609.CA5697A1F7@mollari.NetBSD.org>
Date: Sun,  3 Feb 2019 09:26:09 +0000 (UTC)
From: kamelderouiche@yahoo.com
Reply-To: kamelderouiche@yahoo.com
To: gnats-bugs@NetBSD.org
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
>Organization:
Adgon Solution 
>Environment:
NetBSD DrakDabiq.lan 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 UTC 2018  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/i386/compile/GENERIC i386

>Description:
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/libf95.so.0: text relocations
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/pkg/lib/python2.7/site-packages/numpy/__init__.py", line 142, in <module>
    from . import add_newdocs
  File "/usr/pkg/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in <module>
    from numpy.lib import add_newdoc
  File "/usr/pkg/lib/python2.7/site-packages/numpy/lib/__init__.py", line 9, in <module>
    from .index_tricks import *
  File "/usr/pkg/lib/python2.7/site-packages/numpy/lib/index_tricks.py", line 13, in <module>
    import numpy.matrixlib as matrixlib
  File "/usr/pkg/lib/python2.7/site-packages/numpy/matrixlib/__init__.py", line 6, in <module>
    from .defmatrix import *
  File "/usr/pkg/lib/python2.7/site-packages/numpy/matrixlib/defmatrix.py", line 12, in <module>
    from numpy.linalg import matrix_power
  File "/usr/pkg/lib/python2.7/site-packages/numpy/linalg/__init__.py", line 51, in <module>
    from .linalg import *
  File "/usr/pkg/lib/python2.7/site-packages/numpy/linalg/linalg.py", line 32, in <module>
    from numpy.linalg import lapack_lite, _umath_linalg
ImportError: /usr/pkg/lib/gcc-lib/i486--netbsdelf/4.1.2/libf95.so.0: Cannot write-enable text segment: Permission denied

>How-To-Repeat:
See above.  Also affects i386
>Fix:
None

NetBSD Home
NetBSD PR Database Search

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