Created attachment 498432 [details] emerge --info Updating ldb: > emerge -v1 sys-libs/tevent sys-libs/ldb ... [ebuild R ] sys-libs/tevent-0.9.33::gentoo USE="python" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7" 0 KiB [ebuild U ] sys-libs/ldb-1.2.2:0/1.2.2::gentoo [1.1.29-r1:0/1.1.29::gentoo] USE="ldap python -doc" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7" 0 KiB ... results in: ... Checking for system tevent (>=0.9.33) : yes ERROR: Python module pytevent of version 0.9.33 not found, and bundling disabled * ERROR: sys-libs/ldb-1.2.2::gentoo failed (configure phase): * configure failed ...
Created attachment 498434 [details] sys-libs/ldb-1.2.2/temp/build.log
I dig into this issue here, and find out that tevent python plugin so had linking issue when dealing with libreplace-tevent.so => /usr/lib64/tevent/libreplace-tevent.so that is in the /usr/lib64/tevent, which I have to put it into /etc/ld.so.conf.d in a config. please take a look at the result on your host: ldd /usr/lib64/python2.7/site-packages/_tevent.so
I hit this too on world update, and what's weird is an "older" system already had 0.9.33 installed but without any libreplace-tevent.so files (???) but another machine with newer base install did have them and failed as above. I took a look at the waf build stuff, but didn't see an obvious fix for this one; the samba packages apparently do the same thing with LIBDIR/samba and ldb has a config option for that (didn't work with tevent since tevent can't find itself). Anyway, making an environment file for tevent package with LDPATH for tevent subdir *does* work, but there's probably a cleaner fix in waf build config somewhere (either fix the linking or get it to not install libreplace-tevent). This is what i put in multilib_src_install: # fix lib not found error - see Bug 634090 echo "LDPATH=/usr/$(get_libdir)/tevent" > "${T}"/99${PN} || die "echo failed" doenvd "${T}"/99${PN}
Having same issue with samba-4.6 and samba-4.7 emerge. Checking for system tevent (>=0.9.29) : yes ERROR: Python module pytevent of version 0.9.29 not found, and bundling disabled * ERROR: net-fs/samba-4.5.15::gentoo failed (configure phase):
I had same issue with the package ldb and tevent. Solution in my case was a compilation of ldb without python flag. USE="-python" emerge ldb. Then python modulele of tevent isn't needed and a compilation of ldb and samba finished successfully.
I could not work around this by installing sys-libs/ldb with -python because of other packages that required it. Instead, I added the following file and ran env-update: path: /etc/ld.so.conf.d/50tevent-ldb-workaround.conf permissions: 0644 contents: (one line) /usr/lib64/tevent
ERROR: Python module pytevent of version 0.9.36 not found, and bundling disabled * ERROR: sys-libs/ldb-1.3.2::gentoo failed (configure phase):
*** This bug has been marked as a duplicate of bug 590026 ***
(In reply to Joe Harvell from comment #6) > I could not work around this by installing sys-libs/ldb with -python because > of other packages that required it. > > Instead, I added the following file and ran env-update: > > path: /etc/ld.so.conf.d/50tevent-ldb-workaround.conf > permissions: 0644 > contents: (one line) /usr/lib64/tevent This worked for me for sys-libs/ldb-2.2.1 Thanks