suspicious needed in CppunitTest/libtest_services.so

Jean-Baptiste Faure jbfaure at libreoffice.org
Mon Aug 2 17:04:46 UTC 2021


Hi Stephan,

Le 02/08/2021 à 09:41, Stephan Bergmann a écrit :
> On 29/07/2021 19:20, Jean-Baptiste Faure wrote:
>>> [...]/libo/72/instdir/program/libpythonloaderlo.so has suspicious NEEDED: 
>>> libpython3.8.so.1.0
>>> [...]/libo/72/instdir/program/libpyuno.so has suspicious NEEDED: libpython3.8.so.1.0
>>> make[1]: *** [[...]/libo/72/postprocess/CustomTarget_check_dynamic_objects.mk:23: 
>>> [...]/libo/72/workdir/CustomTarget/postprocess/check_dynamic_objects/check.done] Error 1
>>> make[1]: *** Waiting for unfinished jobs....
>>> make: *** [Makefile:287: build] Error 2
> 
> You are presumably building with --enable-python=system (and some 
> --with-package-format=..., so that CustomTarget_check_dynamic_objects is run in the first 
> place, cf. postprocess/Module_postprocess.mk).  The test in 
> postprocess/CustomTarget_check_dynamic_objects.mk tries to ensure that the generated 
> binaries do not have accidental dependencies on libraries that are only present on the 
> build machine.  This is typically less of an issue for your own local builds you do not 
> intend to pass on to others.  To silence the issue, add
> 
>    LO_ELFCHECK_ALLOWLIST=libpython3.8.so.1.0
> 
> to your autogen.input.

Thank you very much, you solved my problem. :-)

I do not have the same issue for
- LO 7.1 because its autogen.input contains --enable-python=fully-internal
- and for the master because its autogen.input does not contain --with-package-format=deb 
contrary to LO 7.2

Best regards.
JBF

-- 
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.


More information about the LibreOffice mailing list