Wednesday, November 01, 2017

Re: OpenBSD ports: PostgreSQL PL/R

Jeremy Evans wrote:
> Indeed. I worked on a port for PL/R during p2k12, but it never received an
> OK and didn't get committed:
>
> https://marc.info/?l=openbsd-ports&m=134987038209838&w=2
>
> If anyone wants to give a shot at updating that port or submitting a new
> port for PL/R within a week, I'll be happy to review it.

Based on your existing work it was easy to update (see attachment).

"OK feinerer@" if you want to import it after your review.

Remarks:

- I had to increase openfiles in login.conf (as suggested in the "Tuning for
busy servers" section of databases/postgresql/pkg/README-server) so that R
is able to initialize. I do not know if that is worth a pkg/MESSAGE. Your
original note in your pkg/MESSAGE on pthread seems no issue any longer.

- "make port-lib-depends-check" reports

Bogus WANTLIB: R.33 (/usr/local/lib/postgresql/plr.so) (NOT REACHABLE)

I *think* this is fine in this case because of the RPATH mangling (and there
is a proper LIB_DEPENDS).

Works fine for me on amd64 (tested with "CREATE EXTENSION plr;" and then
several examples from expected/plr.out (located in $WRKDIST after "make extract")).

Best regards,
Ingo

No comments:

Post a Comment