Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: [courier-users] authlib build with postgres on Gentoo/64

0 views
Skip to first unread message

Sam Varshavchik

unread,
Nov 24, 2009, 6:03:04 PM11/24/09
to
Matus UHLAR - fantomas writes:

> Hello,
>
> building courier-authlib 0.62.2 and 0.62.4 with postgres (libpq-8.1.11)
> support on Gentoo GNU/linux on amd64 architecture fails with following
> message:
>
> * QA Notice: Package has poor programming practices which may compile
> * fine but exhibit random runtime failures.
> * authpgsqllib.c:124: warning: implicit declaration of function ‘pg_encoding_to_char’
>
> *
> * QA Notice: Package has poor programming practices which may compile
> * but will almost certainly crash on 64bit architectures.
> *
> * Function `pg_encoding_to_char' implicitly converted to pointer at authpgsqllib.c:124
> *
> * Please file a bug about this at http://bugs.gentoo.org/
> * with the maintaining herd of the package.
> *
> *
> * ERROR: net-libs/courier-authlib-0.62.4 failed.
> * Call stack:
> * misc-functions.sh, line 729: Called install_qa_check
> * misc-functions.sh, line 421: Called die
> * The specific snippet of code:
>
> The function ‘pg_encoding_to_char’ is mentioned in authpgsqllib.c file on
> line 124:
>
> check = pg_encoding_to_char(PQclientEncoding(pgconn));
>
> The pg_encoding_to_char seems to be included in libpq-fe.h in libpq-8.3, but
> version 8.1 (latest stable on gentoo) needs another file(s) to include.

Some Googling suggests that it might be defined in pg_wchar.h


0 new messages