Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 149996

Summary: mysql-4.1.21 should depend on sys-apps/shadow
Product: Gentoo Linux Reporter: Donald R. Gray Jr <donald.r.gray>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Donald R. Gray Jr 2006-10-03 13:24:17 UTC
>>> Emerging (1 of 78) dev-db/mysql-4.1.21 to /
 * mysql-4.1.21.tar.gz MD5 ;-) ...                                                                                                                       [ ok ] * mysql-4.1.21.tar.gz RMD160 ;-) ...                                                                                                                    [ ok ] * mysql-4.1.21.tar.gz SHA1 ;-) ...                                                                                                                      [ ok ] * mysql-4.1.21.tar.gz SHA256 ;-) ...                                                                                                                    [ ok ] * mysql-4.1.21.tar.gz size ;-) ...                                                                                                                      [ ok ] * mysql-patchset-4.1.21-r1.tar.bz2 MD5 ;-) ...                                                                                                          [ ok ] * mysql-patchset-4.1.21-r1.tar.bz2 RMD160 ;-) ...                                                                                                       [ ok ] * mysql-patchset-4.1.21-r1.tar.bz2 SHA1 ;-) ...                                                                                                         [ ok ] * mysql-patchset-4.1.21-r1.tar.bz2 SHA256 ;-) ...                                                                                                       [ ok ] * mysql-patchset-4.1.21-r1.tar.bz2 size ;-) ...                                                                                                         [ ok ] * checking ebuild checksums ;-) ...                                                                                                                     [ ok ] * checking auxfile checksums ;-) ...                                                                                                                    [ ok ] * checking miscfile checksums ;-) ...                                                                                                                   [ ok ] * checking mysql-4.1.21.tar.gz ;-) ...                                                                                                                  [ ok ] * checking mysql-patchset-4.1.21-r1.tar.bz2 ;-) ...                                                                                                     [ ok ] * Adding group 'mysql' to your system ...
 *  - Groupid: 60
/usr/portage//eclass/eutils.eclass: line 745: groupadd: command not found

!!! ERROR: dev-db/mysql-4.1.21 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  ebuild.sh, line 1255:   Called mysql_pkg_setup
  mysql.eclass, line 143:   Called enewgroup 'mysql' '60'
  eutils.eclass, line 745:   Called die

!!! enewgroup failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Possibly not just a mysql-4 issue happens on a new stage1 install. I know mysql itself doesnt need shadow but the ebuild does for the groupadd executeable.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-03 13:27:21 UTC
We don't support stage1 installs. Plus, not mysql fault, the eclass should state its dependencies.

*** This bug has been marked as a duplicate of 53269 ***