From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95722 Path: news.gmane.org!.POSTED!not-for-mail From: Jose Luis Arellano Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt on linux-armhf Date: Mon, 8 Aug 2016 16:42:41 -0300 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3859136688603139378==" X-Trace: blaine.gmane.org 1470685400 10654 195.159.176.226 (8 Aug 2016 19:43:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2016 19:43:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 08 21:43:15 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWqSB-0002eb-IK for gctc-ntg-context-518@m.gmane.org; Mon, 08 Aug 2016 21:43:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 59E461471B; Mon, 8 Aug 2016 21:42:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K4zetevl6GZ2; Mon, 8 Aug 2016 21:42:56 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id E60F714795; Mon, 8 Aug 2016 21:42:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 92FC514714 for ; Mon, 8 Aug 2016 21:42:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kzJoh0-X1Xrd for ; Mon, 8 Aug 2016 21:42:54 +0200 (CEST) Original-Received: from mail-qt0-f174.google.com (mail-qt0-f174.google.com [209.85.216.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id C768414709 for ; Mon, 8 Aug 2016 21:42:43 +0200 (CEST) Original-Received: by mail-qt0-f174.google.com with SMTP id 52so208882169qtq.3 for ; Mon, 08 Aug 2016 12:42:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=e6N2XLsWUPTLUcC0Py/RnUTMELYRHhYN4B34rXf6Pq8=; b=B23wGotd/LEkllle3/aimRURRZ8GfnHybRdLFcOguuBBgawLSQ8xZ+rzhy8bEUpdSg AWD6/Lx9FJR/6Ds8Yn07AYZGsmvKpokrMQzEQ8qKT32O3C7FmIFl+uAYOgetetLOhWwm H9lt6X5QPhBrEpDgwNjMWs1roAtyqyTYT4W/yiAsVqefINASM96Q8mX6+MSkPZvpnLdv 4urWrFXA7wFgcovO3i335WdHEAe4B02Pd0R5hY6K60evXcP7+5xmR6QfOwqGLDZ56APk +ULZr5qx0wJRn5SgQ2Fuo1tbjB2dyH3yyHOCOIk6Aam5rpznVzvTJJRJv/XgEFlVOOZm hXJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=e6N2XLsWUPTLUcC0Py/RnUTMELYRHhYN4B34rXf6Pq8=; b=Z651qIgWAyjBx9c6Zkv4sCWqojqet+mqfEyCIbFQn2VUpbj+TuglXY+GnuaGRerRsG 6GXKk74kqohDBFCo3u2kW48jd0JK3IPL4tg8C89hZETCug0iZ42iho1XR5nBrwt38XmV g/VX68SEmYpgPOo4oSsYYhB2Bc8PJ5jFAh1w7nXLJWzKY7nnwQ78PNyEngMisM+AZ+CO d0QLj5O/VeMvdCCCncz4YzeOqyThkz83W8WW83bxd9H7EyS6AHG7uBUpx/sHDpknf0r7 ju4yJQ2RBSTTp54qYIaXbl67jl5ZNcR4k+2TjusGUn7oLwyHqt82deqtK0xxGRPLrh4F jZfA== X-Gm-Message-State: AEkooutzRnUpU6LZFKwj4fuPbK1nKqk//KYgU5tpEwO6FrZ9jEWXskqOUsYCwbhZzzOQkgKEjPD+0YfDRKpATQ== X-Received: by 10.237.35.146 with SMTP id j18mr30235689qtc.35.1470685362037; Mon, 08 Aug 2016 12:42:42 -0700 (PDT) Original-Received: by 10.140.81.9 with HTTP; Mon, 8 Aug 2016 12:42:41 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:95722 Archived-At: --===============3859136688603139378== Content-Type: multipart/alternative; boundary=001a1137707494cf7b0539949ec1 --001a1137707494cf7b0539949ec1 Content-Type: text/plain; charset=UTF-8 I have performed a clean installation of ConTeXt Standalone beta and when i try to compile i get this: error loading file: lang-txt.lua (aborting) mtx-context | error, no format found with name: cont-en, aborting 2016-08-08 16:16 GMT-03:00 Jose Luis Arellano : > Well, if i use the binary from http://tug.org/svn/ > texlive/trunk/Master/bin/armel-linux/ (Revision 41089) i get "Segmentation > fault". > However, the binary from http://tug.org/svn/texlive/trunk/Master/bin/ > armhf-linux/ (Revision 41117) seems to work perfectly fine. > Thanks guys. > > 2016-08-08 5:14 GMT-03:00 Henri Menke : > >> Hi, >> >> as far as I know, there is no such thing like the standard ARM chip. The >> ARM company designs chips to fit the needs of their customers. Therefore, >> the Raspberry Pi processor and the processor in a smartphone may have a >> very different instruction set. >> >> The Wikipedia page for the ARM Cortex-A7 (Raspberry Pi 2 Model B) lists >> several other chips implementing the Cortex-A7 instruction set. I would >> only guarantee compatibility with these chips if the binaries were built >> for this architecture. >> >> https://en.wikipedia.org/wiki/ARM_Cortex-A7 >> >> Another issue I could think of is the filesystem format. This is very >> heterogeneous among Android vendors. I think Samsung uses f2fs, HTC uses >> YAFFS, and LG uses ext4. It could be that the luatex binary runs on some >> kind of compatibility layer within Android which is either lacking correct >> filesystem syscalls or is doing them wrong. >> >> These are just ideas. I hope it helps anyway. >> Cheers, Henri >> >> On 08/08/2016 09:46 AM, Mojca Miklavec wrote: >> > On 8 August 2016 at 06:53, Jose Luis Arellano wrote: >> >> Hi Mojca, >> >> >> >> The binaries comes from armhf (your build), as you can see in logs >> attached. >> >> While the version of Tex Live installed is texlive-bin-2016.41290-5- >> armv7h. >> > >> > armv7h looks like "armhf". >> > >> > But I checked the logs and you are most likely using the binaries that >> > were compiled for Arch Linux and your machine (CPU) specifically >> > rather than the ones that are compiled by the TeX Live team. >> > >> > Can you try replacing the luatex binary in ConTeXt distribution with >> > the binaries from >> > http://tug.org/svn/texlive/trunk/Master/bin/ >> > please try once with armel-linux/luatex and once with >> > armhf-linux/luatex. (You can fetch the binary via SVN or via viewvc, >> > but make sure that the downloaded file will be executable.) >> > >> > I'm curious whether that binary works for you (try with armhf-linux >> first). >> > >> >> Maybe the problem is related to architecture of cpu, the latest >> raspbian use >> >> ARMv8. >> > >> > The exact architecture depends on hardware rather than software. I >> > guess we have RPi2 B (Hans must know). For some reason I cannot access >> > the machine at the moment, but I guess that RPi2+ is also armv7 (ARM >> > Cortex-A7). I'm not 100% sure though. >> > >> > The question is whether an older version of OS would help in any way. >> > >> > In any case you should be able to just copy the luatex from your >> > distro to the minimals and get a working PDF. >> > >> > Mojca >> > ____________________________________________________________ >> _______________________ >> > If your question is of interest to others as well, please add an entry >> to the Wiki! >> > >> > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/list >> info/ntg-context >> > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net >> > archive : http://foundry.supelec.fr/projects/contextrev/ >> > wiki : http://contextgarden.net >> > ____________________________________________________________ >> _______________________ >> > >> >> ____________________________________________________________ >> _______________________ >> If your question is of interest to others as well, please add an entry to >> the Wiki! >> >> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/list >> info/ntg-context >> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net >> archive : http://foundry.supelec.fr/projects/contextrev/ >> wiki : http://contextgarden.net >> ____________________________________________________________ >> _______________________ >> > > --001a1137707494cf7b0539949ec1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I have performed a clean installation of ConTeXt Standalon= e beta and when i try to compile i get this:

