Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102869 - mysql4.0.25-r2.ebuild does not honor utf8/readline USE flags
Summary: mysql4.0.25-r2.ebuild does not honor utf8/readline USE flags
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-17 10:06 UTC by Martin Mokrejš
Modified: 2005-08-17 10:34 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2005-08-17 10:06:00 UTC
Hi,
  Its weird that the USE flags are somewhat ignored. I don't see utf8 set,
readline is unexpectedly disabled ... maybe some more ... I don't know of? :(

>>> Source unpacked.
 * econf: updating mysql/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating mysql/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --build=i686-pc-linux-gnu -C --libexecdir=/usr/sbin
--sysconfdir=/etc/mysql --localstatedir=/var/lib/mysql --with-low-memory
--enable-assembler --with-charset=latin1 --enable-local-infile
--with-mysqld-user=mysql --with-client-ldflags=-lstdc++
--enable-thread-safe-client --with-comment=Gentoo Linux mysql-4.0.25-r2
--with-unix-socket-path=/var/run/mysqld/mysqld.sock --without-readline
--enable-shared --enable-static --with-libwrap --with-vio --with-openssl
--without-debug --without-big-tables --with-bench --with-server
--with-embedded-server --with-extra-tools --with-innodb --with-raid
--with-extra-charsets=all --without-berkeley-db --without-docs
configure: creating cache config.cache
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu



In the ebuild I see:

        local minimal_exclude_list="server embedded-server extra-tools innodb raid"
        if ! useq minimal; then
                for i in ${minimal_exclude_list}; do
                        myconf="${myconf} --with-${i}"
                done

                if useq utf8; then
                        myconf="${myconf} --with-charset=utf8
--with-collation=utf8_general_ci"
                else
                        myconf="${myconf} --with-charset=latin1
--with-collation=latin1_swedish_ci"
                fi

                # lots of chars
                myconf="${myconf} --with-extra-charsets=all"


I'm puzzled why the utf8 is not set as default charset and why readline is
disabled for me. :(

# emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-rc6 i686)
=================================================================
System uname: 2.6.13-rc6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre5
ccache version 2.4 [disabled]
dev-lang/python:     2.3.4-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.4.19-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mmmx -msse -msse2 -fomit-frame-pointer -march=pentium4
-funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/k
de/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/spool/PBS /var/bind /var/qm
ail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -mmmx -msse -msse2 -fomit-frame-pointer -march=pentium4
-funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.muni.cz/pub/linux/gentoo http://gentoo.mirror.icd.hu/
http://ftp-stud.fht-esslingen.de/pub
/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LINGUAS="cs cz en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d aalib acpi adns alsa apache2 apm arts ati avcodec avi bidi
bitmap-fonts bonobo caca cdparanoia cdr 
crypt cscope cups curl dba dga directfb distcc divx divx4 divx4linux divx5
divx5linux dv dvb dvd dvdr dvdread eds em
acs emacs-w3 emboss encode esd ethereal evo f77 faac faad faad2 fam fame fbcon
ffmpeg flac flash foomaticdb fortran 
fvwm fvwm2 gb gd gdbm ggi gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile i8x0
icc imagemagick imlib imlib2 innodb 
java jpeg junit lcms leim libg++ libwww live lpthread lzo lzw-tiff mad mcal mesa
mikmod mmx mmx2 motif mozilla mp3 m
peg mule mysql ncurses network nls nptl ogg oggvorbis opengl oss pam pda pdflib
perl plotutils png ppds pthread pthr
eads python qt qtx quicktime readline rtc samba scanner sdl slp speex spell sse
sse2 ssl svga tcltk tcpd tetex tex t
heora thread threads tiff truetype truetype-fonts type1-fonts unicode usb utf8
v4l v4l2 vorbis win32 winvidix wmf xi
ne xml xml2 xmms xosd xv xvid xvmc yv12 zeo zlib video_cards_radeon linguas_cs
linguas_cz linguas_en userland_GNU ke
rnel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS

#
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-17 10:19:59 UTC
mysql-4.0.25 does not have any utf8 USE flag, you need 4.1.13 for that; also
--without-readline refers to disabling *bundled* readline support, see the ebuild. 
Comment 2 Martin Mokrejš 2005-08-17 10:34:30 UTC
Sorry, I had a look into 4.1.13 ebuild file but was compiling 4.0.25-r2. :(
Why is still 4.1.13 masked then?


# emerge =dev-db/mysql-4.1.13-r1
Calculating dependencies   
!!! All ebuilds that could satisfy "=dev-db/mysql-4.1.13-r1" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-db/mysql-4.1.13-r1 (masked by: package.mask)
# <robbat2@gentoo.org> (17 Nov 2004)
# Masking for testing


It is stable already. At least on ~x86 it should be unmasked. ;)