[Bug 259981] devel/py-setuptools_scm: Fix incorrect *_DEPENDS, causing devel/py-pyparsing (and others) Fails to configure: The 'packaging>=20.0' distribution was not found

2021-12-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259981

Kai Knoblich  changed:

   What|Removed |Added

 Attachment #229940||maintainer-approval+
  Flags||

--- Comment #8 from Kai Knoblich  ---
Created attachment 229940
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229940&action=edit
py-setuptools_scm-workaround-for-py-packaging-v1.patch

Hm, devel/py-setuptools_scm has a fallback (via "try ... except") in [1] when
devel/py-packaging is absent.  It's also the only location where
devel/py-packaging is (optionally) required at the moment.

However, this code is not executed because devel/py-setuptools, which checks
the dependencies upon invocation and terminates as soon as these are not met,
which leads then to the errors in comment #0.

Attached is a workaround which should remedy the issue by patching out
devel/py-packaging from "setup.cfg" but keep it in RUN_DEPENDS.

It also adds devel/py-packaging to BUILD_DEPENDS as defined in pyproject.toml
although it's not strictly required to build the port.

I'll leave this patch here for a few days for general testing and feedback.

QA:
~~~
- poudriere -> OK (12.2-RELEASE amd64 against all consumers)
- portmaster -> OK (using the scenario outlined in comment #5)
- "make test" -> OK

--
[1]
https://github.com/pypa/setuptools_scm/blob/v6.3.2/src/setuptools_scm/_version_cls.py

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Ports with version numbers going backwards: devel/py-pytest, devel/py-pytest...

2021-12-06 Thread portmgr
** The following ports have a version number that sorts before a previous one **

 For many package tools to work correctly, it is of utmost importance that
 version numbers of a port form a monotonic increasing sequence over time.
 Refer to the FreeBSD Porter's Handbook, 'Package Naming Conventions' for
 more information. Tools that won't work include pkg_version, portupgrade
 and portaudit. A common error is an accidental deletion of PORTEPOCH.

 Please fix any errors as soon as possible.

 The ports tree was updated at Mon Dec  6 2021 12:30:00 UTC.

- *devel/py-pytest* : py38-pytest-4.6.11 < py38-pytest-6.2.4

- *devel/py-pytest-flask* : py38-pytest-flask-0.15.1 < 
py38-pytest-flask-1.2.0

- *devel/py-pytest-translations* : 
py38-pytest-translations-2.0.0 < py38-pytest-translations-3.1.0

- *devel/py-pytest-xdist* : py38-pytest-xdist-1.32.0 < 
py38-pytest-xdist-2.3.0

- *japanese/mozc-el* : ja-mozc-el-2.23.2815.102.01_1 < 
ja-mozc-el-emacs27-2.23.2815.102.01_5
  (master: japanese/mozc-server)

- *security/vaultwarden* : vaultwarden-1.22.2_5 < 
vaultwarden-1.23.0_4

- *x11/wayland-logout* : wayland-logout-1.3 < 
wayland-logout-1.4





FreeBSD ports you maintain which are out of date

2021-12-06 Thread portscout
Dear port maintainer,

The portscout new distfile checker has detected that one or more of your
ports appears to be out of date. Please take the opportunity to check
each of the ports listed below, and if possible and appropriate,
submit/commit an update. If any ports have already been updated, you can
safely ignore the entry.

You will not be e-mailed again for any of the port/version combinations
below.

Full details can be found at the following URL:
http://portscout.freebsd.org/pyt...@freebsd.org.html


Port| Current version | New version
+-+
devel/nuitka| 0.6.17  | 0.6.18
+-+


If any of the above results are invalid, please check the following page
for details on how to improve portscout's detection and selection of
distfiles on a per-port basis:

http://portscout.freebsd.org/info/portscout-portconfig.txt

Reported by:portscout!



[Bug 200060] lang/python: Missing network-related constants

2021-12-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200060

Daniel Engberg  changed:

   What|Removed |Added

 CC||dii...@freebsd.org

--- Comment #5 from Daniel Engberg  ---
Is this still a thing in recent versions?

-- 
You are receiving this mail because:
You are the assignee for the bug.


[package - main-i386-default][science/py-scipy] Failed for py38-scipy-1.7.1 in build

2021-12-06 Thread pkg-fallout
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer: python@FreeBSD.org
Log URL:
http://beefy17.nyi.freebsd.org/data/main-i386-default/p7539e33f88ff_s169b368a62/logs/py38-scipy-1.7.1.log
Build URL:  
http://beefy17.nyi.freebsd.org/build.html?mastername=main-i386-default&build=p7539e33f88ff_s169b368a62
Log:

=>> Building science/py-scipy
build started at Tue Dec  7 01:21:01 UTC 2021
port directory: /usr/ports/science/py-scipy
package name: py38-scipy-1.7.1
building for: FreeBSD main-i386-default-job-10 14.0-CURRENT FreeBSD 
14.0-CURRENT 1400043 i386
maintained by: python@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400042
Jail OSVERSION: 1400043
Job Id: 10




!!! Jail is newer than host. (Jail: 1400043, Host: 1400042) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1400043
UNAME_v=FreeBSD 14.0-CURRENT 1400043
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=py38
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=py38
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for py38-scipy-1.7.1:
 DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
python@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
F77="gfortran10" FC="gfortran10" FFLAGS="-O -std=legacy 
-Wl,-rpath=/usr/local/lib/gcc10" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc10" 
PYTHON="/usr/local/bin/python3.8" 
XDG_DATA_HOME=/wrkdirs/usr/ports/science/py-scipy/work-py38  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/py-scipy/work-py38  
XDG_CACHE_HOME=/wrkdirs/usr/ports/science/py-scipy/work-py38/.cache  
HOME=/wrkdirs/usr/ports/science/py-scipy/work-py38 TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/science/py-scipy/work-py38/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
F77="gfortran10" FC="gfortran10" FFLAGS="-O -std=legacy 
-Wl,-rpath=/usr/local/lib/gcc10" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc10" 
XDG_DATA_HOME=/wrkdirs/usr/ports/science/py-scipy/work-py38  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/py-scipy/work-py38  
XDG_CACHE_HOME=/wrkdirs/usr/ports/science/py-scipy/work-py38/.cache  
HOME=/wrkdirs/usr/ports/science/py-scipy/work-py38 TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/science/py-scipy/work-py38/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES 
ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" 
AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" 
GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" 
OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" 
RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" 
SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" LDSHARED="cc 
-shared" PYT
 HONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local  LOCALBASE=/usr/local  
CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  
CPP="cpp" CPPFLAGS=""  LDFLAGS=" -shared -Wl,-rpath=/usr/local/lib/gcc10  
-L/usr/local/lib/gcc10 -B/usr/local/bin -fstack-protector-strong " LIBS=""  
CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  
MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  
BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  
BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PYTHON_INCLUDEDIR=include/python3.8  PYTHON_LIBDIR=lib/python3.8  
PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.8/site-packages  
PYTHON_SUFFIX=38  PYTHON_EXT_SUFFIX=.cpython-38  PYTHON_VER=3.8  
PYTHON_VERSION=python3.8 PYTHON2="@comment " PYTHON3="" OSREL=14.0 PREFIX=%D 
LOCALBASE=/usr/local  RESETPR

[package - main-amd64-default][science/py-scipy] Failed for py38-scipy-1.7.1 in build

2021-12-06 Thread pkg-fallout
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer: python@FreeBSD.org
Log URL:
http://beefy18.nyi.freebsd.org/data/main-amd64-default/p7539e33f88ff_s169b368a62/logs/py38-scipy-1.7.1.log
Build URL:  
http://beefy18.nyi.freebsd.org/build.html?mastername=main-amd64-default&build=p7539e33f88ff_s169b368a62
Log:

=>> Building science/py-scipy
build started at Tue Dec  7 01:23:11 UTC 2021
port directory: /usr/ports/science/py-scipy
package name: py38-scipy-1.7.1
building for: FreeBSD main-amd64-default-job-08 14.0-CURRENT FreeBSD 
14.0-CURRENT 1400043 amd64
maintained by: python@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400042
Jail OSVERSION: 1400043
Job Id: 08




!!! Jail is newer than host. (Jail: 1400043, Host: 1400042) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400043
UNAME_v=FreeBSD 14.0-CURRENT 1400043
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=py38
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=py38
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for py38-scipy-1.7.1:
 DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
python@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
F77="gfortran10" FC="gfortran10" FFLAGS="-O -std=legacy 
-Wl,-rpath=/usr/local/lib/gcc10" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc10" 
PYTHON="/usr/local/bin/python3.8" 
XDG_DATA_HOME=/wrkdirs/usr/ports/science/py-scipy/work-py38  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/py-scipy/work-py38  
XDG_CACHE_HOME=/wrkdirs/usr/ports/science/py-scipy/work-py38/.cache  
HOME=/wrkdirs/usr/ports/science/py-scipy/work-py38 TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/science/py-scipy/work-py38/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
F77="gfortran10" FC="gfortran10" FFLAGS="-O -std=legacy 
-Wl,-rpath=/usr/local/lib/gcc10" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc10" 
XDG_DATA_HOME=/wrkdirs/usr/ports/science/py-scipy/work-py38  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/py-scipy/work-py38  
XDG_CACHE_HOME=/wrkdirs/usr/ports/science/py-scipy/work-py38/.cache  
HOME=/wrkdirs/usr/ports/science/py-scipy/work-py38 TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/science/py-scipy/work-py38/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES 
ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" 
AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" 
GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" 
OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" 
RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" 
SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" LDSHARED="cc 
-shared" PYT
 HONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local  LOCALBASE=/usr/local  
CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  
CPP="cpp" CPPFLAGS=""  LDFLAGS=" -shared -Wl,-rpath=/usr/local/lib/gcc10  
-L/usr/local/lib/gcc10 -B/usr/local/bin -fstack-protector-strong " LIBS=""  
CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  
MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  
BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  
BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PYTHON_INCLUDEDIR=include/python3.8  PYTHON_LIBDIR=lib/python3.8  
PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.8/site-packages  
PYTHON_SUFFIX=38  PYTHON_EXT_SUFFIX=.cpython-38  PYTHON_VER=3.8  
PYTHON_VERSION=python3.8 PYTHON2="@comment " PYTHON3="" OSREL=14.0 PREFIX=%D 
LOCALBASE=/usr/local  RESETPREFIX=/usr/local LI