darktable icon indicating copy to clipboard operation
darktable copied to clipboard

Build with RelWithDebInfo fails

Open vitaly-zdanevich opened this issue 7 months ago • 2 comments

I got:

CMake Error at src/external/rawspeed/cmake/build-type.cmake:23 (message):
  Unknown build type: RELWITHDEBINFO.  Please specify one of:
  Debug;ReleaseWithAsserts;Release;Coverage;Sanitize;TSan;Fuzz
Call Stack (most recent call first):
  src/external/rawspeed/CMakeLists.txt:167 (include)

And not possible to specify DEBUG because of

https://github.com/darktable-org/darktable/blob/26345f75fd379ed18be295b8eb36d0837a5a5d31/CMakeLists.txt#L270-L272

Related discussion at downstream https://bugs.gentoo.org/956349

Darktable version 5.0.1

Gentoo Linux

vitaly-zdanevich avatar May 22 '25 04:05 vitaly-zdanevich

SOURCE_PACKAGE is set to 'true' if you don't have a .git subdirectory in the top level of the source tree. Create it and that check should no longer trigger.

ralfbrown avatar May 22 '25 18:05 ralfbrown

But I want to fix the package in Gentoo package manager, looks like it a bad design to create .git folder during installation...

vitaly-zdanevich avatar May 23 '25 07:05 vitaly-zdanevich

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

github-actions[bot] avatar Aug 18 '25 00:08 github-actions[bot]