Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835753 - dev-db/pgtap-1.2.0-r1 does not install into multiple POSTGRES_TARGETS
Summary: dev-db/pgtap-1.2.0-r1 does not install into multiple POSTGRES_TARGETS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-21 18:03 UTC by Frank Limpert
Modified: 2022-03-22 14:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Limpert 2022-03-21 18:03:13 UTC
I've got three differnt postgresql versions in parallel on my test machine. Therefore, I have the following in /etc/portage/package.use

*/* POSTGRES_TARGETS: -* postgres13 postgres10 postgres14

Until the package version mentioned above pgtap always installed into all three server installations. Now it only installs in
 /usr/share/postgresql-10/extension


Reproducible: Always

Steps to Reproduce:
1. Multiple PostgreSQL versions installed
2. Multiple POSTGRES_TARGETS in package.use
3. emerge dev-db/pgtap
Actual Results:  
Installs only in one extension directory.

Expected Results:  
Installs in every extension directory of the postgresql versions mentioned in POSTGRES_TARGETS.

# eselect postgresql list
Available PostgreSQL Slots
  10                        10.20
  13 *                      13.6
  14                        14.2
Comment 1 Aaron W. Swenson gentoo-dev 2022-03-22 14:32:57 UTC
master origin/master 5d0b5920fb265d4f66ca6222e17412604c8bb2fd
Author:     Aaron W. Swenson <titanofold@gentoo.org>
AuthorDate: Tue Mar 22 10:28:53 2022 -0400
Commit:     Aaron W. Swenson <titanofold@gentoo.org>
CommitDate: Tue Mar 22 10:28:53 2022 -0400

Parent:     aedf6a8d9ca dev-lang/spidermonkey: drop 91.7.0
Merged:     master
Contained:  master

dev-db/pgtap: Correct src_install

src_install called default when it should have been postgres-multi_src_install.

Close: https://bugs.gentoo.org/835753
Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>

1 file changed, 38 insertions(+)
dev-db/pgtap/pgtap-1.2.0-r2.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
Comment 2 Larry the Git Cow gentoo-dev 2022-03-22 14:34:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6e199e2a6c25f5c49410d3614e46a9e91984f63

commit a6e199e2a6c25f5c49410d3614e46a9e91984f63
Author:     Aaron W. Swenson <titanofold@gentoo.org>
AuthorDate: 2022-03-22 14:33:38 +0000
Commit:     Aaron W. Swenson <titanofold@gentoo.org>
CommitDate: 2022-03-22 14:33:38 +0000

    dev-db/pgtap: Remove broken 1.2.0-r1
    
    Bug: https://bugs.gentoo.org/835753
    Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>

 dev-db/pgtap/pgtap-1.2.0-r1.ebuild | 38 --------------------------------------
 1 file changed, 38 deletions(-)