Opened 14 years ago
Closed 14 years ago
#7398 closed bug (fixed)
Cmake optpkg broken
Reported by: | Disreali | Owned by: | scottmc |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | - General | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
On hrev40122 CMAKE is broken.
It seems that hrev40957 introduced the current version of optional package of CMAKE.
Simply running "cmake --version" returns the following error.
/boot/home> cmake --version CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modules directory not found in /boot/common/bin
Attaching backtrace.
Attachments (6)
Change History (15)
by , 14 years ago
Attachment: | r41022-4h_cmake_broken.txt added |
---|
comment:1 by , 14 years ago
follow-up: 3 comment:2 by , 14 years ago
I found that there is a /boot/boot/common/data/include/cmCPluginAPI.h and /boot/boot/common/documentation/man dir that was added by the cmake opt pkg from hrev40957.
Why are working optional packages being replaced by untested and broken ones?
follow-up: 4 comment:3 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 14 years ago
Replying to mmadia:
Was this fixed in hrev41080?
No, invoking "cmake --version" still give the same error, when installed via intalloptionalpackage on hrev41098-4halpha. The version added in that hrev41080 still puts some files in the wrong path.
/boot/home> du -a /boot/boot 14 /boot/boot/common/data/include/cmCPluginAPI.h 20 /boot/boot/common/data/include 26 /boot/boot/common/data 162 /boot/boot/common/documentation/man/man1/ccmake.1 536 /boot/boot/common/documentation/man/man1/cmake.1 148 /boot/boot/common/documentation/man/man1/cmakecommands.1 16 /boot/boot/common/documentation/man/man1/cmakecompat.1 242 /boot/boot/common/documentation/man/man1/cmakemodules.1 26 /boot/boot/common/documentation/man/man1/cmakepolicies.1 72 /boot/boot/common/documentation/man/man1/cmakeprops.1 48 /boot/boot/common/documentation/man/man1/cmakevars.1 8 /boot/boot/common/documentation/man/man1/cpack.1 108 /boot/boot/common/documentation/man/man1/ctest.1 1372 /boot/boot/common/documentation/man/man1 1378 /boot/boot/common/documentation/man 1384 /boot/boot/common/documentation 1416 /boot/boot/common 1422 /boot/boot
Manually copying the dirs to the appropriate path in /boot/common/ does not fix it.
Only when I manually installed the previously working version cmake-2.8.4-x86-gcc4-2011-02-25.zip, invoking "cmake --version" was successful.
Please revert to the cmake-2.8.4-2011-02-25 version, as both recent "updates" are broken in the same way.
comment:5 by , 14 years ago
Attaching du -a output far the three versions concerned. Only the 2011-02-25 version does things correctly.
by , 14 years ago
Attachment: | du_cmake-02-25.txt added |
---|
by , 14 years ago
Attachment: | du_cmake-03-14.txt added |
---|
by , 14 years ago
Attachment: | du_cmake-03-22.txt added |
---|
comment:6 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
should be fixed in hrev41106.
comment:7 by , 14 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Definitely not fixed. Attaching du -a output from the new cmake zips. The gcc2 one still has some files in an extraneous /boot/boot/ path and the gcc4 version is missing lots of stuff.
by , 14 years ago
Attachment: | du_cmake-03-25-gcc2.txt added |
---|
by , 14 years ago
Attachment: | du_cmake-03-25-gcc4.txt added |
---|
comment:8 by , 14 years ago
What files do you see missing from the gcc4 build? I see the header is now in an include/include directory, I'll clean that up. I think the gcc2 package just picked up the /boot/boot files from a previous build, so a rebuild should clean that up.
comment:9 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Moved cmake back to the 2011-02-25 packages in hrev41138.
relevent syslog entry: