Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580090 - dev-db/pgadmin3-1.22.1 should depend on x11-libs/wxGTK-3.0.2.0-r2
Summary: dev-db/pgadmin3-1.22.1 should depend on x11-libs/wxGTK-3.0.2.0-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-15 14:02 UTC by Josh Holmer
Modified: 2016-05-17 11:03 UTC (History)
3 users (show)

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


Attachments
grep '' /var/db/pkg/dev-db/pgadmin3-1.22.1/{*DEPEND,NEEDED*} (vardb.txt,1.16 KB, text/plain)
2016-04-18 17:08 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Holmer 2016-04-15 14:02:31 UTC
After a system upgrade this morning, portage had installed x11-libs/wxGTK-3.0.2.0-r300 in a new slot, then depclean removed x11-libs/wxGTK-3.0.2.0-r2. This produced a number of preserved libs notifications for dev-db/pgadmin3-1.22.1. Upon attempting emerge @preserved-rebuild, dev-db/pgadmin3-1.22.1 fails to build, with the following error message:

* ERROR: dev-db/pgadmin3-1.22.1::gentoo failed (configure phase):
 *   Failed to find configuration base-unicode-3.0
 *
 * Call stack:
 *     ebuild.sh, line  133:  Called src_configure
 *   environment, line 2438:  Called need-wxwidgets 'unicode'
 *   environment, line 2044:  Called setup-wxwidgets
 *   environment, line 2422:  Called die
 * The specific snippet of code:
 *       [[ ! -f ${EPREFIX}/usr/$(get_libdir)/wx/config/${wxconf} ]] && die "Failed to find configuration ${wxconf}";
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2016-04-18 17:08:00 UTC
Created attachment 431148 [details]
grep '' /var/db/pkg/dev-db/pgadmin3-1.22.1/{*DEPEND,NEEDED*}

its linking against the "old" one when a "new" one is present, but DEPEND slot-binding is assuming it bound to the "new" one.
Comment 2 Aaron W. Swenson gentoo-dev 2016-04-21 13:46:39 UTC
Actually it's because wxwidgets devs are doing weird stuff with the slotting and eclass.

I've a fix to commit later today.
Comment 3 Erich Seifert 2016-05-01 09:56:49 UTC
Have you committed the fix yet?
Comment 4 Aaron W. Swenson gentoo-dev 2016-05-17 11:03:53 UTC
Sorry for the delay on this. I was trying to get PgAdmin to work with GTK+3. It doesn't.

commit 5b269bde2f90f91549bf292abbea4843a95b6e94
Author: Aaron W. Swenson <titanofold@gentoo.org>
Date:   Tue May 17 07:01:38 2016 -0400

    dev-db/pgadmin3: Fix build issues with x11-libs/wxGTK
    
    Changed and fixed dependency to the 3.0 slot as older slots are going
    away soon, and PgAdmin is currently incompatible with GTK+3.
    
    Bug: 575270, 580090
    
    Package-Manager: portage-2.2.26