Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113340 - Mysql 5.0.16 emerge failed with an error in "binary-configure"
Summary: Mysql 5.0.16 emerge failed with an error in "binary-configure"
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-23 04:17 UTC by Matteo Spreafico
Modified: 2005-11-23 12:12 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 Matteo Spreafico 2005-11-23 04:17:12 UTC
/bin/rm -f mysql-log-rotate mysql-log-rotate-t
/bin/sed \
  -e 's!@''bindir''@!/usr/bin!g' \
  -e 's!@''sbindir''@!/usr/sbin!g' \
  -e 's!@''scriptdir''@!/usr/bin!g' \
  -e 's!@''prefix''@!/usr!g' \
  -e 's!@''datadir''@!/usr/share!g' \
  -e 's!@''localstatedir''@!/var/lib/mysql!g' \
  -e 's!@''libexecdir''@!/usr/sbin!g' \
  -e 's!@''CC''@!x86_64-pc-linux-gnu-gcc!'\
  -e 's!@''CXX''@!x86_64-pc-linux-gnu-g++!'\
  -e 's!@''GXX''@!yes!'\
  -e 's!@''PERL''@!/usr/bin/perl!' \
  -e 's!@''CFLAGS''@!-march=athlon64 -O3 -ftracer -pipe -msse3
-DHAVE_ERRNO_AS_DEFINE=1!'\
  -e 's!@''CXXFLAGS''@!-march=athlon64 -O3 -ftracer -pipe -msse3
-DHAVE_ERRNO_AS_DEFINE=1 -felide-constructors -fno-exceptions -fno-rtti
-fno-implicit-templates!'\
  -e 's!@''LDFLAGS''@!-Wl,-O1!'\
  -e 's!@''VERSION''@!5.0.16!' \
  -e 's!@''MYSQL_SERVER_SUFFIX''@!!' \
  -e 's!@''COMPILATION_COMMENT''@!Gentoo Linux mysql-5.0.16!' \
  -e 's!@''MACHINE_TYPE''@!x86_64!' \
  -e 's!@''HOSTNAME''@!/bin/hostname!' \
  -e 's!@''SYSTEM_TYPE''@!pc-linux-gnu!' \
  -e 's!@''CHECK_PID''@!/bin/kill -0 $PID > /dev/null 2> /dev/null!' \
  -e 's!@''FIND_PROC''@!/bin/ps p $PID | grep -v grep | grep $MYSQLD > /dev/null!' \
  -e 's!@''MYSQLD_DEFAULT_SWITCHES''@!--skip-locking!' \
  -e 's!@''MYSQL_UNIX_ADDR''@!/var/run/mysqld/mysqld.sock!' \
  -e 's!@''TARGET_LINUX''@!true!' \
  -e "s!@""CONF_COMMAND""@!./configure '--prefix=/usr'
'--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc'
'--localstatedir=/var/lib' '--program-suffix=' '--libexecdir=/usr/sbin'
'--sysconfdir=/etc/mysql' '--localstatedir=/var/lib/mysql'
'--sharedstatedir=/usr/share/mysql' '--libdir=/usr/lib64/mysql'
'--includedir=/usr/include/mysql' '--with-low-memory' '--enable-assembler'
'--enable-local-infile' '--with-mysqld-user=mysql'
'--with-client-ldflags=-lstdc++' '--enable-thread-safe-client'
'--with-comment=Gentoo Linux mysql-5.0.16'
'--with-unix-socket-path=/var/run/mysqld/mysqld.sock' '--with-zlib-dir=/usr'
'--with-lib-ccflags=-fPIC' '--without-readline' '--without-docs'
'--enable-shared' '--enable-static' '--without-libwrap' '--with-openssl'
'--without-debug' '--with-bench' '--with-server' '--with-embedded-server'
'--with-extra-tools' '--with-innodb' '--with-raid' '--with-extra-charsets=all'
'--without-berkeley-db' '--with-geometry' '--without-ndbcluster'
'--with-big-tables' '--without-big-tables' '--build=x86_64-pc-linux-gnu'
'CFLAGS=-march=athlon64 -O3 -ftracer -pipe -msse3 -DHAVE_ERRNO_AS_DEFINE=1'
'CXXFLAGS=-march=athlon64 -O3 -ftracer -pipe -msse3 -DHAVE_ERRNO_AS_DEFINE=1
-felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates'
'LDFLAGS=-Wl,-O1' 'build_alias=x86_64-pc-linux-gnu'
'host_alias=x86_64-pc-linux-gnu'!" \
  -e 's!@''MYSQLD_USER''@!mysql!' \
  -e 's!@''sysconfdir''@!/etc/mysql!' \
  -e 's!@''SHORT_MYSQL_INTRO''@!@SHORT_MYSQL_INTRO@!' \
  -e 's!@''SHARED_LIB_VERSION''@!15:0:0!' \
  -e 's!@''MYSQL_BASE_VERSION''@!5.0!' \
  -e 's!@''MYSQL_NO_DASH_VERSION''@!5.0.16!' \
  -e 's!@''MYSQL_TCP_PORT''@!3306!' \
  -e 's!@''PERL_DBI_VERSION''@!@PERL_DBI_VERSION@!' \
  -e 's!@''PERL_DBD_VERSION''@!@PERL_DBD_VERSION@!' \
  -e 's!@''PERL_DATA_DUMPER''@!@PERL_DATA_DUMPER@!' \
mysql-log-rotate.sh > mysql-log-rotate-t
/bin/mv my-innodb-heavy-4G.cnf-t my-innodb-heavy-4G.cnf
/bin/rm -f binary-configure binary-configure-t
/bin/mv mysql-log-rotate-t mysql-log-rotate
/bin/sed \
  -e 's!@''bindir''@!/usr/bin!g' \
  -e 's!@''sbindir''@!/usr/sbin!g' \
  -e 's!@''scriptdir''@!/usr/bin!g' \
  -e 's!@''prefix''@!/usr!g' \
  -e 's!@''datadir''@!/usr/share!g' \
  -e 's!@''localstatedir''@!/var/lib/mysql!g' \
  -e 's!@''libexecdir''@!/usr/sbin!g' \
  -e 's!@''CC''@!x86_64-pc-linux-gnu-gcc!'\
  -e 's!@''CXX''@!x86_64-pc-linux-gnu-g++!'\
  -e 's!@''GXX''@!yes!'\
  -e 's!@''PERL''@!/usr/bin/perl!' \
  -e 's!@''CFLAGS''@!-march=athlon64 -O3 -ftracer -pipe -msse3
