Beep6581 / RawTherapee

A powerful cross-platform raw photo processing program
https://rawtherapee.com
GNU General Public License v3.0
2.77k stars 314 forks source link

Build fails on latest Arch Linux x86_64 #7203

Open wilchak opened 3 hours ago

wilchak commented 3 hours ago

Just tried to build a fresh checkout of dev (1e0265f98cf89ea504006da90ee6f056936edb63), and it fails.

Building on a fully up-to-date Arch Linux x86_64. I last successfully built RawTherapee on this environment/machine on Sept 3.

Tried building today because libjxl got a version bump, and now my current binary fails on launch looking for the old .so

(Just to be safe, I disabled libjxl support this time since I don't need that support anyway)

Failure:

[ 79%] Building CXX object rtgui/CMakeFiles/rth.dir/pathutils.cc.o
/usr/bin/ld: /tmp/cciAoelP.ltrans7.ltrans.o: in function `rtengine::RawImageSource::demosaic(rtengine::procparams::RAWParams const&, bool, double&, bool)':
<artificial>:(.text+0x93d9): undefined reference to `rtengine::RawImageSource::fast_demosaic()'
collect2: error: ld returned 1 exit status
make[2]: *** [rtgui/CMakeFiles/rth-cli.dir/build.make:225: rtgui/rawtherapee-cli] Error 1
make[1]: *** [CMakeFiles/Makefile2:273: rtgui/CMakeFiles/rth-cli.dir/all] Error 2

and then of course linking fails at the end.

My cmake run looks like this: cmake -DCMAKE_BUILD_TYPE="release" -DCACHE_NAME_SUFFIX="5-dev" -DPROC_TARGET_NUMBER="2" -DWITH_LTO="ON" -DENABLE_TCMALLOC="ON" -DWITH_JXL="OFF" ..

Let me know if I can supply any other logs or debug info.

wilchak commented 2 hours ago

Update: well, 40dccc3fcf66293c00df5c4e404e6177e8d97e74 fails with the same error.

gcc version 14.2.1 20240910 GNU ld (GNU Binutils) 2.43.0