Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Serious Problem with mysql emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
aabragan
n00b
n00b


Joined: 15 Jul 2002
Posts: 33
Location: Columbus,OH

PostPosted: Sat Mar 22, 2003 7:42 pm    Post subject: Serious Problem with mysql emerge Reply with quote

I have tried everything I can think of to emerge mysql and every attempt has failed at the same point. every single ebuild including the default (3.23.56) error out. i have seen a couple of similar posts

e.g. https://forums.gentoo.org/viewtopic.php?t=28421&highlight=isamchk

but no one has been able to answer the question. is there simply a problem with the mysql builds or in the portage.

i am really frustrated with the situation and so i would really appreciate it if someone could help me get around this.
Back to top
View user's profile Send private message
Forse
Apprentice
Apprentice


Joined: 26 Dec 2002
Posts: 260
Location: /dev/random

PostPosted: Sat Mar 22, 2003 8:18 pm    Post subject: Hi Reply with quote

I had problem with mySQl too. I solved it by removing static from USE 8)
_________________
[ My sites ]: UnixTutorials : AniFIND : AnimeYume
Back to top
View user's profile Send private message
aabragan
n00b
n00b


Joined: 15 Jul 2002
Posts: 33
Location: Columbus,OH

PostPosted: Sat Mar 22, 2003 9:15 pm    Post subject: Reply with quote

i removed static from my use flags...
do i need to do a -static ?
Back to top
View user's profile Send private message
aabragan
n00b
n00b


Joined: 15 Jul 2002
Posts: 33
Location: Columbus,OH

PostPosted: Sat Mar 22, 2003 9:26 pm    Post subject: Reply with quote

-static did not work
what other use flags do you have set??
Back to top
View user's profile Send private message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 924
Location: US-FL-EST

PostPosted: Sat Mar 22, 2003 11:26 pm    Post subject: Reply with quote

aabragan wrote:
-static did not work
what other use flags do you have set??


I just emerged the latest version (4.0.12) with no problem.

In the hope that it helps, here is my 'emerge info' for comparison:

dragon src # emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(TM) XP1500+
GENTOO_MIRRORS=" ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://212.219.56.162/sites/www.ibiblio.org/gentoo/ http://194.83.57.2/sites/www.ibiblio.org/gentoo/ http://194.83.57.3/sites/www.ibiblio.org/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg gnome libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts tetex bonobo svga ggi tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla cdr"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

dragon src #
_________________
People whom think M$ is mediocre, don't know the half of it.
Back to top
View user's profile Send private message
Forse
Apprentice
Apprentice


Joined: 26 Dec 2002
Posts: 260
Location: /dev/random

PostPosted: Sun Mar 23, 2003 12:36 pm    Post subject: My emerge -info Reply with quote

Code:
homer root # emerge --info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Celeron (Mendocino)
GENTOO_MIRRORS="ftp://ftp.fi.debian.org/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 3dnow apm avi crypt gif imlib java jpeg libg++ mikmod mmx motif mpeg ncurses nls png sdl spell truetype xml2 zlib gdbm berkdb slang readline svga mysql tcpd pam libwww ssl python acpi apache2 -arts -cups -encode -gnome -gpm -gtk imap -kde -oggvorbis -opengl -oss -pdflib perl -qt -quicktime samba -X -xmms -xv"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe -mmmx -fomit-frame-pointer -fexpensive-optimizations -fforce-addr -ffast-math -maccumulate-outgoing-args"
CXXFLAGS="-march=i686 -O3 -pipe -mmmx -fomit-frame-pointer -fexpensive-optimizations -fforce-addr -ffast-math -maccumulate-outgoing-args"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"



With this I compiled mySQL with no problem
_________________
[ My sites ]: UnixTutorials : AniFIND : AnimeYume
Back to top
View user's profile Send private message
jasonpf
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2002
Posts: 86
Location: Tempe, AZ

PostPosted: Tue Mar 25, 2003 6:47 am    Post subject: Reply with quote

I am having the same problem, there is no static entry in make.conf, and have tried several different make configurations and several versions of mySQL. Below is my emerge -info output. I have been at this problem for days now, and have finally given up fixing this myself. Any help would be appreciated.

-Jason

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 Intel(R) Celeron(TM) CPU 1300MHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="apm encode imlib java mikmod nls oggvorbis svga aalib acl afs apache2 berkdb cdr crypt cups doc dvd ethereal gdbm gif gpm guile imap innodb jpeg kerberos ldap libg++ libwww mbox mmx mysql ncurses nocardbus oav odbc pam pdflib perl pic png python readline ruby samba sasl slang ssl slp snmp socks5 spell sse tcpd tetex tiff truetype usb wmf xml xml2 zlib x86 -oss -3dnow -arts -avi -gtk -kde -gnome -motif -mpeg -opengl -qt -quicktime -sdl -X -xv -xmms"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

