From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/108670 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matthijs van der Wild Newsgroups: gmane.comp.tex.context Subject: Re: TeXlive 2020 / Gentoo Linux: ConTeXt does not find itself (sort of)...] Date: Wed, 9 Sep 2020 14:46:06 +0200 Message-ID: References: <20200905112723.udutgkv4lpanzeh7@solfire> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5129870434558943094==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14279"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 09 14:49:30 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFzXW-0003aN-BU for gctc-ntg-context-518@m.gmane-mx.org; Wed, 09 Sep 2020 14:49:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7E5131A8A7B; Wed, 9 Sep 2020 14:46:41 +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 pxkv5k4uGcG1; Wed, 9 Sep 2020 14:46:39 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 512D31A8A87; Wed, 9 Sep 2020 14:46:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8E1AF1A8A7B for ; Wed, 9 Sep 2020 14:46:38 +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 5sxyAI8aTNDi for ; Wed, 9 Sep 2020 14:46:37 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.45; helo=mail-ot1-f45.google.com; envelope-from=primarius@gmail.com; receiver= Original-Received: from mail-ot1-f45.google.com (mail-ot1-f45.google.com [209.85.210.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 18B521A89B8 for ; Wed, 9 Sep 2020 14:46:37 +0200 (CEST) Original-Received: by mail-ot1-f45.google.com with SMTP id u25so2144483otq.6 for ; Wed, 09 Sep 2020 05:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=e4trQIrm/tVE5dAKX9dRhChreKDGL7oJlGftn33S83w=; b=ZV/LcpKPraAqVJ/QKHWUdNATTY8aVxfPA2VbLdu3BXGkucR3Zl7sPHF3Kdbit4aLIZ mcd8wUccQZJ06esN6GSArtMg2FE7PihnTpf+BAoYyv1CzjWpVU2JKtY5vrs01rVxVZp8 bah7fL7nvwD0P2AX/In17Oa6BfzDGHJcwKOFkn3lzX3LC60d8cqWW4xiEjy48UPYYa2A rkSnBDaI7dcDRmC1Dpq9EggiSgw8Hmo4ISFo+L62szvsjC2Eb8dcnLIllS3l+twIVE8s jgN4YECh9diN4els4M4QyvJ9LikZuTAQf4WlQq7PpluRwPKPpUlFUMoojFn6DNxiUqtZ Fe4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=e4trQIrm/tVE5dAKX9dRhChreKDGL7oJlGftn33S83w=; b=pkbWgFYj7XdjRiRkqBwfCHCWKDCDLJo/eW5qXxyTCA7r4x5TCp892Fu26+fZTNJSCh 9VacJ55eM0qGx1ullkV1sp4q0XLCoBf070w3oTvgqur3dATRs3qfB7rYlRKqDWyAO7HV SIoxcBQSa6q9vfZXNYys0WVWvjfVzkIwNUH0Lk82IRoNN7UazvSHxfKmTxpi7DyH+NFB bq6F6ogtOlNQHofk6kNJaB+wLBQuj6UNodE57f7PXLUEhlPEdk53fxeb+PgaQvkGjV1G IXx22hKielAeboviYm0GTbc1PTZVEqaE1TSZGi8T+UvkYnrDExNLMUbZzIOFv8B5XCV6 5wZA== X-Gm-Message-State: AOAM533e37GjXICG1RfBARPHtCPqgPkD7bcYpxDmemjLgvhBf2oBEHgK z2ZQzWcxmn43eTtL38Y8ifZ9Zqhv1pKMKHDoy3HA9yHN+rM= X-Google-Smtp-Source: ABdhPJwAQdGYcdfU6faBh6bth9Zs9a6yTFpqvIrHVQWQl3gsn6kHeY7CcPnd6N/8UmgWJ9b8cDwsykVogHnHvm6/E08= X-Received: by 2002:a9d:a65:: with SMTP id 92mr582290otg.282.1599655595203; Wed, 09 Sep 2020 05:46:35 -0700 (PDT) In-Reply-To: <20200905112723.udutgkv4lpanzeh7@solfire> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:108670 Archived-At: --===============5129870434558943094== Content-Type: multipart/alternative; boundary="00000000000083e26805aee0d780" --00000000000083e26805aee0d780 Content-Type: text/plain; charset="UTF-8" If I compare /usr/share/texmf-dist/web2c/texmfconf.lua with its counterpart in Arch Linux, I found the differences in the following entries: Gentoo: > TEXMFSYSVAR = "selfautoparent:texmf-var", > TEXMFOS = "selfautodir:", > TEXMFDIST = "selfautoparent:texmf-dist", > TEXMFSYSCONFIG = "selfautoparent:texmf-config", > Arch: > TEXMFSYSVAR = "/var/lib/texmf", > TEXMFOS = "selfautodir:share", > TEXMFDIST = "selfautodir:share/texmf-dist", > TEXMFSYSCONFIG = "/etc/texmf", > Changing the Gentoo file to its Arch equivalent fixes the issue after running "mtxrun --generate". There may actually be a reason why this configuration is different in Gentoo compared to Arch, but I haven't had the time yet to look into it further. On Sat, 5 Sep 2020 at 13:27, wrote: > Hi, > > this is my first post to this mailinglist. I am no native speaker... > if something sound somehow ... I will try to give my best.... ;) > > > I am using GENTOO Linux, which compiles everything on the target > instead of pulling ready compiled, binary packages into the system. > > I did a fresh install of Texlive 2020 via the package-manager > "emerge". On Gentoo this is handled via a "virtual package", which > can be configured beforehand to include or exclude certain parts. > > I choose to get the HUGE package (incluing LaTeX, ConTeXt, plainTeX > and others). > > After the installation I tried to typeset examples of a LaTeX- and > a plain TeX document, which works out of the box. > > Then I tried a ConTeXt document and it fails: > > context somefile.tex > > gave me: > > mtxrun | unknown script 'context.lua' or 'mtx-context.lua' > > . > > While searching the internet I found, that one has to run > > mtxrun --generate > > in advance. > > Doing so mtxrun starts to index my whole harddisk starting with > my $HOME, from which I started it. > > It reports A LOT of "confusing file"s.... > > I searched the installed TeXlive installation for context.lua > and mtx-context.lua -- they were installed and not "totally" missing. > > So I tried/guessed to run > > mtxrun --generate /usr/share/texmf-dist /usr/share/texlive-site > > and the file under $HOME were no longer indexed. > > context somefile.tex > > gave me the above mentioned error still, though. > > It "feels" like context does not respect setting made via > the configuration settings under /etc/texmf... > > So I "hacked" (really, it was a crude hack/idea...nothing > more) TEXMF and inserted > > export TEXMF=/usr/share/texmf-dist:/usr/share/texlive-site > > into my shells RC-file, restarted the shell and > > now > > context somefile.tex > > "worked"...: > > Each time it seems to re-index parts of ???, reports a lot > of "confusing file"s but creates a valid looking pdf. > > I think, the package setup provided by GENTOO has a problem > I want to help to fix that...but I have no clue, what the > real culprit is here... > > Setting TEXMF this way feels like a random and accidentally > working hack and I already feel the next problem raising up > at the horizon... > > Some additional problems: > > tlmgr does not work > > mtxrun partially does not find its own modules > > mtxrun --variables > > lists a LOT of unset environment variables > > ... > > It looks like some basic and fundamental "initial" environment > variable is missing. > > But I need a knowledgeable guru before I am able to get nearer > to the root of the culprit. > > Thank you very much in advance for any help offered! > > \cheers > Meino > > ___________________________________________________________________________________ > 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 : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > --00000000000083e26805aee0d780 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If I compare /usr/share/texmf-dist/web2c/texmfconf.lu= a with its counterpart in Arch Linux, I found the differences in the follow= ing entries:

