Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71162 - dev-db/mysql-4.0.22 failed on compile line 449
Summary: dev-db/mysql-4.0.22 failed on compile line 449
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-14 07:30 UTC by rz
Modified: 2004-11-16 18:07 UTC (History)
0 users

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


Attachments
mysql config.log (config.log,42.54 KB, text/x-log)
2004-11-14 20:17 UTC, rz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rz 2004-11-14 07:30:52 UTC
running emerge on mysql failed:
 emerge =mysql-4.0.22

Reproducible: Always
Steps to Reproduce:
1. emerge =mysql-4.0.22
2. 
3.

Actual Results:  
athlonbox / # emerge =mysql-4.0.22 
Calculating dependencies ...done!
>>> emerge (1 of 6) dev-db/mysql-4.0.22 to /
>>> md5 src_uri ;-) mysql-4.0.22.tar.gz
 * 
 * If you're upgrading from MySQL-3.x to 4.0, or 4.0.x to 4.1.x, you
 * must recompile the other packages on your system that link with
 * libmysqlclient after the upgrade completes.  To obtain such a list
 * of packages for your system, you may use 'revdep-rebuild' from
 * app-portage/gentoolkit.
 * 
>>> Unpacking source...
>>> Unpacking mysql-4.0.22.tar.gz to /var/tmp/portage/mysql-4.0.22/work
 * Applying mysql-4.0.21-install-db-sh.diff ...                           [ ok ]
 * Applying mysql-4.0.18-mysqld-safe-sh.diff ...                          [ ok ]
 * Applying mysql-4.0-nisam.h.diff ...                                    [ ok ]
 * Applying mysql-4.0-my-print-defaults.diff ...                          [ ok ]
 * Applying mysql-4.0.18-gentoo-nptl.diff ...                             [ ok ]
 * Applying mysql-4.0.21-thrssl.patch ...                                 [ ok ]
tcpd
 * Applying mysql-4.0.14-r1-tcpd-vars-fix.diff ...                        [ ok ]
 * Using GNU config files from /usr/share/libtool
 *  Updating config.sub                                                   [ ok ]
 *  Updating config.guess                                                 [ ok ]
