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

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



Christian Perrier a écrit :
> Trying to recompile the geneweb package in sid gives:
> 
> camlp5r pa_extend.cmo q_MLast.cmo pa_macro.cmo -DUNIX -o def.syn.ppo
> def.syn.ml
> ocamlc.opt -warn-error A -I ../wserver -I ../dag2html  -I +camlp5 -c -impl
> def.syn.ppo
> File "def.syn.ppo", line 1, characters 0-1:
> Warning X: bad source file name: "Def.syn" is not a valid module name.
> File "def.syn.ml", line 1, characters 0-1:
> Error: Error-enabled warnings (1 occurrences)

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).

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


Cheers,

-- 
Stéphane



Reply to: