Summary: | virtual/mysql[static] requires dev-db/mysql[static] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | f1a989188a51186834a821708563800a |
Component: | Current packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | dev-portage |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info output
emerge --debug output |
Description
f1a989188a51186834a821708563800a
2011-05-07 19:03:09 UTC
Created attachment 272455 [details]
emerge --info output
The maintainers probably have very good reasons to set this. (In reply to comment #0) > Static useflag enabled on my system in make.conf globally. I would like to > build the freshly stabilized mysql without it. > > From package.use: > > virtual/mysql -* > dev-db/mysql -* This is "dangerous" as you're disabling all use flags, including the IUSE defaults. You should replace -* with -static. > gentoo ~ # emerge -avquDN --keep-going world > > emerge: there are no ebuilds built with USE flags to satisfy > "=dev-db/mysql-5.1*[embedded=,minimal=,static=]". > !!! One of the following packages is required to complete your request: > - dev-db/mysql-5.1.56 (Change USE: -static) > - virtual/mysql-5.1 (Change USE: +static) Portage is warning you that you need to have the static use flag set the same way for both dev-db/mysql and virtual/mysql. Make sure you don't have any "stray" use flag set for the mysql ebuilds in the package.use file / dir. (In reply to comment #3) > (In reply to comment #0) > > Static useflag enabled on my system in make.conf globally. I would like to > > build the freshly stabilized mysql without it. > > > > From package.use: > > > > virtual/mysql -* > > dev-db/mysql -* > > This is "dangerous" as you're disabling all use flags, including the IUSE > defaults. You should replace -* with -static. > > > gentoo ~ # emerge -avquDN --keep-going world > > > > emerge: there are no ebuilds built with USE flags to satisfy > > "=dev-db/mysql-5.1*[embedded=,minimal=,static=]". > > !!! One of the following packages is required to complete your request: > > - dev-db/mysql-5.1.56 (Change USE: -static) > > - virtual/mysql-5.1 (Change USE: +static) > > Portage is warning you that you need to have the static use flag set the same > way for both dev-db/mysql and virtual/mysql. > > Make sure you don't have any "stray" use flag set for the mysql ebuilds in the > package.use file / dir. Thanks for the hint. Tried out, though the emerge behavior doesn't changed at all. gentoo ~ # cat /etc/portage/package.use virtual/mysql -static dev-db/mysql -static This build works just fine on and amd64 system. What can cause the problem here? (In reply to comment #4) > Thanks for the hint. Tried out, though the emerge behavior doesn't changed at > all. > > gentoo ~ # cat /etc/portage/package.use > virtual/mysql -static > dev-db/mysql -static > > This build works just fine on and amd64 system. What can cause the problem > here? > PORTDIR_OVERLAY="/usr/local/portage" Please check if you have any mysql ebuilds in your overlay. If not, please attach to this bug report the output of emerge --debug -uDpvN @world gentoo ~ # ls -al /usr/local/portage/ total 8 drwxr-xr-x 4 portage portage 32 May 13 17:46 . drwxr-xr-x 9 root root 4096 Nov 9 2009 .. drwxr-xr-x 3 root root 8 Dec 23 20:26 dev-php5 drwxr-xr-x 3 portage portage 8 Nov 14 11:29 mail-filter Created attachment 273101 [details]
emerge --debug output
What's the output of the following: emerge -pv --nodeps dev-db/mysql emerge -pv --nodeps virtual/mysql (In reply to comment #8) > What's the output of the following: > > emerge -pv --nodeps dev-db/mysql > emerge -pv --nodeps virtual/mysql gentoo ~ # emerge -pv --nodeps dev-db/mysql These are the packages that would be merged, in order: ... done! [ebuild R ] dev-db/mysql-5.1.56 USE="static* -big-tables -cluster -community -debug -embedded -extraengine -latin1 -max-idx-128 -minimal -pbxt -perl -profiling (-selinux) -ssl -test -xtradb" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB gentoo ~ # emerge -pv --nodeps virtual/mysql These are the packages that would be merged, in order: ... done! [ebuild R ] virtual/mysql-5.1 USE="-embedded -minimal -static" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB gentoo ~ # cat /etc/portage/package.use virtual/mysql -static dev-db/mysql -static (In reply to comment #9) > (In reply to comment #8) > gentoo ~ # emerge -pv --nodeps dev-db/mysql > [ebuild R ] dev-db/mysql-5.1.56 USE="static* -big-tables -cluster > -community -debug -embedded -extraengine -latin1 -max-idx-128 -minimal -pbxt > -perl -profiling (-selinux) -ssl -test -xtradb" 0 kB > gentoo ~ # emerge -pv --nodeps virtual/mysql > [ebuild R ] virtual/mysql-5.1 USE="-embedded -minimal -static" 0 kB > Total: 1 package (1 reinstall), Size of downloads: 0 kB > > gentoo ~ # cat /etc/portage/package.use > virtual/mysql -static > dev-db/mysql -static There's either something wrong with your package.use file or there's a portage bug here somewhere. @portage: Any ideas? Also check /etc/portage/package.env, since it's possible to set per-package USE there as well. Please excuse me! There was 2 dev-db/mysql line in my package.use file, and the 2nd was forcing the static useflag for dev-db/mysql . Thank you very much for pointing this out. One more question for my stupid mistake: Are there any automated way to check for this duplications? Portage never mentioned this duplicated usage. Anyway: Thank you one more time for your help! Gergely NĂ©meth (In reply to comment #12) > One more question for my stupid mistake: Are there any automated way to check > for this duplications? Portage never mentioned this duplicated usage. I don't know of any tool to automate this. (In reply to comment #13) > (In reply to comment #12) > > One more question for my stupid mistake: Are there any automated way to check > > for this duplications? Portage never mentioned this duplicated usage. > > I don't know of any tool to automate this. However, a command like this typically makes it easy to spot such problems: grep -r mysql /etc/portage |