tags 1089251 patch
thanks

Hi. The attached patch (to be imported with quilt) works for me, but I
recommend that you consider upgrading to a more recent version:

https://gitlab.eclipse.org/eclipse/titan/titan.core/-/tags

(or ask the package to be removed if you are no longer interested).

Thanks.
From: Santiago Vila <[email protected]>
Subject: Fix FTBFS with make 4.4.1
Bug-Debian: https:/bugs.debian.org/1089251

--- a/common/Makefile
+++ b/common/Makefile
@@ -113,7 +113,7 @@
 hostid$(EXESUFFIX): hostid.o license.o memory.o
 	$(CC) $(LDFLAGS) -o $@ $^ $(LICENSE_LIBS) $(MINGW_LIBS)
 
-pattern_la.cc: pattern_la.l
+pattern_la.cc: pattern_la.l pattern_p.hh
 	$(FLEX) $(FLEXFLAGS) -o$@ $<
 
 pattern_p.cc pattern_p.hh: pattern_p.y
@@ -122,7 +122,7 @@
 pattern_uni.cc pattern_uni.hh: pattern_uni.y
 	$(BISON) $(BISONFLAGS) $<
 
-config_preproc_la.cc: config_preproc_la.l
+config_preproc_la.cc: config_preproc_la.l config_preproc_p.tab.hh
 	$(FLEX) $(FLEXFLAGS) -o$@ $<
 
 config_preproc_p.tab.cc config_preproc_p.tab.hh: config_preproc_p.y
--- a/compiler2/asn1/Makefile
+++ b/compiler2/asn1/Makefile
@@ -68,4 +68,5 @@
 include ../../Makefile.genrules
 
 # pre-seed dependencies
-Type_parse.d TokenBuf.d TableConstraint.d OCSV.d Object.d Block.d Ref.d AST_asn1.d asn1la.yy.d: asn1p.tab.hh
+Type_parse.d Type_parse.o TokenBuf.d TokenBuf.o TableConstraint.d TableConstraint.o OCSV.d OCSV.o Object.d \
+  Object.o Block.d Block.o Ref.d Ref.o AST_asn1.d AST_asn1.o asn1la.yy.d asn1la.yy.o: asn1p.tab.hh
--- a/compiler2/ttcn3/Makefile
+++ b/compiler2/ttcn3/Makefile
@@ -95,4 +95,6 @@
 include ../../Makefile.genrules
 
 # pre-seed dependencies
-lex.ttcn3.d: compiler.tab.hh
+lex.ttcn3.d lex.ttcn3.o: compiler.tab.hh
+lex.rawAST.d lex.rawAST.o: rawAST.tab.hh
+coding_attrib_la.d coding_attrib_la.o: coding_attrib_p.hh
--- a/core/Makefile
+++ b/core/Makefile
@@ -371,7 +371,8 @@
 endif
 
 #LegacyLogger.d: cversion.h
-$(DEPFILES): cversion.h $(PREGENERATED_SOURCES).compiled $(GENERATED_LOGGERAPI_SOURCES).compiled
+$(DEPFILES) $(OBJECTS): cversion.h $(PREGENERATED_SOURCES).compiled $(GENERATED_LOGGERAPI_SOURCES).compiled
+config_process.lex.d config_process.lex.o: config_process.tab.hh config_process.lex.hh
 
 #TitanLoggerControlImpl.d Single_main.d Runtime.d Port.d LegacyLogger.d \
 #LoggerPlugin.d LoggerPluginManager.d Error.d Default.d Communication.d \
--- a/core2/Makefile
+++ b/core2/Makefile
@@ -38,3 +38,6 @@
 vpath %.xsd $(SRCDIR)/core
 vpath %.ttcn $(SRCDIR)/core
 vpath cversion.h $(SRCDIR)/core
+vpath %.y $(SRCDIR)/core
+vpath %.l $(SRCDIR)/core
+vpath %.hh $(SRCDIR)/core
--- a/mctr2/cli/Makefile
+++ b/mctr2/cli/Makefile
@@ -65,3 +65,5 @@
 	$(BISON) $(BISONFLAGS) -o config_read.tab.cc -p config_read_ $<
 
 include ../../Makefile.genrules
+
+config_read.lex.d config_read.lex.o: config_read.tab.hh

Reply via email to