lp://qastaging/~flameeyes/gearmand/gentoo-fixes

Created by Diego Elio Pettenò and last modified
Get this branch:
bzr branch lp://qastaging/~flameeyes/gearmand/gentoo-fixes
Only Diego Elio Pettenò can upload to this branch. If you are Diego Elio Pettenò please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Diego Elio Pettenò
Project:
Gearman
Status:
Development

Recent revisions

352. By Diego Elio Pettenò

Fix PostgreSQL queue manager building on Gentoo and other platforms.

When the includes are installed in non-standard positions, and especially
when libpq-fe.h is available without -I directives, but pg_config_manual.h
isn't, you cannot rely on just finding one to get the other.

What you have to do in this case is use the pg_config script shipped with
PostgreSQL to get the right include directory, and use the simple basename
for the include headers.

Also, on modern (glibc-2.10) systems, using simply pg_config_manual.h
without pg_config.h or without adding further checks in configure, the
build will fail with this error:

In file included from libgearman-server/queue_libpq.c:19:
/usr/include/postgresql-8.4/pg_config_manual.h:128:5: error: "HAVE_DECL_POSIX_FADVISE" is not defined
make[1]: *** [libgearman-server/libgearman_server_libgearman_server_la-queue_libpq.lo] Error 1

So include the PostgreSQL headers first thing, undefine package-specific
entries, and proceed.

351. By Brian Aker <brian@gaz>

Merge Monty

350. By Brian Aker <brian@gaz>

Remove bitmask (these were all just one option).

349. By Brian Aker <brian@gaz>

Clean up pidfile.

348. By Brian Aker <brian@gaz>

Fix for race condition.

347. By Brian Aker <brian@gaz>

Remove fork logic.

346. By Brian Aker <brian@gaz>

Fixes timing (yes, it uses sleep).

345. By Brian Aker <brian@gaz>

It is now possible to test the server with valgrind.

344. By Brian Aker <brian@gaz>

Update to remove additional bitmask from server.

343. By Brian Aker <brian@gaz>

Commit for remove options from universal.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://qastaging/gearmand/1.0
This branch contains Public information 
Everyone can see this information.