Le 16/02/2022 à 01:43, Felix Miata a écrit :
# zypper install trinity-desktop
...
Problem: nothing provides 'libjasper.so.4()(64bit)' needed by the to be installed
trinity-tdelibs-14.0.11-1.osstw.x86_64
Solution 1: do not install trinity-desktop-14.0.11-1.osstw.noarch
Solution 2: break trinity-tdelibs-14.0.11-1.osstw.x86_64 by ignoring some of its
dependencies
libjasper4-2.0.33-2.1.x86_64.rpm
has been replaced by
libjasper6-3.0.0-1.1.x86_64.rpm
Hello Felix,
Alas, tdelibs fails to build against jasper 3.0 :(
/usr/bin/make -f kimgio/CMakeFiles/kimg_jp2-module.dir/build.make
kimgio/CMakeFiles/kimg_jp2-module.dir/build
make[3]: Entering directory
'/tmp/BUILD.osstw.x86_64/trinity-tdelibs-14.0.11/build'
[ 80%] Linking CXX shared module kimg_jp2.so
cd /tmp/BUILD.osstw.x86_64/trinity-tdelibs-14.0.11/build/kimgio &&
/usr/bin/cmake -E cmake_link_script
CMakeFiles/kimg_jp2-module.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables
-fdebug-prefix-map=/tmp/BUILD.osstw.x8
6_64/trinity-tdelibs-14.0.11=.
-fmacro-prefix-map=/tmp/BUILD.osstw.x86_64/trinity-tdelibs-14.0.11=.
-fvisibility=hidden -fvisibility-inlines-hidden -DQT_NO_ASCII_CAST -DQ
T_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/tqt3 -I/usr/include/tqt
-include tqt.h -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -DNDEBUG
-Wl,--as-needed -Wl,--no-undefined -shared -
o kimg_jp2.so CMakeFiles/kimg_jp2-module.dir/jp2.cpp.o
-Wl,-rpath,/tmp/BUILD.osstw.x86_64/trinity-tdelibs-14.0.11/build/tdecore:/tmp/BUILD.osstw.x86_64/trinity-tdelibs-14
.0.11/build/dcop:/tmp/BUILD.osstw.x86_64/trinity-tdelibs-14.0.11/build/tdefx
../tdecore/libtdecore.so.14.0.0 -ljasper -ljpeg
../dcop/libDCOP.so.14.0.0 ../tdefx/libtdefx.so
.14.0.0 -ltqt -ltqt-mt -lXrender -lX11 -lc -lICE -lSM -lz
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld:
CMakeFiles/kimg_jp2-module.dir/jp2.cpp.o: in function `kimgio_jp2_write':
./build/kimgio/./kimgio/jp2.cpp:282: undefined reference to `jp2_encode'
collect2: error: ld returned 1 exit status
make[3]: *** [kimgio/CMakeFiles/kimg_jp2-module.dir/build.make:106:
kimgio/kimg_jp2.so] Error 1
make[3]: Leaving directory
'/tmp/BUILD.osstw.x86_64/trinity-tdelibs-14.0.11/build'
make[2]: *** [CMakeFiles/Makefile2:19724:
kimgio/CMakeFiles/kimg_jp2-module.dir/all] Error 2
make[2]: Leaving directory
'/tmp/BUILD.osstw.x86_64/trinity-tdelibs-14.0.11/build'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory
'/tmp/BUILD.osstw.x86_64/trinity-tdelibs-14.0.11/build'
François