Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286223 - Problem installing mysql
Summary: Problem installing mysql
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-24 13:32 UTC by Cristian Rojas
Modified: 2009-09-27 14:34 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 Cristian Rojas 2009-09-24 13:32:17 UTC
I installed Mysql with portage successfully, but when I run  emerge --config =dev-db/mysql-5.0.70-r1, I have the next error:

!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
        default/linux/x86/10.0

To upgrade do the following steps:
# 
# SYNC AND EMERGE THE NEWEST PORTAGE BEFORE SWITCHING!
#
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default/linux/x86/10.0 make.profile

Configuring pkg...

 * MySQL MY_DATADIR is /var/lib/mysql
 * MySQL datadir found in /var/lib/mysql
 * A new one will not be created.

!!! ERROR: dev-db/mysql-5.0.70-r1 failed.
Call stack:
  ebuild.sh, line 1527:   Called pkg_config
  ebuild.sh, line 1255:   Called mysql_pkg_config
  mysql.eclass, line 830:   Called built_with_use 'dev-db/mysql' 'minimal'
  eutils.eclass, line 1782:   Called die

!!! dev-db/mysql-5.0.70-r1 does not actually support the minimal USE flag!
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Andreis Vinogradovs ( slepnoga ) 2009-09-24 20:49:53 UTC
> 
> !!! dev-db/mysql-5.0.70-r1 does not actually support the minimal USE flag!
> !!! If you need support, post the topmost build error, and the call stack if
> relevant.
> 

Delete use minimal in mysql use sets, and rebuilt it.
If use minimal set, ebuild not build full server support
Comment 2 Cristian Rojas 2009-09-24 21:13:46 UTC
(In reply to comment #1)
> > 
> > !!! dev-db/mysql-5.0.70-r1 does not actually support the minimal USE flag!
> > !!! If you need support, post the topmost build error, and the call stack if
> > relevant.
> > 
> 
> Delete use minimal in mysql use sets, and rebuilt it.
> If use minimal set, ebuild not build full server support
> 
I`m very new in Geento, and not have clear where I do this. would you like tell me more about this?
Comment 3 Sebastian Luther (few) 2009-09-27 14:34:47 UTC
(In reply to comment #2)
> I`m very new in Geento, and not have clear where I do this. would you like tell
> me more about this?

[1] is the handbook chapter about use flags. 
For your current problem: in /etc/portage/package.use should be an entry with dev-db/mysql containing minimal. Remove minimal to disable the useflag. Note that this means that someone enabled it in the past. See [2] for where to get more support.

[1] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2
[2] http://www.gentoo.org/main/en/support.xml