Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 36D7A781053 for <~alpine/devel@lists.alpinelinux.org>; Wed, 29 Jul 2020 15:35:35 +0000 (UTC) Received: by mail-qk1-f180.google.com with SMTP id 11so22632198qkn.2 for <~alpine/devel@lists.alpinelinux.org>; Wed, 29 Jul 2020 08:35:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=krcQdKOluWST92+rHWtDQe8XIfepzVXcfvTdcScBimc=; b=NbIg2yofU9FNB1tUVBLYLpZoBsgIvw9ilDlYlhOLQlGFXzY3kUtCmYORC3L6VADtsC 0/94O3mXKBeV7dvLkKPNeuqXdjTHzM79HviruJAfUno8auTTco83Tnd3qNv1ZYPiMX2a JV+o17YRPQIzdsQi3Kvr3E+Kg741ZNz2WAx+McZaJpJtK4DG8yjUEJTXfeoLULaEBNnh /WG+zXDe3iwnQAA2czfrXb4heMC6Ffhdu8O/hNOqCBCwo7zZVTywfFj0HQNqCoyp2zeb 08OWG51Ih2CqMKsW97Cvz/XkXjgEBmNDYYfs+w/yY6V5opRp/8XNrt5VV20M4KzpbaQi TBSA== X-Gm-Message-State: AOAM532PfdkRCDeAWw0KsOvr92Zh2HPFPO3f1x+mRnfPJJlAoikiSCYc KW/sz+Wmfp2Nf7vmAp7fMgICQHn/W+zqgBy4k3dqnjeI X-Google-Smtp-Source: ABdhPJwWbCrG5fd9wys37KOgFltQlEKhdAFv/uaSRl4G97aOtDRVxVTnVZgRYsjHMTkgaJs0rkAnhcdZvl8KDlUv8Ok= X-Received: by 2002:a37:9b91:: with SMTP id d139mr31696853qke.377.1596036933710; Wed, 29 Jul 2020 08:35:33 -0700 (PDT) MIME-Version: 1.0 From: Hans Harder Date: Wed, 29 Jul 2020 17:35:24 +0200 Message-ID: Subject: compile problems with new ksh93u+m codebase To: "~alpine/devel@lists.alpinelinux.org" <~alpine/devel@lists.alpinelinux.org> Content-Type: multipart/alternative; boundary="0000000000007b76e905ab964ed4" --0000000000007b76e905ab964ed4 Content-Type: text/plain; charset="UTF-8" Since a few months a number of people have forked the last stable 93u+ 2012-08-01 release from AT&T and are doing active bugfixing. see: https://github.com/ksh93/ksh I tried to build the last version of the ksh93 version under alpine with the musl library, but I got some compile errors. I don't have enough knowledge to fix this and was hoping that someone here can give me some hints on how to fix these compile errors. The details are in https://github.com/ksh93/ksh/issues/3 Basically I ran into In file included from /root/git_remote/ksh/src/lib/libast/include/ast.h:34, from /root/git_remote/ksh/src/lib/libast/misc/state.c:26: /root/git_remote/ksh/src/lib/libast/include/ast_std.h:300:16: error: unknown type name 'off64_t'; did you mean 'off_t'? #define off_t off64_t ^~~~~~~ /usr/include/sys/mman.h:142:17: note: in expansion of macro 'off_t' #define off64_t off_t Looks like a libc/musl incompatibility with off_t Can anyone give me some hints how to resolve this ? thx Hans --0000000000007b76e905ab964ed4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Since a few months a number of people have forked the last= stable 93u+ 2012-08-01 release from AT&T and are doing active bugfixin= g.
see: https://github.com/ksh9= 3/ksh

I tried to build the last version of the ksh93 version und= er alpine with the musl library, but I got some compile errors.
I don= 9;t have enough knowledge to fix this and was hoping that someone here can = give me some hints on how to fix these compile errors.

The details a= re in https://github.com/= ksh93/ksh/issues/3

Basically I ran into =C2=A0

In file in= cluded from /root/git_remote/ksh/src/lib/libast/include/ast.h:34,
=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from /root/git_remo= te/ksh/src/lib/libast/misc/state.c:26:
/root/git_remote/ksh/src/lib/liba= st/include/ast_std.h:300:16: error: unknown type name 'off64_t'; di= d you mean 'off_t'? =C2=A0#define off_t =C2=A0off64_t
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~
/usr/include/sys/m= man.h:142:17: note: in expansion of macro 'off_t'
=C2=A0#define = off64_t off_t

Looks like a libc/musl incompatibility=C2= =A0with off_t
Can anyone give me some hints how to resolve this ?=


thx=C2=A0
Hans

--0000000000007b76e905ab964ed4--