er= ror loading file: lang-txt.lua (aborting)
mtx-context =C2=A0 =C2= =A0 | error, no format found with name: cont-en, aborting
=

2016-08-08 16:16 = GMT-03:00 Jose Luis Arellano <jose.4rellano@gmail.com>= :
Well, if i use th= e binary from=C2=A0http://tug.org/svn/texlive/trunk/Master= /bin/armel-linux/=C2=A0(Revision 41089) i get "<= span>Segmentation fault".
However, the binary from=C2=A0http://tug.org/svn= /texlive/trunk/Master/bin/armhf-linux/=C2=A0(Revision 41117) = seems to work perfectly fine.
Thanks guys.
2016-08-08 5:14 GMT-03:00 Henri Menke <hen= rimenke@gmail.com>:
Hi,

as far as I know, there is no such thing like the standard ARM chip.=C2=A0 = The ARM company designs chips to fit the needs of their customers.=C2=A0 Th= erefore, the Raspberry Pi processor and the processor in a smartphone may h= ave a very different instruction set.

The Wikipedia page for the ARM Cortex-A7 (Raspberry Pi 2 Model B) lists sev= eral other chips implementing the Cortex-A7 instruction set.=C2=A0 I would = only guarantee compatibility with these chips if the binaries were built fo= r this architecture.

