Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485918 - dev-db/pgmemcache-2.1.2 version bump
Summary: dev-db/pgmemcache-2.1.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-25 05:18 UTC by Johan Bergström
Modified: 2014-02-26 05:40 UTC (History)
1 user (show)

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


Attachments
pgmemcache-2.1.1.ebuild (pgmemcache-2.1.1.ebuild,660 bytes, text/plain)
2013-09-25 05:18 UTC, Johan Bergström
Details
2.1.1-no-git-dep.patch (2.1.1-no-git-dep.patch,416 bytes, patch)
2013-09-25 05:18 UTC, Johan Bergström
Details | Diff
pgmemcached-2.1.2.ebuild (pgmemcache-2.1.2.ebuild,556 bytes, text/plain)
2014-02-26 01:16 UTC, Johan Bergström
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Bergström 2013-09-25 05:18:18 UTC
Created attachment 359402 [details]
pgmemcache-2.1.1.ebuild

Upstream changed archive repo which made my euscan miss this. Anyway, fixed homepage, s, src_uri and some other minors. worksforme on postgres 9.2.
Comment 1 Johan Bergström 2013-09-25 05:18:32 UTC
Created attachment 359404 [details, diff]
2.1.1-no-git-dep.patch
Comment 2 Patrick Lauer gentoo-dev 2013-11-15 05:33:16 UTC
Can't test until #490206 clears out - silly dependencies :\
Comment 3 Johan Bergström 2013-11-21 04:33:37 UTC
2.1.2 out. Can drop the 2.1.1-no-git-dep.patch.
Comment 4 Patrick Lauer gentoo-dev 2014-02-24 05:31:44 UTC
>>> Compiling source in /var/tmp/portage/dev-db/pgmemcache-2.1.2/work/pgmemcache-2.1.2 ...
make -j4 
x86_64-pc-linux-gnu-gcc -O2 -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -fpic -I. -I. -I/usr/include/postgresql-9.3/server -I/usr/include/postgresql-9.3/internal -D_GNU_SOURCE   -c -o pgmemcache.o pgmemcache.c
cp -fp ext/pgmemcache.sql pgmemcache--2.1.2.sql
sed -e 's,__short_ver__,2.1.2,g' < ext/pgmemcache.control > pgmemcache.control
pgmemcache.c:803:48: error: unknown type name ‘memcached_server_instance_st’
                                                memcached_server_instance_st server,
                                                ^
pgmemcache.c: In function ‘memcache_stats’:
pgmemcache.c:835:40: error: ‘server_stat_function’ undeclared (first use in this function)
   callbacks[0] = (memcached_server_fn) server_stat_function;
                                        ^
pgmemcache.c:835:40: note: each undeclared identifier is reported only once for each function it appears in
<builtin>: recipe for target 'pgmemcache.o' failed
make: *** [pgmemcache.o] Error 1
 * ERROR: dev-db/pgmemcache-2.1.2::gentoo failed (compile phase):
 *   emake failed
Comment 5 Johan Bergström 2014-02-24 05:33:25 UTC
What version of libmemcached?
Comment 6 Johan Bergström 2014-02-26 01:16:57 UTC
Created attachment 371294 [details]
pgmemcached-2.1.2.ebuild

For ebuild and discussion, see: https://gist.github.com/jbergstroem/9220356.
Comment 7 Johan Bergström 2014-02-26 05:34:20 UTC
(In reply to Patrick Lauer from comment #4)
> >>> Compiling source in /var/tmp/portage/dev-db/pgmemcache-2.1.2/work/pgmemcache-2.1.2 ...
> make -j4 
> x86_64-pc-linux-gnu-gcc -O2 -pipe -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
> -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard
> -fpic -I. -I. -I/usr/include/postgresql-9.3/server
> -I/usr/include/postgresql-9.3/internal -D_GNU_SOURCE   -c -o pgmemcache.o
> pgmemcache.c
> cp -fp ext/pgmemcache.sql pgmemcache--2.1.2.sql
> sed -e 's,__short_ver__,2.1.2,g' < ext/pgmemcache.control >
> pgmemcache.control
> pgmemcache.c:803:48: error: unknown type name ‘memcached_server_instance_st’
>                                                 memcached_server_instance_st
> server,
>                                                 ^
> pgmemcache.c: In function ‘memcache_stats’:
> pgmemcache.c:835:40: error: ‘server_stat_function’ undeclared (first use in
> this function)
>    callbacks[0] = (memcached_server_fn) server_stat_function;
>                                         ^
> pgmemcache.c:835:40: note: each undeclared identifier is reported only once
> for each function it appears in
> <builtin>: recipe for target 'pgmemcache.o' failed
> make: *** [pgmemcache.o] Error 1
>  * ERROR: dev-db/pgmemcache-2.1.2::gentoo failed (compile phase):
>  *   emake failed

Can reproduce with libmemcached 1.0.17-r4. 1.0.18 (not in tree yet) fixes it. It additionally works fine with 0.50; so I'd suggest avoiding building against 1.0.17-r4 in this ebuild.
Comment 8 Patrick Lauer gentoo-dev 2014-02-26 05:40:36 UTC
+  26 Feb 2014; Patrick Lauer <patrick@gentoo.org> +pgmemcache-2.1.2.ebuild:
+  Bump for #485918

Works with newer libmemcached. Dependency tightened, worksforme