First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 60039
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Michael Eyer <michael@mailq.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mp-3.3.1-variable-naming.patch Patch to fix naming problem in app-editors/mp-3.3.1.ebuild patch tklauser@nuerscht.ch 2004-08-11 05:42 0000 304 bytes Details | Diff
mp-3.3.1.ebuild mp-3.3.1.ebuild with patch applied application/octet-stream tklauser@nuerscht.ch 2004-08-11 05:53 0000 1.18 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 60039 depends on: Show dependency tree
Show dependency graph
Bug 60039 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-08-11 01:33 0000
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 From tklauser@nuerscht.ch 2004-08-11 05:42:03 0000 -------
Created an attachment (id=37211) [edit]
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 From tklauser@nuerscht.ch 2004-08-11 05:53:18 0000 -------
Created an attachment (id=37214) [edit]
mp-3.3.1.ebuild with patch applied

------- Comment #3 From Michael Eyer 2004-08-11 06:02:49 0000 -------
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 From tklauser@nuerscht.ch 2004-08-26 15:53:23 0000 -------
Maybe you should reopen the bug, so it gets fixed in Portage.

------- Comment #5 From Michael Eyer 2004-08-26 23:25:22 0000 -------
reopened

------- Comment #6 From Mr. Bones. 2004-08-27 05:06:43 0000 -------
Should be a lot cleaner now.  thanks for the bug report.

First Last Prev Next    No search results available      Search page      Enter new bug