Issue 108641 - i18npool: Multiply defined recipe for target.
Summary: i18npool: Multiply defined recipe for target.
Status: CONFIRMED
Alias: None
Product: Internationalization
Classification: Code
Component: code (show other issues)
Version: OOO320m10
Hardware: PC (x86_64) Other OS
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-25 10:18 UTC by robert
Modified: 2018-12-19 12:18 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description robert 2010-01-25 10:18:40 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'
Comment 1 robert 2010-01-25 12:26:20 UTC
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
Comment 2 robert 2010-01-25 12:30:12 UTC
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= \
Comment 3 pavel 2010-01-25 15:01:01 UTC
Ause, please have a look.
Comment 4 hjs 2010-01-25 16:18:34 UTC
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.
Comment 5 robert 2010-01-25 16:49:16 UTC
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.
Comment 6 robert 2010-01-25 16:52:24 UTC
LIBTARGET=NO fixes the issue too.
Comment 7 hjs 2010-01-25 17:15:18 UTC
creation of target names might relay on DLLPOSTFIX being set...
Comment 8 robert 2010-01-25 17:17:00 UTC
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.
Comment 9 Mechtilde 2018-12-19 12:18:43 UTC
chnage component because it is a code problem