Ebuild for app-office/libreoffice-bin-7.6.7.2 specifies only Python 3.11 as supported: # grep PYTHON_COMPAT /usr/portage/app-office/libreoffice-bin/libreoffice-bin-7.6.7.2.ebuild PYTHON_COMPAT=( python3_11 ) # emerge -1pv libreoffice-bin | grep libreoffice-bin [ebuild R ] app-office/libreoffice-bin-7.6.7.2::gentoo USE="java -gnome -kde" CPU_FLAGS_X86="sse2" PYTHON_SINGLE_TARGET="python3_11" 0 KiB But the current pre-built binaries getting installed were built using Python 3.12 libraries: # ldd /usr/lib64/libreoffice/program/libpythonloaderlo.so|grep libpython libpython3.12.so.1.0 => not found libpython3.12.so.1.0 => not found # revdep-rebuild -pv * This is the new python coded version * Please report any bugs found using it. * The original revdep-rebuild script is installed as revdep-rebuild.sh * Please file bugs at: https://bugs.gentoo.org/ * Found a valid cache, skipping collecting phase * Scanning files * Checking dynamic linking consistency * Broken files that require: libpython3.12.so.1.0 (64 bits) * /usr/lib64/libreoffice/program/libpythonloaderlo.so * /usr/lib64/libreoffice/program/libpyuno.so * Assign files to packages * /usr/lib64/libreoffice/program/libpythonloaderlo.so -> app-office/libreoffice-bin-7.6.7.2 * /usr/lib64/libreoffice/program/libpyuno.so -> app-office/libreoffice-bin-7.6.7.2 emerge --pretend --verbose --oneshot --complete-graph=y app-office/libreoffice-bin:0 Reproducible: Always Steps to Reproduce: 1. install only Python 3.11 2. emerge -1v =app-office/libreoffice-bin-7.6.7.2 3. Actual Results: revdep-rebuild -pv will complain about missing Python 3.12 libraries Expected Results: ebuild should specify the correct Python dependency (3.12)
Created attachment 901879 [details] emerge --info
Can confirm this, same on my machine here. Pre-built "app-office/libreoffice-bin-7.6.7.2" was built using Python 3.12 while "PYTHON_SINGLE_TARGET" in ebuild only offers Python 3.11. system / # revdep-rebuild -ipv * This is the new python coded version * Please report any bugs found using it. * The original revdep-rebuild script is installed as revdep-rebuild.sh * Please file bugs at: https://bugs.gentoo.org/ * Collecting system binaries and libraries * Collecting dynamic linking information * Scanning files * Checking dynamic linking consistency * Broken files that require: libpython3.12.so.1.0 (64 bits) * /usr/lib64/libreoffice/program/libpythonloaderlo.so * /usr/lib64/libreoffice/program/libpyuno.so * Assign files to packages * /usr/lib64/libreoffice/program/libpyuno.so -> app-office/libreoffice-bin-7.6.7.2 * /usr/lib64/libreoffice/program/libpythonloaderlo.so -> app-office/libreoffice-bin-7.6.7.2 Regards, Marco
Can also confirm this on my old 32-Bit machine as well: D113240 / # revdep-rebuild -ipv * This is the new python coded version * Please report any bugs found using it. * The original revdep-rebuild script is installed as revdep-rebuild.sh * Please file bugs at: https://bugs.gentoo.org/ * Collecting system binaries and libraries * Collecting dynamic linking information * Scanning files * Checking dynamic linking consistency * Broken files that require: libpython3.12.so.1.0 (32 bits) * /usr/lib/libreoffice/program/libpythonloaderlo.so * /usr/lib/libreoffice/program/libpyuno.so * Assign files to packages * /usr/lib/libreoffice/program/libpythonloaderlo.so -> app-office/libreoffice-bin-7.6.7.2 * /usr/lib/libreoffice/program/libpyuno.so -> app-office/libreoffice-bin-7.6.7.2
Ring, ring!
(In reply to Laszlo Valko from comment #4) > Ring, ring! I'm not sure if this is the correct avenue for this response, but I got it to install and launch by copying the ebuild into my local overlay and changing to: PYTHON_COMPAT=( python3_12 )
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29e0ebd1e92cda254d73109d8ac50a81b2c5cf44 commit 29e0ebd1e92cda254d73109d8ac50a81b2c5cf44 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-09-12 22:03:58 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-09-12 22:03:58 +0000 app-office/libreoffice-bin: enable py3.12 and disable py3.11 The binary is built against py3.12. Closes: https://bugs.gentoo.org/938895 Signed-off-by: Sam James <sam@gentoo.org> app-office/libreoffice-bin/libreoffice-bin-7.6.7.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)