-DHAVE_ERRNO_AS_DEFINE=1!'\
  -e 's!@''CXXFLAGS''@!-march=athlon64 -O3 -ftracer -pipe -msse3
-DHAVE_ERRNO_AS_DEFINE=1 -felide-constructors -fno-exceptions -fno-rtti
-fno-implicit-templates!'\
  -e 's!@''LDFLAGS''@!-Wl,-O1!'\
  -e 's!@''VERSION''@!5.0.16!' \
  -e 's!@''MYSQL_SERVER_SUFFIX''@!!' \
  -e 's!@''COMPILATION_COMMENT''@!Gentoo Linux mysql-5.0.16!' \
  -e 's!@''MACHINE_TYPE''@!x86_64!' \
  -e 's!@''HOSTNAME''@!/bin/hostname!' \
  -e 's!@''SYSTEM_TYPE''@!pc-linux-gnu!' \
  -e 's!@''CHECK_PID''@!/bin/kill -0 $PID > /dev/null 2> /dev/null!' \
  -e 's!@''FIND_PROC''@!/bin/ps p $PID | grep -v grep | grep $MYSQLD > /dev/null!' \
  -e 's!@''MYSQLD_DEFAULT_SWITCHES''@!--skip-locking!' \
  -e 's!@''MYSQL_UNIX_ADDR''@!/var/run/mysqld/mysqld.sock!' \
  -e 's!@''TARGET_LINUX''@!true!' \
  -e "s!@""CONF_COMMAND""@!./configure '--prefix=/usr'
