[tlbuild] hitex on OpenIndiana

Apostolos Syropoulos asyropoulos at gmail.com
Sun Jan 2 18:23:59 CET 2022


Hello,

The attached patch solves the problem. Thanks for finding the solution.

A.S.

Στις Σάβ 1 Ιαν 2022 στις 7:42 μ.μ., ο/η Martin Ruckert <
martin.ruckert at hm.edu> έγραψε:

> Hi!
>
> in machtypes.h I found this:
>
>     30 #if (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)) || \
>     31  defined(__EXTENSIONS__)
>     32
>     33 typedef  struct  _label_t { long val[2]; } label_t;
>     34
>     35 #endif /* !defined(_POSIX_C_SOURCE)... */
>
> Does your Makefile define __EXTENSIONS__ ? otherwise
> can you define _POSIX_C_SOURCE
> this should avoid the definition of label_t in machtypes.h
> which conflicts with the definition in hiformat.w
>
> Best regards
>    Martin Ruckert
>
> On 01-Jan-22 16:10, Apostolos Syropoulos wrote:
> > Hello,
> >
> > I am getting the following error message:
> >
> > CWEBINPUTS=../../../texk/web2c/hitexdir AM_V_P=: /bin/bash ./tangle-sh
> > hiformat-tangle ./ctangle hiformat
> > CWEBINPUTS=../../../texk/web2c/hitexdir
> > TEXMFCNF=../../../texk/web2c/../kpathsea ./ctangle hiformat
> > CWEBINPUTS=../../../texk/web2c/hitexdir AM_V_P=: /bin/bash ./tangle-sh
> > himktables.c ./ctangle hiformat
> > gcc64 -std=gnu99 -std=gnu11 -g -O2    himktables.c   -o himktables
> > In file included from ../../../texk/web2c/hitexdir/hiformat.w:10035:
> > ../../../texk/web2c/hitexdir/hiformat.w:4890:2: error: conflicting types
> > for 'label_t'
> >   4890 | } label_t;
> >        |  ^~~~~~~
> > In file included from /usr/include/sys/types.h:42,
> >                   from /usr/include/unistd.h:41,
> >                   from ../../../texk/web2c/hitexdir/hiformat.w:9981,
> >                   from ../../../texk/web2c/hitexdir/hiformat.w:10034:
> > /usr/include/sys/machtypes.h:59:54: note: previous declaration of
> > 'label_t' was here
> >     59 | typedef struct _label_t { long val[REG_LABEL_MAX]; } label_t;
> >        |                                                      ^~~~~~~
> > make[5]: *** [<builtin>: himktables] Error 1
> > make[5]: Leaving directory
> > '/container/source/texlive/source/Work/texk/web2c'
> > make[4]: *** [Makefile:19118: all-recursive] Error 1
> > make[4]: Leaving directory
> > '/container/source/texlive/source/Work/texk/web2c'
> > make[3]: *** [Makefile:5625: all] Error 2
> > make[3]: Leaving directory
> > '/container/source/texlive/source/Work/texk/web2c'
> > make[2]: *** [Makefile:922: recurse] Error 1
> > make[2]: Leaving directory '/container/source/texlive/source/Work/texk'
> > make[1]: *** [Makefile:493: all-recursive] Error 1
> > make[1]: Leaving directory '/container/source/texlive/source/Work/texk'
> > make: *** [Makefile:584: all-recursive] Error 1
> > + echo 2
> > + 1> exitstatus.txt
> > done (exit status 2) 1 Ιανουαρίου 2022 - 12:29:54 μ.μ. EET
> >
> > --
> > Apostolos Syropoulos
> > Xanthi, GREECE
> >
>


-- 
Apostolos Syropoulos
Xanthi, GREECE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tlbuild/attachments/20220102/cab0e768/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hiformat.patch
Type: text/x-patch
Size: 341 bytes
Desc: not available
URL: <https://tug.org/pipermail/tlbuild/attachments/20220102/cab0e768/attachment.bin>


More information about the tlbuild mailing list.