Page MenuHomeFreeBSD

devel/py-subversion{,-lts}: swig-py: Fix `none_dealloc` error (one-off patch)
ClosedPublic

Authored by michaelo on Sep 27 2024, 8:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 31, 7:17 AM
Unknown Object (File)
Thu, Oct 31, 3:49 AM
Unknown Object (File)
Sat, Oct 19, 1:19 AM
Unknown Object (File)
Oct 4 2024, 6:42 PM
Unknown Object (File)
Oct 2 2024, 4:02 AM
Unknown Object (File)
Oct 1 2024, 3:31 PM
Unknown Object (File)
Sep 30 2024, 5:17 AM
Unknown Object (File)
Sep 30 2024, 12:01 AM
Subscribers
None

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

michaelo created this revision.
This revision is now accepted and ready to land.Sep 27 2024, 8:52 AM

FYI, when I was testing, I set WITH_SUBVERSION_VER to lts instead of LTS and it wasn't handled as would be expected after a look in devel/subversion/Makefile.addons.

jrm@ser /usr/local/etc/poudriere.d % s poudriere testport -i -j 15amd64 devel/py-subversion
[00:00:00] Creating the reference jail... done
[00:00:00] Mounting system devices for 15amd64-default
[00:00:00] Stashing existing package repository
[00:00:00] Mounting ccache from: /usr/local/poudriere/ccache/15amd64
[00:00:00] Mounting ports from: /usr/ports
[00:00:00] Mounting packages from: /usr/local/poudriere/data/packages/15amd64-default
[00:00:00] Mounting distfiles from: /usr/ports/distfiles
[00:00:00] Copying /var/db/ports from: /usr/local/etc/poudriere.d/15amd64-options
[00:00:00] Appending to make.conf: /usr/local/etc/poudriere.d/15amd64-make.conf
/etc/resolv.conf -> /usr/local/poudriere/data/.m/15amd64-default/ref/etc/resolv.conf
[00:00:00] Starting jail 15amd64-default
Updating /var/run/os-release done.
[00:00:00] Will build as nobody:nobody (65534:65534)
[00:00:01] Ports supports: FLAVORS SUBPACKAGES SELECTED_OPTIONS
[00:00:01] Acquiring build logs lock for 15amd64-default... done
[00:00:01] Logs: /usr/local/poudriere/data/logs/bulk/15amd64-default/2024-09-27_10h24m46s
[00:00:01] WWW: http://pkg.ftfl.ca/build.html?mastername=15amd64-default&build=2024-09-27_10h24m46s
[00:00:01] Loading MOVED for /usr/local/poudriere/data/.m/15amd64-default/ref/usr/ports
[00:00:01] Gathering ports metadata
[00:00:01] Warning: (devel/py-subversion): make: "/usr/ports/Mk/bsd.port.mk" line 1859: Malformed conditional (${WITH_PKG} == devel)
[00:00:01] Warning: (devel/py-subversion): in /usr/share/mk/bsd.port.mk:27
[00:00:01] Warning: (devel/py-subversion): in /usr/share/mk/bsd.port.post.mk:4
[00:00:01] Warning: (devel/py-subversion): in /usr/ports/devel/py-subversion/Makefile:34
[00:00:01] Warning: (devel/py-subversion): make: "/usr/ports/Mk/bsd.ccache.mk" line 78: Malformed conditional (!defined(NO_CCACHE_DEPEND) &&  ${PKGORIGIN} != ${PKG_ORIGIN})
[00:00:01] Warning: (devel/py-subversion): in /usr/ports/Mk/bsd.port.mk:2082
[00:00:01] Warning: (devel/py-subversion): in /usr/share/mk/bsd.port.mk:27
[00:00:01] Warning: (devel/py-subversion): in /usr/share/mk/bsd.port.post.mk:4
[00:00:01] Warning: (devel/py-subversion): in /usr/ports/devel/py-subversion/Makefile:34
[00:00:01] Warning: (devel/py-subversion): make: "/usr/ports/Mk/bsd.port.mk" line 3445: Malformed conditional (${PKGORIGIN} == "ports-mgmt/pkg" || ${PKGORIGIN} == "ports-mgmt/pkg-devel")
[00:00:01] Warning: (devel/py-subversion): in /usr/share/mk/bsd.port.mk:27
[00:00:01] Warning: (devel/py-subversion): in /usr/share/mk/bsd.port.post.mk:4
[00:00:01] Warning: (devel/py-subversion): in /usr/ports/devel/py-subversion/Makefile:34
[00:00:01] Warning: (devel/py-subversion): make: Fatal errors encountered -- cannot continue
[00:00:01] Warning: (devel/py-subversion): Error: Error looking up dependencies for devel/py-subversion
[00:00:01] Error: /usr/local/share/poudriere/testport.sh:gather_port_vars:183:Fatal errors encountered gathering ports metadata
[15amd64-default] [2024-09-27_10h24m46s] [crashed] Time: 00:00:00
[00:00:01] Logs: /usr/local/poudriere/data/logs/bulk/15amd64-default/2024-09-27_10h24m46s
[00:00:01] WWW: http://pkg.ftfl.ca/build.html?mastername=15amd64-default&build=2024-09-27_10h24m46s
[00:00:01] Cleaning up
15amd64-default: removed
15amd64-default-n: removed
[00:00:01] Unmounting file systems
In D46807#1067249, @jrm wrote:

