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.
Created attachment 359404 [details, diff] 2.1.1-no-git-dep.patch
Can't test until #490206 clears out - silly dependencies :\
2.1.2 out. Can drop the 2.1.1-no-git-dep.patch.
>>> 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
What version of libmemcached?
Created attachment 371294 [details] pgmemcached-2.1.2.ebuild For ebuild and discussion, see: https://gist.github.com/jbergstroem/9220356.
(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.
+ 26 Feb 2014; Patrick Lauer <patrick@gentoo.org> +pgmemcache-2.1.2.ebuild: + Bump for #485918 Works with newer libmemcached. Dependency tightened, worksforme