Skip to content

PostgreSQL 11 build issue #54

Closed
Closed
@devrimgunduz

Description

@devrimgunduz

Hi,
I'm getting this on my Fedora 28 box, against PostgreSQL 11:
`

  • /usr/bin/make -j4
    hll.c: In function 'setup_multiset':
    hll.c:2760:64: error: macro "AllocSetContextCreate" passed 5 arguments, but takes just 3
    ALLOCSET_DEFAULT_MAXSIZE);
    ^
    hll.c:2756:18: error: 'AllocSetContextCreate' undeclared (first use in this function); did you mean 'SlabContextCreate'?
    tmpcontext = AllocSetContextCreate(rcontext,
    ^~~~~~~~~~~~~~~~~~~~~
    SlabContextCreate
    hll.c:2756:18: note: each undeclared identifier is reported only once for each function it appears in
    make[1]: *** [: hll.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    hll.c:2759:40: error: too many arguments provided to function-like macro invocation
    ALLOCSET_DEFAULT_INITSIZE,
    ^
    /usr/pgsql-11/include/server/utils/memutils.h:165:9: note: macro 'AllocSetContextCreate' defined here
    #define AllocSetContextCreate(parent, name, allocparams)
    ^
    hll.c:2756:18: error: use of undeclared identifier 'AllocSetContextCreate'
    tmpcontext = AllocSetContextCreate(rcontext,
    ^
    2 errors generated.
    make[1]: *** [/usr/pgsql-11/lib/pgxs/src/makefiles/../../src/Makefile.global:1009: hll.bc] Error 1
    error: Bad exit status from /var/tmp/rpm-tmp.0j1PDS (%build)
    Bad exit status from /var/tmp/rpm-tmp.0j1PDS (%build)
    rpmsign: no arguments given
    make: *** [../../../common/Makefile.global-PG11:28: build11] Error 1`

Can you please take a look?

Regards, Devrim

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions