Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 578722

Summary: media-sound/aumix-2.9.1 and sys-libs/ncurses[tinfo] - undefined reference to symbol 'cbreak'
Product: Gentoo Linux Reporter: Martin von Gagern <Martin.vGagern>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, scott, toralf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 457530    

Description Martin von Gagern 2016-04-01 02:53:18 UTC
Re-merging aumix fails for me:

x86_64-pc-linux-gnu-gcc -march=amdfam10 -O2 -ggdb -pipe -pthread -I/usr/include/
gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk
-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/i
nclude/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/in
clude/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/gli
b-2.0/include -I/usr/include/freetype2 -pthread -I/usr/include/gtk-2.0 -I/usr/li
b64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/inclu
de/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf
-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I
/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/
usr/include/freetype2 -march=amdfam10 -O2 -ggdb -pipe  -Wl,--as-needed  -o aumix
 common.o curses.o dummy.o gpm-xterm.o gtk.o interactive.o mouse.o -L/usr/lib64 
-lgpm -lncurses  -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo 
-lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -
lfontconfig -lfreetype -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -l
cairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib
-2.0 -lfontconfig -lfreetype 
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: c
urses.o: undefined reference to symbol 'cbreak'
/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:259: recipe for target 'aumix' failed
make[2]: *** [aumix] Error 1

Previous version has been around since 2010 on my system, and I guess I enabled the tinfo USE flag for ncurses after that.
Comment 1 Larry the Git Cow gentoo-dev 2019-03-22 15:15:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ef0babfccf50f1c03735378b6c668ae8d19233e

commit 8ef0babfccf50f1c03735378b6c668ae8d19233e
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-03-22 15:15:47 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-03-22 15:15:47 +0000

    media-sound/aumix: Fixed build with sys-libs/ncurses[tinfo]
    
    Closes: https://bugs.gentoo.org/578722
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 media-sound/aumix/aumix-2.9.1.ebuild            | 35 ++++++++++++++++---------
 media-sound/aumix/files/aumix-2.9.1-tinfo.patch | 22 ++++++++++++++++
 2 files changed, 44 insertions(+), 13 deletions(-)
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-01-10 00:07:05 UTC
*** Bug 677780 has been marked as a duplicate of this bug. ***