Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178460 - dev-db/mysql-5.0.38 emerge fails while unpacking mysql-extras-20070415.tar.bz2
Summary: dev-db/mysql-5.0.38 emerge fails while unpacking mysql-extras-20070415.tar.bz2
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 193341 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-14 03:45 UTC by Bob Quenneville
Modified: 2007-09-21 17:14 UTC (History)
1 user (show)

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 Bob Quenneville 2007-05-14 03:45:18 UTC
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.
Comment 1 Michal Kurgan (RETIRED) gentoo-dev 2007-05-14 07:18:49 UTC
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.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-09-21 16:21:13 UTC
*** Bug 193341 has been marked as a duplicate of this bug. ***
Comment 3 deespater 2007-09-21 16:37:46 UTC
(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...
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-09-21 17:14:32 UTC
(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.