Hi, I have seen many changes recently in the tools cmake or automake and I tried to rebuild my TDE repository over the weekend.
tdelibs-trinity failed because it needs libpkcs11-helper1-dev which depends on libssl1.0-dev other packages however depend on libssl-dev like: kasablanca-trinity tdeaddons-trinity tqca-tls tdebase
If I change the control file to libssl-dev | libssl1.0-dev it all works. What can we do about that? Perhaps you have better insight in the difference between two packages.
I also can't build couple of packages like kplayer or krecipes for example
./.libs/libkplayernoinst.a(libkplayernoinst_la.all_cpp.o) (.data.rel.ro+0x1048): undefined reference to `static_QUType_ptr' ./.libs/libkplayernoinst.a(libkplayernoinst_la.all_cpp.o) (.data.rel.ro+0x1068): undefined reference to `static_QUType_ptr'
What can I do about that?
thanks
regards
On 11/19/2018 04:42 PM, deloptes wrote:
I also can't build couple of packages like kplayer or krecipes for example
./.libs/libkplayernoinst.a(libkplayernoinst_la.all_cpp.o) (.data.rel.ro+0x1048): undefined reference to `static_QUType_ptr' ./.libs/libkplayernoinst.a(libkplayernoinst_la.all_cpp.o) (.data.rel.ro+0x1068): undefined reference to `static_QUType_ptr'
What can I do about that?
Those are linker errors. They are not seeing whatever was supposed to provide static_QUType_ptr. I know krecipes will use several backends like MySQL (now MariaDB), so there may be a change to a backend that no longer provides definition and declaration of static_QUType_ptr.
What that is -- unfortunately I do not know, but perhaps someone more up to date to the changes there may know.
David C. Rankin wrote:
Those are linker errors. They are not seeing whatever was supposed to provide static_QUType_ptr. I know krecipes will use several backends like MySQL (now MariaDB), so there may be a change to a backend that no longer provides definition and declaration of static_QUType_ptr.
What that is -- unfortunately I do not know, but perhaps someone more up to date to the changes there may know.
I had this, when I failed (note missing submodule)
$ cat kplayer/.git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = https://anonymous@scm.trinitydesktop.org/scm/git/kplayer fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master
When I have this it works (of course submodules checked out)
$ cat kplayer/.git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = https://mirror.git.trinitydesktop.org/gitea/TDE/kplayer.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master [submodule "admin"] url = http://system@scm.trinitydesktop.org/scm/git/tde-common-admin [submodule "cmake"] url = http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake
only question left is the ssl one
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
[submodule "admin"] url = http://system@scm.trinitydesktop.org/scm/git/tde-common-admin [submodule "cmake"] url = http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake
only question left is the ssl one
Hi Emanoil, if you are building in debian, the best is to checkout the complete TDE repo and tde-packaging from TGW (TDE Gitea Workspace - https://mirror.git.trinitydesktop.org/gitea). In this way you are sure to have all modules and submodules required to build and always up to date. Slavek builds for about 44 distros/architecture combinations, so normally problems in Debian/Ubuntu/Devuan/Raspbian are detected quite soon. In addition I build on Debian/testing, meaning some problems are detected even before Slavek's build.
Regarding SSL, R14.0.x can be built with libpkcs11-helper1-dev over SSL1.0. R14.1.0 has been updated to SSL 1.1, but this means part of the functionality is temporarily broken and if you see well, tdelibs is build with PKCS=OFF for the time being.
Cheers Michele
Michele Calgaro wrote:
Hi Emanoil, if you are building in debian, the best is to checkout the complete TDE repo and tde-packaging from TGW (TDE Gitea Workspace - https://mirror.git.trinitydesktop.org/gitea). In this way you are sure to have all modules and submodules required to build and always up to date. Slavek builds for about 44 distros/architecture combinations, so normally problems in Debian/Ubuntu/Devuan/Raspbian are detected quite soon. In addition I build on Debian/testing, meaning some problems are detected even before Slavek's build.
Hi Michele, indeed as I wrote I found this out myself. I was trying to test in my old repository before moving to the complete TDE repo from TGW.
Regarding SSL, R14.0.x can be built with libpkcs11-helper1-dev over SSL1.0. R14.1.0 has been updated to SSL 1.1, but this means part of the functionality is temporarily broken and if you see well, tdelibs is build with PKCS=OFF for the time being.
OK thanks
Michele Calgaro wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
[...]
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEjhl1z5vbYB3YbFTiKnW3yore1c8FAlvzYXUACgkQKnW3yore 1c8LIRAAlQowe470sfNY5fa3eiMR0IAaqqqZh3a5+8XnIaG5UqmCR/JR2F3QRd9d N4M571xzmbzdhFCiVXWWEbC3cLfzj7AgJVxTglQUiVsEGpkAkQhabsBIla2oHss3 L3aObV4T+gYsZ94B3M4t5bwETzUSUuWr6lXant4U7dmOx6jKwrZr4Swl4Y3SxDnU FJCW7xKzGqruiHwUfyOM3N2XXlPl7A8KB9/vIhr3dptoMuQPt0+0wvk5MxKNtHQc UPazsFOmQ6yANxr0NlsDDVuGb+sIM3YjKZF5NN/Ebq7hC7dPNPO8sNCmKekf65LX 5iw1VUPtcFJ6sYyjE22lQY86bvYJWUxt0JZZ6en0Q1FwqgA/wLHILOVri+3U5+nr 0VO7O29NGAAMZEyPbXfX+jOFnFcHuR/c3M/djPypbD7cE+pxHtFwqXCig0iT/uc1 fpy/hRd8Be2ERwhghf+6+KuszZOwH5TjsvREUyGYRt3mG5QufLW/BwJ9pwwIBQC3 T/PArCyHqi+XHUIHKZ9Es73M1SxaUpFQTz+qcKi8mhFj35LtGkZLoTwEG1G8ZRsi kwO+LO/3pTiSSq96gAhf4YRvVkJodwawa7dv1uwj8iqJ7SQArsGWMj012KmVWvn3 5B4cFWMv712x2eAI16XnkEJeKp7LlJ42Td4F1kQ04gC8iSKEExI= =DNKl -----END PGP SIGNATURE-----
BTW your signature is flagged bad again.
regards
Michele Calgaro wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
[submodule "admin"] url =
[http://system@scm.trinitydesktop.org/scm/git/tde-common-admin
[[submodule "cmake"] url =
http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake
only question left is the ssl one
Hi Emanoil, if you are building in debian, the best is to checkout the complete TDE repo and tde-packaging from TGW (TDE Gitea Workspace - https://mirror.git.trinitydesktop.org/gitea). In this way you are sure to have all modules and submodules required to build and always up to date. Slavek builds for about 44 distros/architecture combinations, so normally problems in Debian/Ubuntu/Devuan/Raspbian are detected quite soon. In addition I build on Debian/testing, meaning some problems are detected even before Slavek's build.
repo-test/tde/2_build/tdelibs && debuild -uc -us -b -j4 dpkg-buildpackage -rfakeroot -us -uc -b -j4 dpkg-buildpackage: info: source package tdelibs-trinity dpkg-buildpackage: info: source version 4:14.1.0-0debian9.0.5+eko3 dpkg-buildpackage: info: source distribution stretch dpkg-buildpackage: info: source changed by "Emanoil Kotsev" deloptes@gmail.com dpkg-source --before-build tdelibs dpkg-buildpackage: info: host architecture amd64 dpkg-source: info: using options from tdelibs/debian/source/options: --compression=xz --compression-level=9 --diff-ignore=.* dpkg-checkbuilddeps: error: Unmet build dependencies: libpkcs11-helper1-dev dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting dpkg-buildpackage: warning: (Use -d flag to override.) debuild: fatal error at line 1116: dpkg-buildpackage -rfakeroot -us -uc -b -j4 failed
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
repo-test/tde/2_build/tdelibs && debuild -uc -us -b -j4 dpkg-buildpackage -rfakeroot -us -uc -b -j4 dpkg-buildpackage: info: source package tdelibs-trinity dpkg-buildpackage: info: source version 4:14.1.0-0debian9.0.5+eko3 dpkg-buildpackage: info: source distribution stretch dpkg-buildpackage: info: source changed by "Emanoil Kotsev" deloptes@gmail.com dpkg-source --before-build tdelibs dpkg-buildpackage: info: host architecture amd64 dpkg-source: info: using options from tdelibs/debian/source/options: --compression=xz --compression-level=9 --diff-ignore=.* dpkg-checkbuilddeps: error: Unmet build dependencies: libpkcs11-helper1-dev dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting dpkg-buildpackage: warning: (Use -d flag to override.) debuild: fatal error at line 1116: dpkg-buildpackage -rfakeroot -us -uc -b -j4 failed
Hi Emanoil, I just double checked, libpkcs11-helper1-dev is a dependency in tdelibs also in R14.1.0 (I did not remember that initially to be honest). It seems strange you have such missing dependency, it appears to be in Debian Package tracker. https://tracker.debian.org/pkg/pkcs11-helper https://packages.debian.org/stretch/libpkcs11-helper1-dev
Just completed a R14.1.0 tdelibs rebuild in buster, no issues. Hope it helps. Cheers Michele
Michele Calgaro wrote:
Hi Emanoil, I just double checked, libpkcs11-helper1-dev is a dependency in tdelibs also in R14.1.0 (I did not remember that initially to be honest). It seems strange you have such missing dependency, it appears to be in Debian Package tracker. https://tracker.debian.org/pkg/pkcs11-helper https://packages.debian.org/stretch/libpkcs11-helper1-dev
Just completed a R14.1.0 tdelibs rebuild in buster, no issues. Hope it helps. Cheers Michele
Hi Michele, all, I did not have time in the morning to put a comment. I let it build from the Gitea repository on a clean debian stretch during the night and this is what came out. So the thing is libpkcs11-helper1-dev requires libssl1.0-dev and it conflicts with libssl-dev. When I remove the dependency in tdelibs all works fine. It works also fine if I install libssl1.0-dev and libpkcs11-helper1-dev to compile tdelibs, but I am not sure what are the consequences and BTW the nothing is set to OFF, so I am not sure what you were reffering to. Can we remove dependency in tdelibs until it is fixed upstream, or how do you compile tdelibs for debian?
thanks in advance
regards
Michele Calgaro wrote:
Hi Emanoil, I just double checked, libpkcs11-helper1-dev is a dependency in tdelibs also in R14.1.0 (I did not remember that initially to be honest). It seems strange you have such missing dependency, it appears to be in Debian Package tracker. https://tracker.debian.org/pkg/pkcs11-helper https://packages.debian.org/stretch/libpkcs11-helper1-dev
Just completed a R14.1.0 tdelibs rebuild in buster, no issues. Hope it helps. Cheers Michele
Also tdebindings depends on libpkcs11-helper1-dev.