From nobody Fri Apr 19 10:11:41 2024 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 4VLVmZ17f0z5Glk7 for ; Fri, 19 Apr 2024 10:11:42 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VLVmY3lZmz4nSq for ; Fri, 19 Apr 2024 10:11:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713521501; a=rsa-sha256; cv=none; b=EQvujleNt8YP/n/R2/Kl6LKLQEnZP5CytpxtjMJG3KRV/7aAxCQRJtj0wF17JmdO0JQ+cw mMGXGtJH+hIXo1459YoZ+JJykmLG3Z6KxX9/uqvP5X7iXF0qTqQLAbC0f1oSgn83Js/EO7 /4IAt8OzOsSDdIccCfcxpgRBbGcnqOsjpXtBkykRuEWOpsr9nToP7RO7eg80EPZ8H1+4qI 8ksrYkBO2XC3V5fKNtFPAAIBrp8m4NGM8ZMJjhdRaJqdxQXCKnlryzIYHsD9yhGRE8DYL1 jAWyynOKtNGEc0JpeOl36BbA8d/Fr8MQM6LJnWGWHrIz1Jo5z/TLTx645XoIDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713521501; 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=UX2uhWPP1L82HsPnHg+cMEUJZOSSIdFUEgVS5DzvSjU=; b=sY0F5axCHy7Snxw7C+NClOAeF04csEwlTGSaUuH7wiAddWBywluSNIlyOcrDmhB7tMavq7 OTKAfTrqorZHmtLDle1kCNKXLzlzdKG/4T4FXQG3/y1uOGK5Puugs1cqO5imU4insDLIMr r+ztl7IMOBSz+ytSbCQY4a/GmE8Dye8KttgCYES7sIv/xdNPXY9FdDWP8N+ZDiUQNEHpbz ShdR/1AcC3sVYnWxKBRhbaOiwBJGHLOoTLFDOEsl1Di1wbwg7EFWqNRn5EzGo9N71LHuZL 2gn0SRoum6vcyrLdFXKJzNvs41BCjWCaGIWK5eW1pXr0uPFx27XbQyrvRDyZKg== 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 4VLVmY3NSczpvF for ; Fri, 19 Apr 2024 10:11:41 +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 43JABf42018101 for ; Fri, 19 Apr 2024 10:11:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43JABfEe018095 for ports-bugs@FreeBSD.org; Fri, 19 Apr 2024 10:11:41 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 278456] ports-mgmt/pkg: needless reinstall of packages with multiple repos [1.21.2] Date: Fri, 19 Apr 2024 10:11:41 +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: mandree@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D278456 Bug ID: 278456 Summary: ports-mgmt/pkg: needless reinstall of packages with multiple repos [1.21.2] Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pkg@FreeBSD.org Reporter: mandree@FreeBSD.org Flags: maintainer-feedback?(pkg@FreeBSD.org) Assignee: pkg@FreeBSD.org Created attachment 250081 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D250081&action= =3Dedit log from: pkg -ddd upgrade -n Greetings, pkg 1.21.2 which I use with FreeBSD-latest repo and a local repo that has mostly the same packages very often wants to reinstall one package without = any visible reason, in this case, boost-libs-This is a package that I do not knowingly reconfigure away from the default settings.=20=20 I build my local packages with poudriere-devel, upstream are built with poudriere stable. Please find attached three console (stdout + stderr merged) logs, zstd compressed, from three pkg -ddd upgrade -n runs, one without -r option, one with -r FreeBSD-latest to reference ONLY the upstream, one with -r local to ONLY reference my local repo.=20=20 (My local repo does not build all of ports because that's way too slow on an old 8-core Ryzen VM -- please ignore the fact that pkg is going to uninstall some packages with the -r local option -- this is to show that using one RE= PO for me does NOT want to reinstall boost-libs) So... is this a solver bug which doesn't figure that the installed boost-li= bs package is the same, or not check everything? (grep DBG.1.*request to understand this question)?=20=20 Where else in the debug output do I need to look to understand why pkg want= s to reinstall boost-libs ONLY IF I enable both repositories? --=20 You are receiving this mail because: You are the assignee for the bug.=