Bug 271084 - databases/pg_partman: fails in package phase
Summary: databases/pg_partman: fails in package phase
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-26 19:25 UTC by Ivan
Modified: 2023-04-29 22:55 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (lacey.leanne)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)