From unknown Mon Aug 18 11:10:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65067: rpm2cpio is built without zstd support Resent-From: Florian Wernli Original-Sender: "Debbugs-submit" Resent-CC: help-debbugs@gnu.org Resent-Date: Sat, 05 Aug 2023 08:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65067 X-GNU-PR-Package: rpm X-GNU-PR-Keywords: To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169122556127950 (code B ref -1); Sat, 05 Aug 2023 08:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Aug 2023 08:52:41 +0000 Received: from localhost ([127.0.0.1]:55452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSD1c-0007Gj-P2 for submit@debbugs.gnu.org; Sat, 05 Aug 2023 04:52:41 -0400 Received: from lists.gnu.org ([2001:470:142::17]:51724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRqdz-00034t-IH for submit@debbugs.gnu.org; Fri, 04 Aug 2023 04:58:48 -0400 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 1qRqdu-0002II-0H for bug-guix@gnu.org; Fri, 04 Aug 2023 04:58:42 -0400 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qRqdr-0003Za-Ik for bug-guix@gnu.org; Fri, 04 Aug 2023 04:58:41 -0400 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-4fe1344b707so3000468e87.1 for ; Fri, 04 Aug 2023 01:58:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dectris.com; s=google; t=1691139516; x=1691744316; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=YVaCz+B/kKeEZf7GRjiiZkn2X3iiqoU04nEa21tj/hA=; b=J7RGfWryIORGNO9yxV039nu8yUvYY5/aEgn64UIvUfwWqe+fAVJYy6D7D4dDadZwQl t5prCU/RZMnNux6eshAAZGyNwYIDlBRbeSoIcTwe5FbU1oDBGbdbpAR5BKZFqf4fBFg3 BwMVXt6gm+nKm3yNVAykToKFAvTHCLhqlys3E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691139516; x=1691744316; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=YVaCz+B/kKeEZf7GRjiiZkn2X3iiqoU04nEa21tj/hA=; b=LnxLu+Npiqc4xacPedoQyY4agpNKQ1PfD9yCh4obX8QEgqn1jFwbrBJEgXGkFwVgDB V9J20Z1IRpnqYCL1v/tHt4z/fKfk2BtDPIlfMBtjtCtba94NoCp2DfoFUiLc+ICgFre4 PvkRLojRYNLD4PnY5vRo4GGbyZ7KKSwxjQZFFRXW5Xgw4i8lPXNzPnS1jcPMyQIVWvMh w6zl7E/A6AyN0k4Kuqnc0LE+ggMOn/oLWa78VEUuxrHxJBzAn1gg7UO2vTDXCAtPcdZY 8wcx1k2wiZ5PR1MhOPFMu2lrwlG6aoxxfIFAKUmOtgvNOYgE7QqDU8GrFFHJ5IuQaYjb rScg== X-Gm-Message-State: AOJu0YzlYcRex0sXBPUWmZpShk+QWDDgDErNRKRFHWYNVtS9Po4Ttag4 f0iQ+EfKYJycqDSOemBndz6sfKR/irJOjIvOqGwvCIsAbY/YpmOR+fg= X-Google-Smtp-Source: AGHT+IEOY0wyIodaGqQmphMuDBB3Db4AQ0rdyMn51QSa5lk6voQnyXfxVmStFLivq6JwVASE9SRUaAMvyW99zB1PObs= X-Received: by 2002:ac2:4850:0:b0:4fe:56d8:631d with SMTP id 16-20020ac24850000000b004fe56d8631dmr795124lfy.25.1691139515935; Fri, 04 Aug 2023 01:58:35 -0700 (PDT) MIME-Version: 1.0 From: Florian Wernli Date: Fri, 4 Aug 2023 10:58:24 +0200 Message-ID: Content-Type: multipart/mixed; boundary="0000000000001d240e0602151aea" Received-SPF: pass client-ip=2a00:1450:4864:20::131; envelope-from=florian.wernli@dectris.com; helo=mail-lf1-x131.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Mailman-Approved-At: Sat, 05 Aug 2023 04:52:40 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) --0000000000001d240e0602151aea Content-Type: multipart/alternative; boundary="0000000000001d240d0602151ae8" --0000000000001d240d0602151ae8 Content-Type: text/plain; charset="UTF-8" Package: rpm Version: 4.18 (guix f4d418a) When I invoke rpm2cpio on a recent fedora .rpm file (e.g. coreutils-9.1-12.fc38.x86_64.rpm) it does not produce a cpio compatible output stream. Building the rpm package with zstd:lib in the inputs fixes the issue for me. --0000000000001d240d0602151ae8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Package: rpm
Version: 4.18 (guix f4d418a)

When I invoke rpm2cpio on a recent fedora .rpm = file (e.g. coreutils-9.1-12.fc38.x86_64.rpm) it does not produce a cpio com= patible output stream.

Building the rpm package wi= th zstd:lib in the inputs fixes the issue for me.
--0000000000001d240d0602151ae8-- --0000000000001d240e0602151aea Content-Type: text/x-patch; charset="US-ASCII"; name="rpm-zstd_lib-input.patch" Content-Disposition: attachment; filename="rpm-zstd_lib-input.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lkwbkwpn0 ZGlmZiAtLWdpdCBhL2dudS9wYWNrYWdlcy9wYWNrYWdlLW1hbmFnZW1lbnQuc2NtIGIvZ251L3Bh Y2thZ2VzL3BhY2thZ2UtbWFuYWdlbWVudC5zY20KaW5kZXggZGFjZDQ0MzNkMi4uYmI2NzY5OGM5 NyAxMDA2NDQKLS0tIGEvZ251L3BhY2thZ2VzL3BhY2thZ2UtbWFuYWdlbWVudC5zY20KKysrIGIv Z251L3BhY2thZ2VzL3BhY2thZ2UtbWFuYWdlbWVudC5zY20KQEAgLTkwMyw3ICs5MDMsOCBAQCAo ZGVmaW5lLXB1YmxpYyBycG0KICAgICAgICAgICAgc3FsaXRlCiAgICAgICAgICAgIHh6CiAgICAg ICAgICAgIHpsaWIKLSAgICAgICAgICAgenN0ZCkpCisgICAgICAgICAgIHpzdGQKKyAgICAgICAg ICAgYCgsenN0ZCAibGliIikpKQogICAgIChwcm9wYWdhdGVkLWlucHV0cwogICAgICA7OyBwb3B0 IGlzIGxpc3RlZCBpbiB0aGUgJ1JlcXVpcmVzJyBvZiBycG0ucGMuCiAgICAgIChsaXN0IHBvcHQp KQo= --0000000000001d240e0602151aea--