Darktable SBo build error
by metageek from LinuxQuestions.org on (#6J41X)
Like others, Darktable 3.4.0 segfaults in my system (see this thread) so I thought of upgrading it to the latest version available on SBo (4.2.1). Unfortunately I am unable to build it, even though I've installed all the dependencies. I'm on Slackware64-15.0 with all patches up to date.
This is the error I get:
Code:[ 2%] Checking validity of cameras.xml
cd /tmp/SBo/darktable-4.2.1/build/lib64/darktable/rawspeed/data && /usr/bin/xmllint --nonet --valid --noout --schema /tmp/SBo/darktable-4.2.1/src/external/rawspeed/data/cameras.xsd /tmp/SBo/darktable-4.2.1/src/external/rawspeed/data/cameras.xml
/tmp/SBo/darktable-4.2.1/src/external/rawspeed/data/cameras.xsd:194: element complexType: Schemas parser error : complex type 'CFA2Type': The content model is not determinist.
WXS schema /tmp/SBo/darktable-4.2.1/src/external/rawspeed/data/cameras.xsd failed to compile
make[2]: *** [lib64/darktable/rawspeed/data/CMakeFiles/validate-cameras.xml.dir/build.make:76: lib64/darktable/rawspeed/data/cameras.xml.touch] Error 5
make[2]: Leaving directory '/tmp/SBo/darktable-4.2.1/build'
make[1]: *** [CMakeFiles/Makefile2:2378: lib64/darktable/rawspeed/data/CMakeFiles/validate-cameras.xml.dir/all] Error 2
make[1]: Leaving directory '/tmp/SBo/darktable-4.2.1/build'
make: *** [Makefile:156: all] Error 2It seems that there is a problem parsing cameras.xml. I contacted the maintainer but so far no reply.
Has anyone come across this and knows of a fix?
This is the error I get:
Code:[ 2%] Checking validity of cameras.xml
cd /tmp/SBo/darktable-4.2.1/build/lib64/darktable/rawspeed/data && /usr/bin/xmllint --nonet --valid --noout --schema /tmp/SBo/darktable-4.2.1/src/external/rawspeed/data/cameras.xsd /tmp/SBo/darktable-4.2.1/src/external/rawspeed/data/cameras.xml
/tmp/SBo/darktable-4.2.1/src/external/rawspeed/data/cameras.xsd:194: element complexType: Schemas parser error : complex type 'CFA2Type': The content model is not determinist.
WXS schema /tmp/SBo/darktable-4.2.1/src/external/rawspeed/data/cameras.xsd failed to compile
make[2]: *** [lib64/darktable/rawspeed/data/CMakeFiles/validate-cameras.xml.dir/build.make:76: lib64/darktable/rawspeed/data/cameras.xml.touch] Error 5
make[2]: Leaving directory '/tmp/SBo/darktable-4.2.1/build'
make[1]: *** [CMakeFiles/Makefile2:2378: lib64/darktable/rawspeed/data/CMakeFiles/validate-cameras.xml.dir/all] Error 2
make[1]: Leaving directory '/tmp/SBo/darktable-4.2.1/build'
make: *** [Makefile:156: all] Error 2It seems that there is a problem parsing cameras.xml. I contacted the maintainer but so far no reply.
Has anyone come across this and knows of a fix?