'--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc'
'--localstatedir=/var/lib' '--program-suffix=' '--libexecdir=/usr/sbin'
'--sysconfdir=/etc/mysql' '--localstatedir=/var/lib/mysql'
'--sharedstatedir=/usr/share/mysql' '--libdir=/usr/lib64/mysql'
'--includedir=/usr/include/mysql' '--with-low-memory' '--enable-assembler'
'--enable-local-infile' '--with-mysqld-user=mysql'
'--with-client-ldflags=-lstdc++' '--enable-thread-safe-client'
'--with-comment=Gentoo Linux mysql-5.0.16'
'--with-unix-socket-path=/var/run/mysqld/mysqld.sock' '--with-zlib-dir=/usr'
'--with-lib-ccflags=-fPIC' '--without-readline' '--without-docs'
'--enable-shared' '--enable-static' '--without-libwrap' '--with-openssl'
'--without-debug' '--with-bench' '--with-server' '--with-embedded-server'
'--with-extra-tools' '--with-innodb' '--with-raid' '--with-extra-charsets=all'
'--without-berkeley-db' '--with-geometry' '--without-ndbcluster'
'--with-big-tables' '--without-big-tables' '--build=x86_64-pc-linux-gnu'
'CFLAGS=-march=athlon64 -O3 -ftracer -pipe -msse3 -DHAVE_ERRNO_AS_DEFINE=1'
'CXXFLAGS=-march=athlon64 -O3 -ftracer -pipe -msse3 -DHAVE_ERRNO_AS_DEFINE=1
-felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates'
'LDFLAGS=-Wl,-O1' 'build_alias=x86_64-pc-linux-gnu'
'host_alias=x86_64-pc-linux-gnu'!" \
  -e 's!@''MYSQLD_USER''@!mysql!' \
  -e 's!@''sysconfdir''@!/etc/mysql!' \
  -e 's!@''SHORT_MYSQL_INTRO''@!@SHORT_MYSQL_INTRO@!' \
  -e 's!@''SHARED_LIB_VERSION''@!15:0:0!' \
  -e 's!@''MYSQL_BASE_VERSION''@!5.0!' \
  -e 's!@''MYSQL_NO_DASH_VERSION''@!5.0.16!' \
  -e 's!@''MYSQL_TCP_PORT''@!3306!' \
  -e 's!@''PERL_DBI_VERSION''@!@PERL_DBI_VERSION@!' \
  -e 's!@''PERL_DBD_VERSION''@!@PERL_DBD_VERSION@!' \
  -e 's!@''PERL_DATA_DUMPER''@!@PERL_DATA_DUMPER@!' \
binary-configure.sh > binary-configure-t
/bin/mv binary-configure-t binary-configure
/bin/rm -f ndb-config-2-node.ini ndb-config-2-node.ini-t
/bin/sed \
  -e 's!@''bindir''@!/usr/bin!g' \
  -e 's!@''sbindir''@!/usr/sbin!g' \
  -e 's!@''scriptdir''@!/usr/bin!g' \
  -e 's!@''prefix''@!/usr!g' \
  -e 's!@''datadir''@!/usr/share!g' \
  -e 's!@''localstatedir''@!/var/lib/mysql!g' \
  -e 's!@''libexecdir''@!/usr/sbin!g' \
  -e 's!@''CC''@!x86_64-pc-linux-gnu-gcc!'\
  -e 's!@''CXX''@!x86_64-pc-linux-gnu-g++!'\
  -e 's!@''GXX''@!yes!'\
  -e 's!@''PERL''@!/usr/bin/perl!' \
  -e 's!@''CFLAGS''@!-march=athlon64 -O3 -ftracer -pipe -msse3
-DHAVE_ERRNO_AS_DEFINE=1!'\
  -e 's!@''CXXFLAGS''@!-march=athlon64 -O3 -ftracer -pipe -msse3
-DHAVE_ERRNO_AS_DEFINE=1 -felide-constructors -fno-exceptions -fno-rtti
-fno-implicit-templates!'\
  -e 's!@''LDFLAGS''@!-Wl,-O1!'\
  -e 's!@''VERSION''@!5.0.16!' \
  -e 's!@''MYSQL_SERVER_SUFFIX''@!!' \
  -e 's!@''COMPILATION_COMMENT''@!Gentoo Linux mysql-5.0.16!' \
  -e 's!@''MACHINE_TYPE''@!x86_64!' \
  -e 's!@''HOSTNAME''@!/bin/hostname!' \
  -e 's!@''SYSTEM_TYPE''@!pc-linux-gnu!' \
  -e 's!@''CHECK_PID''@!/bin/kill -0 $PID > /dev/null 2> /dev/null!' \
  -e 's!@''FIND_PROC''@!/bin/ps p $PID | grep -v grep | grep $MYSQLD > /dev/null!' \
  -e 's!@''MYSQLD_DEFAULT_SWITCHES''@!--skip-locking!' \
  -e 's!@''MYSQL_UNIX_ADDR''@!/var/run/mysqld/mysqld.sock!' \
  -e 's!@''TARGET_LINUX''@!true!' \
  -e "s!@""CONF_COMMAND""@!./configure '--prefix=/usr'
