in the ebuild i see: =app-text/docbook-dsssl-stylesheets-1.77" this make: emerge dbbalancer -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild UD] app-text/docbook-dsssl-stylesheets-1.77 [1.77-r2] [ebuild N ] dev-db/dbbalancer-0.4.4 simply add a 1.77* or >= thanks
oops! i just noticed that it doesn't compile. make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/dbbalancer-0.4.4/work/DBBalancer/src/postgres' i686-pc-linux-gnu-g++ -I/usr/include -D_REENTRANT -pthread -I/usr/include -c DBPostgresPooledConnection.cc make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/dbbalancer-0.4.4/work/DBBalancer/docs/manual' /usr/bin/jade -t sgml -d /usr/share/sgml/docbook/dsssl-stylesheets-1.77/html/docbook.dsl dbbalancer.sgml i686-pc-linux-gnu-g++ -I/usr/include -D_REENTRANT -pthread -I/usr/include -c DBPostgresWriterConnection.cc distcc[12005] ERROR: compile /var/tmp/ccache/DBPostgres.tmp.blight.12001.ii on 172.16.92.101 failed DBPostgresWriterConnection.cc: In member function `bool DBPostgresWriterConnection::processBackendExecutionErrorWhenNotEqual(int)': DBPostgresWriterConnection.cc:417: error: `send' undeclared (first use this function) DBPostgresWriterConnection.cc:417: error: (Each undeclared identifier is reported only once for each function it appears in.) make[2]: *** [DBPostgresWriterConnection.o] Error 1 make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/dbbalancer-0.4.4/work/DBBalancer/src/postgres' make[1]: *** [postgres] Error 2 make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/dbbalancer-0.4.4/work/DBBalancer/src' make: *** [src] Error 2 make: *** Waiting for unfinished jobs.... ln -sf book1.htm index.html /usr/bin/jade -t rtf -d /usr/share/sgml/docbook/dsssl-stylesheets-1.77/print/docbook.dsl dbbalancer.sgml make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/dbbalancer-0.4.4/work/DBBalancer/docs/manual' make -C UML make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/dbbalancer-0.4.4/work/DBBalancer/docs/UML' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/dbbalancer-0.4.4/work/DBBalancer/docs/UML' make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/dbbalancer-0.4.4/work/DBBalancer/docs' !!! ERROR: dev-db/dbbalancer-0.4.4 failed. !!! Function src_compile, Line 45, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message.
Created attachment 59376 [details, diff] patch to compile this should fix compilation, please check
We neither have a maintainer nor metadata.xml here. A minor fix in sf.net cvs is from 13 months ago, the other files are not touched for years. Nothing in the tree depends on it and no other open bug reports, beside this one. Would the postgres herd have a look at this package, please? :)
nobody cares this :(
i've just added the patch to the portage tree. (I recommend pgpool instead of dbbalancer because it's simular and more active development.) Thanks!
not completly fixed! make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/dbbalancer-0.4.4/work/DBBalancer/src/tests' for i in postgres_cc postgres cliente config_examples; do \ cd $i;\ make ;\ cd ..;\ done make[3]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/dbbalancer-0.4.4/work/DBBalancer/src/tests/postgres_cc' g++ -g -Wall -I/usr/local/include -o pgtest pgtest.cc -lpq++ -lcrypt In file included from /usr/include/libpq++.h:30, from pgtest.cc:5: /usr/include/libpq++/pgconnection.h:79: error: `string' does not name a type In file included from /usr/include/libpq++.h:32, from pgtest.cc:5: /usr/include/libpq++/pglobject.h:43: error: `string' does not name a type /usr/include/libpq++/pglobject.h:62: error: `string' does not name a type In file included from /usr/include/libpq++.h:34, from pgtest.cc:5: /usr/include/libpq++/pgcursordb.h:53: error: `string' has not been declared /usr/include/libpq++/pgcursordb.h:65: error: `string' has not been declared /usr/include/libpq++/pgcursordb.h:71: error: `string' has not been declared /usr/include/libpq++/pgcursordb.h:71: error: `string' has not been declared /usr/include/libpq++/pgcursordb.h:74: error: `string' does not name a type /usr/include/libpq++/pgcursordb.h: In member function `const char* PgCursor::Cursor() const': /usr/include/libpq++/pgcursordb.h:61: error: `pgCursor' undeclared (first use this function) /usr/include/libpq++/pgcursordb.h:61: error: (Each undeclared identifier is reported only once for each function it appears in.) /usr/include/libpq++/pgcursordb.h: In member function `void PgCursor::Cursor(int)': /usr/include/libpq++/pgcursordb.h:67: error: `pgCursor' undeclared (first use this function) make[3]: *** [pgtest] Error 1 make[3]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/dbbalancer-0.4.4/work/DBBalancer/src/tests/postgres_cc' but compilation goes ahead...
Patrizio: Is there a reason you can't use pgpool? Doesn't make much sense to stick with abandonware. nakano: How about burying this package?
ok you can drop that for me :)
dbbalancer has been p.masked and will be removed in less than 30 days. We therefore won't fix this bug.