Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175331 - emerge for dev-db/mysql-5.0.38 fails
Summary: emerge for dev-db/mysql-5.0.38 fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-20 10:20 UTC by Eray Aslan
Modified: 2007-11-13 08:43 UTC (History)
0 users

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


Attachments
mysql-5.0.38 log for failed emerge (dev-db-mysql-5.0.38-20070420-074312.log,213.33 KB, text/plain)
2007-04-21 07:58 UTC, Eray Aslan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eray Aslan gentoo-dev 2007-04-20 10:20:09 UTC
New server.  emerge mysql for 5.0.38 (which is stable for amd64) fails with the following error:

[...]
Making all in trx
make[4]: Entering directory `/var/tmp/portage/dev-db/mysql-5.0.38/work/mysql/innobase/trx'
Makefile:251: .deps/trx0purge.Po: No such file or directory
make[4]: *** No rule to make target `.deps/trx0purge.Po'.  Stop.
make[4]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.38/work/mysql/innobase/trx'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.38/work/mysql/innobase'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.38/work/mysql/innobase'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.38/work/mysql'
make: *** [all] Error 2

!!! ERROR: dev-db/mysql-5.0.38 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4489:   Called src_compile
  ebuild.sh, line 1304:   Called mysql_src_compile
  mysql.eclass, line 605:   Called die

5.0.34 builds fine.

Reproducible: Always




sunny ~ # emerge --info
Portage 2.1.2.2 (default-linux/amd64/2006.1/no-multilib, gcc-4.1.1, glibc-2.5-r0, 2.6.18-hardened-r6 x86_64)
=================================================================
System uname: 2.6.18-hardened-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4000+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 19 Apr 2007 15:50:01 +0000
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ankara.edu.tr/gentoo/  http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.ntua.gr/pub/linux/gentoo/ ftp://ftp.linux.org.tr/pub/mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 berkdb cjk crypt hardened mysql ncurses nls nptl pam perl pic python readline snmp ssl tcpd unicode xml" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-04-20 18:25:31 UTC
please upload the logfile for this emerge from /var/log/portage/
Comment 2 Eray Aslan gentoo-dev 2007-04-21 07:58:55 UTC
Created attachment 116877 [details]
mysql-5.0.38 log for failed emerge
Comment 3 Eray Aslan gentoo-dev 2007-04-21 09:33:40 UTC
(In reply to comment #2)
> Created an attachment (id=116877) [edit]
> mysql-5.0.38 log for failed emerge

Well, upgrading from 5.0.34 to 5.0.38 works.  To summarize:

1. emerging mysql-5.0.38 as a new install fails with the above error.
2. emerging mysql-5.0.34 and then upgrading to mysql-5.0.38 works.

Hope it helps to narrow it down.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-04-21 20:22:32 UTC
Something is broken in your autoconf/automake/libtool:

At the end of the ./configure, there is this error output:

config.status: executing depfiles commands
./config.status: line 1107: trx/./.deps/trx0purge.Po: No such file or directory
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-05-11 08:38:39 UTC
No response from user, closing.
Previous comment noted that something was broken with user's automake/autoconf or libtool - as evidenced by a failure in config.status.
Comment 6 gagaforu 2007-11-13 08:43:28 UTC
I have this problem as well on a fresh Gentoo install.

Please RE-OPEN!!


 * Berkeley DB support is deprecated and will be removed in future versions!
>>> Unpacking source...
 * Using default DATADIR
 * MySQL DATADIR is /var/lib/mysql
>>> Unpacking mysql-5.0.38.tar.gz to /var/tmp/portage/dev-db/mysql-5.0.38/work
>>> Unpacking mysql-extras-20070415.tar.bz2 to /var/tmp/portage/dev-db/mysql-5.0.38/work
/usr/portage/eclass/mysql_fx.eclass: line 87: /var/tmp/portage/dev-db/mysql-5.0.38/work/mysql-extras/000_index.txt: No such file or directory

!!! ERROR: dev-db/mysql-5.0.38 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_unpack
  ebuild.sh, line 751:   Called qa_call 'src_unpack'
  environment, line 4355:   Called src_unpack
  ebuild.sh, line 1304:   Called mysql_src_unpack
  mysql.eclass, line 500:   Called mysql_mv_patches
  mysql_fx.eclass, line 132:   Called _mysql_test_patch_ver_pn '0' ''
  mysql_fx.eclass, line 62:   Called die

!!! Source dir must be a directory
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-db/mysql-5.0.38/temp/build.log'.