Here is my error:
source='sort.c' object='sort.o' libtool=no \
depfile='.deps/sort.Po' tmpdepfile='.deps/sort.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include -O3 -DDBUG_OFF -march=pentium3 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -O3 -c `test -f sort.c || echo './'`sort.c
/bin/sh ../libtool --mode=link gcc -O3 -DDBUG_OFF -march=pentium3 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -O3 -rdynamic -o isamchk isamchk.o sort.o -lstdc++ libnisam.a ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lpthread -lz -lcrypt -lnsl -lm -lpthread
mkdir .libs
gcc -O3 -DDBUG_OFF -march=pentium3 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -O3 -rdynamic -o isamchk isamchk.o sort.o -lstdc++ libnisam.a ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lpthread -lz -lcrypt -lnsl -lm -lpthread
../mysys/libmysys.a(my_tempnam.o)(.text+0x51): In function `my_tempnam':
: the use of `tempnam' is dangerous, better use `mkstemp'
../mysys/libmysys.a(raid.o)(.text+0xa5): In function `my_raid_create':
: undefined reference to `operator new(unsigned)'
../mysys/libmysys.a(raid.o)(.text+0x132): In function `my_raid_create':
: undefined reference to `operator delete(void*)'
../mysys/libmysys.a(raid.o)(.text+0x185): In function `my_raid_open':
: undefined reference to `operator new(unsigned)'
../mysys/libmysys.a(raid.o)(.text+0x20f): In function `my_raid_open':
: undefined reference to `operator delete(void*)'
../mysys/libmysys.a(raid.o)(.text+0x7a1): In function `my_raid_close':
: undefined reference to `operator delete(void*)'
collect2: ld returned 1 exit status
make[2]: *** [isamchk] Error 1
make[2]: Leaving directory `/var/tmp/portage/mysql-3.23.56/work/mysql-3.23.56/isam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-3.23.56/work/mysql-3.23.56'
make: *** [all] Error 2

!!! ERROR: dev-db/mysql-3.23.56 failed.
!!! Function src_compile, Line 102, Exitcode 2
!!! compile problem
Back to top
View user's profile Send private message
aabragan
n00b
n00b


Joined: 15 Jul 2002
Posts: 33
Location: Columbus,OH

PostPosted: Tue Mar 25, 2003 7:03 am    Post subject: Reply with quote

thats exactly the same one i have been getting -- without fail!!
Back to top
View user's profile Send private message
jasonpf
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2002
Posts: 86
Location: Tempe, AZ

PostPosted: Tue Mar 25, 2003 3:01 pm    Post subject: Reply with quote

Quote:
-- without fail!!


Interesting choice of words. :?
Back to top
View user's profile Send private message
aabragan
n00b
n00b


Joined: 15 Jul 2002
Posts: 33
Location: Columbus,OH

PostPosted: Tue Mar 25, 2003 4:37 pm    Post subject: Reply with quote

lol -- yes i suppose that is an interesting choice of words...
its seems the only thing about the the mysql emerge that works is that the emerge consistently fails at the same place every time ...

:?
Back to top
View user's profile Send private message
jasonpf
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2002
Posts: 86
Location: Tempe, AZ

PostPosted: Tue Mar 25, 2003 5:05 pm    Post subject: Still no success Reply with quote

I've tried changing my CFLAGS settings to match the system that compiled ok above, (i686 with his optimizations) and also commented out my USE variable to try to discount any USE flag causing the error. Still same prolem as before. I have set all my settings back to what they were (march=pentium3) and uncommented my USE flags. I did keep 1 change though, I left the -fexpensive-optimizations as a compile flag. I am now recompiling glibc as someone somewhere said that it sounds like a problem with libc.
Back to top
View user's profile Send private message
jasonpf
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2002
Posts: 86
Location: Tempe, AZ

PostPosted: Tue Mar 25, 2003 8:05 pm    Post subject: Reply with quote

Still breaks... :(

Any other suggestions anyone? I'm really running out of ideas.
Back to top
View user's profile Send private message
jasonpf
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2002
Posts: 86
Location: Tempe, AZ

PostPosted: Tue Mar 25, 2003 8:33 pm    Post subject: Oops Reply with quote

Oops, I think I realized our problem. Check out:

https://bugs.gentoo.org/show_bug.cgi?id=15094

This should answer our problem. tcp-wrappers seem to be the issue...will try what is listed there, and check back if it works.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum