From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31787 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Claudio Di Vita Newsgroups: gmane.text.pandoc Subject: Re: M1 support for Docker image Date: Wed, 23 Nov 2022 02:33:17 -0800 (PST) Message-ID: <4aa8604b-23c8-4960-ba58-d168bee56bfdn@googlegroups.com> References: <87y1tcj0g2.fsf@zeitkraut.de> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1034_632513068.1669199597601" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15634"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDOYFIOXRYHRB37N66NQMGQEOON6WLY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Nov 23 11:33:22 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f57.google.com ([209.85.160.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oxn4E-0003tU-EL for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 23 Nov 2022 11:33:22 +0100 Original-Received: by mail-oa1-f57.google.com with SMTP id 586e51a60fabf-13b88262940sf8318290fac.15 for ; Wed, 23 Nov 2022 02:33:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=vvHE+K0j8gz6wOtXnXwWNc+v6L0jLW75wvMvu5oCyso=; b=AwioJISExiEfI77t890WVgHGE/v311RWK2zkfEPAwwCzYjFMrGuvqVTi8sSHirJudI //9WW2WzKcdCFqTuvpGaDDhcBd9HGiSAoP4EMhR42UVr7Rb8XqE6JpNHbDcEARni48NU 0kks0eyoLwD5HeCzusPEHkkwROGr+/l7x373D+kgVqf4AffYS4DEgIFnthEZSI2yR+rG mt7oaSUU62EJDN6wwygCvCKoaiEzTQ8Lgsnp8AbmbSL4zqcCVY589weXA7BW4u9n2zAZ DJE+dpM9uKPE+69MVHuG/nvr0BGfh9ZMIthyqMcnM2k2OcggEhrhVshsyYaRTI70j+nX 1/6A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=vvHE+K0j8gz6wOtXnXwWNc+v6L0jLW75wvMvu5oCyso=; b=ibc5oK8ZVQ8S80GCs0a4yvLBR/tesJdTIi+YF4F05y0csdVh2ei97Yp43DKiUg4bz5 GBg+PUKHJvZtA3StVBc840qnQ1T9J6n8Wx/iozzCrfl+7IGLpex02upoJ3IakCIxbXlG vhlLn7JjjkGDAPTWpz64aWY2c2Hb1KH7gBv+V//TO3EtzEt/0SuDJ50NByL2gGazdwIk ImJTmuzFYQ7kZnOq/sfWRYPF/fDUzAX2gUKSkt52Abl4YneU0pFPaaQ0D3SGQ6jrJWWR /hqUDnRUCJAEZo9gCgsJU+GfvjadMGxGw8fafZnHUopg0lXKDEMyebmAw+wb7oHHMQ5W JR5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=vvHE+K0j8gz6wOtXnXwWNc+v6L0jLW75wvMvu5oCyso=; b=d31T0pztMkWuTczRQoMMdldCBJup9I6XOZ5MkpijREaE6shP3Fc0bI2tkHdaYyZAIq lG6sBsIv04W7tssYPfjiNex7g5rf9CY1ujzGU9wr0NisAS1tD2aAodMuTvQFScSA0I4q PC/HM3uIwOU2JBMthcSUlLgQWGHbfj2M0oo8BQQiJryrqver0NOGinuhC4yXqtKeFR0E sXG2Cz98B0K5zN2r3TZDUOlMQPnXc3yXW3tOEl6Moo5DcrgO27r3DgZOg8kA9FUJ8yib gTPMvvf0He9wczn4wzktIxPUqH/U24BAs3bNSy1gL2B97uTZcYhRWELNDYGSwAiaryVn OHhw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ANoB5pl+/lk1fxot72Xs39UHFSgDFuMIMPULOGPMv3Z2vl5qQq1cEXep VVRyPk628iit4LBWrAs0OqQ= X-Google-Smtp-Source: AA0mqf6tdrsqXiM+vnhvthnEBR/wo9+wrJp7BUuEiMEKiCgkWJneGIm0WCOhDj9n1Sw7HtiCx2MjSA== X-Received: by 2002:a9d:7489:0:b0:66c:48e1:e872 with SMTP id t9-20020a9d7489000000b0066c48e1e872mr14330545otk.338.1669199601207; Wed, 23 Nov 2022 02:33:21 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:4c1:b0:143:1d71:23f2 with SMTP id u1-20020a05687004c100b001431d7123f2ls1060199oam.9.-pod-prod-gmail; Wed, 23 Nov 2022 02:33:18 -0800 (PST) X-Received: by 2002:a05:6870:5587:b0:131:d46f:691b with SMTP id n7-20020a056870558700b00131d46f691bmr7072770oao.63.1669199598475; Wed, 23 Nov 2022 02:33:18 -0800 (PST) In-Reply-To: X-Original-Sender: claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:31787 Archived-At: ------=_Part_1034_632513068.1669199597601 Content-Type: multipart/alternative; boundary="----=_Part_1035_1235554858.1669199597601" ------=_Part_1035_1235554858.1669199597601 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable With a support of a colleague that has an Apple M1, I'm trying to build the= =20 pandoc/latex:edge-ubuntu image. The build fails due to some installation issue with TexLive: Time used for installing the packages: 00:38 running mktexlsr /opt/texlive/texdir/texmf-dist ... writing fmtutil.cnf to /opt/texlive/texdir/texmf-dist/web2c/fmtutil.cnf writing updmap.cfg to /opt/texlive/texdir/texmf-dist/web2c/updmap.cfg writing language.dat to=20 /opt/texlive/texdir/texmf-var/tex/generic/config/language.dat writing language.def to=20 /opt/texlive/texdir/texmf-var/tex/generic/config/language.def writing language.dat.lua to=20 /opt/texlive/texdir/texmf-var/tex/generic/config/language.dat.lua running mktexlsr /opt/texlive/texdir/texmf-var=20 /opt/texlive/texdir/texmf-config /opt/texlive/texdir/texmf-dist ... running updmap-sys --nohash ...done re-running mktexlsr /opt/texlive/texdir/texmf-var=20 /opt/texlive/texdir/texmf-config ... pre-generating all format files, be patient... running fmtutil-sys --no-error-if-no-engine=3Dluajithbtex,luajittex,mfluaji= t=20 --no-strict --all ...done running package-specific postactions finished with package-specific postactionsWelcome to TeX Live!See=20 /opt/texlive/texdir/index.html for links to documentation. The TeX Live web site (https://tug.org/texlive/) contains any updates and= =20 corrections. TeX Live is a joint project of the TeX user groups around the= =20 world; please consider supporting it by joining the group best for you. The= =20 list of groups is available on the web at https://tug.org/usergroups.html.A= dd=20 /opt/texlive/texdir/texmf-dist/doc/man to MANPATH. Add /opt/texlive/texdir/texmf-dist/doc/info to INFOPATH. Most importantly, add /opt/texlive/texdir/bin/aarch64-linux to your PATH for current and future sessions. Logfile:=20 /opt/texlive/texdir/install-tl.log ----------------------------------------= ------------------------------ The following environment variables contain the string "tex" (case-independent). If you're doing anything but adding personal directories to the system paths, they may well cause trouble somewhere while running TeX. If you encounter problems, try unsetting them. Please= =20 ignore spurious matches unrelated to TeX. (To omit this check, set the environment variable=20 TEXLIVE_INSTALL_ENV_NOCHECK.) texlive_version=3D2022 ---------------------------------------------------------------------- xargs: tlmgr: No such file or directory The command '/bin/sh -c /root/install-texlive.sh $texlive_version && sed= =20 -e 's/ *#.*$//' -e '/^ *$/d' /root/packages.txt | xargs tlmgr install &&= =20 rm -f /root/texlive.profile /root/install-texlive.sh =20 /root/packages.txt && TERM=3Ddumb luaotfload-tool --update && chmod -R o+= w=20 /opt/texlive/texdir/texmf-var' returned a non-zero code: 127 Any clue on the possible cause ? Please note that I forced the TeXLive version to 2022. In the meanwhile, I'm also trying to build multi-arch images using GitHub= =20 Actions but it requires a lot of work and a different approach to images=20 testing due to Docker buildx way of working. Thanks, Claudio Il giorno mercoled=C3=AC 19 ottobre 2022 alle 13:14:26 UTC+2=20 till.g...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org ha scritto: > Thank you for pointing me to the GitHub issue. However, I just played=20 > around with the Docker images on an ARM Mac and it appears that everythin= g=20 > works just fine with the current `core:edge` image. Only caveat is that= =20 > this image seemingly does not include the pandoc-crossref filter. If the= =20 > pandoc command includes this filter, the docker run will finish without = an=20 > error message BUT also generating any output. > > On Tuesday, October 18, 2022 at 11:17:57 PM UTC+2 Albert Krewinkel wrote: > >> >> Claudio Di Vita writes: >> >> > is there any chance to have Pandoc Docker images that works with >> > Apple M1 ? >> >> It's on my todo list; any help is welcome. >> >> See also . >> >> >> --=20 >> Albert Krewinkel >> GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 >> > --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/4aa8604b-23c8-4960-ba58-d168bee56bfdn%40googlegroups.com. ------=_Part_1035_1235554858.1669199597601 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable With a support of a colleague that has an Apple M1, I'm trying to build the= pandoc/latex:edge-ubuntu image.

The build fails due to = some installation issue with TexLive:

Time used fo= r installing the packages: 00:38
running mktexlsr /opt/texlive/texdir/te= xmf-dist ...
writing fmtutil.cnf to /opt/texlive/texdir/texmf-dist/web2c= /fmtutil.cnf
writing updmap.cfg to /opt/texlive/texdir/texmf-dist/web2c/= updmap.cfg
writing language.dat to /opt/texlive/texdir/texmf-var/tex/gen= eric/config/language.dat
writing language.def to /opt/texlive/texdir/tex= mf-var/tex/generic/config/language.def
writing language.dat.lua to /opt/= texlive/texdir/texmf-var/tex/generic/config/language.dat.lua
running mkt= exlsr /opt/texlive/texdir/texmf-var /opt/texlive/texdir/texmf-config /opt/t= exlive/texdir/texmf-dist ...
running updmap-sys --nohash ...done
re-r= unning mktexlsr /opt/texlive/texdir/texmf-var /opt/texlive/texdir/texmf-con= fig ...
pre-generating all format files, be patient...
running fmtuti= l-sys --no-error-if-no-engine=3Dluajithbtex,luajittex,mfluajit --no-strict = --all ...done
running package-specific postactions
finished with pack= age-specific postactionsWelcome to TeX Live!See /opt/texlive/texdir/index.h= tml for links to documentation.
The TeX Live web site (https://tug.org/texlive/) contains any updates and = corrections. TeX Live is a joint project of the TeX user groups around the = world; please consider supporting it by joining the group best for you. The= list of groups is available on the web at https://tug.org/usergroups.html.Add /opt/texlive/texdi= r/texmf-dist/doc/man to MANPATH.
Add /opt/texlive/texdir/texmf-dist/doc/= info to INFOPATH.
Most importantly, add /opt/texlive/texdir/bin/aarch64-= linux
to your PATH for current and future sessions.
Logfile: /opt/tex= live/texdir/install-tl.log -------------------------------------------= ---------------------------
 The following environment variables co= ntain the string "tex"
 (case-independent). If you're doing anythin= g but adding personal
 directories to the system paths, they may we= ll cause trouble somewhere
 while running TeX. If you encounter pro= blems, try unsetting them. Please ignore spurious matches unrelated to= TeX. (To omit this check,
 set the environment variable TEXLIVE_IN= STALL_ENV_NOCHECK.)  texlive_version=3D2022
 ------------= ----------------------------------------------------------
xargs: tlmgr:= No such file or directory
The command '/bin/sh -c /root/install-texlive= .sh $texlive_version  && sed -e 's/ *#.*$//' -e '/^ *$/d' /roo= t/packages.txt |   xargs tlmgr install  && rm -f /ro= ot/texlive.profile      /root/install-texlive.sh&n= bsp;     /root/packages.txt  && TERM=3Ddum= b luaotfload-tool --update  && chmod -R o+w /opt/texlive/texdi= r/texmf-var' returned a non-zero code: 127

Any= clue on the possible cause ?

Please note that I f= orced the TeXLive version to 2022.

In the meanwhil= e, I'm also trying to build multi-arch images using GitHub Actions but it r= equires a lot of work and a different approach to images testing due to Doc= ker buildx way of working.

Thanks,

<= /div>
Claudio
Il giorno mercoled=C3=AC 19 ottobre 2022 alle 13:14:26 UTC+= 2 till.g...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org ha scritto:
Thank you for pointing me to the GitHub issue. Ho= wever, I just played around with the Docker images on an ARM Mac and it app= ears that everything works just fine with the current `core:edge` image. On= ly caveat is that this image seemingly does not include the pandoc-crossref= filter. If the pandoc command includes =C2=A0this filter, the docker run w= ill finish without an error message BUT also generating any output.

=
On Tuesda= y, October 18, 2022 at 11:17:57 PM UTC+2 Albert Krewinkel wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 0.8ex;border-left:1p= x solid rgb(204,204,204);padding-left:1ex">
Claudio Di Vita <claudio...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wr= ites:

> is there any chance to have Pandoc Docker images that works with
> Apple M1 ?

It's on my todo list; any help is welcome.

See also <https://github.com/pandoc/dockerfiles/issues/134>.


--=20
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/4aa8604b-23c8-4960-ba58-d168bee56bfdn%40googlegroups.= com.
------=_Part_1035_1235554858.1669199597601-- ------=_Part_1034_632513068.1669199597601--