<20220324153201.14149-1-ghenry@sentrypeer.org>
--- testing/opendht/APKBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/testing/opendht/APKBUILD b/testing/opendht/APKBUILD index d31f68762e..ea3b75b970 100644 --- a/testing/opendht/APKBUILD +++ b/testing/opendht/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Gavin Henry <ghenry@sentrypeer.org> pkgname=opendht pkgver=2.4.0 -pkgrel=1 +pkgrel=2 pkgdesc="C++14 Distributed Hash Table implementation" url="https://github.com/savoirfairelinux/opendht" arch="all" @@ -11,9 +11,13 @@ makedepends=" argon2-dev asio-dev cmake + cython gnutls-dev + jsoncpp-dev msgpack-cxx-dev nettle-dev + py3-setuptools + python3-dev readline-dev samurai " @@ -31,6 +35,7 @@ build() { -DCMAKE_BUILD_TYPE=MinSizeRel \ -DOPENDHT_C=ON \ -DOPENDHT_TOOLS=ON \ + -DOPENDHT_PYTHON=ON \ -G Ninja \ $CMAKE_CROSSOPTS . cmake --build build -- 2.34.1
<164813611316.985.9499665070991100182.gitlab.32427.306b84c2a96522ce0072be746f5499512980b318@listserv.local>
<20220324153201.14149-1-ghenry@sentrypeer.org>
(view parent)
you should split this into `py3-opendht` instead of putting it into the main package, by adding something like `py3-$pkgname:_py3` to subpackages, then adding a function into the file: ``` _py3() { pkgdesc="$pkgdesc (python bindings)" amove usr/lib/python* } ``` i also notice this added a `dhtcluster` binary, not sure if it's related to the python binding -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/32427#note_224782
<164813624297.985.3798830138692146658.gitlab.32427.55f585607614d1432d2d3d2c405ab53fc9b3b509@listserv.local>
<20220324153201.14149-1-ghenry@sentrypeer.org>
(view parent)
@psykose This :-) Hmm, now I get this attached. Ah, OK. I'll do that and ask upstream ![Screenshot_from_2022-03-24_15-36-23](https://gitlab.alpinelinux.org/alpine/aports/uploads/af99d5a68ecc1cd593e30f5bcd3c8e83/Screenshot_from_2022-03-24_15-36-23.png)about the dhtcluster. Didn't spot that! I'll get upstream to improve their docs and CI too! -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/32427#note_224785
<164813673930.985.16090870596560101013.gitlab.32427.55f585607614d1432d2d3d2c405ab53fc9b3b509@listserv.local>
<164813624297.985.3798830138692146658.gitlab.32427.55f585607614d1432d2d3d2c405ab53fc9b3b509@listserv.local>
(view parent)
given the gcc version in that picture, the issue there is you are backporting this library from edge into 3.15- and that doesn't work because it was built against edge libstdc++, which is that undefined reference you are seeing -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/32427#note_224791
<164813678596.985.2435760767246010266.gitlab.32427.55f585607614d1432d2d3d2c405ab53fc9b3b509@listserv.local>
<164813673930.985.16090870596560101013.gitlab.32427.55f585607614d1432d2d3d2c405ab53fc9b3b509@listserv.local>
(view parent)
you either need to be on edge, or you need to build it locally on 3.15 yourself, since it only exists in edge- sometimes these repository mixes work, but sometimes they don't for the reasons you see- it's not a supported configuration for that reason -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/32427#note_224793
<164813694953.985.9186077785034296443.gitlab.32427.f067583c5b349fa1c0857d259bbe09ecc882b2d3@listserv.local>
<20220324153201.14149-1-ghenry@sentrypeer.org>
(view parent)
Ah, yeah true. I should upgrade to edge on this build VM. Is that easy to do to go from 3.15.x or should I just reinstall? -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/32427#note_224795
<164813708705.985.12961316093838325719.gitlab.32427.f067583c5b349fa1c0857d259bbe09ecc882b2d3@listserv.local>
<164813694953.985.9186077785034296443.gitlab.32427.f067583c5b349fa1c0857d259bbe09ecc882b2d3@listserv.local>
(view parent)
replace v3.15 with edge in /etc/apk/repositories, then `apk upgrade -Ua` and you should be done :) -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/32427#note_224800
<164813711116.985.941206952731586834.gitlab.32427.a38885f88c7a21176a3b74cf99d66062cc6ef215@listserv.local>
<20220324153201.14149-1-ghenry@sentrypeer.org>
(view parent)
`dhtcluster` is built because python bindings are enabled, so I should put that in `py3-opendht` too. https://github.com/savoirfairelinux/opendht/search?q=dhtcluster -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/32427#note_224802
<164813729351.985.15043517058140860955.gitlab.32427.a38885f88c7a21176a3b74cf99d66062cc6ef215@listserv.local>
<164813711116.985.941206952731586834.gitlab.32427.a38885f88c7a21176a3b74cf99d66062cc6ef215@listserv.local>
(view parent)
makes sense :) -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/32427#note_224807
<164813784784.985.11191503372912866742.gitlab.32427.f067583c5b349fa1c0857d259bbe09ecc882b2d3@listserv.local>
<164813708705.985.12961316093838325719.gitlab.32427.f067583c5b349fa1c0857d259bbe09ecc882b2d3@listserv.local>
(view parent)
You certainly know your stuff! -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/32427#note_224827