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

Re: -D CUR_LOCALE considered harmful (was: webwml failed)



Josip Rodin wrote:
> On Sun, Jun 10, 2001 at 02:45:58PM +0200, Martin Schulze wrote:
> > > ePerl:Error: Perl runtime error (interpreter rc=2)
> > > 
> > > ---- Contents of STDERR channel: ---------
> > > Usage: POSIX::ctime(time) at ../../../english/template/debian/footer.wml line 10.
> > > ------------------------------------------
> > > ** WML:Break: Error in Pass 3 (rc=74).
> > > make[3]: *** [index.fi.html] Error 1
> > 
> > -D CUR_LOCALE=fi_FI considered harmful.
> > 
> > After removal of that from .fi's .wmlrc, wml was able to compile the page
> > again.
> > 
> > Comments?
> 
> I think this is just a simple conflict. :) It's odd that it happens only
> with News/weekly, though. There's probably some #use wml::debian::ctime
> missing somewhere, so footer picks up the Perl POSIX lib's ctime() instead
> of our ctime().
> 
> Which kinda begs the question: why do we have that function named after
> a common C/Perl function if it's different? Or, if it's not different, why
> don't we use the system's one?

It's renamed to webwml_ctime() now and the issue is resolved.
Also Denis request for a complete site rebuild should be fulfilled by that.

Regards,

	Joey

-- 
There are lies, statistics and benchmarks.



Reply to: