I've started installing a fresh version of Gentoo for the first time. I was able to compile all the programs using emerge except for MySQL which booms right away.It crashes when opening the mysql-extras-20070415.tar.bz2 file. Reproducible: Always Steps to Reproduce: 1. emerge mysql 2. 3. Actual Results: >>> Emerging (1 of 6) dev-db/mysql-5.0.38 to / * mysql-5.0.38.tar.gz RMD160 ;-) ... [ ok ] * mysql-5.0.38.tar.gz SHA1 ;-) ... [ ok ] * mysql-5.0.38.tar.gz SHA256 ;-) ... [ ok ] * mysql-5.0.38.tar.gz size ;-) ... [ ok ] * mysql-extras-20070415.tar.bz2 RMD160 ;-) ... [ ok ] * mysql-extras-20070415.tar.bz2 SHA1 ;-) ... [ ok ] * mysql-extras-20070415.tar.bz2 SHA256 ;-) ... [ ok ] * mysql-extras-20070415.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking mysql-5.0.38.tar.gz ;-) ... [ ok ] * checking mysql-extras-20070415.tar.bz2 ;-) ... [ ok ] * 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 4365: 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'. localhost / # localhost / # localhost / # set DATADIR = /test/ localhost / # echo $DATADIR localhost / # emerge mysql Calculating dependencies... done! >>> Emerging (1 of 6) dev-db/mysql-5.0.38 to / * mysql-5.0.38.tar.gz RMD160 ;-) ... [ ok ] * mysql-5.0.38.tar.gz SHA1 ;-) ... [ ok ] * mysql-5.0.38.tar.gz SHA256 ;-) ... [ ok ] * mysql-5.0.38.tar.gz size ;-) ... [ ok ] * mysql-extras-20070415.tar.bz2 RMD160 ;-) ... [ ok ] * mysql-extras-20070415.tar.bz2 SHA1 ;-) ... [ ok ] * mysql-extras-20070415.tar.bz2 SHA256 ;-) ... [ ok ] * mysql-extras-20070415.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking mysql-5.0.38.tar.gz ;-) ... [ ok ] * checking mysql-extras-20070415.tar.bz2 ;-) ... [ ok ] * 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 4365: 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 Expected Results: I would hopefully have it completely installed. I also added a file to the /etc/protage/protage.use the line dev-db/mysql berkdb perl ssl -big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal (-selinux) -static (which was mostly a copy paste from emerge --pretend mysql) Though the problem was occuring even before I created this file. The reason for creating this file was that I thought that there might be a simple issue with the USE flags.
Works for me. Please use "emerge --sync", clear /var/tmp/portage/dev-db/mysql-5.0.38/ directory and try one more time. If this wont help please provide "emerge --info" output and reopen bug.
*** Bug 193341 has been marked as a duplicate of this bug. ***
(In reply to comment #1) > Works for me. > Please use "emerge --sync", clear /var/tmp/portage/dev-db/mysql-5.0.38/ > directory and try one more time. > If this wont help please provide "emerge --info" output and reopen bug. > Doesn't help! I think that is problem in mysql-extras-20070710.tar.bz2 file. Cause its contains "mysql-extras-20070710" directory, but ebuild using function src_unpack search patches in "mysql-extras" directory...
(In reply to comment #3) The ebuild doesn't have any src_unpack; the eclass hasn't been touched for months. It unpacks just fine here, suggesting you have some eclass junk in your overlay.