pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/53330: py27-curses broken on NetBSD-7.1_STABLE



>Number:         53330
>Category:       pkg
>Synopsis:       py27-curses broken on NetBSD-7.1_STABLE/amd64
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 29 16:45:00 +0000 2018
>Originator:     Greg Oster
>Release:        NetBSD 7.1_STABLE
>Organization:
>Environment:
	
	
System: NetBSD scrooge 7.1_STABLE NetBSD 7.1_STABLE (THOG) #0: Thu Apr 26 08:21:31 CST 2018 oster@thog:/u1/builds/build180/src/obj/amd64/u1/builds/build180/src/sys/arch/amd64/compile/THOG amd64
Architecture: x86_64
Machine: amd64
>Description:

While attempting to build a number of packages that depend on
spidermonkey52 with -current pkgsrc, the following error was
encountered:
checking for localeconv... (cached) yes
creating ./config.data
Creating config.status
Traceback (most recent call last):
  File "./../../configure.py", line 107, in <module>
    sys.exit(main(sys.argv))
  File "./../../configure.py", line 31, in main
    return config_status(config)
  File "./../../configure.py", line 92, in config_status
    from mozbuild.config_status import config_status
  File "/usr/pkgsrc/lang/spidermonkey52/work.scrooge/mozjs-52.7.4/build/mach_bootstrap.py", line 370, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/usr/pkgsrc/lang/spidermonkey52/work.scrooge/mozjs-52.7.4/python/mozbuild/mozbuild/config_status.py", line 19, in <module>
    from mach.logging import LoggingManager
  File "/usr/pkgsrc/lang/spidermonkey52/work.scrooge/mozjs-52.7.4/build/mach_bootstrap.py", line 370, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/usr/pkgsrc/lang/spidermonkey52/work.scrooge/mozjs-52.7.4/python/mach/mach/logging.py", line 12, in <module>
    import blessings
  File "/usr/pkgsrc/lang/spidermonkey52/work.scrooge/mozjs-52.7.4/build/mach_bootstrap.py", line 370, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/usr/pkgsrc/lang/spidermonkey52/work.scrooge/mozjs-52.7.4/python/blessings/blessings/__init__.py", line 2, in <module>
    import curses
  File "/usr/pkgsrc/lang/spidermonkey52/work.scrooge/mozjs-52.7.4/build/mach_bootstrap.py", line 370, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/usr/pkg/lib/python2.7/curses/__init__.py", line 59, in <module>
    from has_key import has_key
  File "/usr/pkgsrc/lang/spidermonkey52/work.scrooge/mozjs-52.7.4/build/mach_bootstrap.py", line 370, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/usr/pkg/lib/python2.7/curses/has_key.py", line 11, in <module>
    _curses.KEY_A1: 'ka1',
AttributeError: 'module' object has no attribute 'KEY_A1'

Digging a bit further reveals that the underlying issue is actually
just from python27 and curses:


Python 2.7.15 (default, May 24 2018, 15:07:47) 
[GCC 4.8.5] on netbsd7
Type "help", "copyright", "credits" or "license" for more information.
>>> import curses
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/pkg/lib/python2.7/curses/__init__.py", line 59, in <module>
    from has_key import has_key
  File "/usr/pkg/lib/python2.7/curses/has_key.py", line 11, in <module>
    _curses.KEY_A1: 'ka1',
AttributeError: 'module' object has no attribute 'KEY_A1'
>>> 

>How-To-Repeat:
- build python2.7
- build py-curses for python2.7
- run python2.7
- 'import curses'
- *boom*

>Fix:
  please.  
  Additional details can be provided on request.
  Thanks.
  

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index