Re: BUG #16773: GSSAPI + Msys2/mingw64 + setenv() issue.

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: jatoba(at)gaz-is(dot)ru, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16773: GSSAPI + Msys2/mingw64 + setenv() issue.
Date: 2020-12-14 19:38:36
Message-ID: 20201214193835.GG16415@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Greetings,

* PG Bug reporting form (noreply(at)postgresql(dot)org) wrote:
> I am being engaged in PostgreSQL build process with GSSAPI support in
> msys2/mingw64 environment.
> Everything is good enough on REL_11_STABLE branch, but there are the
> following compilation and linking errors on newer versions/branches
> (12-stable, 13-stable, and 14-devel).
>
> Errors connect with setenv() call that isn't supported in msys2/mingw64.

Yeah, we had some discussion regarding that, as you noted. There's been
a further discussion though, here:

https://postgr.es/m/CA+OCxowDNTXfHBruAryhZA0aMxHvqHL4uYk8APiZCqjWAM=M-w@mail.gmail.com

Which seems to indicate that fixing the setenv() issue isn't enough to
make things actually work. I'd been hoping that Dave would get back to
that thread and provide some feedback on it, but that's not happened
yet.

Perhaps you could take his patch and see if it works for you though..?

> Is there a plan to clean code from setenv() call and will the proposed patch
> [3] or its revised versions be applied ??

Would really be helpful if we could have some confidence that such a
change would actually result in things working- so, if you could test
the patch that Dave posted in the thread I linked to above and let us
know if it works for you, that'd certainly be helpful.

> Also I have checked BuildFarm statuses and all mingw64-nodes build PG
> without GSSAPI/KRB5 support [4].
> It looks like the mingw64 platform is no longer being considered as LTS and
> will be in reduced feature list in the future.

I don't think there's any reason to jump to that assumption, however..

> Am i right?

.. if you'd like this to keep working then I would certainly encourage
you to set up a buildfarm animal which tests this case and register it
with the buildfarm. The lack of one certainly means it's less likely
that this specific platform + configuration will be tested regularly.

Thanks,

Stephen

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2020-12-14 20:47:26 BUG #16774: PostgreSQL clean build MINGW64 gcc but initdb fails, cannot find startadress CreateProcessAsUserA
Previous Message PG Bug reporting form 2020-12-14 16:52:08 BUG #16773: GSSAPI + Msys2/mingw64 + setenv() issue.