From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Julien Olivain <ju.o@free.fr>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/oath-toolkit: libpskc needs host-libxml2
Date: Mon, 28 Oct 2024 21:24:32 +0100 [thread overview]
Message-ID: <20241028212432.133b6431@windsurf> (raw)
In-Reply-To: <20241028192828.12093-1-ju.o@free.fr>
On Mon, 28 Oct 2024 20:28:28 +0100
Julien Olivain <ju.o@free.fr> wrote:
> When compiling oath-toolkit with PSKC support, with:
> BR2_PACKAGE_OATH_TOOLKIT=y
> BR2_PACKAGE_OATH_TOOLKIT_PSKC=y
>
> Build is failing on hosts without libxml2, with output:
>
> make[5]: Entering directory '/buildroot/instance-0/output-1/build/oath-toolkit-2.6.12/libpskc/schemas'
> create -noout \
> --add "system" "urn:ietf:params:xml:ns:keyprov:pskc" \
> "/buildroot/instance-0/output-1/build/oath-toolkit-2.6.12/libpskc/schemas/pskc-schema.xsd" \
> --add "system" "http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd" \
> "/buildroot/instance-0/output-1/build/oath-toolkit-2.6.12/libpskc/schemas/xmldsig-core-schema.xsd" \
> --add "system" "http://www.w3.org/TR/2002/REC-xmlenc-core-20021210/xenc-schema.xsd" \
> "/buildroot/instance-0/output-1/build/oath-toolkit-2.6.12/libpskc/schemas/xenc-schema.xsd" \
> tmp
> /bin/sh: line 1: create: command not found
> make[5]: [Makefile:1267: catalog-pskc.xml] Error 127 (ignored)
>
> The build needs the "xmlcatalog" command, provided the host-libxml2
> package. The previous error log does not show the "xmlcatalog" because
> it is not found by autoconf, then substituted by an empty string (we
> only see its arguments).
>
> This commit fixes the issue by adding this missing dependency.
>
> Fixes:
> https://autobuild.buildroot.org/results/d22b8d9ba1f8a948125b4f9713720d070e208799/
>
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
> package/oath-toolkit/oath-toolkit.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2024-10-28 20:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-28 19:28 [Buildroot] [PATCH 1/1] package/oath-toolkit: libpskc needs host-libxml2 Julien Olivain
2024-10-28 20:24 ` Thomas Petazzoni via buildroot [this message]
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=20241028212432.133b6431@windsurf \
--to=buildroot@buildroot.org \
--cc=ju.o@free.fr \
--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