When merging x11-drivers/nvidia-drivers-71.86.01, I get this warning: * ***** WARNING ***** * * You are currently installing a version of nvidia-drivers that is * known not to work with a video card you have installed on your * system. If this is intentional, please ignore this. If it is not * please perform the following steps: * * Add the following mask entry to /etc/portage/package.mask by * echo ">=x11-drivers/nvidia-drivers-72.0.0 =x11-drivers/nvidia-1.0.9639" >> /etc/portage/package.mask * * Failure to perform the steps above could result in a non-working * X setup. * * For more information please read: * http://www.nvidia.com/object/IO_32667.html The only video card this system has is a TNT2, and I've verified at the nvidia site that this is the correct driver version for that card. Moreover, the package mask specified in the warning wouldn't mask out version 71.86.01 anyway. Reproducible: Always Steps to Reproduce: 1. emerge -av1 nvidia-drivers 2. 3. Actual Results: Emerge succeeds with a spurious warning Expected Results: Emerge succeeds with no spurious warning
Post the output of the following command here: lspci -d 10de: -n | awk '/ 0300: /{print $3}' | cut -d: -f2 | tr '\n' ' '
002d
Well, this simply can't work, we need to remove the old-style-versioned ebuilds from the tree and from the eclass. $ x=">=x11-drivers/nvidia-drivers-72.0.0\n=x11-drivers/nvidia-1.0.9639"; y=${x##*-}; echo ${y} 1.0.9639 Once you remove the check for the old cruft, you get: $ x=">=x11-drivers/nvidia-drivers-72.0.0"; y=${x##*-}; echo $y 72.0.0 and of course no warning.
Well one thing I was considering was abusing slot based deps to clear this issue up. Each different type of driver would be slotted differently and they would block each other.
Reading the bug report, the warning that is displayed is completely proper. The user wants 71.86.01, so he needs to add those masks otherwise Portage will continue to attempt to upgrade him to newer versions.
(In reply to comment #5) > Reading the bug report, the warning that is displayed is completely proper. The > user wants 71.86.01, so he needs to add those masks otherwise Portage will > continue to attempt to upgrade him to newer versions. Erm, of course it's not proper. He's emerging the correct drivers versions, so that warning is plain wrong for the reasons stated in Comment #3, i.e., version_compare can't produce correct results for the two different versioning schemes... <snip> * You are currently installing a version of nvidia-drivers that is * known not to work with a video card you have installed on your * system. If this is intentional, please ignore this. If it is not * please perform the following steps: </snip>
Fixed.