FYI, when I was testing, I set WITH_SUBVERSION_VER to lts instead of LTS and it wasn't handled as would be expected after a look in devel/subversion/Makefile.addons.

jrm@ser /usr/local/etc/poudriere.d % s poudriere testport -i -j 15amd64 devel/py-subversion
[00:00:00] Creating the reference jail... done
[00:00:00] Mounting system devices for 15amd64-default
[00:00:00] Stashing existing package repository
[00:00:00] Mounting ccache from: /usr/local/poudriere/ccache/15amd64
[00:00:00] Mounting ports from: /usr/ports
[00:00:00] Mounting packages from: /usr/local/poudriere/data/packages/15amd64-default
[00:00:00] Mounting distfiles from: /usr/ports/distfiles
[00:00:00] Copying /var/db/ports from: /usr/local/etc/poudriere.d/15amd64-options
[00:00:00] Appending to make.conf: /usr/local/etc/poudriere.d/15amd64-make.conf
/etc/resolv.conf -> /usr/local/poudriere/data/.m/15amd64-default/ref/etc/resolv.conf
[00:00:00] Starting jail 15amd64-default
Updating /var/run/os-release done.
[00:00:00] Will build as nobody:nobody (65534:65534)
[00:00:01] Ports supports: FLAVORS SUBPACKAGES SELECTED_OPTIONS
[00:00:01] Acquiring build logs lock for 15amd64-default... done
[00:00:01] Logs: /usr/local/poudriere/data/logs/bulk/15amd64-default/2024-09-27_10h24m46s
[00:00:01] WWW: http://pkg.ftfl.ca/build.html?mastername=15amd64-default&build=2024-09-27_10h24m46s
[00:00:01] Loading MOVED for /usr/local/poudriere/data/.m/15amd64-default/ref/usr/ports
[00:00:01] Gathering ports metadata
[00:00:01] Warning: (devel/py-subversion): make: "/usr/ports/Mk/bsd.port.mk" line 1859: Malformed conditional (${WITH_PKG} == devel)
[00:00:01] Warning: (devel/py-subversion): in /usr/share/mk/bsd.port.mk:27
[00:00:01] Warning: (devel/py-subversion): in /usr/share/mk/bsd.port.post.mk:4
[00:00:01] Warning: (devel/py-subversion): in /usr/ports/devel/py-subversion/Makefile:34
[00:00:01] Warning: (devel/py-subversion): make: "/usr/ports/Mk/bsd.ccache.mk" line 78: Malformed conditional (!defined(NO_CCACHE_DEPEND) &&  ${PKGORIGIN} != ${PKG_ORIGIN})
[00:00:01] Warning: (devel/py-subversion): in /usr/ports/Mk/bsd.port.mk:2082
[00:00:01] Warning: (devel/py-subversion): in /usr/share/mk/bsd.port.mk:27
[00:00:01] Warning: (devel/py-subversion): in /usr/share/mk/bsd.port.post.mk:4
[00:00:01] Warning: (devel/py-subversion): in /usr/ports/devel/py-subversion/Makefile:34
[00:00:01] Warning: (devel/py-subversion): make: "/usr/ports/Mk/bsd.port.mk" line 3445: Malformed conditional (${PKGORIGIN} == "ports-mgmt/pkg" || ${PKGORIGIN} == "ports-mgmt/pkg-devel")
[00:00:01] Warning: (devel/py-subversion): in /usr/share/mk/bsd.port.mk:27
[00:00:01] Warning: (devel/py-subversion): in /usr/share/mk/bsd.port.post.mk:4
[00:00:01] Warning: (devel/py-subversion): in /usr/ports/devel/py-subversion/Makefile:34
[00:00:01] Warning: (devel/py-subversion): make: Fatal errors encountered -- cannot continue
[00:00:01] Warning: (devel/py-subversion): Error: Error looking up dependencies for devel/py-subversion
[00:00:01] Error: /usr/local/share/poudriere/testport.sh:gather_port_vars:183:Fatal errors encountered gathering ports metadata
[15amd64-default] [2024-09-27_10h24m46s] [crashed] Time: 00:00:00
[00:00:01] Logs: /usr/local/poudriere/data/logs/bulk/15amd64-default/2024-09-27_10h24m46s
[00:00:01] WWW: http://pkg.ftfl.ca/build.html?mastername=15amd64-default&build=2024-09-27_10h24m46s
[00:00:01] Cleaning up
15amd64-default: removed
15amd64-default-n: removed
[00:00:01] Unmounting file systems

I'll create a PR for this.