'--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc'
'--localstatedir=/var/lib' '--program-suffix=' '--libexecdir=/usr/sbin'
'--sysconfdir=/etc/mysql' '--localstatedir=/var/lib/mysql'
'--sharedstatedir=/usr/share/mysql' '--libdir=/usr/lib64/mysql'
'--includedir=/usr/include/mysql' '--with-low-memory' '--enable-assembler'
'--enable-local-infile' '--with-mysqld-user=mysql'
'--with-client-ldflags=-lstdc++' '--enable-thread-safe-client'
'--with-comment=Gentoo Linux mysql-5.0.16'
'--with-unix-socket-path=/var/run/mysqld/mysqld.sock' '--with-zlib-dir=/usr'
'--with-lib-ccflags=-fPIC' '--without-readline' '--without-docs'
'--enable-shared' '--enable-static' '--without-libwrap' '--with-openssl'
'--without-debug' '--with-bench' '--with-server' '--with-embedded-server'
'--with-extra-tools' '--with-innodb' '--with-raid' '--with-extra-charsets=all'
'--without-berkeley-db' '--with-geometry' '--without-ndbcluster'
'--with-big-tables' '--without-big-tables' '--build=x86_64-pc-linux-gnu'
'CFLAGS=-march=athlon64 -O3 -ftracer -pipe -msse3 -DHAVE_ERRNO_AS_DEFINE=1'
'CXXFLAGS=-march=athlon64 -O3 -ftracer -pipe -msse3 -DHAVE_ERRNO_AS_DEFINE=1
-felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates'
'LDFLAGS=-Wl,-O1' 'build_alias=x86_64-pc-linux-gnu'
'host_alias=x86_64-pc-linux-gnu'!" \
  -e 's!@''MYSQLD_USER''@!mysql!' \
  -e 's!@''sysconfdir''@!/etc/mysql!' \
  -e 's!@''SHORT_MYSQL_INTRO''@!@SHORT_MYSQL_INTRO@!' \
  -e 's!@''SHARED_LIB_VERSION''@!15:0:0!' \
  -e 's!@''MYSQL_BASE_VERSION''@!5.0!' \
  -e 's!@''MYSQL_NO_DASH_VERSION''@!5.0.16!' \
  -e 's!@''MYSQL_TCP_PORT''@!3306!' \
  -e 's!@''PERL_DBI_VERSION''@!@PERL_DBI_VERSION@!' \
  -e 's!@''PERL_DBD_VERSION''@!@PERL_DBD_VERSION@!' \
  -e 's!@''PERL_DATA_DUMPER''@!@PERL_DATA_DUMPER@!' \
ndb-config-2-node.ini.sh > ndb-config-2-node.ini-t
/bin/mv ndb-config-2-node.ini-t ndb-config-2-node.ini
rm -f mysql-5.0.16.spec
cp mysql.spec mysql-5.0.16.spec
make[3]: Leaving directory `/var/tmp/portage/mysql-5.0.16/work/mysql/support-files'
/bin/mv binary-configure-t binary-configure
/bin/mv: impossibile fare stat di `binary-configure-t': No such file or directory
make[2]: *** [binary-configure] Error 1
make[2]: Leaving directory `/var/tmp/portage/mysql-5.0.16/work/mysql/support-files'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-5.0.16/work/mysql'
make: *** [all] Error 2

!!! ERROR: dev-db/mysql-5.0.16 failed.
!!! Function src_compile, Line 442, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1. emerge mysql



Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.12.0_pre10
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -ftracer -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/grass60/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/spool/PBS /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -ftracer -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acl acpi alsa apache2 arts audiofile avi bash-completion
berkdb bitmap-fonts blas bzip2 caps cdparanoia cdr crypt ctype cups curl
curlwrappers dba dts dvd dvdr dvdread eds emboss encode esd exif expat fam
ffmpeg fftw flac flash foomaticdb fortran ftp gd gdbm gif glut gmp gnome gnutls
gpm gstreamer gtk gtk2 gtkhtml hal idn ieee1394 imagemagick imap imlib iodbc
ipv6 java javascript jpeg kde kdeenablefinal lapack lcms ldap libcaca libedit
libwww lm_sensors lzw lzw-tiff mad mailwrapper matroska mhash ming mng motif mp3
mpeg mysql ncurses netcdf nls nptl nsplugin odbc offensive ogg opengl pam pcntl
pcre pdflib perl php png posix postgres python qt quicktime readline recode
samba sasl scanner sdl session simplexml slang sndfile sockets socks5 speex
spell spl sqlite ssl svg sysvipc szip tcltk tcpd tetex theora tidy tiff truetype
truetype-fonts type1-fonts udev unicode usb userlocales vcd vorbis wmf xine xml
xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid zlib linguas_it userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET
Comment 1 Francesco R. (RETIRED) gentoo-dev 2005-11-23 08:33:51 UTC
Strange,
  there have been a lot of changes in this release but none regarding
"support-files" directory.
Additionally I've performed various build on both x86 and amd64 without problems.
... and where does that "binary-configure-t" come from ?

binary-configure is removed but _after_ the make process.

anyway I'm releasing a dev-db/mysql-5.0.16-r2 (yes "-r2") in few hours, please
try again with that one
Comment 2 Matteo Spreafico 2005-11-23 09:00:59 UTC
5.0.16-r1 works fine. Thanks
Comment 3 Francesco R. (RETIRED) gentoo-dev 2005-11-23 12:12:23 UTC
attenzione, c'e ancora il baco, mancano i symlink 
/usr/lib/libmysqlclient.so.15 -> /usr/lib/mysql/libmysqlclient.so.15.0.0
/usr/lib/libmysqlclient_r.so.15 -> /usr/lib/mysql/libmysqlclient_r.so.15.0.0

see Bug #113352

mi spiace