Apache OpenOffice (AOO) Bugzilla – Issue 108641
i18npool: Multiply defined recipe for target.
Last modified: 2018-12-19 12:18:43 UTC
/home/pobj/openoffice-3.2.0rc3/OOO320_m10/i18npool/source/paper dmake: /home/pobj/openoffice-3.2.0rc3/OOO320_m10/solenv/inc/_tg_lib.mk: line 930: Error: -- Multiply defined recipe for target ../../unxobsd.pro/slb/i18npaper.lib configuration options: --disable-gnome-vfs --disable-mozilla --disable-odk --disable-pasf --enable-cairo --enable-kde --with-system-jpeg --with-system-python --with-system-libxml --with-system-stdlibs --with-system-freetype --with-system-curl --with-system-zlib --with-system-expat --with-system-neon --with-system-db --with-system-boost --with-system-libwpd --with-system-openssl --with-system-icu --with-system-redland --with-epm=internal --with-alloc=system --with-vba-package-format="builtin" --with-lang="en-US bg ca de es fa fi fr hu it ja ko lt lv nl pl pt-BR ru sl sv" --with-java --with-jdk-home=/usr/local/jdk-1.5.0 --with-ant-home=/usr/local/ant/lib --with-db-jar=/usr/local/lib/db4/db.jar --enable-minimizer --enable-presenter-console --enable-pdfimport --prefix='/usr/local' --sysconfdir='/etc' --mandir='/usr/local/man' --infodir='/usr/local/info'
oo:paper {8} dmake -vcdfimrtw | grep i18npaper dmake: /home/pobj/openoffice-3.2.0rc3/OOO320_m10/solenv/inc/target.mk: line 1224: Warning: -- Duplicate entry [../../unxobsd.pro/slb/i18npaper.lib] in prerequisite list dmake: /home/pobj/openoffice-3.2.0rc3/OOO320_m10/solenv/inc/target.mk: line 1224: Warning: -- Duplicate entry [../../unxobsd.pro/slb/i18npaper.lib] in prerequisite list dmake: /home/pobj/openoffice-3.2.0rc3/OOO320_m10/solenv/inc/_tg_lib.mk: line 930: Error: -- Multiply defined recipe for target ../../unxobsd.pro/slb/i18npaper.lib
This diff seems to fix the issue, but i am totally not sure that this is correct: --- i18npool/source/paper/makefile.mk.orig.port Mon Jan 25 13:28:45 2010 +++ i18npool/source/paper/makefile.mk Mon Jan 25 13:29:01 2010 @@ -55,7 +55,6 @@ DEF1NAME=$(SHL1TARGET) DEFLIB1NAME=$(SHL1TARGET) -LIB1TARGET= $(SLB)$/$(SHL1TARGET).lib LIB1OBJFILES=$(SHL1OBJS) SHL1STDLIBS= \
Ause, please have a look.
while the makefile.mk in i18npool/source/paper probably should have a LIBTARGET=NO somewhere above including settings.mk, the error you're reporting does occur only when DLLPOSTFIX is empty. see e.g. solenv/inc/unxlngi6.mk. so you may want to check which unx*.mk from solenv/inc is active for your environment and why it doesn't set DLLPOSTFIX.
Yes DLLPOSTFIX is empty on OpenBSD because I did not see the point of setting it. And this is the only place in the OOo tree where it causes problems.
LIBTARGET=NO fixes the issue too.
creation of target names might relay on DLLPOSTFIX being set...
I understand, but if LIBTARGET=NO fixes the problem, and as i see a lot of other modules have that too, it should be commited.
chnage component because it is a code problem