Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 2020 08:13:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 251093] databases/postgresql95-server: does not compile on 11.4 amd64
Message-ID:  <bug-251093-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251093

            Bug ID: 251093
           Summary: databases/postgresql95-server: does not compile on
                    11.4 amd64
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pgsql@FreeBSD.org
          Reporter: vas@sibptus.ru
          Assignee: pgsql@FreeBSD.org
             Flags: maintainer-feedback?(pgsql@FreeBSD.org)
 Attachment #219626 text/plain
         mime type:

Created attachment 219626
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D219626&action=
=3Dedit
Poudriere log

The databases/postgresql95-server port does not compile on 11.4 amd64 (comp=
iler
error in poudriere). Attached please find the complete poudriere build log.




protector-strong -fno-strict-aliasing  -I../../../src/include
-I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include
-I/usr/local/include -I/usr/local/include  -c -o dbcommands.o dbcommands.c
dbcommands.c:531:20: warning: incompatible pointer types passing 'bool [13]=
' to
parameter of type 'bool *' (aka 'char *') [-Wincompatible-pointer-types]
                                                        new_record,
new_record_nulls);
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
^~~~~~~~~~~~~~~~
../../../src/include/access/htup_details.h:802:26: note: passing argument to
parameter 'isnull' here
                                Datum *values, bool *isnull);
                                                     ^
dbcommands.c:770:1: error: conflicting types for 'dropdb'
dropdb(const char *dbname, bool missing_ok)
^
../../../src/include/commands/dbcommands.h:23:13: note: previous declaratio=
n is
here
extern void dropdb(const char *dbname, bool missing_ok);
            ^
dbcommands.c:1268:11: warning: incompatible pointer types passing 'bool [13=
]'
to parameter of type 'bool *' (aka 'char *') [-Wincompatible-pointer-types]
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
new_record_nulls, new_record_repl);
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
^~~~~~~~~~~~~~~~
../../../src/include/access/htup_details.h:806:13: note: passing argument to
parameter 'replIsnull' here
                                  bool *replIsnull,
                                        ^
dbcommands.c:1268:29: warning: incompatible pointer types passing 'bool [13=
]'
to parameter of type 'bool *' (aka 'char *') [-Wincompatible-pointer-types]
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
new_record_nulls, new_record_repl);
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
           ^~~~~~~~~~~~~~~
../../../src/include/access/htup_details.h:807:13: note: passing argument to
parameter 'doReplace' here
                                  bool *doReplace);
                                        ^
dbcommands.c:1367:1: error: conflicting types for 'AlterDatabase'
AlterDatabase(AlterDatabaseStmt *stmt, bool isTopLevel)
^
../../../src/include/commands/dbcommands.h:25:12: note: previous declaratio=
n is
here
extern Oid      AlterDatabase(AlterDatabaseStmt *stmt, bool isTopLevel);
                ^
dbcommands.c:1520:10: warning: incompatible pointer types passing 'bool [13=
]'
to parameter of type 'bool *' (aka 'char *') [-Wincompatible-pointer-types]
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
new_record_nulls, new_record_repl);
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
^~~~~~~~~~~~~~~~
../../../src/include/access/htup_details.h:806:13: note: passing argument to
parameter 'replIsnull' here
                                  bool *replIsnull,
                                        ^
dbcommands.c:1520:28: warning: incompatible pointer types passing 'bool [13=
]'
to parameter of type 'bool *' (aka 'char *') [-Wincompatible-pointer-types]
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
new_record_nulls, new_record_repl);
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
   ^~~~~~~~~~~~~~~
../../../src/include/access/htup_details.h:807:13: note: passing argument to
parameter 'doReplace' here
                                  bool *doReplace);
                                        ^
dbcommands.c:1646:14: warning: incompatible pointer types passing 'bool *' =
to
parameter of type 'bool *' (aka 'char *') [-Wincompatible-pointer-types]
                aclDatum =3D heap_getattr(tuple,
                           ^~~~~~~~~~~~~~~~~~~
../../../src/include/access/htup_details.h:782:50: note: expanded from macro
'heap_getattr'
                        heap_getsysattr((tup), (attnum), (tupleDesc), (isnu=
ll))
\
                                                                      ^~~~~=
~~~
../../../src/include/access/htup_details.h:797:11: note: passing argument to
parameter 'isnull' here
                                bool *isnull);
                                      ^
dbcommands.c:1658:72: warning: incompatible pointer types passing 'bool [13=
]'
to parameter of type 'bool *' (aka 'char *') [-Wincompatible-pointer-types]
                newtuple =3D heap_modify_tuple(tuple, RelationGetDescr(rel),
repl_val, repl_null, repl_repl);
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
     ^~~~~~~~~
../../../src/include/access/htup_details.h:806:13: note: passing argument to
parameter 'replIsnull' here
                                  bool *replIsnull,
                                        ^
dbcommands.c:1658:83: warning: incompatible pointer types passing 'bool [13=
]'
to parameter of type 'bool *' (aka 'char *') [-Wincompatible-pointer-types]
                newtuple =3D heap_modify_tuple(tuple, RelationGetDescr(rel),
repl_val, repl_null, repl_repl);
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
                ^~~~~~~~~
../../../src/include/access/htup_details.h:807:13: note: passing argument to
parameter 'doReplace' here
                                  bool *doReplace);
                                        ^
dbcommands.c:1977:1: error: conflicting types for 'get_database_oid'
get_database_oid(const char *dbname, bool missing_ok)
^
../../../src/include/commands/dbcommands.h:29:12: note: previous declaratio=
n is
here
extern Oid      get_database_oid(const char *dbname, bool missingok);
                ^
8 warnings and 3 errors generated.
gmake[1]: *** [<builtin>: dbcommands.o] Error 1
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/databases/postgresql95-server/work/postgresql-9.5.23/sr=
c/backend/commands'
gmake: *** [common.mk:41: commands-recursive] Error 2
*** Error code 2

Stop.
make: stopped in /usr/ports/databases/postgresql95-server
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for postgresql95-server-9.5.23
build of databases/postgresql95-server | postgresql95-server-9.5.23 ended at
Fri Nov 13 01:05:49 MST 2020
build time: 00:03:18
!!! build failure encountered !!!

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251093-7788>