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
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.