After updating to sys-libs/ncurses-5.8, running cplay (media-sound/cplay-1.49) does not start anymore. Reproducible: Always Steps to Reproduce: 1. update to sys-libs/ncurses-5.8 (from 5.7-r7 for example) 2. run cplay Actual Results: $ cplay Traceback (most recent call last): File "/usr/bin/cplay", line 1610, in main app.setup() File "/usr/bin/cplay", line 1398, in setup self.win_root = RootWindow(None) File "/usr/bin/cplay", line 280, in __init__ Window.__init__(self, parent) File "/usr/bin/cplay", line 134, in __init__ self.resize() File "/usr/bin/cplay", line 169, in resize self.w = self.newwin() File "/usr/bin/cplay", line 166, in newwin return curses.newwin(0, 0, 0, 0) error: curses function returned NULL Expected Results: cplay runs I assume that something in ncurses changed, so cplay probably needs some patch to work correctly again. Unfortunately I have no python/ncurses-experience, so i can not commit a patch. A temporary solution is to mask ncurses-5.8.
HOMEPAGE seems to have moved too (old one is unavailable). See URL. @Stefan: 1) Did you rebuild python? 2) Please paste your `emerge --info' in a comment.
Please reopen this bug report when you have provided the requested information.
(In reply to comment #2) > Please reopen this bug report when you have provided the requested information. Thanks for investigating Jeroen. I once again emerged sys-libs/ncurses-5.8, this time reemerged python afterwards, but cplay still does not run. Same error-message. Here is my "emerge --info"-output: Timestamp of tree: Fri, 18 Mar 2011 06:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.2_p8 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r2, 2.7.1-r1, 3.1.3-r1 dev-util/ccache: 2.4-r9 dev-util/cmake: 2.8.4 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=athlon-xp -ftracer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-Os -march=athlon-xp -ftracer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox" FFLAGS="" GENTOO_MIRRORS="http://mirrors.xservers.ro/gentoo/ ftp://ftp.df.lth.se/pub/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://ftp.df.lth.se/pub/gentoo/ http://mirror.qubenet.net/mirror/gentoo/" LANG="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en de" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=180" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X a52 aac aalib acl acpi alsa apache2 avahi avi berkdb bitmap-fonts bmp bzip2 cdparanoia cdr cli cracklib crypt cups cxx dbus dedicated dga directfb divx4linux dri dv dvd dvdr dvdread encode exif fbcon ffmpeg flac fortran ftp gd gdbm ggi gif glut gnome gphoto2 gpm gstreamer gtk gtk2 iconv ieee1394 imagemagick imap imlib ipv6 jack java joystick jpeg ladcca lcms libcaca libedit live lzo mad matroska mikmod mime mmx mmxext mng modules motif mp3 mpeg msn mudflap mysql mysqli mythtv nas ncurses network nfs nls nocd nptl nptlonly ogg openal opengl openmp osc pam pcre pdflib perl php png portaudio posix postgres pppd python quicktime readline sdl session shorten slang sockets spell spl sqlite sse ssl svg sysfs szip tcltk tcpd tga theora tiff truetype truetype-fonts type1-fonts usb v4l v4l2 vcd videos vorbis wmf x86 xine xml xml2 xmms xorg xosd xpm xv xvid zlib" ALSA_CARDS="ice1712 intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
have you run python-updater ?
I just noticed that by now i am running ncurses-5.9. cplay runs nicely with this version of ncurses. So the bug-report can be closed as it is obsolete. Thanks anyway for the help.
Fixed with ncurses-5.9.