From: "Antonin Godard" <antonin.godard@bootlin.com>
To: "Quentin Schulz" <quentin.schulz@cherry.de>,
<docs@lists.yoctoproject.org>
Cc: "Thomas Petazzoni" <thomas.petazzoni@bootlin.com>
Subject: Re: [docs] [yocto-docs PATCH v2 5/6] system-requirements.rst: add dependencies for pdf builds
Date: Tue, 10 Dec 2024 10:33:53 +0100 [thread overview]
Message-ID: <D67X1HPUBY1E.1H5DBU4OXAURO@bootlin.com> (raw)
In-Reply-To: <50f1c8ad-6726-4b14-a440-043cd7a47077@cherry.de>
Hi Quentin,
On Mon Dec 9, 2024 at 6:28 PM CET, Quentin Schulz wrote:
[...]
>>>> +FEDORA_HOST_PACKAGES_DOC_PDF: >-
>>>> + latexmk
>>>> + texlive-collection-fontsextra
>>>> + texlive-collection-fontsrecommended
>>>> + texlive-collection-lang*
>>>
>>> Please use single quotes to surround texlive-collection-lang* otherwise
>>> it may be interpreted by the shell, c.f. for me:
>>>
>>> ```sh
>>> $ sudo dnf install texlive-collection-lang*
>>> zsh: no matches found: libgpiod*
>>> ```
>>>
>>> while `sudo dnf install 'texlive-collection-lang*'` works just fine.
>>>
>>> Ditto for the other occurrences later in this diff.
>>
>> So I had issues with this in the container scripts, which is why I left it at
>> that. I initially single quoted this but it didn't work. Are you sure you can
>
> Can you tell us more about those issues with some error value/messages
> or something?
>
>> mix non-quotes and quoted strings here? I'll give a try, might be specific to
>> the dockerfile.
>>
>
> """
> $ sudo dnf install 'texlive-collection-lang*' latexmk
> Updating and loading repositories:
> Repositories loaded.
> Package "texlive-collection-langarabic-11:svn59594-73.fc41.noarch" is
> already installed.
> Package "texlive-collection-langchinese-11:svn63995-73.fc41.noarch" is
> already installed.
> Package "texlive-collection-langcjk-11:svn65824-73.fc41.noarch" is
> already installed.
> Package "texlive-collection-langcyrillic-11:svn54074-73.fc41.noarch" is
> already installed.
> Package "texlive-collection-langczechslovak-11:svn54074-73.fc41.noarch"
> is already installed.
> Package "texlive-collection-langenglish-11:svn65496-73.fc41.noarch" is
> already installed.
> Package "texlive-collection-langeuropean-11:svn66432-73.fc41.noarch" is
> already installed.
> Package "texlive-collection-langfrench-11:svn63147-73.fc41.noarch" is
> already installed.
> Package "texlive-collection-langgerman-11:svn55706-73.fc41.noarch" is
> already installed.
> Package "texlive-collection-langgreek-11:svn65038-73.fc41.noarch" is
> already installed.
> Package "texlive-collection-langitalian-11:svn55129-73.fc41.noarch" is
> already installed.
> Package "texlive-collection-langjapanese-11:svn64603-73.fc41.noarch" is
> already installed.
> Package "texlive-collection-langkorean-11:svn54074-73.fc41.noarch" is
> already installed.
> Package "texlive-collection-langother-11:svn59564-73.fc41.noarch" is
> already installed.
> Package "texlive-collection-langpolish-11:svn54074-73.fc41.noarch" is
> already installed.
> Package "texlive-collection-langportuguese-11:svn54074-73.fc41.noarch"
> is already installed.
> Package "texlive-collection-langspanish-11:svn54141-73.fc41.noarch" is
> already installed.
> Package "latexmk-4.85-2.fc41.noarch" is already installed.
>
> Nothing to do.
> """
>
> Same for latexmk first in the list.
>
> That's for DNF5 (fedora 41 and later).
>
> DNF4 seems to be happy in a fedora 40 container as well:
>
> """
> [root@6f0bdf8b38f2 /]# dnf install latexmk 'texlive-collection-lang*'
> Last metadata expiration check: 0:00:54 ago on Mon Dec 9 17:13:01 2024.
> Dependencies resolved.
> ==============================================================================================
> Package Arch Version
> Repo Size
> ==============================================================================================
> Installing:
> latexmk noarch 4.85-1.fc40
> updates 454 k
> texlive-collection-langarabic noarch 11:svn59594-71.fc40
> fedora 9.7 k
> texlive-collection-langchinese noarch 11:svn63995-71.fc40
> fedora 10 k
> texlive-collection-langcjk noarch 11:svn65824-71.fc40
> fedora 9.8 k
> texlive-collection-langcyrillic noarch 11:svn54074-71.fc40
> fedora 10 k
> texlive-collection-langczechslovak noarch 11:svn54074-71.fc40
> fedora 9.4 k
> texlive-collection-langenglish noarch 11:svn65496-71.fc40
> fedora 11 k
> texlive-collection-langeuropean noarch 11:svn66432-71.fc40
> fedora 11 k
> texlive-collection-langfrench noarch 11:svn63147-71.fc40
> fedora 10 k
> texlive-collection-langgerman noarch 11:svn55706-71.fc40
> fedora 10 k
> texlive-collection-langgreek noarch 11:svn65038-71.fc40
> fedora 9.6 k
> texlive-collection-langitalian noarch 11:svn55129-71.fc40
> fedora 9.6 k
> texlive-collection-langjapanese noarch 11:svn64603-71.fc40
> fedora 11 k
> texlive-collection-langkorean noarch 11:svn54074-71.fc40
> fedora 9.4 k
> texlive-collection-langother noarch 11:svn59564-71.fc40
> fedora 11 k
> texlive-collection-langpolish noarch 11:svn54074-71.fc40
> fedora 9.5 k
> texlive-collection-langportuguese noarch 11:svn54074-71.fc40
> fedora 9.4 k
> texlive-collection-langspanish noarch 11:svn54141-71.fc40
> fedora 9.4 k
> [...]
> """
>
> and the other way around:
>
> """
> [root@6f0bdf8b38f2 /]# dnf install 'texlive-collection-lang*' latexmk
> Last metadata expiration check: 0:00:09 ago on Mon Dec 9 17:13:01 2024.
> Dependencies resolved.
> ==============================================================================================
> Package Arch Version
> Repo Size
> ==============================================================================================
> Installing:
> latexmk noarch 4.85-1.fc40
> updates 454 k
> texlive-collection-langarabic noarch 11:svn59594-71.fc40
> fedora 9.7 k
> texlive-collection-langchinese noarch 11:svn63995-71.fc40
> fedora 10 k
> texlive-collection-langcjk noarch 11:svn65824-71.fc40
> fedora 9.8 k
> texlive-collection-langcyrillic noarch 11:svn54074-71.fc40
> fedora 10 k
> texlive-collection-langczechslovak noarch 11:svn54074-71.fc40
> fedora 9.4 k
> texlive-collection-langenglish noarch 11:svn65496-71.fc40
> fedora 11 k
> texlive-collection-langeuropean noarch 11:svn66432-71.fc40
> fedora 11 k
> texlive-collection-langfrench noarch 11:svn63147-71.fc40
> fedora 10 k
> texlive-collection-langgerman noarch 11:svn55706-71.fc40
> fedora 10 k
> texlive-collection-langgreek noarch 11:svn65038-71.fc40
> fedora 9.6 k
> texlive-collection-langitalian noarch 11:svn55129-71.fc40
> fedora 9.6 k
> texlive-collection-langjapanese noarch 11:svn64603-71.fc40
> fedora 11 k
> texlive-collection-langkorean noarch 11:svn54074-71.fc40
> fedora 9.4 k
> texlive-collection-langother noarch 11:svn59564-71.fc40
> fedora 11 k
> texlive-collection-langpolish noarch 11:svn54074-71.fc40
> fedora 9.5 k
> texlive-collection-langportuguese noarch 11:svn54074-71.fc40
> fedora 9.4 k
> texlive-collection-langspanish noarch 11:svn54141-71.fc40
> fedora 9.4 k
> [...]
> """
>
> Cheers,
> Quentin
Thanks for taking the time to test this. I guess this works for most shells, but
in the context of a Dockerfile I hit this error:
10.39 No match for argument: 'texlive-collection-lang*'
10.45 Error: Unable to find a match: 'texlive-collection-lang*'
You can reproduce this by running:
$ echo "'texlive-collection-lang*'" > /tmp/deps
$ sudo dnf install $(cat /tmp/deps)
I was able use this instead:
xargs -a /tmp/deps sudo dnf install
I'll use this instead in Fedora and others. xargs is installed by default in
base Ubuntu/Debian/Fedora containers.
Antonin
--
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2024-12-10 9:33 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-04 12:23 [yocto-docs PATCH v2 0/6] Update the dependencies in poky.yaml.in Antonin Godard
2024-12-04 12:23 ` [yocto-docs PATCH v2 1/6] Gather " Antonin Godard
2024-12-06 13:51 ` Quentin Schulz
2024-12-09 17:02 ` Antonin Godard
2024-12-09 17:30 ` Quentin Schulz
2024-12-10 9:58 ` Antonin Godard
2024-12-10 10:29 ` Quentin Schulz
2024-12-04 12:23 ` [yocto-docs PATCH v2 2/6] poky.yaml.in: replace inkscape dependency by librsvg2-bin Antonin Godard
2024-12-06 13:56 ` Quentin Schulz
2024-12-09 17:02 ` [docs] " Antonin Godard
2024-12-04 12:23 ` [yocto-docs PATCH v2 3/6] system-requirements: add fedora 39 to supported distros Antonin Godard
2024-12-04 12:23 ` [yocto-docs PATCH v2 4/6] system-requirements: update list of " Antonin Godard
2024-12-04 12:23 ` [yocto-docs PATCH v2 5/6] system-requirements.rst: add dependencies for pdf builds Antonin Godard
2024-12-06 14:00 ` Quentin Schulz
2024-12-09 17:02 ` Antonin Godard
2024-12-09 17:28 ` [docs] " Quentin Schulz
2024-12-10 9:33 ` Antonin Godard [this message]
2024-12-10 10:34 ` Quentin Schulz
2024-12-04 12:23 ` [yocto-docs PATCH v2 6/6] poky.yaml.in: add missing locales dependency Antonin Godard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D67X1HPUBY1E.1H5DBU4OXAURO@bootlin.com \
--to=antonin.godard@bootlin.com \
--cc=docs@lists.yoctoproject.org \
--cc=quentin.schulz@cherry.de \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox