From nobody Mon Jul 8 06:09:00 2024 X-Original-To: freebsd-pkgbase@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 4WHYcM6KDWz5R3Sy for ; Mon, 08 Jul 2024 06:09:39 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4WHYcM2xxGz3yfk for ; Mon, 8 Jul 2024 06:09:39 +0000 (UTC) (envelope-from manu@bidouilliste.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1720418972; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9L3h0YbnTH21Znw8v64Ac3W9iudUkaPw6rhoUb19osw=; b=OjF2+kmdTHH5aq++dQ644QbgPIHExf8UQcTbtxc4kWzIwrbZ0wyg63ddLWhDZMC0PiCXim hzxjQzWQge0hmoazWZg18ZLy4hpHdJD7hM7OBCiLRYMfFiuvNH/qVd1t+fQx0IJkO9UeQs EpZ0c6zcC6/zU30jmvTHfeBT0RQzerM= Received: from skull.home.blih.net (lfbn-lyo-1-2174-135.w90-66.abo.wanadoo.fr [90.66.97.135]) by mx.blih.net (OpenSMTPD) with ESMTPSA id ff2eb7d4 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 8 Jul 2024 06:09:32 +0000 (UTC) Date: Mon, 8 Jul 2024 08:09:00 +0200 From: Emmanuel Vadot To: Graham Perrin Cc: freebsd-pkgbase@freebsd.org Subject: Re: FreeBSD-base.conf in the wiki Message-Id: <20240708080900.e15228e21190844b3fc22260@bidouilliste.com> In-Reply-To: <3b8b7151-5cc7-44d4-b945-1f546c9a3af6@gmail.com> References: <3b8b7151-5cc7-44d4-b945-1f546c9a3af6@gmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd15.0) List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR] X-Rspamd-Queue-Id: 4WHYcM2xxGz3yfk On Sun, 7 Jul 2024 15:28:34 +0100 Graham Perrin wrote: > Hi >=20 > FYI >=20 > Re:=20 > >=20 > The cat approach in the wiki was ambiguous, it failed for me as shown=20 > below. At the '> ' prompt, I keyed Control-C to regain a normal prompt. I guess you've simply copy/pasted the whole block with the '>' ? I specifically did it that way so people won't blindly copy/paste something but copy/paste each line so they will read it. Please revert. > The example that's now in the wiki should be a valid JSON text data=20 > file. (Not that strict JSON is essential, it's simply a good example.) It's not JSON it's UCL. > root@macbookpro:/usr/local/etc/pkg/repos # sh > # cat </usr/local/etc/pkg/repos/FreeBSD-base.conf > > > > > FreeBSD-base: { > > > =A0=A0url: "pkg+https://pkg.FreeBSD.org/\${ABI}/base_release_0", > > > =A0=A0mirror_type: "srv", > > > =A0=A0signature_type: "fingerprints", > > > =A0=A0fingerprints: "/usr/share/keys/pkg", > > > =A0=A0enabled: yes > > > } > > > EOF > > > > > # file /usr/local/etc/pkg/repos/FreeBSD-base.conf > /usr/local/etc/pkg/repos/FreeBSD-base.conf: cannot open=20 > `/usr/local/etc/pkg/repos/FreeBSD-base.conf' (No such file or directory) > # exit --=20 Emmanuel Vadot From nobody Mon Jul 8 06:10:33 2024 X-Original-To: freebsd-pkgbase@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 4WHYf031bLz5R3gy for ; Mon, 08 Jul 2024 06:11:04 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4WHYf00z84z3ymb for ; Mon, 8 Jul 2024 06:11:04 +0000 (UTC) (envelope-from manu@bidouilliste.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1720419062; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aehDrL+cmpeKAvpG2ovm82uJxwPd3eXU9GJwjAu7mHY=; b=ZPHX6DYUuA5sS8lblm/LgdHizDJx7hfPJZSvlv0nRt0YGldH1RyffIk6PWPPxA+9haVnDb DLEtmYBMU15oMh5vC1cbbWFs+IvTAGe/zW2R73kuH5CS523pumaAyT1IdXVdsVuFy0v9fP P7YjX6/O073SxRO86KyDVMxyBlIu014= Received: from skull.home.blih.net (lfbn-lyo-1-2174-135.w90-66.abo.wanadoo.fr [90.66.97.135]) by mx.blih.net (OpenSMTPD) with ESMTPSA id e8f747a0 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 8 Jul 2024 06:11:02 +0000 (UTC) Date: Mon, 8 Jul 2024 08:10:33 +0200 From: Emmanuel Vadot To: Graham Perrin Cc: freebsd-pkgbase@freebsd.org Subject: Re: #12 - X server unusable by a normal user following pkg upgrade with pkgbase, from =?ISO-8859-1?Q?14.0-RELEASE-p=3F?= to =?ISO-8859-1?Q?1?= =?ISO-8859-1?Q?4.1-RELEASE-p=3F?= - grahamperrin/freebsd-src - Codeberg.org Message-Id: <20240708081033.99750a4307e4b2db6ce0c74f@bidouilliste.com> In-Reply-To: <642dadeb-bf26-469b-9b87-c6f94e13364f@gmail.com> References: <642dadeb-bf26-469b-9b87-c6f94e13364f@gmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd15.0) List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR] X-Rspamd-Queue-Id: 4WHYf00z84z3ymb On Sun, 7 Jul 2024 17:28:35 +0100 Graham Perrin wrote: > Briefly >=20 > Re:=20 > =20 > (the three steps) >=20 > I'd like to edit to no=20 > longer imply that 'pkg upgrade' is safe in point upgrade situations. The= =20 > somewhat disorderly mix from multiple repos seems to be problematic ?=20 > updates to various ports attempted in the midst of base updates from=20 > 14.0 to 14.1. >=20 > Any objection to me making a substantial (but brief) change to the wiki? >=20 > I can add details in Codeberg, if you like. >=20 > Thanks. >=20 >=20 I don't understand the problem you're having. Anyway, yes upgrading base first then packages is what needs to be done, when upgrading releases with pkgbase if you just pkg upgrade in place it's likely that you will have problems. --=20 Emmanuel Vadot From nobody Mon Jul 8 15:09:30 2024 X-Original-To: freebsd-pkgbase@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 4WHncn2yG6z5PvRF for ; Mon, 08 Jul 2024 15:10:49 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WHncm6q6Gz40ct for ; Mon, 8 Jul 2024 15:10:48 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4266381bc52so11410035e9.1 for ; Mon, 08 Jul 2024 08:10:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720451447; x=1721056247; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=6Dj+QFU29WwONiBOV7cF14ooaJjWEAPHoNb9aS9ntNQ=; b=G+Y9zC2IDHhFOlW9gQhLxrPXkL3ejxrBHBTXlOBbFawXhMp4SPxLp7CWW91tc8ipQa JR97abVo7hGYl8Kwn2GUCnDeqBJ1zYfe8AeHN9jUJkZ6bAG+kplRSUYN9tFxs7FxM/JA nMZ5vkENmnfEDGCMAentUMkNHH6hplRIXXAVQhUQBGOoVwdXOCgI1B2XDkz2sTFSqTRR wDKaw9mBkSJcFl77Kfi2rMv7n3NUT51hEeqobETlpjTdFsIIOQZQqfgi1ujY5P3R4cOS xdJtgDYD+3z23vJ57tK2FGENKS0cGcmtsBpvygZCZadBvat2Kcco+yVxf299GNEtts4B wWWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720451447; x=1721056247; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6Dj+QFU29WwONiBOV7cF14ooaJjWEAPHoNb9aS9ntNQ=; b=wAnhBjuFP35AcUKabY6TDW1FtSL2omWfa0eJs1kUT3c4nEE+8WTbGp/VmGuxbvotbV fGkThxU7nhq0rhLpI+mRg3TKpFw0Eeu2ykeKHOP9V1dWwAx6apIsd3JHQ5OGww/1/jLt 8B5y8cNlFJX8RfwhJ4KdcHytcQfAiZOacnw2yQgNXJVthDL+rzLikwZB3nKbjU9hw176 F0qz/sHDw6RJuOipnkveeUO6Iug8NQA4EZzgU0vhvDP3st9PJgReF72dsf0docDbKNPf wA/R2d++q9RXDlMB4/TB+og65mEcmImH1ojOZmOBbWnpC7jQfROo7ntMP7TYqYpvAXRo sjCQ== X-Gm-Message-State: AOJu0YzvEjmmSzK+JAd8rk7KOyKuG4AICqTmFkkPwsaKrmGe1QRyFxCw sU7QHW59AA1C+GK93aNFmNq83qh4n07CRCxO5gaAanGh5AEP7iXIuMqI+w== X-Google-Smtp-Source: AGHT+IFaqlAh7FWWgiuZAAbwuVxFHRihUnsDfBu+deCwAfBI5LCOFJt/js1TQQJqy3NWjMUeHbS9HA== X-Received: by 2002:a05:600c:358a:b0:426:6e86:f82 with SMTP id 5b1f17b1804b1-4266e8610a8mr9053715e9.22.1720451446166; Mon, 08 Jul 2024 08:10:46 -0700 (PDT) Received: from [194.81.204.41] (oa-mowa-01-194.81.204.41.brighton.ac.uk. [194.81.204.41]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4264a1f22acsm170407175e9.24.2024.07.08.08.10.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Jul 2024 08:10:45 -0700 (PDT) Message-ID: <39745978-5c06-4fd9-84b5-0910b8f38e83@gmail.com> Date: Mon, 8 Jul 2024 16:09:30 +0100 List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: FreeBSD-base.conf in the wiki To: Emmanuel Vadot Cc: freebsd-pkgbase@freebsd.org References: <3b8b7151-5cc7-44d4-b945-1f546c9a3af6@gmail.com> <20240708080900.e15228e21190844b3fc22260@bidouilliste.com> From: Graham Perrin Content-Language: en-GB Autocrypt: addr=grahamperrin@gmail.com; keydata= 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 Cyw= In-Reply-To: <20240708080900.e15228e21190844b3fc22260@bidouilliste.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4WHncm6q6Gz40ct On 08/07/2024 07:09, Emmanuel Vadot wrote: > I guess you've simply copy/pasted the whole block with the '>' ? True. I wouldn't have guessed that it's necessary to copy individual lines. Will it work in (t)csh, or is it sh -specific? I typically triple-click to select before copying. OK? Or do I need to omit the '> ' at the beginnings of some lines? > I specifically did it that way so people won't blindly copy/paste > something but copy/paste each line so they will read it. Please revert. Reverted, thanks for guidance. From nobody Fri Jul 12 05:30:08 2024 X-Original-To: freebsd-pkgbase@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 4WL0Yk09RHz5QnXZ; Fri, 12 Jul 2024 05:30:50 +0000 (UTC) (envelope-from reshadpatuck1@gmail.com) Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WL0Yj25kBz45gP; Fri, 12 Jul 2024 05:30:49 +0000 (UTC) (envelope-from reshadpatuck1@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=LOUSNlUK; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of reshadpatuck1@gmail.com designates 2a00:1450:4864:20::32e as permitted sender) smtp.mailfrom=reshadpatuck1@gmail.com Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-426526d30aaso10993455e9.0; Thu, 11 Jul 2024 22:30:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720762247; x=1721367047; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=O9QtiZq5mNIyTfa2Te1hCmhTVDq1WCTiOor6pRQGcPI=; b=LOUSNlUKJASZpq/vUnL2IFv+uFHN8ppJQgNLsp+YAptS9LORUi8P/hNb5c7ZyGm0et E8kuuuYQWiHS2MmbvJcq9JSDF/4ERxwPBYcjg8KknNAb5CDCZVNk2F4cCMxRHO4hgWMp 4BqiTB3C8UZY/gidjTDNvtzSJHiqo5gGM+KYSBMkh/IEyzp8JnVhxu/eadElAO55RnIX YuAmTDr+rBFxlTHgkSK3bmSod2B7eAihUzQ4U8N2ZRqt+iVc3ctLgSN+Y4euJ9HZWanm fJaGYKr0d0UWlV0Pitu+rxj2ktMw1KW+TY0LFdKWqYdrjPxy4EjofiBjx3V/l7preZd8 q3IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720762247; x=1721367047; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=O9QtiZq5mNIyTfa2Te1hCmhTVDq1WCTiOor6pRQGcPI=; b=n7vqXAVGsteqToNAkzvxrGQLNznNmpKyC8KvRZn9byiB44JTzoEO8rQI/d5/EhOj4H celqZp3Jnig7UKaUFEOwSaywpf5VHlXdDTJPA59OS3eq835NX30HIQjEFwouhFYcBTop FVl9SniSe5C4TYmuavsrXhPOMUs+rwGoD/EGr62ZI9Nr5Ae+UFnAoN/1/FO9WZ3UsCe5 sSc08tnb/3FeO7D4AK4KNGJNxsjKajfR17Vx/DZV3Vz+d4BGbgouP7Z1wTKJYo45ht35 XDQnMYXnDrJOq0zpK+uukZKMpDqPFbknEJoZ2uLbRiwTdwaV+NJwlEQ+Hmg/qWW/6jv9 +YDw== X-Forwarded-Encrypted: i=1; AJvYcCX4vGsDdEKZ/67jflZQDlONaEcrKFASXqYyJPTXXuM7hYOv2OpA4MR3l1CSFgjsvQpH2EghbS43Z03d9hdjY9dBNNB6JvFAuDr+GOQ= X-Gm-Message-State: AOJu0YwC/Yq3ZqMIGn1B6/8yTcNXnmA/qlP81jxbVW7q1/xYblJ9cgXy 6VWvjntKYaG1bpI4SnefyW6qHYh2tovSmCgtt6roHgp664RvRogca8KPfZM+YhZ3agQgYghmTNU 1lzQJ4kv098TUwBf1T6VA2LjLkC0LeZy9iz4= X-Google-Smtp-Source: AGHT+IG9nifWvb/glJpE+ZuMRxNHRCpWl+1CdYUW0NI1ozwcwyErtthZTv4OH2XJLvb81Xnyc3OU76ZpQ00DkhE9tbU= X-Received: by 2002:adf:f383:0:b0:367:8e4d:5d49 with SMTP id ffacd0b85a97d-367ceacb3a0mr6684020f8f.48.1720762247343; Thu, 11 Jul 2024 22:30:47 -0700 (PDT) List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 From: Reshad Patuck Date: Fri, 12 Jul 2024 11:00:08 +0530 Message-ID: Subject: SemLock as user permission denied after update to 14.1 To: freebsd-questions@freebsd.org, freebsd-pkgbase@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32e:from]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org,freebsd-pkgbase@freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+] X-Rspamd-Queue-Id: 4WL0Yj25kBz45gP Hi, I have just updated one of my systems from FreeBSD 14.0 to 14.1 (using pkg-base). One of my python programs that runs as a non-root user fails to get a SemLock when running as a non-root user. This works fine on my other FreeBSD 14.0 systems. Is there anything I am missing here or during my update? Any steps to find out what permissions are missing/what has changed will be really helpful. pkg base has been complied from git hash - 1eba659e2f689d4014136048a8e470e852bdc69b ports have been compiled via poudriere from git hash - 1d024a4a0a853573d8586dc097ee9762b41c671b ##### Output from FreeBSD 14.1 running as the admin user ##### $ id uid=2000(admin) gid=2000(admin) groups=2000(admin),0(wheel) $ uname -iKmoprUv FreeBSD 14.1-RELEASE-p2 FreeBSD 14.1-RELEASE-p2 #0 1eba659e2-dirty: Thu Jul 4 14:46:15 UTC 2024 root@freebsd-zfs:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 amd64 GENERIC 1401000 1401000 $ python3.11 Python 3.11.9 (main, Jul 4 2024, 09:04:54) [Clang 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a on freebsd14 Type "help", "copyright", "credits" or "license" for more information. >>> import multiprocessing >>> multiprocessing.Queue() Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.11/multiprocessing/context.py", line 103, in Queue return Queue(maxsize, ctx=self.get_context()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/multiprocessing/queues.py", line 43, in __init__ self._rlock = ctx.Lock() ^^^^^^^^^^ File "/usr/local/lib/python3.11/multiprocessing/context.py", line 68, in Lock return Lock(ctx=self.get_context()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/multiprocessing/synchronize.py", line 169, in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) File "/usr/local/lib/python3.11/multiprocessing/synchronize.py", line 57, in __init__ sl = self._semlock = _multiprocessing.SemLock( ^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied >>> ##### Output from FreeBSD 14.1 running as the root user ##### # id uid=0(root) gid=0(wheel) groups=0(wheel),5(operator) # uname -iKmoprUv FreeBSD 14.1-RELEASE-p2 FreeBSD 14.1-RELEASE-p2 #0 1eba659e2-dirty: Thu Jul 4 14:46:15 UTC 2024 root@freebsd-zfs:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 amd64 GENERIC 1401000 1401000 # python3.11 Python 3.11.9 (main, Jul 4 2024, 09:04:54) [Clang 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a on freebsd14 Type "help", "copyright", "credits" or "license" for more information. >>> import multiprocessing >>> multiprocessing.Queue() >>> ##### Output from FreeBSD 14.0 running as the admin user ##### $ id uid=2000(admin) gid=2000(admin) groups=2000(admin),0(wheel) $ uname -iKmoprUv FreeBSD 14.0-RELEASE-p8 FreeBSD 14.0-RELEASE-p8 #0 5e2380679-dirty: Thu Jul 4 08:31:06 UTC 2024 root@freebsd-zfs:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 amd64 GENERIC 1400097 1400097 $ python3.11 Python 3.11.9 (main, Jul 4 2024, 09:04:54) [Clang 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a on freebsd14 Type "help", "copyright", "credits" or "license" for more information. >>> import multiprocessing >>> multiprocessing.Queue() >>> Best, Reshad From nobody Fri Jul 12 06:58:11 2024 X-Original-To: freebsd-pkgbase@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 4WL2WH36MSz5PhyR; Fri, 12 Jul 2024 06:58:51 +0000 (UTC) (envelope-from reshadpatuck1@gmail.com) Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WL2WG06Gkz4F2V; Fri, 12 Jul 2024 06:58:50 +0000 (UTC) (envelope-from reshadpatuck1@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=D1YNgBW4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of reshadpatuck1@gmail.com designates 2a00:1450:4864:20::335 as permitted sender) smtp.mailfrom=reshadpatuck1@gmail.com Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-4265b7514fcso16082345e9.1; Thu, 11 Jul 2024 23:58:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720767528; x=1721372328; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=dZ7lTW3XEyPA1cNYdXWk1gpk6+vRcZPPatYu28WwFKk=; b=D1YNgBW4ofj+Qny4C+RgqWgQrBfZpUBDMb1yXZ3U44yaqDDxAsnaM0Egp/fY8rUGfP 7sUrrVUXpsmXjLOb+0wZwS494nnC2zjRjrzCNSRJnWfd/dxpCKtY53FiC3vwfjNKIxjb dWuW4sdg3AL4vVEKtSjnBRnmQKWudzu7w/9k+90ojv1ajznU7KXdHmp7w/Nb7g35a0zz ZhxO0KCjEODZyhyRuV5nAUkG6iT9dulvgDjP35ieL68MX0+/Dkh3V1J0vo83qRxFjSnZ gOfxvo6zJR8ALiRK/zJ4PVOqgoxghfoF0DiVdPVxOkYfM+ZZLEOJeZ/QhCIHReYrlkCw tTyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720767528; x=1721372328; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dZ7lTW3XEyPA1cNYdXWk1gpk6+vRcZPPatYu28WwFKk=; b=lZNBfTTzBf0a41CiioDjVZp1k75UseJNBYn7ObjThVBtHi7i5MKfYlsMDZcWnhUppF ZuQcczb4Xc0aSyk4G3h8MfF3FwR9gnN/QciMmz6+mjLMtPOqaff+fhDzQ8tQz47F9Vf1 dmCNp9sOTD3cnhBeG934k8pUH5OHnIanTZDd3uTI703FTSj9Rs8nM95IiMuIyzTvtQuU 04NGkE/jt3Ps88JDGwdDoamIVlAy16HNYjy4ic7z7X7teT+iHDRH9pcfx+NnedkzIoGT 7rj9/a6HNEcwOkPNsiptMcJDlbM7RQwak5BPfBMk86LoC625iwQbG5rMj1ew60nHXk3P W7ww== X-Forwarded-Encrypted: i=1; AJvYcCX15RGIbZKcOH7XhLbJJfeCPxosho+CArAOR3RRu9oTDjRJmQfw1bmtpS0kW+I4SEx4qFjgkiSJxN9f7TBOkw4OetnoDrWHOEqbeIE= X-Gm-Message-State: AOJu0YwXO4p3060JXluaU7hPSufHs7osdO0hVb/LuNgbsRF++Mzrao/t 1ImVPxWkYLg9ed2j2sqYZyC+mvzUsnKNXGO/kMxGHVSJjR6f0H6dDhz1oTono9Tn5GUcU0kPc4r +C0Y2d7rtZyyvqhXzUalcnHzg6r8/lQkQBpU= X-Google-Smtp-Source: AGHT+IEFqUu7ennqJSgNDb5pZktHdRVEqxldRYwhLCHIYYbtUcGL1I2eLzoWtWzsnShTBpnZRplg/AToQZ7Y4To52Rg= X-Received: by 2002:a05:600c:4ca7:b0:424:8836:310c with SMTP id 5b1f17b1804b1-4279da0238amr15168215e9.5.1720767528198; Thu, 11 Jul 2024 23:58:48 -0700 (PDT) List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Reshad Patuck Date: Fri, 12 Jul 2024 12:28:11 +0530 Message-ID: Subject: Re: SemLock as user permission denied after update to 14.1 To: freebsd-questions@freebsd.org, freebsd-pkgbase@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.980]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org,freebsd-pkgbase@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::335:from]; DKIM_TRACE(0.00)[gmail.com:+] X-Rspamd-Queue-Id: 4WL2WG06Gkz4F2V Half answering my own question - it seems like for some reason the permissions on /tmp have changed after the upgrade. Running truss on the minimal python command `truss python3.11 -c "import multiprocessing; multiprocessing.Queue()"` let me to the error `open("/tmp/SEMDmp-g_lyusv5",O_RDWR|O_EXLOCK|O_CREAT|O_EXCL|O_CLOEXEC,0600) ERR#13 'Permission denied'` The permissions for 14.0 seem to allow group and other write (and append) access to /tmp but write (and append) access is denied for these two on 14.1. Running `chmod o+w /tmp` fixes the issue for me, but it would be nice to know why this happened to begin with. Any insight as to why this would have changed when updating the system would be really helpful. I've been stuck on this for a day, looks like posting a question to the mailing list is a catalyst for figuring things out myself :) Hope this is at least helpful for someone else who gets stuck with something similar. ##### Output from FreeBSD 14.1 ##### # uname -iKmoprU FreeBSD 14.1-RELEASE-p2 amd64 amd64 GENERIC 1401000 1401000 # getfacl /tmp/ # file: /tmp/ # owner: root # group: wheel owner@:rwxp--aARWcCos:-------:allow group@:r-x---a-R-c--s:-------:allow everyone@:r-x---a-R-c--s:-------:allow # ls -al /tmp/ total 48 drwxr-xr-x 7 root wheel 15 Jul 12 03:01 . drwxr-xr-x 21 root wheel 30 Jul 11 05:14 .. ##### Output from FreeBSD 14.0 ##### # uname -iKmoprU FreeBSD 14.0-RELEASE-p5 amd64 amd64 GENERIC 1400097 1400097 # getfacl /tmp/ # file: /tmp/ # owner: root # group: wheel owner@:rwxp--aARWcCos:-------:allow group@:rwxp--a-R-c--s:-------:allow everyone@:rwxp--a-R-c--s:-------:allow # ls -al /tmp/ total 92 drwxrwxrwt 7 root wheel 16 Jul 12 03:01 . drwxr-xr-x 21 root wheel 30 Jul 9 11:53 .. On Fri, 12 Jul 2024 at 11:00, Reshad Patuck wrote: > > Hi, > > I have just updated one of my systems from FreeBSD 14.0 to 14.1 (using > pkg-base). > One of my python programs that runs as a non-root user fails to get a > SemLock when running as a non-root user. > This works fine on my other FreeBSD 14.0 systems. > Is there anything I am missing here or during my update? > Any steps to find out what permissions are missing/what has changed > will be really helpful. > > pkg base has been complied from git hash - > 1eba659e2f689d4014136048a8e470e852bdc69b > ports have been compiled via poudriere from git hash - > 1d024a4a0a853573d8586dc097ee9762b41c671b > > ##### Output from FreeBSD 14.1 running as the admin user ##### > $ id > uid=2000(admin) gid=2000(admin) groups=2000(admin),0(wheel) > $ uname -iKmoprUv > FreeBSD 14.1-RELEASE-p2 FreeBSD 14.1-RELEASE-p2 #0 1eba659e2-dirty: > Thu Jul 4 14:46:15 UTC 2024 > root@freebsd-zfs:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 amd64 > GENERIC 1401000 1401000 > $ python3.11 > Python 3.11.9 (main, Jul 4 2024, 09:04:54) [Clang 16.0.6 > (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a on > freebsd14 > Type "help", "copyright", "credits" or "license" for more information. > >>> import multiprocessing > >>> multiprocessing.Queue() > Traceback (most recent call last): > File "", line 1, in > File "/usr/local/lib/python3.11/multiprocessing/context.py", line > 103, in Queue > return Queue(maxsize, ctx=self.get_context()) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/local/lib/python3.11/multiprocessing/queues.py", line 43, > in __init__ > self._rlock = ctx.Lock() > ^^^^^^^^^^ > File "/usr/local/lib/python3.11/multiprocessing/context.py", line 68, in Lock > return Lock(ctx=self.get_context()) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/local/lib/python3.11/multiprocessing/synchronize.py", > line 169, in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > File "/usr/local/lib/python3.11/multiprocessing/synchronize.py", > line 57, in __init__ > sl = self._semlock = _multiprocessing.SemLock( > ^^^^^^^^^^^^^^^^^^^^^^^^^ > PermissionError: [Errno 13] Permission denied > >>> > > ##### Output from FreeBSD 14.1 running as the root user ##### > # id > uid=0(root) gid=0(wheel) groups=0(wheel),5(operator) > # uname -iKmoprUv > FreeBSD 14.1-RELEASE-p2 FreeBSD 14.1-RELEASE-p2 #0 1eba659e2-dirty: > Thu Jul 4 14:46:15 UTC 2024 > root@freebsd-zfs:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 amd64 > GENERIC 1401000 1401000 > # python3.11 > Python 3.11.9 (main, Jul 4 2024, 09:04:54) [Clang 16.0.6 > (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a on > freebsd14 > Type "help", "copyright", "credits" or "license" for more information. > >>> import multiprocessing > >>> multiprocessing.Queue() > > >>> > > ##### Output from FreeBSD 14.0 running as the admin user ##### > $ id > uid=2000(admin) gid=2000(admin) groups=2000(admin),0(wheel) > $ uname -iKmoprUv > FreeBSD 14.0-RELEASE-p8 FreeBSD 14.0-RELEASE-p8 #0 5e2380679-dirty: > Thu Jul 4 08:31:06 UTC 2024 > root@freebsd-zfs:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 amd64 > GENERIC 1400097 1400097 > $ python3.11 > Python 3.11.9 (main, Jul 4 2024, 09:04:54) [Clang 16.0.6 > (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a on > freebsd14 > Type "help", "copyright", "credits" or "license" for more information. > >>> import multiprocessing > >>> multiprocessing.Queue() > > >>> > > Best, > Reshad From nobody Fri Jul 12 19:20:15 2024 X-Original-To: freebsd-pkgbase@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 4WLLyw5Pdhz5QZrc for ; Fri, 12 Jul 2024 19:20:24 +0000 (UTC) (envelope-from marquis@roble.com) Received: from mx5.roble.com (mx5.roble.com [209.237.23.5]) (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 (2048 bits) client-digest SHA256) (Client CN "mx5.roble.com", Issuer "mx5.roble.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WLLyv2VHmz4rlW for ; Fri, 12 Jul 2024 19:20:23 +0000 (UTC) (envelope-from marquis@roble.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=roble.com header.s=rs060402 header.b=b71I+oCB; dmarc=pass (policy=none) header.from=roble.com; spf=pass (mx1.freebsd.org: domain of marquis@roble.com designates 209.237.23.5 as permitted sender) smtp.mailfrom=marquis@roble.com Received: from roble.com (roble.com [209.237.23.50]) by mx5.roble.com (Postfix) with ESMTP id 4CA84249780; Fri, 12 Jul 2024 12:20:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=roble.com; s=rs060402; t=1720812015; bh=fgpv7hblLOgLrVLlJG6pkQwRvV+2+K/bsZR0RjJ+ZIw=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=b71I+oCBZR4UkrOwXahggurB4jO/lirTvCbkrfCUkhTxUhv4klsOjgXScp0oXQJk1 uKZkM/FWN6JKp+iTz7bIsvk6iU+dGIz8SuzkKAzmcFCyx4WiNudDoYGUVZqYw/aCFV OPQ6B39QpRyWLqbrJUNySdVZ86JL4EirS09POPjs= Date: Fri, 12 Jul 2024 12:20:15 -0700 (PDT) From: Roger Marquis To: Graham Perrin cc: freebsd-pkgbase@freebsd.org Subject: =?UTF-8?Q?Re=3A_#12_-_X_server_unusable_by_a_normal_use?= =?UTF-8?Q?r_following_pkg_upgrade_with_pkgbase=2C_from_14?= =?UTF-8?Q?=2E0-RELEASE-p=E2=8B=AF_to_14=2E1-RELEASE-p=E2=8B=AF_-_?= =?UTF-8?Q?grahamperrin=2Ffreebsd-src_-_Codeberg=2Eorg?= In-Reply-To: <642dadeb-bf26-469b-9b87-c6f94e13364f@gmail.com> Message-ID: References: <642dadeb-bf26-469b-9b87-c6f94e13364f@gmail.com> List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.88 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.978]; DMARC_POLICY_ALLOW(-0.50)[roble.com,none]; R_DKIM_ALLOW(-0.20)[roble.com:s=rs060402]; R_SPF_ALLOW(-0.20)[+ip4:209.237.23.0/24]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:17403, ipnet:209.237.0.0/18, country:US]; RCVD_COUNT_ONE(0.00)[1]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_TO(0.00)[gmail.com]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-pkgbase@freebsd.org]; DKIM_TRACE(0.00)[roble.com:+] X-Rspamd-Queue-Id: 4WLLyv2VHmz4rlW The wiki should explicitly note that this software is very much in alpha with problems to be expected. Issues that may arise include overwritten dotfiles, passwd, master db, and corruption of the pkg database. The only safe way to test is by using ZFS partitions with frequent creation of beadm snapshots. Roger Marquis > Briefly > > Re: > > (the three steps) > > I'd like to edit to no longer > imply that 'pkg upgrade' is safe in point upgrade situations. The somewhat > disorderly mix from multiple repos seems to be problematic ? updates to > various ports attempted in the midst of base updates from 14.0 to 14.1. > > Any objection to me making a substantial (but brief) change to the wiki? > > I can add details in Codeberg, if you like. > > Thanks. > > > > > > > > From nobody Sun Jul 14 10:16:52 2024 X-Original-To: freebsd-pkgbase@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 4WMLpw4LVxz5Qltc for ; Sun, 14 Jul 2024 10:16:56 +0000 (UTC) (envelope-from henry.vogt@gmail.com) Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WMLpw0vZtz4cpj for ; Sun, 14 Jul 2024 10:16:56 +0000 (UTC) (envelope-from henry.vogt@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=lQIECjHN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of henry.vogt@gmail.com designates 2a00:1450:4864:20::335 as permitted sender) smtp.mailfrom=henry.vogt@gmail.com Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-4266b1f1b21so22414845e9.1 for ; Sun, 14 Jul 2024 03:16:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720952214; x=1721557014; darn=freebsd.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=SA7/mjK7zFDPIWA0a25mTZgfQBCkNovlUIm8//EeOXU=; b=lQIECjHNc5kuWG0Zn+By2Is0iL3kXkZhR5IpIbanDON2bAAu3nE8xllpP5L9EOpci1 dqckTYbm9obT1yYqyDdvl5iQpU7W/w8jENfCUtqqc/ux/cWOEjrAlqHx0+MDCZXgaJyH zlhxZk3xwgVPMQxm2SyzG68qJXKSy4B8hroMDEPaHi2mGqxXMcAliH3+crxtCWdJ92Vv biR0ofBnaBktSfCpKE025nJ23quc5w54mf4WhRwxiDfKoyQ1Tb04qQctCuZBay2Brcr6 N+kmuiLFmF8DAEXfBEykNuYbvxlLuANCxJuBXheb/IyUWdHwbHdASmCtpA1P9oGGi8uu 1ZNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720952214; x=1721557014; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=SA7/mjK7zFDPIWA0a25mTZgfQBCkNovlUIm8//EeOXU=; b=vB1uMSAjAc8s1MYDLfQdWHjcjJglYMoCZvrIUvAxVhQxZeCkTO/KWDd8VsRgdckfpQ ftpk++j3MVBnBrCUMjZf5/9ki+S8nIfay+CSUnBkTYmxcrWJV4GH5Pv+40iZtkgYcvGx ZmeqrnZh5KLEJIC9rXiYDL8bMfMHKxkLumCW0AaLnen4ey7a6k6bRl3dvUyMJZUrURbs 2PnQaHYT3YmsCM49xQ3oNOkZTtPycNIorRWgJNnP8VmBO5tfD8GaVt1njXYFrNItQAIq /sAlFonsVHwfsqaifLK7MdxXxBg+hrdU9sm7fdFb2n7fOgpOTBZNAl6PCO5kTwEaQTe9 iNYQ== X-Gm-Message-State: AOJu0Yz6TljZl/jjPLyp2e80XhfAfG0LeRo8UhgwzeH7ZNTKNAKdd57w Wv+Ah4vXshGm4tVLg9uqw4FF8suGbtV790Yli/4/bVlGQjzP8gG2J2o+og== X-Google-Smtp-Source: AGHT+IG/AkxlCDchQTaZ+RiLXGwRD5Q0lSuskeY8RzuLKQcx0escWGLdJmBRy61+m4xB/zCFLdftIg== X-Received: by 2002:a7b:cd98:0:b0:426:6157:7ad3 with SMTP id 5b1f17b1804b1-426707e388bmr96056815e9.19.1720952213659; Sun, 14 Jul 2024 03:16:53 -0700 (PDT) Received: from [192.168.2.174] (p5de595b2.dip0.t-ipconnect.de. [93.229.149.178]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-427a5e8144dsm47195565e9.11.2024.07.14.03.16.53 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 14 Jul 2024 03:16:53 -0700 (PDT) Message-ID: Date: Sun, 14 Jul 2024 12:16:52 +0200 List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: freebsd-pkgbase@FreeBSD.org From: h v Subject: make packages broken Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.991]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; TAGGED_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkgbase@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-pkgbase@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::335:from] X-Rspamd-Queue-Id: 4WMLpw0vZtz4cpj Hi, looks like make packages / make update- packages are broken. Both commands end , even after cleanworld , reproducible with: ... >>> Installing everything completed on Sun Jul 14 11:56:49 CEST 2024 /tmp/install.QJlFKGfaBA/sh: arithmetic expression: expecting primary: "1720951009 - " *** Error code 2 Stop. make[6]: stopped in /usr/freebsd/15       192.05 real        89.85 user        60.88 sys *** Error code 1 ... buildworld / buildkernel succeeded normal. Possibly related to  commit e5a0202f96948a95bf1b879727e155a4f1d1da93 ? Kind Regards Henry