[tlbuild] 2014 builds for FreeBSD

Nikola Lečić nikola.lecic at anthesphoria.net
Wed Mar 19 14:54:34 CET 2014


On Wed, 19 Mar 2014 14:08:46 +0100 (CET)
Peter Breitenlohner <peb at mppmu.mpg.de> wrote:

> On Wed, 19 Mar 2014, Nikola Lecic wrote:
> 
> The current sources build fine on FreeBSD i386/amd64, with this small
> patch applied:
> 
> > Index: Build/source/libs/lua52/lua-5.2.3/src/liolib.c
> > ===================================================================
> > --- Build/source/libs/lua52/lua-5.2.3/src/liolib.c	(revision
> > 33227) +++ Build/source/libs/lua52/lua-5.2.3/src/liolib.c
> > (working copy) @@ -19,6 +19,7 @@
> >  #include <stdio.h>
> >  #include <stdlib.h>
> >  #include <string.h>
> > +#include <unistd.h>
> >
> >  #define liolib_c
> >  #define LUA_LIB
> 
> Hi Nikola,
> 
> that seems to be a problem with the FreeBSD headers.  The Linux and
> Posix manpage(s) for fseeko()/ftello() only specify
>    #include <stdio.h>
> 
> Can you live with a local patch?

Well, I certainly can, but not with very much joy. :)

This is the first time you refuse a header-related intervention. Just
curious, does this full crash log change anything?

gcc -DHAVE_CONFIG_H -I.
-I/root/TeXLive-Devel/trunk/Build/source/libs/lua52
-I/root/TeXLive-Devel/trunk/Build/source/libs/lua52/lua-5.2.3/src
-DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN
-DLUAI_HASHLIMIT=6  -Wimplicit -Wreturn-type
-Wdeclaration-after-statement -Wno-unknown-pragmas -g -O2 -MT
lua-5.2.3/src/liolib.o -MD -MP -MF $depbase.Tpo -c -o
lua-5.2.3/src/liolib.o /root/TeXLive-Devel/trunk/Build/source/libs/lua52/lua-5.2.3/src/liolib.c
&&\ mv -f $depbase.Tpo
$depbase.Po /root/TeXLive-Devel/trunk/Build/source/libs/lua52/lua-5.2.3/src/liolib.c:
In function
'f_seek': /root/TeXLive-Devel/trunk/Build/source/libs/lua52/lua-5.2.3/src/liolib.c:552:
error: 'off_t' undeclared (first use in this
function) /root/TeXLive-Devel/trunk/Build/source/libs/lua52/lua-5.2.3/src/liolib.c:552:
error: (Each undeclared identifier is reported only
once /root/TeXLive-Devel/trunk/Build/source/libs/lua52/lua-5.2.3/src/liolib.c:552:
error: for each function it appears
in.) /root/TeXLive-Devel/trunk/Build/source/libs/lua52/lua-5.2.3/src/liolib.c:552:
error: expected ';' before
'offset' /root/TeXLive-Devel/trunk/Build/source/libs/lua52/lua-5.2.3/src/liolib.c:553:
error: 'offset' undeclared (first use in this function) gmake[5]: ***
[lua-5.2.3/src/liolib.o] Error 1 gmake[5]: Leaving directory
`/root/TL-Work-33227/libs/lua52' gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/root/TL-Work-33227/libs/lua52' gmake[3]:
*** [all] Error 2 gmake[3]: Leaving directory
`/root/TL-Work-33227/libs/lua52' gmake[2]: *** [recurse] Error 1
gmake[2]: Leaving directory `/root/TL-Work-33227/libs' gmake[1]: ***
[all-recursive] Error 1 gmake[1]: Leaving directory
`/root/TL-Work-33227/libs' gmake: *** [all-recursive] Error 1

-- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
URL: <http://tug.org/pipermail/tlbuild/attachments/20140319/984110a8/attachment-0001.bin>


More information about the tlbuild mailing list