Hi,

Am 10.12.25 um 09:15 schrieb John Paul Adrian Glaubitz:
On Wed, 2025-12-10 at 08:44 +0100, Stephan Bergmann wrote:
On 12/10/25 08:27, John Paul Adrian Glaubitz wrote:
Now the question is: Why is the script not being copied during build on 32-bit 
PowerPC (and HPPA)?
In smoketest/Module_smoketest.mk, CppunitTest_smoketest (i.e.,
smoketest/CppunitTest_smoketest.mk) is recorded as a
gb_Moudle_add_subsequentcheck_targets, and those "subsequent checks" are
only run after instdir has been fully populated (so those individual
CppunitTest_*.mk's don't need to have precise dependencies on which
artifacts they require to already be present in instdir).

So the question probably boils down to why a plain default-target `make`
does not generate instdir/program/soffice for you (or does it?).  I see
that in desktop/Module_desktop.mk, Package_soffice_sh (which is
responsible for copying the generated
workdir/CustomTarget/desktop/soffice.sh to instdir/program/soffice) is
recorded in a section that is conditional on
So, I'm actually building the libreoffice Debian package, so this might
be a packaging problem. I'm CC'ing the maintainer of the package to see
if he has any idea why instdir/program is not properly populated.

No, I don't.

(Works everywhere else, and afaics we don't special-case those two for anything 
even remotely relevant for soffice(.sh))

ifeq ($(USING_X11),TRUE)
Which is effectively a cheesy way of saying "if this is anything
Unix-like (but not macOS etc.)".  That USING_X11 comes from configure.ac
via config_host.mk, maybe that's a good first point to start your
investigation.
(experimental_powerpc-dchroot)rene@perotto:~/libreoffice-26.2.0~beta1$ grep -i 
X11 config_host.mk
export CXXFLAGS_CXX11=-std=c++20

export USING_X11=TRUE


So that one's ok and:


(experimental_powerpc-dchroot)rene@perotto:~/libreoffice-26.2.0~beta1$ find instdir/ 
-name "soffice*"
instdir/sdk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/soffice.gif
instdir/program/soffice
instdir/program/sofficerc
instdir/program/soffice.bin
instdir/share/config/soffice.cfg

(after starting with a standard build and then doing make desktop.allbuild)


But we don't do anything special(tm) between a build and the smoketest run 
either. It just does

https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice/-/blob/debian-experimental-26.2/rules?ref_type=heads#L2717
 ff..

I would have understood a breakage everywhere where we don't run the full make 
check but as it works on other archs..


Regards,


Rene



Reply via email to