Closed as not planned
Description
Is there an existing issue for this?
- I checked and did not find my issue in the already reported ones
Describe the bug
I am building on OpenSUSE Tumbleweed, which has PNG 1.7. When trying to build c-darktable with SCBI I get the following error:
[ 93%] Built target watermark
/home/colin/dev/builds/c-darktable/x86_64-suse-linux-default/src/src/imageio/format/png.c: In function ‘write_image’:
/home/colin/dev/builds/c-darktable/x86_64-suse-linux-default/src/src/imageio/format/png.c:188:3: error: ‘png_set_compression_buffer_size’ is deprecated [-Werror=deprecated-declarations]
188 | png_set_compression_buffer_size(png_ptr, 8192);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
cc1: all warnings being treated as errors
Steps to reproduce
Fails whenever a build is made
Expected behavior
No response
Logfile | Screenshot | Screencast
No response
Commit
No response
Where did you obtain darktable from?
darktable.org / GitHub release
darktable version
git master
What OS are you using?
Linux
What is the version of your OS?
Linux murorum 6.14.4-1-default #1 SMP PREEMPT_DYNAMIC Fri Apr 25 09:13:41 UTC 2025 (584fafa) x86_64 x86_64 x86_64 GNU/Linux
Describe your system
No response
Are you using OpenCL GPU in darktable?
None
If yes, what is the GPU card and driver?
No response
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response