Regression: cmake install error for man page #115056

Closed
opened 2023-11-17 17:33:27 +01:00 by lmarz · 2 comments
Contributor

System Information
Operating system: Alpine Linux

Blender Version
Broken: 4.0.0
Worked: 3.6.5

Short description of error
When trying to build and install blender using unconventional directories, it gives a cmake error:

CMake Error at build-full/source/creator/cmake_install.cmake:2103 (file):
  file INSTALL cannot find
  "/builds/lmarz/aports/community/blender/src/blender-4.0.0/build-full/source/creator/blender.1":
  No such file or directory.
Call Stack (most recent call first):
  build-full/cmake_install.cmake:51 (include)

My guess is that it couldn't find the blender executable to generate the man page and it probably quietly failed until the step where the file is copied to the target directory. Some cmake variables were changed between version 3.6 and 4.0.

Exact steps for others to reproduce the error
Here is the cmake command:

cmake -B build-full \
    -C build_files/cmake/config/blender_full.cmake \
    -G Ninja -Wno-dev \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release \
    -DWITH_PYTHON_INSTALL=OFF \
    -DWITH_INSTALL_PORTABLE=OFF \
    -DWITH_LIBS_PRECOMPILED=OFF \
    -DWITH_SYSTEM_EIGEN3=ON \
    -DWITH_SYSTEM_GLOG=ON \
    -DWITH_SYSTEM_LZO=ON \
    -DLLVM_VERSION=15 \
    -DPYTHON_VERSION=3.12

cmake --build build-full
DESTDIR="$pkgdir" cmake --install build-full

Here is the full log: man_page_fail.log
Warning: The log is quite verbose as it builds three different versions of blender

**System Information** Operating system: Alpine Linux **Blender Version** Broken: 4.0.0 Worked: 3.6.5 **Short description of error** When trying to build and install blender using unconventional directories, it gives a cmake error: ``` CMake Error at build-full/source/creator/cmake_install.cmake:2103 (file): file INSTALL cannot find "/builds/lmarz/aports/community/blender/src/blender-4.0.0/build-full/source/creator/blender.1": No such file or directory. Call Stack (most recent call first): build-full/cmake_install.cmake:51 (include) ``` My guess is that it couldn't find the blender executable to generate the man page and it probably quietly failed until the step where the file is copied to the target directory. Some cmake variables were changed between version 3.6 and 4.0. **Exact steps for others to reproduce the error** Here is the cmake command: ``` cmake -B build-full \ -C build_files/cmake/config/blender_full.cmake \ -G Ninja -Wno-dev \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DWITH_PYTHON_INSTALL=OFF \ -DWITH_INSTALL_PORTABLE=OFF \ -DWITH_LIBS_PRECOMPILED=OFF \ -DWITH_SYSTEM_EIGEN3=ON \ -DWITH_SYSTEM_GLOG=ON \ -DWITH_SYSTEM_LZO=ON \ -DLLVM_VERSION=15 \ -DPYTHON_VERSION=3.12 cmake --build build-full DESTDIR="$pkgdir" cmake --install build-full ``` Here is the full log: [man_page_fail.log](/attachments/a29f67d8-3e78-4274-922a-1d3670eba540) **Warning: The log is quite verbose as it builds three different versions of blender**
lmarz added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2023-11-17 17:33:27 +01:00

Thank you for taking the time to bring this issue to our attention. However, build problems are off-topic on the bug tracker as explained by the submission form.
Please ask about this on blender.chat or DevTalk.

What not to report here
For feature requests, feedback, questions or issues building Blender, see communication channels.

Thank you for taking the time to bring this issue to our attention. However, build problems are off-topic on the bug tracker as explained by the [submission form](https://projects.blender.org/blender/blender/issues/new?template=.gitea%2fissue_template%2fbug.yaml). Please ask about this on [blender.chat](https://blender.chat/channel/blender-coders) or [DevTalk](https://devtalk.blender.org/c/blender). > **What not to report here** > For feature requests, feedback, questions or issues building Blender, see [communication channels](https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests).
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-11-17 23:11:03 +01:00

I believe this should be re-opened and linked to #115127. This is not a user error but an actual regression in Blender.

I believe this should be re-opened and linked to https://projects.blender.org/blender/blender/pulls/115127. This is not a user error but an actual regression in Blender.
Brecht Van Lommel added
Status
Resolved
and removed
Status
Archived
labels 2023-11-22 20:02:14 +01:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-11-28 06:57:22 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
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: blender/blender#115056
No description provided.