postgresql-plpython fails to build

Ruslan Makhmatkhanov cvs-src at yandex.ru
Tue Jan 15 12:03:39 UTC 2013


Johan Hendriks wrote on 15.01.2013 15:32:
> I need the port postgresql-plpython for my baruwa install.
>
> But it will not install or build.
> I have postgresql92-server installed, with the default options.
>
> the error i get is
>
> ===>  Building for postgresql-plpython-9.2.2_2
> prereqdir=`cd 'parser/' >/dev/null && pwd` && \
>    cd '../../src/include/parser/' && rm -f gram.h && \
>    ln -s "$prereqdir/gram.h" .
> prereqdir=`cd 'utils/' >/dev/null && pwd` && \
>    cd '../../src/include/utils/' && rm -f fmgroids.h && \
>    ln -s "$prereqdir/fmgroids.h" .
> gmake -C utils probes.h
> gmake[1]: Entering directory
> `/usr/ports/databases/postgresql-plpython/work/postgresql-9.2.2/src/backend/utils'
>
> sed -f ./Gen_dummy_probes.sed probes.d >probes.h
> gmake[1]: Leaving directory
> `/usr/ports/databases/postgresql-plpython/work/postgresql-9.2.2/src/backend/utils'
>
> cd '../../src/include/utils/' && rm -f probes.h && \
>      ln -s "../../../src/backend/utils/probes.h" .
> cc -O2 -pipe -march=core2 -fno-strict-aliasing -Wall
> -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
> -Wendif-labels -Wmissing-format-attribute -Wformat-security
> -fno-strict-aliasing -fwrapv -fPIC -DPIC -I. -I.
> -I/usr/local/include/python2.7 -I../../../src/include
> -I/usr/local/include -I/usr/local/include  -c -o plpy_cursorobject.o
> plpy_cursorobject.c
> In file included from ../../../src/include/postgres.h:48,
>                   from plpy_cursorobject.c:7:
> ../../../src/include/utils/elog.h:69:28: error: utils/errcodes.h: No
> such file or directory
> gmake: *** [plpy_cursorobject.o] Error 1
> *** [do-build] Error code 2
>
>
> anyone knows how to overcome the error!
>
> regards
> Johan

Good day, I working on fix. Since this touches many versions of 
PostgreSQL, it's need some time for proper testing. Fixes will bring 
into ports tree until the end of this week.

There is also two related pr's about this:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/166999
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/174152

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.


More information about the freebsd-ports mailing list