Re: [HACKERS] sa_family_t in cygwin compile of cvs + regression failure

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: deststar <deststar(at)blueyonder(dot)co(dot)uk>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-cygwin(at)postgresql(dot)org
Subject: Re: [HACKERS] sa_family_t in cygwin compile of cvs + regression failure
Date: 2003-06-23 23:59:48
Message-ID: 200306232359.h5NNxmW13282@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers


You might still have a problem with compiling getaddrinfo.c. Please let
me know and I can correct it.

---------------------------------------------------------------------------

deststar wrote:
> On cygwin sa_family_t was undeclared, adding the following line:
> typedef unsigned short sa_family_t;
> to both:
> src/port/getaddrinfo.c
> src/include/libpq/pqcomm.h
> seemed to compile ok but with make check there was one regression
> failure in test privileges (doesn't look realted, but I'm not sure).
> Also included for ease of testing is a patch sepratly sent to patches
> for ecpg.
> System: Athalon + Win 2k + cygwin 1.3.22 + gcc 3.2

> *** ./expected/privileges.out Wed May 14 04:26:04 2003
> --- ./results/privileges.out Sun Jun 15 16:12:34 2003
> ***************
> *** 10,18 ****
> --- 10,22 ----
> CREATE GROUP regressgroup1;
> CREATE GROUP regressgroup2 WITH USER regressuser1, regressuser2;
> ALTER GROUP regressgroup1 ADD USER regressuser4;
> + WARNING: AbortTransaction and not in in-progress state
> + ERROR: rename /home/Administrator/pgcvs/pgsql/src/test/regress/./tmp_check/data/global/pg_group.2284 to /home/Administrator/pgcvs/pgsql/src/test/regress/./tmp_check/data/global/pg_group: Permission denied
> ALTER GROUP regressgroup2 ADD USER regressuser2; -- duplicate
> WARNING: ALTER GROUP: user "regressuser2" is already in group "regressgroup2"
> ALTER GROUP regressgroup2 DROP USER regressuser2;
> + WARNING: AbortTransaction and not in in-progress state
> + ERROR: rename /home/Administrator/pgcvs/pgsql/src/test/regress/./tmp_check/data/global/pg_group.2284 to /home/Administrator/pgcvs/pgsql/src/test/regress/./tmp_check/data/global/pg_group: Permission denied
> ALTER GROUP regressgroup2 ADD USER regressuser4;
> -- test owner privileges
> SET SESSION AUTHORIZATION regressuser1;
>
> ======================================================================
>

> *** src/interfaces/ecpg/compatlib/Makefile.orig Thu May 22 18:20:44 2003
> --- src/interfaces/ecpg/compatlib/Makefile Sun Jun 15 15:45:34 2003
> ***************
> *** 17,23 ****
> SO_MINOR_VERSION= 0.0
>
> override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include -I$(top_srcdir)/src/include/utils $(CPPFLAGS)
> ! SHLIB_LINK = -L../pgtypeslib -lpgtypes
>
> OBJS= informix.o
>
> --- 17,23 ----
> SO_MINOR_VERSION= 0.0
>
> override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include -I$(top_srcdir)/src/include/utils $(CPPFLAGS)
> ! SHLIB_LINK = -L../pgtypeslib -lpgtypes -L../ecpglib -lecpg
>
> OBJS= informix.o
>

>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message deststar 2003-06-24 01:16:38 Re: [HACKERS] sa_family_t in cygwin compile of cvs + regression failure
Previous Message Bruce Momjian 2003-06-23 23:51:36 Re: [HACKERS] sa_family_t in cygwin compile of cvs

Browse pgsql-hackers by date

  From Date Subject
Next Message Maksim Likharev 2003-06-24 01:08:19 TO_CHAR SO SLOW???
Previous Message Bruce Momjian 2003-06-23 23:51:36 Re: [HACKERS] sa_family_t in cygwin compile of cvs