[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#521674: FTBFS: "Def.syn" is not a valid module name.



tags 521674 + upstream patch
thanks

Stéphane Glondu a écrit :
> You can workaround this failure by adding "-w x" to the failing command
> line. It will disable the warning (which is an error because of
> -warn-error). You can also remove -warn-error (your call).

I can see in the changelog entry of 4.10-15 that "-warn-error A" has
already been removed in the past for the same reason. I suggest to do
the same this time.

> The proper solution would be to ask upstream to rename the file into a
> proper module name.

This still applies.


Cheers,

-- 
Stéphane
diff -u geneweb-5.01/debian/changelog geneweb-5.01/debian/changelog
--- geneweb-5.01/debian/changelog
+++ geneweb-5.01/debian/changelog
@@ -1,3 +1,10 @@
+geneweb (5.01-8.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload
+  * Add patch 014_no-warn-error (Closes: #521674)
+
+ -- Stephane Glondu <steph@glondu.net>  Sun, 29 Mar 2009 14:03:15 +0200
+
 geneweb (5.01-8) unstable; urgency=low
 
   * Add "-bindir" to gwsetup's invocation in the wrapper script.
@@ -2372,2 +2378,0 @@
-
-
diff -u geneweb-5.01/debian/patches/series geneweb-5.01/debian/patches/series
--- geneweb-5.01/debian/patches/series
+++ geneweb-5.01/debian/patches/series
@@ -7,0 +8 @@
+014_no-warn-error
only in patch2:
unchanged:
--- geneweb-5.01.orig/debian/patches/014_no-warn-error
+++ geneweb-5.01/debian/patches/014_no-warn-error
@@ -0,0 +1,66 @@
+commit 04f584f0e3d161eec6b566da133f6925f2942d7d
+Author: Stephane Glondu <steph@glondu.net>
+Date:   Sun Mar 29 14:00:48 2009 +0200
+
+    Remove "-warn-error A" to work around FTBFS (Closes: #521674)
+
+diff --git a/tools/Makefile.inc.opt b/tools/Makefile.inc.opt
+index 5f7aeb4..594c1f9 100644
+--- a/tools/Makefile.inc.opt
++++ b/tools/Makefile.inc.opt
+@@ -5,8 +5,8 @@ CAMLP5_COMM=TOP=$(TOP) $(TOP)/tools/camlp5_comm.sh
+ CAMLP5F=-DUNIX
+ CAMLP5D=+camlp5
+ LIBUNIX=-cclib -lunix
+-OCAMLC=ocamlc.opt -warn-error A
+-OCAMLOPT=ocamlopt.opt -warn-error A
++OCAMLC=ocamlc.opt
++OCAMLOPT=ocamlopt.opt
+ OCAMLI=
+ OCAMLD=
+ STRIP=strip
+diff --git a/tools/Makefile.inc.out b/tools/Makefile.inc.out
+index 0102b96..bec0364 100644
+--- a/tools/Makefile.inc.out
++++ b/tools/Makefile.inc.out
+@@ -5,8 +5,8 @@ CAMLP5_COMM=TOP=$(TOP) $(TOP)/tools/camlp5_comm.sh
+ CAMLP5F=-DUNIX
+ CAMLP5D=+camlp5
+ LIBUNIX=-cclib -lunix
+-OCAMLC=ocamlc -warn-error A
+-OCAMLOPT=ocamlopt -warn-error A
++OCAMLC=ocamlc
++OCAMLOPT=ocamlopt
+ OCAMLI=
+ OCAMLD=
+ STRIP=strip
+diff --git a/tools/Makefile.inc.unix b/tools/Makefile.inc.unix
+index 5f7aeb4..594c1f9 100644
+--- a/tools/Makefile.inc.unix
++++ b/tools/Makefile.inc.unix
+@@ -5,8 +5,8 @@ CAMLP5_COMM=TOP=$(TOP) $(TOP)/tools/camlp5_comm.sh
+ CAMLP5F=-DUNIX
+ CAMLP5D=+camlp5
+ LIBUNIX=-cclib -lunix
+-OCAMLC=ocamlc.opt -warn-error A
+-OCAMLOPT=ocamlopt.opt -warn-error A
++OCAMLC=ocamlc.opt
++OCAMLOPT=ocamlopt.opt
+ OCAMLI=
+ OCAMLD=
+ STRIP=strip
+diff --git a/tools/Makefile.inc.win b/tools/Makefile.inc.win
+index 38db249..edc61cc 100644
+--- a/tools/Makefile.inc.win
++++ b/tools/Makefile.inc.win
+@@ -5,8 +5,8 @@ CAMLP5_COMM=TOP=$(TOP) $(TOP)/tools/camlp5_comm.sh
+ CAMLP5F=-DWIN95
+ CAMLP5D=+camlp5
+ LIBUNIX=-cclib -lunix
+-OCAMLC=ocamlc.opt -warn-error A
+-OCAMLOPT=ocamlopt.opt -warn-error A
++OCAMLC=ocamlc.opt
++OCAMLOPT=ocamlopt.opt
+ OCAMLI=
+ OCAMLD=
+ STRIP=true

Reply to: