Skip to content

Fix UUID not found compilation error on openeuler#2513

Open
wwstory wants to merge 1 commit intodrogonframework:masterfrom
wwstory:fix/uuid-detection-on-openeuler
Open

Fix UUID not found compilation error on openeuler#2513
wwstory wants to merge 1 commit intodrogonframework:masterfrom
wwstory:fix/uuid-detection-on-openeuler

Conversation

@wwstory
Copy link
Copy Markdown

@wwstory wwstory commented May 8, 2026

Describe the bug
CMake fails to find UUID library when building drogon on openEuler 22.03, resulting in compilation error "Could not find UUID". The UUID library (libuuid-devel) is already installed on the system, but CMake still cannot locate it during configuration.

To Reproduce
Steps to reproduce the behavior:

  1. docker run --name euler22 -it openeuler/openeuler:22.03-lts bash
  2. Install UUID development library: sudo yum install libuuid-devel
  3. Verify installation: rpm -qa | grep uuid shows libuuid-devel is installed
  4. Clone the drogon repository
  5. Create build directory: mkdir build && cd build
  6. Run CMake configuration: cmake ..

Expected behavior
cmake should successfully find the installed UUID library and complete configuration without errors.

Screenshots
Screenshot from 2026-05-08 10-14-50

Error output
CMake Error at /data/chengzi/jingjing/third_party/drogon/cmake_modules/FindUUID.cmake:98 (message):
Could not find UUID
Call Stack (most recent call first):
/data/chengzi/jingjing/third_party/drogon/CMakeLists.txt:224 (find_package)

@wwstory wwstory changed the title Fix UUID not found compilation error on openEuler 22.03 (#2512) Fix UUID not found compilation error on openEuler 22.03 May 8, 2026
@wwstory wwstory changed the title Fix UUID not found compilation error on openEuler 22.03 Fix UUID not found compilation error on openeuler May 8, 2026
@an-tao
Copy link
Copy Markdown
Member

an-tao commented May 8, 2026

@wwstory Thanks for your patch, but changes to Changelog.md are unnecessary, please rebase to the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants