From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7142831999020957696 X-Received: by 2002:a05:6214:da9:b0:4af:b18a:b301 with SMTP id h9-20020a0562140da900b004afb18ab301mr11326140qvh.69.1664662491301; Sat, 01 Oct 2022 15:14:51 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ac8:5298:0:b0:35c:f240:4bfd with SMTP id s24-20020ac85298000000b0035cf2404bfdls5292020qtn.4.-pod-prod-gmail; Sat, 01 Oct 2022 15:14:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5ALRYgE2tHtAFgravKhAkW7AtNiyIHh3Xdy/30xrjXg6eE5PiQlVRFm+1+m1fNVJdM0lgq X-Received: by 2002:ac8:5996:0:b0:35c:c870:c0a8 with SMTP id e22-20020ac85996000000b0035cc870c0a8mr11997495qte.232.1664662490656; Sat, 01 Oct 2022 15:14:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664662490; cv=none; d=google.com; s=arc-20160816; b=YCONBUPPFr/+lmbSbvXTrBh0F8eXD5T8s4wq4G9XD6PVE7AvLuv3nZ9E8/RNrTfA9a Qge/U+JzlhcUsqt7z1boyLJPgphA5sx0eFH/c96kgZYVhjeuRZhJJnq0Iy48j1RXHlHH f92Zwvhra367a/V5ZoUfsKzvsaWGgBwL4WGxvYoK9czmA/OOg3kRWzaFu90ZuSM8in5g OCiARqyZHYyYI/y6pjYchqTh5rkXXZ1icc1U3QA8fX9TQ3afZkFQoWo69sepeMmyjOqN R1TdSPrciWu7w2ZLa44iMa690DwE2njiUw1DeFsxYG/moT+fZ/Dqi3nLET8vH+mkiEop Pbig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=41D8uINwavsaGsluaBVU/fkmz0FiPzJl1KIsjp/ycJc=; b=PyQxbt21dZ3s/ORzx14Njl4SVjua605eS6+YZLZd5iu39ggcRAYcJ/byb6QJ2adtXy N+4YoJAg1a1RS+qo0GQTFBcetCivTdKMiswN/JqcNtF5DJnc2uFYoYkB5njQJU/nT13G oxEvjYxBKkN6+X+YpaSSqEyQ1JK1ragcAVm2rf6XjDOHTULbZHGal+RpnKBemzI9ccbA E+U3gbqVU57hj6ucuB1IyI4BtLFTr9jNAF5Hs0MvIeDJTp1jAS8wFW10oL0EL9llctV/ 3bAMSqPwApWBXWMAc7n4oFb1oeEj45AvOGpmObFrScrLnmzVOLxGfG9RsV1Tb/JGspPZ QzBw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pIRcEZyU; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::129 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-il1-x129.google.com (mail-il1-x129.google.com. [2607:f8b0:4864:20::129]) by gmr-mx.google.com with ESMTPS id y6-20020ae9f406000000b006ce4c1110bfsi348433qkl.0.2022.10.01.15.14.50 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 Oct 2022 15:14:50 -0700 (PDT) Received-SPF: pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::129 as permitted sender) client-ip=2607:f8b0:4864:20::129; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pIRcEZyU; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::129 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-il1-x129.google.com with SMTP id d14so3808876ilf.2 for ; Sat, 01 Oct 2022 15:14:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=41D8uINwavsaGsluaBVU/fkmz0FiPzJl1KIsjp/ycJc=; b=pIRcEZyUqKI2MA48ZvhLLmlHAV6839wgpURoDXyPY94YsFmaj2YwlLYK+qmd6dwQa8 N7Pndzs9bkqWLhmDl2AuhlfcOU+zZe1JxBpR3vlnygl8R1VsyZmzKQBcacluogwdH3ZZ qL6i2AHMxjpC8FIlWldc5VJYm0VJzQ68z3vIZmtvF+VGHX3dg3DjM05BhSiO53Ldu55B +l77QrTUx2CV0mlQ+IUMGa/T7H6RkGqwcc5VuML+GPEVhBvzVfveDwpP4puJXr10l/7J 5LDr59nTFGtwFJXRzT/8ZYBGMamR4PSztsLjAMJtXWxTbkKfV+mbY6wRcMcIR+1JHcNf 6htg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=41D8uINwavsaGsluaBVU/fkmz0FiPzJl1KIsjp/ycJc=; b=ho2cx0suDqkFtZffevH1X8Wj6wu9tp1rQuRr5kJhBFCRC2iekew3kuRYkLcyQiY6UC XmCZGoQ0pCd1S1b511Gq7D/eRQ7j6yNKO2wl3MfjNRnWKedsagTdlL+1jvDnwNb7zPnL PQUJTFImd3Pofww4HZQmXx50HFZjXONPegAcVUO46gl56U10v5EFDtZr4J8LRsGYF6m4 TQelOo3hf2nHfcmeZDhkwb5+j0UE2Enk9c3ZO1etTtoIa0b5ew9I1kEQmDnfonEZyfPI OEAhMCj/g2bkllKjJEBXnRWYitUYdDStIxWS1cdzB4Ao9NmuwPJ1kkq/kSljqzmJkAju bkyg== X-Gm-Message-State: ACrzQf1zyg7qjy8QLVl8h29SE538+ooyhoogvF4gBocBZBobIAV4vAKN 5Xyi5lHuwJUqntfmHKiW4aga24VeG/2HAL4WPKYoW/3I2zva X-Received: by 2002:a05:6e02:930:b0:2f9:9d1b:2525 with SMTP id o16-20020a056e02093000b002f99d1b2525mr998799ilt.173.1664662490079; Sat, 01 Oct 2022 15:14:50 -0700 (PDT) MIME-Version: 1.0 References: <4717535.OV4Wx5bFTl@home> <20220913155324.1425d13a@md1za8fc.ad001.siemens.net> <20220914103442.6de4288e@md1za8fc.ad001.siemens.net> In-Reply-To: <20220914103442.6de4288e@md1za8fc.ad001.siemens.net> From: "Roberto A. Foglietta" Date: Sun, 2 Oct 2022 00:14:13 +0200 Message-ID: Subject: Re: Ignore a dependency To: Henning Schild Cc: Uladzimir Bely , isar-users@googlegroups.com Content-Type: multipart/alternative; boundary="000000000000646a6b05ea0070c0" X-TUID: ozva5nFd80WL --000000000000646a6b05ea0070c0 Content-Type: text/plain; charset="UTF-8" Il giorno mer 14 set 2022 alle ore 10:34 Henning Schild < henning.schild@siemens.com> ha scritto: > > You can always use dpkg-prebuilt where you download that package, > binary patch it and later installed the modified copy with isar. > However if you have a sources.list entry and that package can > potentially get updated, you will not be able to make that hack stable. > > That is a pattern for a broken binary package which i had to get into > a layer. > > do_binary_patch[cleandirs] += "${WORKDIR}/blabla-package" > do_binary_patch() { > sudo dpkg-deb -R ${WORKDIR}/blabla-package.deb ${WORKDIR}/blabla-package > # do something funny with the control file, i.e. sed -i -e ... Depends > sudo dpkg-deb -b ${WORKDIR}/blabla-package > } > addtask binary_patch after do_unpack before do_deploy_deb I am trying to fetch the package but I cannot, could you help me? SRC_URI = "apt://pippo-fs" addtask apt_fetch before do_binary_patch ERROR: pippo-fs-1.0-r0 do_apt_fetch: ExecutionError('/build/tmp/work/debian-bullseye-amd64/pippo-fs/1.0-r0/temp/run.do_apt_fetch.100', 100, None, None) ERROR: Logfile of failure stored in: /build/tmp/work/debian-bullseye-amd64/pippo-fs/1.0-r0/temp/log.do_apt_fetch.100 Log data follows: | DEBUG: Executing shell function do_apt_fetch | Reading package lists... | E: Unable to find a source package for pippo-fs | ERROR: ExecutionError('/build/tmp/work/debian-bullseye-amd64/pippo-fs/1.0-r0/temp/run.do_apt_fetch.100', 100, None, None) ERROR: Task (/build/../repo/recipes-support/nvidia-repack/pippo-fs.bb:do_apt_fetch) failed with exit code '1' NOTE: Tasks Summary: Attempted 30 tasks of which 29 didn't need to be rerun and 1 failed. pippo-fs is a legit package that could be fetch if put into IMAGE_PREINSTALL Using do_fetch complains about checksum file bb.data_smart.ExpansionError: Failure expanding variable do_fetch[file-checksums], expression was ${@bb.fetch.get_checksum_file_list(d)} which triggered exception MalformedUrl: The URL: 'pippo-fs' is invalid and cannot be interpreted --000000000000646a6b05ea0070c0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Il giorno mer 14 set 2022 alle ore 10:34 Henning Schild &l= t;henning.schild@siemens.com<= /a>> ha scritto:
>
> You can always use dpkg-prebuilt where = you download that package,
> binary patch it and later installed the = modified copy with isar.
> However if you have a sources.list entry a= nd that package can
> potentially get updated, you will not be able t= o make that hack stable.
>
> That is a pattern for a broken bin= ary package which i had to get into
> a layer.
>
> do_bin= ary_patch[cleandirs] +=3D "${WORKDIR}/blabla-package"
> do_= binary_patch() {
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 sudo dpkg-deb -R ${WOR= KDIR}/blabla-package.deb ${WORKDIR}/blabla-package
> =C2=A0 =C2=A0 = =C2=A0 =C2=A0 # do something funny with the control file, i.e. sed -i -e ..= . Depends
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 sudo dpkg-deb -b ${WORKDIR}/b= labla-package
> }
> addtask binary_patch after do_unpack before= do_deploy_deb

I am trying to fetch the package but I cannot, could = you help me?

SRC_URI =3D "apt://pippo-fs"
addtask apt_f= etch before do_binary_patch

ERROR: pippo-fs-1.0-r0 do_apt_fetch: Exe= cutionError('/build/tmp/work/debian-bullseye-amd64/pippo-fs/1.0-r0/temp= /run.do_apt_fetch.100', 100, None, None)
ERROR: Logfile of failure s= tored in: /build/tmp/work/debian-bullseye-amd64/pippo-fs/1.0-r0/temp/log.do= _apt_fetch.100
Log data follows:
| DEBUG: Executing shell function do= _apt_fetch
| Reading package lists...
| E: Unable to find a source pa= ckage for pippo-fs
| ERROR: ExecutionError('/build/tmp/work/debian-b= ullseye-amd64/pippo-fs/1.0-r0/temp/run.do_apt_fetch.100', 100, None, No= ne)
ERROR: Task (/build/../repo/recipes-support/nvidia-repack/pippo-fs.b= b:do_apt_fetch) failed with exit code '1'
NOTE: Tasks Summary: A= ttempted 30 tasks of which 29 didn't need to be rerun and 1 failed.


--000000000000646a6b05ea0070c0--