Re: suspicious needed in CppunitTest/libtest_services.so

2021-08-02 Thread Jean-Baptiste Faure

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.


Re: suspicious needed in CppunitTest/libtest_services.so

2021-08-02 Thread Stephan Bergmann

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.



suspicious needed in CppunitTest/libtest_services.so

2021-07-29 Thread Jean-Baptiste Faure

Hi,

In CppunitTest/libtest_services.so for LO 7.2.1.0.0+ I get the following error 
message :


[...]/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


My system is Ubuntu 20.04 x86-64 with kernel 5.8 and python 3.8.10

What is this "suspicious needed" ? Is there something I can do to fix that 
problem?

Best regards.
JBF

--
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice