Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528584 - emerge --config =dev-db/postgis-2.1.4 fails check for Postgresql 9.4.x
Summary: emerge --config =dev-db/postgis-2.1.4 fails check for Postgresql 9.4.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-07 19:47 UTC by Mark Gannon
Modified: 2014-11-08 15:37 UTC (History)
0 users

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


Attachments
emerge --info output (info.txt,5.23 KB, text/plain)
2014-11-07 19:47 UTC, Mark Gannon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Gannon 2014-11-07 19:47:40 UTC
Created attachment 388800 [details]
emerge --info output

With postgis-2.1.1 and postgis-2.1.4 running the recommended configuration command:

emerge --config =dev-db/postgis-2.1.4

Results in: 

Configuring pkg...

 * Password for PostgreSQL user 'postgres': 
 * Server version must be 9.4.x
 * ERROR: dev-db/postgis-2.1.4::gentoo failed (config phase):
 *   Server version isn't 9.4.x
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called pkg_config
 *   environment, line 2712:  Called die
 * The specific snippet of code:
 *               die "Server version isn't ${PGSLOT}.x";
 * 
 
eselect postgresql list reports: 

  9.3                        server-9.3.5 base-9.3.5
  9.4 *                      server-9.4_beta3 base-9.4_beta3
Comment 1 Aaron W. Swenson gentoo-dev 2014-11-07 22:19:46 UTC
What's the output of:

  /etc/init.d/postgresql-9.4 status

And the output of:

  psql -U postgres -d postgres -c 'SELECT version();'
Comment 2 Aaron W. Swenson gentoo-dev 2014-11-07 22:30:29 UTC
(In reply to Aaron W. Swenson from comment #1)
> What's the output of:
> 
>   /etc/init.d/postgresql-9.4 status
> 
> And the output of:
> 
>   psql -U postgres -d postgres -c 'SELECT version();'

Never mind, I see the problem.
Comment 3 Aaron W. Swenson gentoo-dev 2014-11-08 12:52:25 UTC
08 Nov 2014; Aaron W. Swenson <titanofold@gentoo.org> postgis-2.0.6.ebuild,
postgis-2.1.4.ebuild:
Fix bug 528584. Use grep instead of cut.
Comment 4 Mark Gannon 2014-11-08 15:37:23 UTC
That fixes the problem for me.  Thanks for the quick work!