Bug 1334706 - [rh-postgresql95] The *-test subpackage is not working correctly
Summary: [rh-postgresql95] The *-test subpackage is not working correctly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: rh-postgresql95
Version: rh-postgresql95
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 2.2
Assignee: Pavel Raiskup
QA Contact: Jakub Prokes
URL:
Whiteboard:
Depends On: 1334276
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-10 11:47 UTC by Pavel Raiskup
Modified: 2016-05-31 10:23 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1334276
Environment:
Last Closed: 2016-05-31 10:23:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1165 0 normal SHIPPED_LIVE new packages: rh-postgresql95 2016-05-31 14:04:38 UTC

Description Pavel Raiskup 2016-05-10 11:47:11 UTC
+++ This bug was initially created as a clone of Bug #1334276 +++

This happens because we don't change the --psqldir in
$pg_regress_installcheck variable in Makefile.regress.

This issue is in all collections;  for postgresql92 on RHEL7 it is not that
obvious if system-default postgresql-libs package is installed because the SCL
version of postgresql matches the system-default version (9.2).  For that
reason the testsuite passes.

The fix should be:
-pg_regress_installcheck = ./pg_regress --inputdir=$(srcdir) --psqldir='/usr/bin' $(pg_regress_locale_flags)
+pg_regress_installcheck = ./pg_regress --inputdir=$(srcdir) --psqldir='/opt/rh/rh-postgresql94/root/usr/bin' $(pg_regress_locale_flags)

Comment 7 errata-xmlrpc 2016-05-31 10:23:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1165


Note You need to log in before you can comment on or make changes to this bug.