databases/postgresql-plruby
PL/Ruby procedural language for the PostgreSQL database system
Flavor |
Version |
Run |
OSVersion |
Arch |
License |
Restricted |
Status |
|
|
0.5.4_3 |
350 |
1.0 |
amd64 |
unknown |
0 |
fail |
|
Events
Machine |
Type |
Time |
Message |
Constellation10 |
info |
2019-01-01 12:55:14.438652 |
Test Started |
Constellation10 |
fail |
2019-01-01 12:55:34.591468 |
make build returned non-zero: 1 |
Constellation10 |
fail |
2019-01-01 12:55:34.765463 |
Test complete. |
Log
[1m===> Building for postgresql-plruby-0.5.4_3[0m
--- all ---
--- plruby.o ---
--- plplan.o ---
--- plruby.o ---
compiling plruby.c
--- plplan.o ---
compiling plplan.c
--- plruby.o ---
plruby.c:687:27: warning: implicit declaration of function 'GETSTRUCT' is invalid in C99 [-Wimplicit-function-declaration]
proc = (Form_pg_proc) GETSTRUCT(tuple);
^
plruby.c:687:12: warning: cast to 'Form_pg_proc' (aka 'struct FormData_pg_proc *') from smaller integer type 'int' [-Wint-to-pointer-cast]
proc = (Form_pg_proc) GETSTRUCT(tuple);
^
plruby.c:845:18: warning: cast to 'Form_pg_proc' (aka 'struct FormData_pg_proc *') from smaller integer type 'int' [-Wint-to-pointer-cast]
procStruct = (Form_pg_proc) GETSTRUCT(procTup);
^
plruby.c:899:34: warning: implicit declaration of function 'HeapTupleHeaderGetXmin' is invalid in C99 [-Wimplicit-function-declaration]
(prodesc->fn_xmin == HeapTupleHeaderGetXmin(procTup->t_data)) &&
^
plruby.c:947:19: warning: cast to 'Form_pg_type' (aka 'struct FormData_pg_type *') from smaller integer type 'int' [-Wint-to-pointer-cast]
--- plplan.o ---
plplan.c:156:34: warning: implicit declaration of function 'HeapTupleGetOid' is invalid in C99 [-Wimplicit-function-declaration]
qdesc->argtypes[i] = HeapTupleGetOid(typeTup);
^
plplan.c:157:35: warning: implicit declaration of function 'GETSTRUCT' is invalid in C99 [-Wimplicit-function-declaration]
fpgt = (Form_pg_type) GETSTRUCT(typeTup);
^
plplan.c:157:20: warning: cast to 'Form_pg_type' (aka 'struct FormData_pg_type *') from smaller integer type 'int' [-Wint-to-pointer-cast]
fpgt = (Form_pg_type) GETSTRUCT(typeTup);
^
plplan.c:173:24: warning: cast to 'Form_pg_type' (aka 'struct FormData_pg_type *') from smaller integer type 'int' [-Wint-to-pointer-cast]
fpgt = (Form_pg_type) GETSTRUCT(typeTuple);
^
plplan.c:186:28: warning: cast to 'Form_pg_type' (aka 'struct FormData_pg_type *') from smaller integer type 'int' [-Wint-to-pointer-cast]
--- plruby.o ---
typeStruct = (Form_pg_type) GETSTRUCT(typeTup);
^
plruby.c:1013:16: warning: cast to 'Form_pg_type' (aka 'struct FormData_pg_type *') from smaller integer type 'int' [-Wint-to-pointer-cast]
typeStruct = (Form_pg_type) GETSTRUCT(typeTuple);
^
plruby.c:1039:16: warning: cast to 'Form_pg_type' (aka 'struct FormData_pg_type *') from smaller integer type 'int' [-Wint-to-pointer-cast]
typeStruct = (Form_pg_type) GETSTRUCT(typeTup);
^
plruby.c:1063:20: warning: cast to 'Form_pg_type' (aka 'struct FormData_pg_type *') from smaller integer type 'int' [-Wint-to-pointer-cast]
typeStruct = (Form_pg_type) GETSTRUCT(typeTuple);
^
plruby.c:1200:11: warning: cast to 'Form_pg_type' (aka 'struct FormData_pg_type *') from smaller integer type 'int' [-Wint-to-pointer-cast]
fpg = (Form_pg_type) GETSTRUCT(typeTup);
^
--- plplan.o ---
fmgr_info(((Form_pg_type) GETSTRUCT(typeTup))->typinput,
^
plplan.c:188:44: warning: cast to 'Form_pg_type' (aka 'struct FormData_pg_type *') from smaller integer type 'int' [-Wint-to-pointer-cast]
qdesc->arglen[i] = (int) (((Form_pg_type) GETSTRUCT(typeTup))->typlen);
^
--- plruby.o ---
plruby.c:1216:15: warning: cast to 'Form_pg_type' (aka 'struct FormData_pg_type *') from smaller integer type 'int' [-Wint-to-pointer-cast]
fpg = (Form_pg_type) GETSTRUCT(typeTup);
^
plruby.c:1264:36: error: incomplete definition of type 'struct RelationData'
tupdesc = trigdata->tg_relation->rd_att;
~~~~~~~~~~~~~~~~~~~~~^
/usr/local/include/postgresql/server/utils/relcache.h:21:16: note: forward declaration of 'struct RelationData'
typedef struct RelationData *Relation;
^
plruby.c:1275:57: error: incomplete definition of type 'struct RelationData'
DFC1(nameout, NameGD(&(trigdata->tg_relation->rd_rel->relname))));
~~~~~~~~~~~~~~~~~~~~~^
./plruby.h:318:33: note: expanded from macro 'NameGD'
#define NameGD(a_) NameGetDatum(a_)
^
/usr/local/include/postgresql/server/postgres.h:603:41: note: expanded from macro 'NameGetDatum'
#define NameGetDatum(X) PointerGetDatum(X)
^
/usr/local/include/postgresql/server/postgres.h:564:38: note: expanded from macro 'PointerGetDatum'
#define PointerGetDatum(X) ((Datum) (X))
^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
/usr/local/include/postgresql/server/fmgr.h:556:44: note: expanded from macro 'DirectFunctionCall1'
DirectFunctionCall1Coll(func, InvalidOid, arg1)
^
/usr/local/include/postgresql/server/postgres.h:574:54: note: expanded from macro 'DatumGetCString'
#define DatumGetCString(X) ((char *) DatumGetPointer(X))
^
/usr/local/include/postgresql/server/postgres.h:557:40: note: expanded from macro 'DatumGetPointer'
#define DatumGetPointer(X) ((Pointer) (X))
^
/usr/local/include/postgresql/server/utils/relcache.h:21:16: note: forward declaration of 'struct RelationData'
typedef struct RelationData *Relation;
^
plruby.c:1281:70: error: incomplete definition of type 'struct RelationData'
stroid = DatumGetCString(DFC1(oidout, OidGD(trigdata->tg_relation->rd_id)));
~~~~~~~~~~~~~~~~~~~~~^
./plruby.h:316:36: note: expanded from macro 'OidGD'
#define OidGD(a_) ObjectIdGetDatum(a_)
^
/usr/local/include/postgresql/server/postgres.h:515:50: note: expanded from macro 'ObjectIdGetDatum'
#define ObjectIdGetDatum(X) ((Datum) SET_4_BYTES(X))
^
/usr/local/include/postgresql/server/postgres.h:388:39: note: expanded from macro 'SET_4_BYTES'
#define SET_4_BYTES(value) (((Datum) (value)) & 0xffffffff)
^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
/usr/local/include/postgresql/server/fmgr.h:556:44: note: expanded from macro 'DirectFunctionCall1'
DirectFunctionCall1Coll(func, InvalidOid, arg1)
^
/usr/local/include/postgresql/server/postgres.h:574:54: note: expanded from macro 'DatumGetCString'
#define DatumGetCString(X) ((char *) DatumGetPointer(X))
^
/usr/local/include/postgresql/server/postgres.h:557:40: note: expanded from macro 'DatumGetPointer'
#define DatumGetPointer(X) ((Pointer) (X))
^
/usr/local/include/postgresql/server/utils/relcache.h:21:16: note: forward declaration of 'struct RelationData'
typedef struct RelationData *Relation;
^
10 warnings and 3 errors generated.
*** [plruby.o] Error code 1
make[2]: stopped in /magus/work/usr/mports/databases/postgresql-plruby/work/postgresql-plruby-f8d9ced/src
--- plplan.o ---
6 warnings generated.
1 error
make[2]: stopped in /magus/work/usr/mports/databases/postgresql-plruby/work/postgresql-plruby-f8d9ced/src
*** [all] Error code 2
make[1]: stopped in /magus/work/usr/mports/databases/postgresql-plruby/work/postgresql-plruby-f8d9ced
1 error
make[1]: stopped in /magus/work/usr/mports/databases/postgresql-plruby/work/postgresql-plruby-f8d9ced
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/mports/databases/postgresql-plruby