Bug 239611 - databases/pldebugger: Fails to build with PostgreSQL 11
Summary: databases/pldebugger: Fails to build with PostgreSQL 11
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-03 09:41 UTC by Tobias Kortkamp
Modified: 2019-08-17 19:51 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (amdmi3)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Kortkamp freebsd_committer 2019-08-03 09:41:12 UTC
plpgsql_debugger.c:367:10: error: use of undeclared identifier 'PLPGSQL_DTYPE_EXPR'; did you mean 'PLPGSQL_DTYPE_VAR'?
                                case PLPGSQL_DTYPE_EXPR:
                                     ^~~~~~~~~~~~~~~~~~
                                     PLPGSQL_DTYPE_VAR
/usr/local/include/postgresql/server/plpgsql.h:62:2: note: 'PLPGSQL_DTYPE_VAR' declared here
        PLPGSQL_DTYPE_VAR,
        ^
plpgsql_debugger.c:367:10: error: duplicate case value 'PLPGSQL_DTYPE_VAR'
                                case PLPGSQL_DTYPE_EXPR:
                                     ^
plpgsql_debugger.c:311:10: note: previous case defined here
                                case PLPGSQL_DTYPE_VAR:
                                     ^
plpgsql_debugger.c:550:9: error: use of undeclared identifier 'PLPGSQL_DTYPE_EXPR'; did you mean 'PLPGSQL_DTYPE_VAR'?
                        case PLPGSQL_DTYPE_EXPR:
                             ^~~~~~~~~~~~~~~~~~
                             PLPGSQL_DTYPE_VAR
/usr/local/include/postgresql/server/plpgsql.h:62:2: note: 'PLPGSQL_DTYPE_VAR' declared here
        PLPGSQL_DTYPE_VAR,
        ^
etc.

http://package18.nyi.freebsd.org/data/120amd64-default-PR239514/2019-07-29_20h41m52s/logs/pldebugger-1.0_2,1.log
Comment 1 commit-hook freebsd_committer 2019-08-17 19:50:51 UTC
A commit references this bug:

Author: tobik
Date: Sat Aug 17 19:50:25 UTC 2019
New revision: 509165
URL: https://svnweb.freebsd.org/changeset/ports/509165

Log:
  databases/pldebugger does not build with PostgreSQL 11

  plpgsql_debugger.c:367:10: error: use of undeclared identifier 'PLPGSQL_DTYPE_EXPR'; did you mean 'PLPGSQL_DTYPE_VAR'?
                                  case PLPGSQL_DTYPE_EXPR:
                                       ^~~~~~~~~~~~~~~~~~
                                       PLPGSQL_DTYPE_VAR
  /usr/local/include/postgresql/server/plpgsql.h:62:2: note: 'PLPGSQL_DTYPE_VAR' declared here
          PLPGSQL_DTYPE_VAR,
          ^
  plpgsql_debugger.c:367:10: error: duplicate case value 'PLPGSQL_DTYPE_VAR'
                                  case PLPGSQL_DTYPE_EXPR:
                                       ^
  plpgsql_debugger.c:311:10: note: previous case defined here
                                  case PLPGSQL_DTYPE_VAR:
                                       ^
  plpgsql_debugger.c:550:9: error: use of undeclared identifier 'PLPGSQL_DTYPE_EXPR'; did you mean 'PLPGSQL_DTYPE_VAR'?
                          case PLPGSQL_DTYPE_EXPR:
                               ^~~~~~~~~~~~~~~~~~
                               PLPGSQL_DTYPE_VAR
  /usr/local/include/postgresql/server/plpgsql.h:62:2: note: 'PLPGSQL_DTYPE_VAR' declared here
          PLPGSQL_DTYPE_VAR,
          ^
  etc.

  http://package18.nyi.freebsd.org/data/120amd64-default-PR239514/2019-07-29_20h41m52s/logs/pldebugger-1.0_2,1.log

  PR:		239611

Changes:
  head/databases/pldebugger/Makefile
Comment 2 Tobias Kortkamp freebsd_committer 2019-08-17 19:51:33 UTC
Limited to pgsql < 11 to unblock bug #239514.