| Summary: | dev-util/cmake: downgrade from 2.8.1-r2 to 2.6.4-r3 doesn't work | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alexander Stein <alexanders83> |
| Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | minor | CC: | binki, bugzilla, tomka |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build log | ||
Created attachment 234087 [details]
build log
Downgrading is not a good idea (specially on source based distribution). You can likely get around this by simply unemerging cmake, and then emerging it again. That said, perhaps there should be somesort of check for this in the ebuild, "if installed cmake is higher version number than... use the bootstrap instead of installed cmake" -logic. (In reply to comment #2) > Downgrading is not a good idea (specially on source based distribution). I don't understand this statement. The freedom of combining versions freely is the main reason to use a source based distribution. In any case. The bootstrapping logic in this ebuild should be rewritten. It also triggers test failures in bug 315223 (In reply to comment #3) > (In reply to comment #2) > > Downgrading is not a good idea (specially on source based distribution). > I don't understand this statement. The freedom of combining versions freely is > the main reason to use a source based distribution. Yes, but have you ever tried to downgrade your X11 installation to a previous major version? :) *** This bug has been marked as a duplicate of bug 306867 *** |
The downgrade from dev-util/cmake-2.8.1-r2 to 2.6.4-r3 doesn't work during install. Build errors: Install the project... -- Install configuration: "Gentoo" -- Installing: /var/tmp/portage/dev-util/cmake-2.6.4-r3/image/usr/share/cmake/include/cmCPluginAPI.h -- Installing: /var/tmp/portage/dev-util/cmake-2.6.4-r3/image/usr/bin/ccmake CMake Error at Source/cmake_install.cmake:41 (IF): if had incorrect arguments: EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ccmake" AND NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ccmake" (Unknown arguments specified). Call Stack (most recent call first): cmake_install.cmake:41 (INCLUDE) Reproducible: Always Steps to Reproduce: 1. Install dev-util/cmake-2.8.1-r2 2. Downgrade to dev-util/cmake-2.6.4-r3 Actual Results: Installing cmake exits with error Expected Results: cmake is installed without problems