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

Bug#437949: texlive-bin: FTBFS on hurd-i386 because of icu



Hi,

Norbert Preining, le Thu 16 Aug 2007 11:11:55 +0200, a écrit :
> first, thanks a lot. BTW, is this the first version that does not build?

It actually never built on hurd-i386.

> On Mit, 15 Aug 2007, Samuel Thibault wrote:
> > texlive-bin currently FTBFS on hurd-i386 because of the copy of icu that
> > it embeds. Here is the patch that already got applied to the icu package
> > and is being forwarded icu upstream.
> > 
> > There was also a problem with xxx.l which uses the NOFILE macro which is
> > linux-only.
> 
> Did you check that it still builds on the other (at least some) archs?

Well, I have to admit no, because the patch can't hurt other archs in
any way: the aclocal.m4/configure *-*-gnu*) match can only happen on
hurd-i386, and #defining NOFILE after all #includes cannot hurt in any
way.

> On Mit, 15 Aug 2007, Samuel Thibault wrote:
> > --- texlive-bin-2007/build/source/Work/texk/detex/xxx.l.orig	2007-08-14 22:44:53.229859000 +0200
> > +++ texlive-bin-2007/build/source/Work/texk/detex/xxx.l	2007-08-14 22:45:19.329634000 +0200
> > @@ -59,6 +59,10 @@
> >  
> >  #endif
> >  
> > +#ifndef NOFILE
> > +#define NOFILE 256
> > +#endif
> > +
> >  extern void SetEnvIgnore(char *sbEnvList);
> >  extern int BeginEnv(char *sbEnv);
> >  extern int EndEnv(char *sbEnv);
> 
> This is a generated file ... it should have been patched in
> 	build/source/texk/detex/detex.l

Ah, well then

--- texlive-bin-2007/build/source/texk/detex/detex.l.orig	2007-08-14 22:44:53.229859000 +0200
+++ texlive-bin-2007/build/source/texk/detex/detex.l	2007-08-14 22:45:19.329634000 +0200
@@ -59,6 +59,10 @@
 
 #endif
 
+#ifndef NOFILE
+#define NOFILE 256
+#endif
+
 extern void SetEnvIgnore(char *sbEnvList);
 extern int BeginEnv(char *sbEnv);
 extern int EndEnv(char *sbEnv);

Samuel



Reply to: