From nobody Wed Jan 07 11:23:00 2026 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dmQd06cFDz6MdPg for ; Wed, 07 Jan 2026 11:23:00 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dmQd05yL4z3DqC for ; Wed, 07 Jan 2026 11:23:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767784980; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NaKNysF9xxaynJYBvvkkicimuUYmQryhkVas1jWU1Pw=; b=rRL5EIWzKUtMflEMYguN0nTvJXnVKKWzQeE1e28EFjZ8ZYMYh7dM6OdthtaAstLDSY3RHe TF3k0d99C+hqZqzuvi5gPS56mXLdYf7y2wfMnOVtwq7LtJn3y3d2BDweI60ryk53QTZ98g pMorfBXI1f0I11Czrj6Zq6ZVi4PrZUVtUCbnAK9qnCEdPnuAm0qRGXOyxKB9cS6xj8F1wD jcwAzazsPgP6x7kyd54m7CeE5x3l314+Cb+ABdJ/JjBSOYI4fIgZ20KXB3SY1DLjmfDUFT 7E76vEKplYfGb5Zoo6uo3t2S11nn7mCCppw5lw47vX9PGyfcuLL+IOYEd/TeCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767784980; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NaKNysF9xxaynJYBvvkkicimuUYmQryhkVas1jWU1Pw=; b=LVidb+q07gpWfRbf0gRFhxZCUEglBccf9YK31ugS3ba6uaMxK63t5Cd0JyygtOARH5sqId JO8m/FgUWVBBDz2Pgt1So/vqrjjJnT/cJ56TDUetKCssPxav74yOnnEcuOSMCQBSCs0F5J A/EN3OgUxAZ5gIDO+//d+DpHgU2tms5i2j7XWm1Mfe/97mXJMl1/FGfhE1KQXSw9eYYOwn yVAn3bjKOrXw55Prhjs4BEvLaqk+EdXN4N7Udgj9XRcvB9esbZ+ILOfG6EeSZCbPBT5w5G Fj6gz9yqiYUZ6kL4Y5I/hi9xK+wfdToFqE5kt1aea6saqV4tCvbSY6d10PYb3g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1767784980; a=rsa-sha256; cv=none; b=j/5XeoLRLe+hJZxxvmolXpZfUu2J9nLjhkdzxYK8lNODKrCDUE9De3pAYBxtxvGJe5gUxd 2ba/7R0pqNDvzxQXeiRHQfHId1AOJCelLuZHuV8Ru948iYnmPl487jzijqlyj1ePyTtavV XqUywv95RoiQwke4ibVYsOe8Mmx6C+I+1xitqvmLEcH6FmtvBdO+FYDMVAAsskNip96tdC MKgdt67b09dLb2HPIYORcr7CMV53zXSJUmOhCfmYyl4zslT22VYFwqOASnz3jhln7oZS9V ZKCPSh1gBzdPGFkPuH6s9GVjEDSM3jn/Yu27uoK+s3irqQf+dabLYeUX76uFbQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4dmQd05Yxbzr6W for ; Wed, 07 Jan 2026 11:23:00 +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 607BN0tr052818 for ; Wed, 7 Jan 2026 11:23:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 607BN0sv052816 for ports-bugs@FreeBSD.org; Wed, 7 Jan 2026 11:23:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 292240] pkgbase: spurious dependencies Date: Wed, 07 Jan 2026 11:23:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None 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: topical@gmx.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D292240 Bug ID: 292240 Summary: pkgbase: spurious dependencies Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: topical@gmx.net When using pkgbase, I can hardly strip down the system without having stran= ge dependency problems. E.g. to create a jail with minimal packages, I do # zfs create zdata/jails/test # mkdir -p /usr/jails/test/usr/share # cp -a /usr/share/keys /usr/jails/test/usr/share # pkg -r /usr/jails/test install FreeBSD-set-minimal-jail Let's get a list of packages without dependencies: # pkg -r /usr/jails/test query -e '%#r =3D=3D 0' '%n-%v' FreeBSD-audit-lib-15.0 FreeBSD-blocklist-15.0 FreeBSD-ctf-lib-15.0 FreeBSD-libarchive-15.0 FreeBSD-libbsdstat-15.0 FreeBSD-libcasper-15.0 FreeBSD-libldns-15.0 FreeBSD-libmagic-15.0 FreeBSD-libucl-15.0 FreeBSD-openssl-lib-15.0 FreeBSD-set-minimal-jail-15.0 FreeBSD-tcpd-15.0 FreeBSD-ufs-lib-15.0 FreeBSD-xz-lib-15.0 FreeBSD-zfs-lib-15.0 Note: this query is same as "leaf" I expect only to see FreeBSD-set-minimal-jail as all other packages are dependencies of this set! If I try to autoremove these unneeded packages # pkg -r /usr/jails/test autoremove Nothing is done. If you try to remove one of the packages manually, it works but produces strange warnings: # pkg -r /usr/jails/test remove FreeBSD-zfs-lib Cannot solve problem using SAT solver, trying another plan Cannot solve problem using SAT solver, trying another plan Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 2 packages (of 0 packag= es in the universe): Installed packages to be REMOVED: FreeBSD-ctf-lib: 15.0 FreeBSD-zfs-lib: 15.0 Number of packages to be removed: 2 The operation will free 5 MiB. Proceed with deinstalling packages? [y/N]: y [1/2] Deinstalling FreeBSD-ctf-lib-15.0... [1/2] Deleting files for FreeBSD-ctf-lib-15.0: 100% [2/2] Deinstalling FreeBSD-zfs-lib-15.0... [2/2] Deleting files for FreeBSD-zfs-lib-15.0: 100% Whenever I convert an existing to pkgbase using pkgbasify, the list of spur= ious (non-)-dependencies gets longer and manual removal doesn't work at all. How can this happen and how can this be solved? --=20 You are receiving this mail because: You are the assignee for the bug.=