All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Böszörményi Zoltán" <zboszor@gmail.com>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: openembedded-core@lists.openembedded.org,
	Randy MacLeod <randy.macleod@windriver.com>,
	Khem Raj <raj.khem@gmail.com>
Subject: Re: [OE-core][PATCH 2/3] rpm-sequoia: New recipe for version 1.6.0
Date: Wed, 29 Jan 2025 11:09:43 +0100	[thread overview]
Message-ID: <47dcd9af-18d9-4556-90b7-a33930df6e7b@gmail.com> (raw)
In-Reply-To: <CANNYZj8Bx=VShWDBUX32rQYmjk=D3ExyXpCqNfXFDBWWVP=p9g@mail.gmail.com>

2025. 01. 29. 10:29 keltezéssel, Alexander Kanavin írta:
> On Wed, 29 Jan 2025 at 10:20, Böszörményi Zoltán <zboszor@gmail.com> wrote:
>>>> +LICENSE = "LGPL-2.0-or-later & Apache-2.0 & BSL-1.0 & MIT & Unicode-DFS-2016 & (Apache-2.0 | MIT) & (MIT | Apache-2.0 | Zlib) & (Unlicense | MIT)"
>>> This is very elaborate, how was it determined? How to ensure it remains correct?
>> It was taken from the Fedora specfile license line verbatim.
>> IIRC, they (Red Hat) have a large contingent of lawyers
> I guess you could add a recipe comment pointing to the original specfile online.

The src rpm build from koji can be linked, I haven't found a link for
a separate specfile.

>
>>> Why can't we use upstream's standard install procedure? Also,
>>> cargo.bbclass has an install function, why is it completely replaced?
>> Because it fails with:
>>
>> | DEBUG: Python function extend_recipe_sysroot finished
>> | DEBUG: Executing shell function do_install
>> | ERROR: Did not find anything to install
> Yes, cargo_do_install only copies executables, you need to opt into
> libraries by setting CARGO_INSTALL_LIBRARIES.

It installs the library at the wrong location, but do_install:append
can still fix it so it matches the pkgconfig  file.

> But before that, presumably sequioa upstream has a standard
> installation procedure that we can try to use instead of copying files
> by hand?

It doesn't. It's README.md used LD_LIBRARY_PATH for
the example rpm build using it.

> I'm particularly interested in how ${S}/target/release/rpm-sequoia.pc
> is supposed to be installed.

It doesn't get installed, just generated.

I guess that's why the rust-rpm-sequoia specfile copies both
the so and the pc files explicitly in the correct location.



  reply	other threads:[~2025-01-29 10:09 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-29  8:09 [OE-core][PATCH 1/3] cargo.bbclass: Allow using --offline instead of --frozen Zoltán Böszörményi
2025-01-29  8:09 ` [OE-core][PATCH 2/3] rpm-sequoia: New recipe for version 1.6.0 Zoltán Böszörményi
2025-01-29  9:05   ` Alexander Kanavin
2025-01-29  9:14     ` Böszörményi Zoltán
2025-01-29  9:20     ` Böszörményi Zoltán
2025-01-29  9:29       ` Alexander Kanavin
2025-01-29 10:09         ` Böszörményi Zoltán [this message]
     [not found]       ` <181F1FDA3B65007A.31881@lists.openembedded.org>
2025-01-29  9:41         ` Alexander Kanavin
2025-01-29  8:09 ` [OE-core][PATCH 3/3] rpm: Automatically enable using rpm-sequoia for signed packages Zoltán Böszörményi
2025-01-29  8:56   ` Alexander Kanavin
2025-01-29 10:34     ` Böszörményi Zoltán
2025-01-29 10:54       ` Alexander Kanavin
2025-01-29  8:49 ` [OE-core][PATCH 1/3] cargo.bbclass: Allow using --offline instead of --frozen Alexander Kanavin
2025-01-29  9:00   ` Böszörményi Zoltán
2025-01-29  9:08     ` Alexander Kanavin
2025-01-29  9:36 ` Yoann Congal

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=47dcd9af-18d9-4556-90b7-a33930df6e7b@gmail.com \
    --to=zboszor@gmail.com \
    --cc=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    --cc=randy.macleod@windriver.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.