Gentoo:
TEXMFSYSVAR =C2=A0 =C2=A0 =3D "selfautop= arent:texmf-var",
TEXMFOS =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D "sel= fautodir:",
TEXMFDIST =C2=A0 =C2=A0 =C2=A0 =3D "selfautoparent= :texmf-dist",
TEXMFSYSCONFIG =C2=A0=3D "selfautoparent:texmf-c= onfig",

Arch:
TEXMFSYSVAR =C2=A0 =C2=A0 =3D "= ;/var/lib/texmf",
TEXMFOS =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D "sel= fautodir:share",
TEXMFDIST =C2=A0 =C2=A0 =C2=A0 =3D "selfautod= ir:share/texmf-dist",
TEXMFSYSCONFIG =C2=A0=3D "/etc/texmf&quo= t;,
=C2=A0
Changing the Gentoo file to= its Arch equivalent fixes the issue after running "mtxrun --generate&= quot;. There may actually be a reason why this configuration is different i= n Gentoo compared to Arch, but I haven't had the time yet to look into = it further.

On Sat, 5 Sep 2020 at 13:27, <mylists@posteo.de> wrote:
Hi,

this is my first post to this mailinglist. I am no native speaker...
if something sound somehow ... I will try to give my best.... ;)


I am using GENTOO Linux, which compiles everything on the target
instead of pulling ready compiled, binary packages into the system.

I did a fresh install of Texlive 2020 via the package-manager
"emerge". On Gentoo this is handled via a "virtual package&q= uot;, which
can be configured beforehand to include or exclude certain parts.

I choose to get the HUGE package (incluing LaTeX, ConTeXt, plainTeX
and others).

After the installation I tried to typeset examples of a LaTeX- and
a plain TeX document, which works out of the box.

Then I tried a ConTeXt document and it fails:

=C2=A0 =C2=A0 context somefile.tex

gave me:

mtxrun=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | unknown script 'context.lua&= #39; or 'mtx-context.lua'

.

While searching the internet I found, that one has to run

mtxrun --generate

in advance.

Doing so mtxrun starts to index my whole harddisk starting with
my $HOME, from which I started it.

It reports A LOT of "confusing file"s....

I searched the installed TeXlive installation for context.lua
and mtx-context.lua -- they were installed and not "totally" miss= ing.

So I tried/guessed to run

mtxrun --generate /usr/share/texmf-dist /usr/share/texlive-site

and the file under $HOME were no longer indexed.

context somefile.tex

gave me the above mentioned error still, though.

It "feels" like context does not respect setting made via
the configuration settings under /etc/texmf...

So I "hacked" (really, it was a crude hack/idea...nothing
more) TEXMF and inserted

export TEXMF=3D/usr/share/texmf-dist:/usr/share/texlive-site

into my shells RC-file, restarted the shell and

now

context somefile.tex

"worked"...:

Each time it seems to re-index parts of ???, reports a lot
of "confusing file"s but creates a valid looking pdf.

I think, the package setup provided by GENTOO has a problem
I want to help to fix that...but I have no clue, what the
real culprit is here...

Setting TEXMF this way feels like a random and accidentally
working hack and I already feel the next problem raising up
at the horizon...

Some additional problems:

tlmgr does not work

mtxrun partially does not find its own modules

mtxrun --variables

lists a LOT of unset environment variables

...

It looks like some basic and fundamental "initial" environment variable is missing.

But I need a knowledgeable guru before I am able to get nearer
to the root of the culprit.

Thank you very much in advance for any help offered!

\cheers
Meino
___________________________________________________________________________= ________
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/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--00000000000083e26805aee0d780-- --===============5129870434558943094== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============5129870434558943094==--