mp-3.3.1 compiles always with gtk support, even gtk use flag is disabled USE="-gtk ncurses" emerge =app-editors/mp-3.3.1 compiles with gtk support, seems its compiled without ncurses support, cant get mp to work only in console. i tryed to add app-editors/mp -gtk ncurses into package.use, didnt work everthing i tryed, mp is always compiled with gtk To avoid the Problem, mask =app-editors/mp-3.3.1 and use prior versions like 3.2.11 Reproducible: Always Steps to Reproduce: 1.USE="-gtk ncurses" emerge =app-editors/mp-3.3.1 2.USE="-gtk ncurses" emerge =app-editors/mp-3.3.1 3.USE="-gtk ncurses" emerge =app-editors/mp-3.3.1 Actual Results: mp compiles with gtk, only gtk interface is useable Expected Results: it should compile only with ncurses support and should work in console Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040619-r1, 2.6.6-mm4) ================================================================= System uname: 2.6.6-mm4 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.5.2 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -mcpu=pentium4 -O3 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -funroll-loops" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -mcpu=pentium4 -O3 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apm avi berkdb bonobo cdr crypt dga encode esd ethereal foomaticdb gd gdbm gif gtk gtk2 imap imlib java jpeg ldap libg++ libwww mad maildir mikmod mmx motif mpeg ncurses nls oggvobis oggvorbis opengl oss pam pdflib perl png postfix python qt quicktime quiktime readline samba sasl sdl slang snmp spell sse ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
Created attachment 37211 [details, diff] Patch to fix naming problem in app-editors/mp-3.3.1.ebuild There seems to be a naming problem ($myopts instead of $myconf) in the ebuild which causes the problem described. I changed it and attached a patch. With the patch applied, mp isn't compiled with GTK support anymore if you set USE="-gtk". The symlink 'gmp' will also not be set then. Please test it.
Created attachment 37214 [details] mp-3.3.1.ebuild with patch applied
The new ebuild works for me, Thanks emerge -U mp Calculating dependencies ...done! >>> emerge (1 of 1) app-editors/mp-3.3.1 to / *** Adjusting cvs-src permissions for portage user... >>> md5 src_uri ;-) mp-3.3.1.tar.gz >>> Unpacking source... >>> Unpacking mp-3.3.1.tar.gz to /var/tmp/portage/mp-3.3.1/work >>> Source unpacked. ncurses ncurses Configuring... Testing for curses... OK (ncurses) Testing for transparency support in curses... OK Testing for GTK... Disabled by user Testing for win32... No Testing for unix-like glob.h... OK Testing for regular expressions... OK (using pcre library) ...
Maybe you should reopen the bug, so it gets fixed in Portage.
reopened
Should be a lot cleaner now. thanks for the bug report.