From nobody Sat Sep 23 21:48:53 2023 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 4RtN7T3vM2z4vHf0 for ; Sat, 23 Sep 2023 21:48:53 +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 4RtN7T0Yvcz3VkB for ; Sat, 23 Sep 2023 21:48:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695505733; a=rsa-sha256; cv=none; b=vmjQG70fIwrrGJHjh0hqJ36IYPxaU8p11QqOBftsim8p4QlgFQKWuUk5f6899YCBHExNsJ eD8C5GUsi0Js2cW0mV9yXa30vnMxp38cplRku/0Tw1ijSdXpCubCkLHS0hGSVgl1DMROhv hXIk/Eqph+7K0dun6OJNFLujtkcLUnUgW2Wvsgkn3/3cg5B1t4Fx2wkMeIFrnvsBhg1CXL i1JDu9kTs8bMByVdzAQlQflcPV3SS3pwLEBwcdkmZ8FC+d+txnv/FAbA+ihTdG/VTn+5I2 jgfAQ+FY7meO3wHNG3/AzCIOHSbfObS7uA+ouc3pUQ0biGpPNl4QK5c+SCFATA== 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=1695505733; 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: in-reply-to:in-reply-to:references:references; bh=15O6uKra7gkI0QPzn0pQhPOq9rskhrSJ//i7wdZOa5k=; b=pbRcT11z9SXhj/+J7Zsuf45KLgnG/PQVd2f/W3q1vmlYzN4pbEIHL6dadRZilXvMNvo2Ic lKPWRtdJtcQYWM57/tApcbR15dWuvVhm1Lk3HJy+57xiKXZU/o3d0iGnuVoUgOgyIYzH7Y 0Fhz8UPL9bAvvYJQoiLrr6rkGnNOr1aYXGgLRM5DyJ6ogU87wM54ZbZ0itqu7BvYbKyNne dsHt962Trd479rel/6q5hP4I3hhtLlGUHkj6DsL2r/SvrNWLkcuUMOPNOapT6NiXgerUsx /YyD5TRuzGxkHse5RJ+e1tw3fkhaWIYcCqNOkrI0vz/VXjkmXtwNk27qdhgiIA== 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 4RtN7S6kKsz5pb for ; Sat, 23 Sep 2023 21:48:52 +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 38NLmqpm062038 for ; Sat, 23 Sep 2023 21:48:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38NLmqsF062036 for ports-bugs@FreeBSD.org; Sat, 23 Sep 2023 21:48:52 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 270157] ports-mgmt/portupgrade: with portupgrade -P install of ports-mgmt/pkg fails Date: Sat, 23 Sep 2023 21:48:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Some People X-Bugzilla-Who: fabian@wenks.ch X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270157 --- Comment #4 from Fabian Wenk --- (In reply to Baptiste Daroussin from comment #2) Running on the build system (where the port is build from source) with: portupgrade -pa this gets logged into syslog: Sep 22 20:15:42 riddler pkg[59460]: webp-1.3.1_1 deinstalled Sep 22 20:15:44 riddler pkg-static[59708]: webp-1.3.2 installed And running on any of the other systems (where an available pre-built packa= ge is taken) with: portupgrade -kPa this gets logged into syslog: Sep 22 20:44:48 batman pkg[4699]: webp-1.3.1_1 deinstalled Sep 22 20:44:49 batman pkg[4728]: webp-1.3.2 installed Usually this does not make a difference, unless there is an update for ports-mgmt/pkg itself. On the build system it works just fine, but then fai= ls on the other systems and leaves them in a broken state where ports-mgmt/pkg= is removed.=20=20 The only way out of this is with a local manual build like this: cd /usr/ports/ports-mgmt/pkg make install So my (slightly rewritten) question from the original report still stands: Why is 'portupgrade -P' using 'pkg' instead of 'pkg-static' when upgrading = from a package instead of a locally done build? Some other thoughts, could it be that portupgrade is taking different steps= / commands when run with -P during install from a local build or a package? So what I see in syslog with the 'pkg' and 'pkg-static' is just a coincident? --=20 You are receiving this mail because: You are the assignee for the bug.=