>>> Source unpacked.
berkdb
readline
readline
ssl
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libexecdir=/usr/sbin --sysconfdir=/etc/mysql
--localstatedir=/var/lib/mysql --with-raid --with-low-memory --enable-assembler
--with-charset=latin1 --enable-local-infile --with-mysqld-user=mysql
--with-extra-charsets=all --enable-thread-safe-client
--with-client-ldflags=-lstdc++ --with-comment=Gentoo Linux mysql-4.0.22
--with-unix-socket-path=/var/run/mysqld/mysqld.sock --with-embedded-server
--with-berkeley-db=./bdb --without-readline --enable-shared --enable-static
--with-libwrap --with-innodb --with-vio --with-openssl --without-debug
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... gcc3
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking "C Compiler version"... "i686-pc-linux-gnu-gcc i686-pc-linux-gnu-gcc
(GCC) 3.4.3  (Gentoo Linux 3.4.3, ssp-3.4.3-0, pie-8.7.6.6)"
checking "C++ compiler version"... "i686-pc-linux-gnu-g++ i686-pc-linux-gnu-g++
(GCC) 3.4.3  (Gentoo Linux 3.4.3, ssp-3.4.3-0, pie-8.7.6.6)"
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether i686-pc-linux-gnu-g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse nm output from i686-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-ranlib... ranlib
checking for i686-pc-linux-gnu-strip... strip
checking if i686-pc-linux-gnu-gcc static flag  works... yes
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-gcc linker
(/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the i686-pc-linux-gnu-g++ linker
(/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g++ linker
(/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g77 linker
(/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for a BSD-compatible install... /bin/install -c
checking for bison... bison -y
checking for pdftex... no
checking for tex... no
checking "return type of sprintf"... "int"
checking for uname... /bin/uname
checking operating system... Linux
checking "if we should use 'skip-locking' as default for linux-gnu"... "yes"
checking for ln... /bin/ln
checking for ln... /bin/ln
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for sed... /bin/sed
checking for cmp... /usr/bin/cmp
checking for chmod... /bin/chmod
checking for hostname... /bin/hostname
checking for gnutar... no
checking for gtar... no
checking for tar... tar
checking for perl... /usr/bin/perl
checking for ps... /bin/ps
checking "how to check if pid exists"... configure: error: Could not find the
right ps switches. Which OS is this ?. See the Installation chapter in the
Reference Manual.

!!! ERROR: dev-db/mysql-4.0.22 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.



Expected Results:  
compiled sucesfully

athlonbox / # emerge info
Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.6   
 i686)
=================================================================
System uname: 2.6.6 i686 
Gentoo Base System version 1.6.6
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/   
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/dis   
tributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow S3TC X X509 aac acl acpi activefilter adns aim amd apache2 apm arts a   
udiofile avantgo avi bcmath bdf berkdb bidi bitmap-fonts bluetooth bonobo bzlib    
cap cddb cdinstall cdparanoia cdr cdrom cgi chroot cjk client cpdflib cross cryp   
t ctype cups curl curlwrappers dba dio divx4linux djbfft dnd droproot dv dvb dvd   
 dvdr dvdread edl eds emacs emacs-w3 encode erandom evo exif ext-png ext-zlib ex   
tensions f77 faac faad fastcgi fbcon ffmpeg flash fluidsynth fmod foomaticdb for   
tran freetype freewnn ftp gb gcl gd gdbm geoip gif gimp gimpprint ginac glade gl   
gd glut gmp gmtfull gnome gnomedb gnuplot gpm gps graphviz gs gsl gtk gtk2 gtkht   
ml hal hardenedphp hbci hdf iconv icq ide idl ieee1394 image imap imlib imlib2 i   
nnodb ipv6 irda irmc j2ee jabber java javacomm javadoc javamail javascript jbig    
jboss jce jms jmx joystick jp2 jpeg jpeg2k jta jython kadu-modules kadu-voice ka   
kasi kde kerberos krb4 latex lcms leim libdsk libg++ libgd libgda libsamplerate    
libwww live lm_sensors lua lufsusermount lzo lzw lzw-tiff m17n-lib mad maildir m   
atroska mbox mcal mdb memlimit mhash migemo mikmod mime mixer mmap mmx mmx2 mng    
motif mozcalendar mozdomi mozilla mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mp   
layer msn mule music mysql nagios-dns nagios-ntp nagios-ping nagios-ssh native n   
curses net network nis nls nptl ntlm nvidia nviz oav ocaml offensive ofx oggvorb   
is openal opengl opie oscar ospfapi oss pam parse-clocks pcap pcntl pcre pdf pdf   
lib perl pg-hier pg-intdatetime pg-vacuumdelay php physfs pic plotutils png port   
audio posix postgres postgresql ppds print pthreads python qt quicktime quotes r   
eadline rhino rogue rplay sasl sdl servlet-2.3 servlet-2.4 session sftplogging s   
haper shared sharedmem sheep silc simplexml skk slang slp smime sndfile snmp soc   
kets socks5 softquota sox spell ssl stencil-buffer stroke svg svga sysvipc szip    
t1lib tcltk tcpd tga theora tidy transcode truetype unicode usb v4l v4l2 vda vho   
sts videos virus-scan wifi wmf wxwin wxwindows x86 xatrix xchatdccserver xchatte   
xt xemacs xgetdefault xine xml2 xmlrpc xmms xosd xpm xrandr xscreensaver xsl xv    
xvid xvmc yahoo yv12 zlib zvbiz"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-11-14 18:07:11 UTC
please attach your config.log from mysql
Comment 2 rz 2004-11-14 20:17:48 UTC
Created attachment 43969 [details]
mysql config.log

config.log was found in
/mnt/gentoo/var/tmp/portage/mysql-4.0.22/work/mysql-4.0.22
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-11-14 21:52:01 UTC
your ps and uname definetly must have something wrong...
try to run:
"ps p $$ | grep bash"
it should return one line of output with the bash process details.

you'll have to "emerge sys-apps/coreutils sys-apps/procps" to fix things.
Comment 4 rz 2004-11-16 18:07:38 UTC
ps p $$ | grep bash
reports:
15033 ?        S      0:00 /bin/bash
maybe there is something wrong with my setup?

this been compiled in a console running chroot ie:
chroot /mnt/gentoo /bin/bash  &&  env-update source /etc/profile

opps, I forgot to preceed the chroot with  mount -t proc none /mnt/gentoo/proc

Thanks for the advice, it sucessfuly completed compiling fine now and not a bug, I apologise for taking your time. 
(crawling off to the corner to reread chroot while putting the dunce cap on :-)