shiznix / unity-gentoo

A Gentoo overlay to install the Unity desktop
70 stars 13 forks source link

compile of 'dev-cpp/gtest-1.8.1_p_p_p3' fails #229

Closed renegart closed 4 years ago

renegart commented 4 years ago

`

c4pp4 commented 4 years ago

emerge -C gmock gtest emerge -1 gtest

shiznix commented 4 years ago

WRT /usr/src/gtest collision, portage dev's implementation to fix bug #326685 is incomplete.

The exact same file/symlink provided by the same package should not trigger a collision detect on a version bump, this is a regressional workaround. This kills the ebuild maintainer's ability to move a file to a symlink on a version bump (which was the bug reporter's original problem in #326685).

/usr/src/gmock collision shouldn't happen either because it's old package (dev-cpp/gmock) has been soft blocked in dev-cpp/gtest.

I feel both cases could be easily fixed if portage just treated installed files/symlinks/fifos objects all the same.

For us in the new gtest-1.8.ebuild, we might just have to hard block gmock and lower versions of gtest :/

shiznix commented 4 years ago

Should be fixed in commit 3aa61172cdca4d5a64a5845199a756bdd8861f0c - thanks :)