Discussion:
officecfg module tries to write outside of build directory
Gökçen Eraslan
2010-09-19 13:52:48 UTC
Permalink
Hello,

During the build of ooo-build-3.2.98.1, I see those output lines:

Entering /var/pisi/openoffice-3.2.98.1-84/work/ooo-build-3.2.98.1/build/ooo-
build-3.2.98.1/officecfg/util

rm -f ../unxlngx6.pro/bin/registry_en-US.zip
../unxlngx6.pro/bin/registry_de.zip ../unxlngx6.pro/bin/registry_es.zip
../unxlngx6.pro/bin/registry_fr.zip ../unxlngx6.pro/bin/registry_hu.zip
../unxlngx6.pro/bin/registry_it.zip ../unxlngx6.pro/bin/registry_nl.zip
../unxlngx6.pro/bin/registry_pt-BR.zip ../unxlngx6.pro/bin/registry_sv.zip
../unxlngx6.pro/bin/registry_tr.zip

rm -f /bin/registry_en-US.zip /bin/registry_de.zip /bin/registry_es.zip
/bin/registry_fr.zip /bin/registry_hu.zip /bin/registry_it.zip
/bin/registry_nl.zip /bin/registry_pt-BR.zip /bin/registry_sv.zip
/bin/registry_tr.zip

Since /bin directory is not related with ooo-build, this behaviour is not
right. Lines below are from officecfg/util/makefile.mk file:

$(MISC)$/$(TARGET)_delzip :
-$(RM) $(BIN)$/registry_{$(alllangiso)}.zip
-$(RM) $(COMMON_OUTPUT)$/bin$/registry_{$(alllangiso)}.zip

So, is the first command intentional or just a forgotten line?
--
Gökçen Eraslan
Pardus Developer
Gökçen Eraslan
2010-09-20 18:23:08 UTC
Permalink
Post by Gökçen Eraslan
So, is the first command intentional or just a forgotten line?
Here[1] is the bug I've issued to openoffice.

[1] http://www.openoffice.org/issues/show_bug.cgi?id=114601
--
Gökçen Eraslan
Pardus Developer
Loading...