Bug 271084

Summary: databases/pg_partman: fails in package phase
Product: Ports & Packages Reporter: Ivan <bsd>
Component: Individual Port(s)Assignee: Muhammad Moinur Rahman <bofh>
Status: Closed FIXED    
Severity: Affects Only Me CC: bofh, fernape, lacey.leanne
Priority: --- Flags: bugzilla: maintainer-feedback? (lacey.leanne)
Version: Latest   
Hardware: Any   
OS: Any   

Description Ivan 2023-04-26 19:25:36 UTC
pg_partman is broken after a40c0e7

I briefly examined the commit and looks the logic was inverted accidentally - python utilities was for pg < 10, but now they try to install.

===>  Building package for pg_partman-4.6.0
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/pg_partman/work/stage/usr/local/bin/partition_data.py:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/pg_partman/work/stage/usr/local/bin/reapply_constraints.py:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/pg_partman/work/stage/usr/local/bin/reapply_foreign_keys.py:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/pg_partman/work/stage/usr/local/bin/undo_partition.py:No such file or directory
*** Error code 1
Comment 1 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-04-29 18:27:42 UTC
Yes indeed. My mistake. Will fix in my next batch of commits.
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-04-29 22:52:51 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=91f22aab17707a3edc61f6743ee14c7f83198036

commit 91f22aab17707a3edc61f6743ee14c7f83198036
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-04-29 21:17:55 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-04-29 22:51:59 +0000

    databases/pg_partman: Fix build and pkg-plist

    PLIST_SUB logic was inverted accidentally - python utilities was for pg
    < 10, but now they try to install.

    PR:             271084
    Reported by:    bsd@abinet.ru
    Approved by:    portmgr (blanket)
    Fixes:      a40c0e7 Remove pointers to EOLed pgsql versions

 databases/pg_partman/pkg-plist | 4 ----
 1 file changed, 4 deletions(-)