https://en.wikipedia.org/wiki/ARM_Cortex-A7

Another issue I could think of is the filesystem format.=C2=A0 This is very= heterogeneous among Android vendors.=C2=A0 I think Samsung uses f2fs, HTC = uses YAFFS, and LG uses ext4.=C2=A0 It could be that the luatex binary runs= on some kind of compatibility layer within Android which is either lacking= correct filesystem syscalls or is doing them wrong.

These are just ideas.=C2=A0 I hope it helps anyway.
Cheers, Henri

On 08/08/2016 09:46 AM, Mojca Miklavec wrote:
> On 8 August 2016 at 06:53, Jose Luis Arellano wrote:
>> Hi Mojca,
>>
>> The binaries comes from armhf (your build), as you can see in logs= attached.
>> While the version of Tex Live installed is texlive-bin-2016.41290-5= -armv7h.
>
> armv7h looks like "armhf".
>
> But I checked the logs and you are most likely using the binaries that=
> were compiled for Arch Linux and your machine (CPU) specifically
> rather than the ones that are compiled by the TeX Live team.
>
> Can you try replacing the luatex binary in ConTeXt distribution with > the binaries from
>=C2=A0 =C2=A0 =C2=A0http://tug.org/svn/texlive/trunk/Master/bin/
> please try once with armel-linux/luatex and once with
> armhf-linux/luatex. (You can fetch the binary via SVN or via viewvc, > but make sure that the downloaded file will be executable.)
>
> I'm curious whether that binary works for you (try with armhf-linu= x first).
>
>> Maybe the problem is related to architecture of cpu, the latest ra= spbian use
>> ARMv8.
>
> The exact architecture depends on hardware rather than software. I
> guess we have RPi2 B (Hans must know). For some reason I cannot access=
> the machine at the moment, but I guess that RPi2+ is also armv7 (ARM > Cortex-A7). I'm not 100% sure though.
>
> The question is whether an older version of OS would help in any way.<= br> >
> In any case you should be able to just copy the luatex from your
> distro to the minimals and get a working PDF.
>
> Mojca
> ____________________________________________________________= _______________________
> If your question is of interest to others as well, please add an entry= to the Wiki!
>
> maillist : ntg= -context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net > archive=C2=A0 : http://foundry.supelec.fr/projects/contextrev/
> wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
> ____________________________________________________________= _______________________
>

_________________________________________________________________= __________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listin= fo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/project= s/contextrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________


--001a1137707494cf7b0539949ec1-- --===============3859136688603139378== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============3859136688603139378==--