Source: darktable
Version: 3.4.0-2
Severity: serious
Tags: ftbfs

darktable fails to build from source when adding parallel=1 to
DEB_BUILD_OPTIONS. Note that this is independent of the number of actual
CPU cores. I suppose that there is a missing dependency relation among
CMake targets. Here is the actual failure:

| [ 25%] Building C object bin/CMakeFiles/lib_darktable.dir/control/conf.c.o
| cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/bin && /usr/bin/cc 
-DDT_HAVE_SIGNAL_TRACE -DGDK_DISABLE_DEPRECATED 
-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_22 
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_MIN_REQUIRED 
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DGTK_DISABLE_DEPRECATED 
-DGTK_DISABLE_SINGLE_INCLUDES -DHAVE_BUILTIN_CPU_SUPPORTS -DHAVE_CONFIG_H 
-DHAVE_GAME -DHAVE_GPHOTO2 -DHAVE_GPHOTO_25_OR_NEWER -DHAVE_GRAPHICSMAGICK 
-DHAVE_HTTP_SERVER -DHAVE_KWALLET -DHAVE_LENSFUN -DHAVE_LIBSECRET -DHAVE_MAP 
-DHAVE_OPENCL -DHAVE_OPENEXR -DHAVE_OPENJPEG -DHAVE_OSMGPSMAP_110_OR_NEWER 
-DHAVE_OSMGPSMAP_NEWER_THAN_110 -DHAVE_PRINT -DHAVE_SQLITE_324_OR_NEWER 
-DUSE_COLORDGTK -DUSE_LUA -D_RELEASE -D_XOPEN_SOURCE=700 
-D__GDK_KEYSYMS_COMPAT_H__ -Dlib_darktable_EXPORTS 
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/bin -I/<<PKGBUILDDIR>>/src 
-I/<<PKGBUILDDIR>>/src/external/LuaAutoC 
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib/x86_64-linux-gnu/darktable/rawspeed/src
 -I/<<PKGBUILDDIR>>/src/external/rawspeed/src/librawspeed 
-I/<<PKGBUILDDIR>>/src/external/whereami/src -isystem 
/<<PKGBUILDDIR>>/src/external -isystem /<<PKGBUILDDIR>>/src/external/OpenCL 
-isystem /<<PKGBUILDDIR>>/src/external/rawspeed/src/external -isystem 
/usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include 
-isystem /usr/include/gtk-3.0 -isystem /usr/include/at-spi2-atk/2.0 -isystem 
/usr/include/at-spi-2.0 -isystem /usr/include/dbus-1.0 -isystem 
/usr/lib/x86_64-linux-gnu/dbus-1.0/include -isystem /usr/include/gio-unix-2.0 
-isystem /usr/include/cairo -isystem /usr/include/pango-1.0 -isystem 
/usr/include/fribidi -isystem /usr/include/harfbuzz -isystem 
/usr/include/atk-1.0 -isystem /usr/include/pixman-1 -isystem /usr/include/uuid 
-isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem 
/usr/include/gdk-pixbuf-2.0 -isystem /usr/include/libmount -isystem 
/usr/include/blkid -isystem /usr/include/libxml2 -isystem 
/usr/include/libsoup-2.4 -isystem /usr/include/OpenEXR -isystem 
/usr/include/lensfun -isystem /usr/include/librsvg-2.0 -isystem 
/usr/include/json-glib-1.0 -isystem /usr/include/openjpeg-2.4 -isystem 
/usr/include/libsecret-1 -isystem /usr/include/GraphicsMagick -isystem 
/usr/include/lua5.3 -isystem /usr/include/osmgpsmap-1.0 -isystem 
/usr/include/colord-1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -Wformat -Wformat-security -Wshadow -Wtype-limits 
-Wvla -Wold-style-declaration -Wno-unknown-pragmas -Wno-error=varargs 
-Wno-format-truncation -Wno-error=address-of-packed-member -std=c99 -fopenmp 
-mtune=generic -msse2 -g -mfpmath=sse -O3 -DNDEBUG -O3 
-fexpensive-optimizations -fPIC -o 
CMakeFiles/lib_darktable.dir/control/conf.c.o -c 
/<<PKGBUILDDIR>>/src/control/conf.c
| /<<PKGBUILDDIR>>/src/control/conf.c:27:10: fatal error: conf_gen.h: No such 
file or directory
|    27 | #include "conf_gen.h"
|       |          ^~~~~~~~~~~~
| compilation terminated.
| make[3]: *** [bin/CMakeFiles/lib_darktable.dir/build.make:1118: 
bin/CMakeFiles/lib_darktable.dir/control/conf.c.o] Error 1
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| make[2]: *** [CMakeFiles/Makefile2:1787: 
bin/CMakeFiles/lib_darktable.dir/all] Error 2
| make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| make[1]: *** [Makefile:174: all] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j1 "INSTALL=install 
--strip-program=true" VERBOSE=1 returned exit code 2
| make: *** [debian/rules:20: build] Error 25
| dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Helmut

Reply via email to