Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60039 - mp-3.3.1 compiles always with gtk support, even gtk use flag is disabled
Summary: mp-3.3.1 compiles always with gtk support, even gtk use flag is disabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-11 01:33 UTC by Michael Eyer
Modified: 2004-08-27 05:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix naming problem in app-editors/mp-3.3.1.ebuild (mp-3.3.1-variable-naming.patch,304 bytes, patch)
2004-08-11 05:42 UTC, tklauser
Details | Diff
mp-3.3.1.ebuild with patch applied (mp-3.3.1.ebuild,1.18 KB, application/octet-stream)
2004-08-11 05:53 UTC, tklauser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Eyer 2004-08-11 01:33:06 UTC
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"
Comment 1 tklauser 2004-08-11 05:42:03 UTC
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.
Comment 2 tklauser 2004-08-11 05:53:18 UTC
Created attachment 37214 [details]
mp-3.3.1.ebuild with patch applied
Comment 3 Michael Eyer 2004-08-11 06:02:49 UTC
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)
...
Comment 4 tklauser 2004-08-26 15:53:23 UTC
Maybe you should reopen the bug, so it gets fixed in Portage.
Comment 5 Michael Eyer 2004-08-26 23:25:22 UTC
reopened
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2004-08-27 05:06:43 UTC
Should be a lot cleaner now.  thanks for the bug report.