From owner-freebsd-pkg@freebsd.org Sun Oct 4 15:02:37 2020 Return-Path: Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 17B3842AA79 for ; Sun, 4 Oct 2020 15:02:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4C46R05w5Lz3b1s for ; Sun, 4 Oct 2020 15:02:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id CAF9842AF15; Sun, 4 Oct 2020 15:02:36 +0000 (UTC) Delivered-To: pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CAC4442AA78 for ; Sun, 4 Oct 2020 15:02:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C46R050q4z3ZwH for ; Sun, 4 Oct 2020 15:02:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8F4B925FC9 for ; Sun, 4 Oct 2020 15:02:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 094F2aUG048583 for ; Sun, 4 Oct 2020 15:02:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 094F2awk048582 for pkg@FreeBSD.org; Sun, 4 Oct 2020 15:02:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 250094] ports-mgmt/pkg:pkg repo fails, when package output format tzst is used Date: Sun, 04 Oct 2020 15:02:36 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Oct 2020 15:02:37 -0000 Bugzilla Automation has asked freebsd-pkg (Nobody) for maintainer-feedback: Bug 250094: ports-mgmt/pkg:pkg repo fails, when package output format tzst = is used https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250094 --- Description --- I want to create a repository with just one file, this fails when the packa= ge output format tzst is used. It works with default format txz. Versions: OS: FreeBSD fbcurrent 13.0-CURRENT FreeBSD 13.0-CURRENT r364485 GENERIC-NOD= EBUG amd64 pkg: 1.14.5 Here are the steps i used: package output format: tzst pkg --option 'ABI_FILE=3D/usr/obj/usr/src/amd64.amd64/worldstage/usr/bin/un= ame' --option 'ALLOW_BASE_SHLIBS=3Dyes' create --verbose --format tzst --level b= est --manifest jailpkg.ucl --plist jailpkg.plist --root-dir /usr/obj/usr/src/amd64.amd64/worldstage --out-dir /usr/repo/jailpkg/FreeBSD:13:amd64/13.0.r364485 file sizes/checksums [3076]: 100% packing files [3076]: 100% packing directories [177]: 100% cd /usr/obj/usr/src/amd64.amd64/worldstage pkg -d repo --list-files /usr/repo/jailpkg/FreeBSD:13:amd64/13.0.r364485 DBG(1)[336]> pkg initialized pkg: No package files have been found Cannot create repository catalogue ls -l /usr/repo/jailpkg/FreeBSD:13:amd64/13.0.r364485/ total 40755 -rw-r--r-- 1 root wheel 20863888 23 Aug. 13:42 FreeBSD-jailpkg-13.0.r364485.tzst -rw-r--r-- 1 root wheel 0 23 Aug. 13:42 filesite.yaml -rw-r--r-- 1 root wheel 0 23 Aug. 13:42 packagesite.yaml package output format: tzx pkg --option 'ABI_FILE=3D/usr/obj/usr/src/amd64.amd64/worldstage/usr/bin/un= ame' --option 'ALLOW_BASE_SHLIBS=3Dyes' create --verbose --format txz --level be= st --manifest jailpkg.ucl --plist jailpkg.plist --root-dir /usr/obj/usr/src/amd64.amd64/worldstage --out-dir /usr/repo/jailpkg/FreeBSD:13:amd64/13.0.r364485 file sizes/checksums [3076]: 100% packing files [3076]: 100% packing directories [177]: 100% cd /usr/obj/usr/src/amd64.amd64/worldstage pkg -d repo --list-files /usr/repo/jailpkg/FreeBSD:13:amd64/13.0.r364485 DBG(1)[58382]> pkg initialized Creating repository in /usr/repo/jailpkg/FreeBSD:13:amd64/13.0.r364485: 0% DBG(1)[58382]> checking for 1 workers DBG(1)[59037]> start worker to parse 1 packages DBG(1)[59037]> worker done Creating repository in /usr/repo/jailpkg/FreeBSD:13:amd64/13.0.r364485: 0% DBG(1)[58382]> checking for 1 workers DBG(1)[58382]> finished worker, 0 remaining Creating repository in /usr/repo/jailpkg/FreeBSD:13:amd64/13.0.r364485: 100% Packing files for repository: 0% DBG(1)[58382]> Packing to file '/usr/repo/jailpkg/FreeBSD:13:amd64/13.0.r364485/meta.txz' DBG(1)[58382]> Packing to file '/usr/repo/jailpkg/FreeBSD:13:amd64/13.0.r364485/packagesite.txz' Packing files for repository: 25% DBG(1)[58382]> Packing to file '/usr/repo/jailpkg/FreeBSD:13:amd64/13.0.r364485/filesite.txz' Packing files for repository: 100% ls -l /usr/repo/jailpkg/FreeBSD:13:amd64/13.0.r364485/ total 39237 -rw-r--r-- 1 root wheel 20021828 23 Aug. 13:54 FreeBSD-jailpkg-13.0.r364485= .txz -rw-r--r-- 1 root wheel 13616 23 Aug. 13:54 filesite.txz -rw-r--r-- 1 root wheel 163 23 Aug. 13:54 meta.conf -rw-r--r-- 1 root wheel 236 23 Aug. 13:54 meta.txz -rw-r--r-- 1 root wheel 1520 23 Aug. 13:54 packagesite.txz each try was run with a empty /usr/repo/jailpkg/FreeBSD:13:amd64/13.0.r3644= 85/ directory. Also: the tzst compression took longer than txz, but the resulting file is larger.