pkgsrc-Bugs archive

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

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



On Sat,  2 Jun 2018 16:25:01 +0000 (UTC)
Leonardo Taccari <leot%NetBSD.org@localhost> wrote:

> The following reply was made to PR pkg/53330; it has been noted by
> GNATS.
> 
> From: Leonardo Taccari <leot%NetBSD.org@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: 
> Subject: Re: pkg/53330: py27-curses broken on NetBSD-7.1_STABLE
> Date: Sat, 02 Jun 2018 18:21:48 +0200
> 
>  Hello Greg,
>  
>  Greg Oster writes:
>  > [...]  
>  >  That is, 8.0 is using native curses, and 7 is using libncurses
>  > from pkgsrc.
>  > [...]    
>  
>  Not sure if related or not, but on NetBSD-current, despite:
>  
>   | % python2.7 -c 'import curses'
>  
>  correctly worked (like on netbsd-8 as reported on the
> PR)... ...doing: 
>   | % python2.7 -c 'import curses; print curses.KEY_A1'
>   | Traceback (most recent call last):
>   |   File "<string>", line 1, in <module>
>   | AttributeError: 'module' object has no attribute 'KEY_A1'
>   | Exit 1
>  
>  I think that lang/python27/patches/patch-ah since 2.7.15 is no longer
>  needed and the following patch should address that (full rationale in
>  the possible candidate commit message):
>  
>   <https://www.NetBSD.org/~leot/pkgsrc-patches/python-2.7.15-rm-patch-ah.patch>
>  
>  Can you please test it and let us know if it fixes the issue?
>  (after applying them there is no need to rebuild python27, just
>  `cd pkgsrc/devel/py-curses && make replace' should be enough)

Thanks for the patch, but unfortunately the same error remains :( 

Later...

Greg Oster

-- 

Later...

Greg Oster


Home | Main Index | Thread Index | Old Index