0.8.1: install target fails because missing man page #646

Closed
opened 2021-12-04 08:38:44 -06:00 by kloczek · 3 comments
kloczek commented 2021-12-04 08:38:44 -06:00 (Migrated from github.com)
+ cd xxHash-0.8.1
+ DESTDIR=/home/tkloczko/rpmbuild/BUILDROOT/xxhash-0.8.1-2.fc35.x86_64
+ /usr/bin/cmake --install x86_64-redhat-linux-gnu
-- Install configuration: "RelWithDebInfo"
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/xxhash-0.8.1-2.fc35.x86_64/usr/lib64/libxxhash.so.0.8.1
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/xxhash-0.8.1-2.fc35.x86_64/usr/lib64/libxxhash.so.0
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/xxhash-0.8.1-2.fc35.x86_64/usr/lib64/libxxhash.so
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/xxhash-0.8.1-2.fc35.x86_64/usr/include/xxhash.h
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/xxhash-0.8.1-2.fc35.x86_64/usr/include/xxh3.h
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/xxhash-0.8.1-2.fc35.x86_64/usr/bin/xxhsum
-- Set runtime path of "/home/tkloczko/rpmbuild/BUILDROOT/xxhash-0.8.1-2.fc35.x86_64/usr/bin/xxhsum" to ""
CMake Error at x86_64-redhat-linux-gnu/cmake_install.cmake:119 (file):
  file INSTALL cannot find
  "/home/tkloczko/rpmbuild/BUILD/xxHash-0.8.1/cmake_unofficial/../xxhsum.1":
  No such file or directory.

cmake setup:

[tkloczko@ss-desktop x86_64-redhat-linux-gnu]$ cmake -L
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.


CMake Error: The source directory "/home/tkloczko/rpmbuild/BUILD/xxHash-0.8.1/x86_64-redhat-linux-gnu" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
-- Cache values
BUILD_SHARED_LIBS:BOOL=ON
CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
CMAKE_INSTALL_PREFIX:PATH=/usr
XXHASH_BUILD_XXHSUM:BOOL=ON
```console + cd xxHash-0.8.1 + DESTDIR=/home/tkloczko/rpmbuild/BUILDROOT/xxhash-0.8.1-2.fc35.x86_64 + /usr/bin/cmake --install x86_64-redhat-linux-gnu -- Install configuration: "RelWithDebInfo" -- Installing: /home/tkloczko/rpmbuild/BUILDROOT/xxhash-0.8.1-2.fc35.x86_64/usr/lib64/libxxhash.so.0.8.1 -- Installing: /home/tkloczko/rpmbuild/BUILDROOT/xxhash-0.8.1-2.fc35.x86_64/usr/lib64/libxxhash.so.0 -- Installing: /home/tkloczko/rpmbuild/BUILDROOT/xxhash-0.8.1-2.fc35.x86_64/usr/lib64/libxxhash.so -- Installing: /home/tkloczko/rpmbuild/BUILDROOT/xxhash-0.8.1-2.fc35.x86_64/usr/include/xxhash.h -- Installing: /home/tkloczko/rpmbuild/BUILDROOT/xxhash-0.8.1-2.fc35.x86_64/usr/include/xxh3.h -- Installing: /home/tkloczko/rpmbuild/BUILDROOT/xxhash-0.8.1-2.fc35.x86_64/usr/bin/xxhsum -- Set runtime path of "/home/tkloczko/rpmbuild/BUILDROOT/xxhash-0.8.1-2.fc35.x86_64/usr/bin/xxhsum" to "" CMake Error at x86_64-redhat-linux-gnu/cmake_install.cmake:119 (file): file INSTALL cannot find "/home/tkloczko/rpmbuild/BUILD/xxHash-0.8.1/cmake_unofficial/../xxhsum.1": No such file or directory. ``` cmake setup: ```console [tkloczko@ss-desktop x86_64-redhat-linux-gnu]$ cmake -L CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases. CMake Error: The source directory "/home/tkloczko/rpmbuild/BUILD/xxHash-0.8.1/x86_64-redhat-linux-gnu" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. -- Cache values BUILD_SHARED_LIBS:BOOL=ON CMAKE_BUILD_TYPE:STRING=RelWithDebInfo CMAKE_INSTALL_PREFIX:PATH=/usr XXHASH_BUILD_XXHSUM:BOOL=ON ```
Cyan4973 commented 2021-12-04 13:29:43 -06:00 (Migrated from github.com)

It seems we were missing a test !
Thanks for reporting @kloczek, this should be fixed in latest dev branch update.

It seems we were missing a test ! Thanks for reporting @kloczek, this should be fixed in latest `dev` branch update.
kloczek commented 2021-12-04 14:33:35 -06:00 (Migrated from github.com)

Looks like 636f966e dfixes install target.

Thank you.

BTW tests: I see tests/ directory however ctert is not able to find any units

[tkloczko@ss-desktop x86_64-redhat-linux-gnu]$ ctest -vv
Test project /home/tkloczko/rpmbuild/BUILD/xxHash-0.8.1/x86_64-redhat-linux-gnu
No tests were found!!!
Looks like 636f966e dfixes install target. Thank you. BTW tests: I see tests/ directory however ctert is not able to find any units ```console [tkloczko@ss-desktop x86_64-redhat-linux-gnu]$ ctest -vv Test project /home/tkloczko/rpmbuild/BUILD/xxHash-0.8.1/x86_64-redhat-linux-gnu No tests were found!!! ```
Cyan4973 commented 2021-12-04 15:01:32 -06:00 (Migrated from github.com)

cmake build is an unofficial build script, as the directory name implies, and is community maintained.
It's supposed to grow through community contributions, and while I may lean in from time to time, I don't have and don't intend to spend the time at mastering the full set of its capabilities.
ctest, which I was not even aware of before your message, is part of that list.

`cmake` build is an unofficial build script, as the directory name implies, and is community maintained. It's supposed to grow through community contributions, and while I may lean in from time to time, I don't have and don't intend to spend the time at mastering the full set of its capabilities. `ctest`, which I was not even aware of before your message, is part of that list.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-Cyan4973/xxHash#646
No description provided.