Bug 239639

Summary: databases/postgresql-plruby: Unbreak build with PostgreSQL 11
Product: Ports & Packages Reporter: Tobias Kortkamp <tobik>
Component: Individual Port(s)Assignee: Akinori MUSHA <knu>
Status: Closed FIXED    
Severity: Affects Only Me CC: knu
Priority: --- Keywords: needs-qa, patch
Version: LatestFlags: bugzilla: maintainer-feedback? (knu)
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 239514    
Attachments:
Description Flags
postgresql-plruby.diff
none
postgresql-plruby.diff tobik: maintainer-approval? (knu)

Description Tobias Kortkamp freebsd_committer freebsd_triage 2019-08-04 04:54:57 UTC
Created attachment 206266 [details]
postgresql-plruby.diff

This is with DEFAULT_VERSIONS+=pgsql=11 in make.conf and blocks making it
the default.

============================================================
PostgreSQL 11.4
 is unsupported.  Try plruby-0.4.2.
============================================================
*** Error code 1

http://package18.nyi.freebsd.org/data/120amd64-default-PR239514/2019-07-29_20h41m52s/logs/postgresql-plruby-0.5.7_4.log

but there are also other issues.  The attached fixes the build with 11 but
I cannot speak for runtime.  Can you check?
Comment 1 Tobias Kortkamp freebsd_committer freebsd_triage 2019-08-05 05:17:44 UTC
Created attachment 206287 [details]
postgresql-plruby.diff

- Also add DEPRECATED and EXPIRATION_DATE to the port since it seems to have
  been abandoned in 2010.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-08-18 13:24:08 UTC
A commit references this bug:

Author: tobik
Date: Sun Aug 18 13:23:41 UTC 2019
New revision: 509207
URL: https://svnweb.freebsd.org/changeset/ports/509207

Log:
  databases/postgresql-plruby: Unbreak build with PostgreSQL 11

  ============================================================
  PostgreSQL 11.4
   is unsupported.  Try plruby-0.4.2.
  ============================================================
  *** Error code 1

  http://package18.nyi.freebsd.org/data/120amd64-default-PR239514/2019-07-29_20h41m52s/logs/postgresql-plruby-0.5.7_4.log

  While here deprecate it since it seems to have been abandoned in
  2010.

  PR:		239639
  Approved by:	knu (maintainer timeout, 2 weeks)

Changes:
  head/databases/postgresql-plruby/Makefile
  head/databases/postgresql-plruby/files/patch-extconf.rb
  head/databases/postgresql-plruby/files/patch-src_plpl.c
  head/databases/postgresql-plruby/files/patch-src_plruby.c