[Bug 217874] databases/postresql96-client: add pg_regress

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 17 18:15:26 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217874

            Bug ID: 217874
           Summary: databases/postresql96-client: add pg_regress
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: amdmi3 at FreeBSD.org

Created attachment 180909
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180909&action=edit
Patch

So, I'm developing a postgresql extension. It builds and installs fine:

% gmake install
/bin/mkdir -p '/usr/local/lib/postgresql'
/bin/mkdir -p '/usr/local/share/postgresql/extension'
/bin/mkdir -p '/usr/local/share/postgresql/extension'
/usr/bin/install -c -m 755  libversion.so
'/usr/local/lib/postgresql/libversion.so'
/usr/bin/install -c -m 644 .//libversion.control
'/usr/local/share/postgresql/extension/'
/usr/bin/install -c -m 644 .//libversion--1.0.0.sql 
'/usr/local/share/postgresql/extension/'

however running a test fails:

% sudo gmake installcheck
/usr/local/lib/postgresql/pgxs/src/makefiles/../../src/test/regress/pg_regress
--inputdir=./ --bindir='/usr/local/bin'    --dbname=contrib_regression
libversion_test
gmake:
/usr/local/lib/postgresql/pgxs/src/makefiles/../../src/test/regress/pg_regress:
Command not found
gmake: *** [/usr/local/lib/postgresql/pgxs/src/makefiles/pgxs.mk:272:
installcheck] Error 127

because pg_regress binary is not installed. I think we need to install it. The
attached patch fixes it.

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


More information about the freebsd-ports-bugs mailing list