From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CNeqG9isl2NeJAEAbAwnHQ (envelope-from ) for ; Mon, 12 Dec 2022 23:36:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AKDkG9isl2MIVQEA9RJhRA (envelope-from ) for ; Mon, 12 Dec 2022 23:36:08 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 32CCFC08F for ; Mon, 12 Dec 2022 23:36:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4rOd-000270-DA; Mon, 12 Dec 2022 17:35:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4rOb-00026W-DV for help-guix@gnu.org; Mon, 12 Dec 2022 17:35:37 -0500 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4rOZ-0006lL-H2 for help-guix@gnu.org; Mon, 12 Dec 2022 17:35:37 -0500 Received: by mail-ej1-x62b.google.com with SMTP id bj12so31964683ejb.13 for ; Mon, 12 Dec 2022 14:35:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=9Ys2d0mG5u1S4mlvLGIbxve0O8vCg6CfttbsZfbA0a8=; b=Nb+zia1mUXzwyRWQ0UFAFUIhjfyfRVVAcpScjg80MiQEiLKLTsmbGsEck0/a/Hc/Rw jmOlEqPR/oMUbS+GWckx2UM3yvIyz/lEWByKr7GE0EtGNeLCDxvMzHpzZ6OtzDxOHilJ gaPQ5OHqtpqyG9AdKT8L+OWI/DSNtpu6xzzYTdP13j1llwERW2RdNnfNyhbtW5O5YURe 6nbQs6x+yV9XZgwUL8TzaBeDpPx2F13MQYzU2iz2QqlikQuUTecsmfAa6UxQL5kKoHhK GNHHP1LTZEwamznRSiiCd7WN4bWOWwmxNBebTBMaMHFw2aktCap/KWyuRDuuRrm7uUuS /oVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9Ys2d0mG5u1S4mlvLGIbxve0O8vCg6CfttbsZfbA0a8=; b=2+8G0Bg6sQUTPPY6GToBDSFSw1C184uWpTwCssmF8DUSW4WtBLtD/8+8mjSdorqidX EwB73u9vsn/r2qXlzLyPgHYwtdC9RzHBNBcXUYqg46y0IPcCeB7jfOWL7Nd4AZcK2qmz uJOPcJOpU+0pdkLL+LkqJV37AAX34OyiT8PGsHcguyl7xSAlJmtu8a+ufyADfc45VMTe FvhaEq6YZDoUB0jewvU6lacnMVh5yywbSXS4jRXta6kWtJqVFoUB9pT1QmoEsN53Kitq f8FyRDaKhppOZ61v5NAp0Iq2g4lOdAN3knQcEZGHmmmkT9ZtA+wKKIFk1U9dwAa7d1ZP ggoQ== X-Gm-Message-State: ANoB5pmrTsb7rPN3h9u/70s6nQgZm0zRwNmPI8wFfIb/hF0R/zQ0GDk7 kE+uqTRHRwSZUbGBwGDlQ90/kdHRSKPEB+aeucEDo+890/k= X-Google-Smtp-Source: AA0mqf5zX7LQsTDWAhtgSeEH2Um3bhTRs9GGCzkGVthUxGh9z4lIESK5rxdzpQxQzMPRDwI0pL0xdZ5Ezc9e+bDLEpY= X-Received: by 2002:a17:906:99d6:b0:7c0:c91c:5d38 with SMTP id s22-20020a17090699d600b007c0c91c5d38mr21133940ejn.50.1670884533139; Mon, 12 Dec 2022 14:35:33 -0800 (PST) MIME-Version: 1.0 From: "dabbede@gmail.com" Date: Mon, 12 Dec 2022 23:35:22 +0100 Message-ID: Subject: Creating a package using two sources/origins To: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::62b; envelope-from=dabbede@gmail.com; helo=mail-ej1-x62b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670884568; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9Ys2d0mG5u1S4mlvLGIbxve0O8vCg6CfttbsZfbA0a8=; b=fedwEKk00m5HDV1lnY5M9zPE9IyFx1OF1D9cPDLSAqoNvpUFRvff9nC4RvAz1gTMVi8H4C EsgI4w4iJwbx0G92u0rFZfBB1hPAU40uID/Rxpj0JGg2GaYTMazSOws1qvtEWbRGPcAJBb eb5ODhAxXuU0b+a/L0TRY/aFaBmrbjvXkKaO2ywlRxw/gMdrcpV6hbqxsQlz4u4NDo5Cxf uwSmvppiV9VIdmf8OkWCZZOLx0SP+uxhYMO1ABFGbSRydzUfFgSbe4xIlsyLpzWQ9iKKLv gjlwZsyZ5N9sJchXgG1DJpb2YH5Fmnuo6BPQHnqvWDQg1cKU6ihdk7Hq/eqohQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Nb+zia1m; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670884568; a=rsa-sha256; cv=none; b=PF8WrG4Y/rO0A3AaqEku+St545zDZeY7UXg+lslOGJRS2mzhqL2a3idkJgq22SKQ3eLjYB js1V1u1FVi6HI5UmXNed68qz1Ab8YWCf46H5g+4v7Tgaxp917SVGAcSDj5A0GVQj/rPhoQ ijw/afPPyquKjNcs+91RLCQQSF39E2MAKUcmrrLrtnFho5lN0gwCnfuFwhhSYw9Sk1PIBL 7skn+t/kS/HfcjyGdZ/Hk17gqlQ/2lEw3dykf3hy3rFPbEUa2qfny9HY2bQNg9dWixiHV4 Px1WAPkHmOuNa1oaIchhCt6EyavWH03lcgG9zQjvuFinswr0IbGNrC0EJOme2w== X-Migadu-Spam-Score: -4.92 X-Spam-Score: -4.92 X-Migadu-Queue-Id: 32CCFC08F X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Nb+zia1m; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com X-TUID: wseWr9TKdXuU Dear Guix members, I would like to contribute to the project by creating a package for linux-xenomai (a real-time extension to the linux kernel, see https://source.denx.de/Xenomai/xenomai/-/wikis/home). My issue is that, according to xenomai's build instructions, I am supposed to use both a mainstream patched kernel (I'm pretty sure that a deblobbed linux-libre kernel can work too) and a .tar.bz2 source tree that contains the user-space libraries and binaries but also some scripts for preparing the kernel before building. By looking into linux-libre package definition, I see no problem in downloading and patching the proper kernel source, however I don't understand how I am supposed to specify in the package definition that we need an additional source tree in the build process. What would you suggest? Using snippets or additional build-phases? Either way, I'm not skilled enough to download a compressed tar and unpack it in a reachable directory at the build stage. I'm only aware of the package's "origin" function to accomplish that. What is the best way to do the same in a snippet or phase? Thanks for the advice. I need this input to study more the topic ;-) Regards, Davide