From nobody Tue Apr 7 06:28:16 2026 X-Original-To: dev-commits-ports-main@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 4fqbqd57nlz6YsR7 for ; Tue, 07 Apr 2026 06:28:29 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174]) (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 4fqbqd0ZTJz3ldf for ; Tue, 07 Apr 2026 06:28:29 +0000 (UTC) (envelope-from 6yearold@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-7a469383e0bso30021087b3.2 for ; Mon, 06 Apr 2026 23:28:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775543308; x=1776148108; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=P7yRjQni296Sv200Y5OMf/CBP+0jykNknxqZoAwskBc=; b=Vgr5Ym7LDic+PeUpK7K1SCJbOKMCISTa5PqZlJfJUuNtgyMyXwGSVp2PwaB14LgFZ4 yO1GlSinBO8CdfeInd9y4IzfOln0NeWmJdI9NXhHYFAWykryq6WBX0hdaEDVGgzM0BUa 2PbwVeBCkAqX1CEpvt6TUm8TUDxQf6Wl/qd2JVJOTjGprZ1dBJ9r2W3FuwAgy75U313y VeCI7eAS2M6bS+3jPeccyrDjLVT+weh5aK5xNKqE4nERmW2UgT6+MpM+IZT4sZeUzuED kveqXeYE7a78UkCHBV69zxApgxhuep0Q4sYzBmtr54rF01IGJgFdXxIlPxfnbC+LQVJc OB9w== X-Forwarded-Encrypted: i=1; AJvYcCUAMfVt/qcRHcT/VTYLC1zLkufS6pqGeRZWEj664TLxrso7uw1xry8pzBuSqeyF5nawDhpcaJmRd9ljy8Ll72BujBOnWrkK@freebsd.org X-Gm-Message-State: AOJu0Yzi35KUffS6wUAdaDNQ6h3fvLS/i+dkr3VirCWTMELmeT99eV0I M6T91cITQ4oEhxN4T51iEgkoAIDIuquo9fxxe77O5dYMl5FbBKfwBPxTgvbb+KFs X-Gm-Gg: AeBDiesLF9TdJSr8apDRU6ly7yiCt+ZuYjfm/o7BNOm2F8DqUtqkDQhPYOPlwGCV110 BzXq+N5SYDCRjGAaBVM3oGsnFlf6idYPVdPVzVEkBbEYqxv6FzjDELKI9RgiXLbPcO1I5bVkUVd fbdRy/PDJVro5yXdWRGjW9wCW9x2x2gfk0mVcNfNTi0By5s0MT8rxD9mnGtnG2iTzY2Pjpyo6WZ QQ/P4FiP2RxH0zlqpzcQuLO28OtSY0LWU+l0gPyCXl73EjjcIJCwC45aS+CS6H+dx1kz9qdk9ZB 2UEkEoMd2XT+SY99Nz7hfNKVjYx/2agZtEtQ3ciGWVkJZn9+lmXUMKP3wzpvW6H8zGBatQ68SJL Oy4TTHF/GYw96bjHXNrVQHvAWc/AKBWctzAQMag/b71WcBNoT9anRIRm0ZN5m8FScpJZIm3BCZ/ c59OEXS6juT5OmkIZ5sS+usrv6eyxaoMM2WrWLZy9p0OrL5jnG0NDsqTPrYJlLnMVh/BUNoK/ux 0+RsNDDRTtIDtZFEU80GjyNNgQ8B39kGamNWrNXV+uA2v8aE2gm0TepDXJM6Ze/AIehp9t4ix6o 4vbb6+k= X-Received: by 2002:a05:690c:8e09:b0:79e:e3e5:27d3 with SMTP id 00721157ae682-7a4d6254624mr117685547b3.8.1775543307868; Mon, 06 Apr 2026 23:28:27 -0700 (PDT) Received: from mail-yw1-f172.google.com (mail-yw1-f172.google.com. [209.85.128.172]) by smtp.gmail.com with ESMTPSA id 00721157ae682-7a3712f8c8dsm64286587b3.46.2026.04.06.23.28.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Apr 2026 23:28:27 -0700 (PDT) Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-7986e538decso47251417b3.1 for ; Mon, 06 Apr 2026 23:28:27 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVncVS/fwoZF20NpvfrJEWPogCS/tc0Lj+N+b/Tz4ew02ZOPYtjlO5V50g5Go4QddGn1c4QDQLCYzbR4oknj/peKrgrNG4A@freebsd.org X-Received: by 2002:a05:690c:6d84:b0:79b:deb2:f5f0 with SMTP id 00721157ae682-7a4d62558b4mr149217577b3.9.1775543307244; Mon, 06 Apr 2026 23:28:27 -0700 (PDT) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 References: <69d03cf2.430ed.2d4d8408@gitrepo.freebsd.org> <37778713-0656-4edf-83d5-0b7a84bceb8e@freebsd.org> <3d372c89-9f77-4033-80e0-6cec0781d568@freebsd.org> <8648dad5-11cc-4a79-83e2-47edfb5b99e1@freebsd.org> In-Reply-To: <8648dad5-11cc-4a79-83e2-47edfb5b99e1@freebsd.org> From: Gleb Popov Date: Tue, 7 Apr 2026 08:28:16 +0200 X-Gmail-Original-Message-ID: X-Gm-Features: AQROBzBwuQwByPSdnNwIXiju_s6YCgQRfz85Cb0OJxYjSbnFr2Hqa6kAuzTtWaM Message-ID: Subject: Re: git: ef9180aa8469 - main - science/py-scipy: update to 1.17.1 To: Vladimir Druzenko Cc: Charlie Li , ports-committers , dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Content-Type: multipart/alternative; boundary="0000000000001c994d064ed8e4ec" 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:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4fqbqd0ZTJz3ldf X-Spamd-Bar: ---- --0000000000001c994d064ed8e4ec Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Apr 7, 2026, 02:54 Vladimir Druzenko wrote: > 05.04.2026 00:54, Charlie Li =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > Vladimir Druzenko wrote: > >> Thanks for the explanation. After updating of math/py-numpy building > >> ports that depended on it failed with error. And it was not at all > >> obvious what to do. > >> > >> But build of the science/py-scipy fails: > >> [846/1238] Compiling C++ object scipy/fft/_pocketfft/ > >> pypocketfft.cpython-311.so.p/pypocketfft.cxx.o > >> FAILED: [code=3D1] scipy/fft/_pocketfft/pypocketfft.cpython-311.so.p/ > >> pypocketfft.cxx.o > >> c++ -Iscipy/fft/_pocketfft/pypocketfft.cpython-311.so.p -Iscipy/fft/ > >> _pocketfft -I../scipy/fft/_pocketfft -I../scipy/_lib/pocketfft -I/ > >> include -I/usr/local/include/python3.11 -fvisibility=3Dhidden - > >> fvisibility-inlines-hidden -fdiagnostics-color=3Dalways -DNDEBUG - > >> D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -std=3Dc++17 -O3 -O2 -pipe= - > >> march=3Dcore2 -fstack-protector-strong -fno-strict-aliasing -fPIC > >> -pthread -DPOCKETFFT_PTHREADS -DPOCKETFFT_CACHE_SIZE=3D16 -MD -MQ > >> scipy/fft/ _pocketfft/pypocketfft.cpython-311.so.p/pypocketfft.cxx.o > >> -MF scipy/fft/ > >> _pocketfft/pypocketfft.cpython-311.so.p/pypocketfft.cxx.o.d -o scipy/ > >> fft/_pocketfft/pypocketfft.cpython-311.so.p/pypocketfft.cxx.o -c ../ > >> scipy/fft/_pocketfft/pypocketfft.cxx > >> ../scipy/fft/_pocketfft/pypocketfft.cxx:16:10: fatal error: > >> 'pybind11/ pybind11.h' file not found > >> 16 | #include > >> | ^~~~~~~~~~~~~~~~~~~~~ > >> 1 error generated. > >> > >> USES+=3Dlocalbase fixes the build. > >> > > Do you have cmake in the environment used for this build run? If so, > > remove it and try again. meson will prefer to use cmake for dependency > > detection over pkg-config and other methods if cmake is present. > > > > In this specific case, devel/py-pybind11 is present exclusively in the > > Python package hierarchy, specifically site-packages, and not in the > > system. meson needs to fall back to methods that are not cmake for the > > compiler flags to set properly. > > > > This part is unspoken, but bears speaking and documenting somewhere > > better than bugzilla and mailing lists: building Python packages on a > > live environment, ie without environment separation like virtual > > environments or jails (poudriere included) is not supported, even if > > the ports framework makes it technically possible to try. > > > You just wrote that one of the main advantages of FreeBSD over other > operating systems "is not supported". > Building in an non-isolated environment is certainly not an advantage and even does not have anything to do with the OS. It makes me very sad to see how FreeBSD is being turned into yet another > Linux distribution, but with the worst compatibility with other Linux > distributions=E2=80=A6 > > -- > Best regards, > Vladimir Druzenko > > --0000000000001c994d064ed8e4ec Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Tue, Apr 7, 2026, 02:54 Vladi= mir Druzenko <vvd@freebsd.org>= wrote:
05.04.2026 00:54, Charlie L= i =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
> Vladimir Druzenko wrote:
>> Thanks for the explanation. After updating of math/py-numpy buildi= ng
>> ports that depended on it failed with error. And it was not at all=
>> obvious what to do.
>>
>> But build of the science/py-scipy fails:
>> [846/1238] Compiling C++ object scipy/fft/_pocketfft/
>> pypocketfft.cpython-311.so.p/pypocketfft.cxx.o
>> FAILED: [code=3D1] scipy/fft/_pocketfft/pypocketfft.cpython-311.so= .p/
>> pypocketfft.cxx.o
>> c++ -Iscipy/fft/_pocketfft/pypocketfft.cpython-311.so.p -Iscipy/ff= t/
>> _pocketfft -I../scipy/fft/_pocketfft -I../scipy/_lib/pocketfft -I/=
>> include -I/usr/local/include/python3.11 -fvisibility=3Dhidden - >> fvisibility-inlines-hidden -fdiagnostics-color=3Dalways -DNDEBUG -=
>> D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -std=3Dc++17 -O3 -O2 -= pipe -
>> march=3Dcore2 -fstack-protector-strong -fno-strict-aliasing -fPIC =
>> -pthread -DPOCKETFFT_PTHREADS -DPOCKETFFT_CACHE_SIZE=3D16 -MD -MQ =
>> scipy/fft/ _pocketfft/pypocketfft.cpython-311.so.p/pypocketfft.cxx= .o
>> -MF scipy/fft/
>> _pocketfft/pypocketfft.cpython-311.so.p/pypocketfft.cxx.o.d -o sci= py/
>> fft/_pocketfft/pypocketfft.cpython-311.so.p/pypocketfft.cxx.o -c .= ./
>> scipy/fft/_pocketfft/pypocketfft.cxx
>> ../scipy/fft/_pocketfft/pypocketfft.cxx:16:10: fatal error:
>> 'pybind11/ pybind11.h' file not found
>> =C2=A0=C2=A0 =C2=A016 | #include <pybind11/pybind11.h>
>> =C2=A0=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~= ~~~~~~~~~~~~~~~~~~
>> 1 error generated.
>>
>> USES+=3Dlocalbase fixes the build.
>>
> Do you have cmake in the environment used for this build run? If so, <= br> > remove it and try again. meson will prefer to use cmake for dependency=
> detection over pkg-config and other methods if cmake is present.
>
> In this specific case, devel/py-pybind11 is present exclusively in the=
> Python package hierarchy, specifically site-packages, and not in the <= br> > system. meson needs to fall back to methods that are not cmake for the=
> compiler flags to set properly.
>
> This part is unspoken, but bears speaking and documenting somewhere > better than bugzilla and mailing lists: building Python packages on a =
> live environment, ie without environment separation like virtual
> environments or jails (poudriere included) is not supported, even if <= br> > the ports framework makes it technically possible to try.
>
You just wrote that one of the main advantages of FreeBSD over other
operating systems "is not supported".

Building in an non-isolated = environment is certainly not an advantage and even does not have anything t= o do with the OS.

It makes me very sad to see how FreeBSD is being turned into yet another Linux distribution, but with the worst compatibility with other Linux
distributions=E2=80=A6

--
Best regards,
Vladimir Druzenko

--0000000000001c994d064ed8e4ec--