Hello,
I’ve been building Rawtherapee on Fedora for some time now, building an rpm from a local git repo.
Attempting to build git snapshot 5.7-165-g58f44e96c a couple of days ago, resulted in the following error messages …
/home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:48: undefined reference to KLTCreateTrackingContext' /usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:55: undefined reference to
KLTCreateFeatureList’
/usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:56: undefined reference to KLTCreateFeatureTable' /usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:62: undefined reference to
KLTSelectGoodFeatures’
/usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:63: undefined reference to KLTStoreFeatureList' /usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:65: undefined reference to
KLTTrackFeatures’
/usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:66: undefined reference to KLTStoreFeatureList' /usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:279: undefined reference to
KLTFreeFeatureTable’
/usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:280: undefined reference to KLTFreeFeatureList' /usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:281: undefined reference to
KLTFreeTrackingContext’
/usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:160: undefined reference to KLTFreeFeatureTable' /usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:161: undefined reference to
KLTFreeFeatureList’
/usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:162: undefined reference to KLTFreeTrackingContext' /usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:270: undefined reference to
KLTFreeFeatureTable’
/usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:271: undefined reference to KLTFreeFeatureList' /usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:272: undefined reference to
KLTFreeTrackingContext’
/usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:261: undefined reference to KLTFreeFeatureTable' /usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:262: undefined reference to
KLTFreeFeatureList’
/usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:263: undefined reference to `KLTFreeTrackingContext’
collect2: error: ld returned 1 exit status
make[2]: *** [rtgui/CMakeFiles/rth.dir/build.make:2366: rtgui/rawtherapee] Error 1
make[2]: Leaving directory ‘/home/terry/rpmbuild/BUILD/rawtherapee-5.7’
make[1]: *** [CMakeFiles/Makefile2:246: rtgui/CMakeFiles/rth.dir/all] Error 2
make[1]: Leaving directory ‘/home/terry/rpmbuild/BUILD/rawtherapee-5.7’
make: *** [Makefile:133: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.8wZAT6 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.8wZAT6 (%build)
I was using the -DWITH_SYSTEM_KLT=ON, which has been my norm.
I also tried -DWITH_SYSTEM_KLT=OFF, which also resulted in an error…
RPM build errors:
File not found: /home/terry/rpmbuild/BUILDROlibrtengine.a librtexif.a/home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:48: undefined reference to KLTCreateTrackingContext' /usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:55: undefined reference to
KLTCreateFeatureList’
/usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:56: undefined reference to KLTCreateFeatureTable' /usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:62: undefined reference to
KLTSelectGoodFeatures’
/usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:63: undefined reference to KLTStoreFeatureList' /usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:65: undefined reference to
KLTTrackFeatures’
/usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:66: undefined reference to KLTStoreFeatureList' /usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:279: undefined reference to
KLTFreeFeatureTable’
/usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:280: undefined reference to KLTFreeFeatureList' /usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:281: undefined reference to
KLTFreeTrackingContext’
/usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:160: undefined reference to KLTFreeFeatureTable' /usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:161: undefined reference to
KLTFreeFeatureList’
/usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:162: undefined reference to KLTFreeTrackingContext' /usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:270: undefined reference to
KLTFreeFeatureTable’
/usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:271: undefined reference to KLTFreeFeatureList' /usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:272: undefined reference to
KLTFreeTrackingContext’
/usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:261: undefined reference to KLTFreeFeatureTable' /usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:262: undefined reference to
KLTFreeFeatureList’
/usr/bin/ld: /home/terry/rpmbuild/BUILD/rawtherapee-5.7/rtengine/calc_distort.cc:263: undefined reference to `KLTFreeTrackingContext’
collect2: error: ld returned 1 exit status
make[2]: *** [rtgui/CMakeFiles/rth.dir/build.make:2366: rtgui/rawtherapee] Error 1
make[2]: Leaving directory ‘/home/terry/rpmbuild/BUILD/rawtherapee-5.7’
make[1]: *** [CMakeFiles/Makefile2:246: rtgui/CMakeFiles/rth.dir/all] Error 2
make[1]: Leaving directory ‘/home/terry/rpmbuild/BUILD/rawtherapee-5.7’
make: *** [Makefile:133: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.8wZAT6 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.8wZAT6 (%build)OT/rawtherapee-5.7-1.0.20191104.fc31.x86_64/usr/lib64/*.so
Checking the rpmbuildroot /usr/lib64 has libs librtengine.a librtexif.a
It would seem things have changed somewhere since my previous successful build of 02 Nov which used Fedora 30 and git snapshot 5.7-158-g0ee3873ce.
Anyone have any suggestions as to where the problem lies and and how to fix it?
Cheers,
Terry