From: MauMau <maumau307@gmail.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: Missing file versions for a bunch of dll/exe files in Windows builds
Date: Sat, 21 Jun 2014 01:44:48 +0900
Message-ID: <BA403D0A8188444F817198BDAB4F326F@maumau> (raw)
In-Reply-To: <CAB7nPqRtY1eikQGmz1_wbVHPvFyvE9VMA67ricepQ6D8-EgwnA@mail.gmail.com>
References: <CAB7nPqSv-shp7rReh1esKbeENOjsK0RxQ9h0NVGhp+oeR+FLLg@mail.gmail.com>
<CABUevEyDe4FWupst7iB1E8p3720AGj0Ejpxcfy1KA-a9iQBO-w@mail.gmail.com>
<CAB7nPqRkA0yzmJPBbNLb-mUVNvSDGHQmSKxxb5vdUSP=yF1suw@mail.gmail.com>
<CABUevEz9koiwGgz4SSQ3zxoreGk+qOzyTg1mFKnZgOOqA-V9PQ@mail.gmail.com>
<CAB7nPqQ90E7sRctSXMEDG_SPeEABzMQ2feUOV9c4erdM4x1UjQ@mail.gmail.com>
<CAB7nPqQe+CHjmi39u_nROd4roYMk7ES6C-NoZT-dh0EragUpPg@mail.gmail.com>
<25735302B9D94C6EB8E999E48A8663C3@maumau>
<CAB7nPqRtY1eikQGmz1_wbVHPvFyvE9VMA67ricepQ6D8-EgwnA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
From: "Michael Paquier" <michael.paquier@gmail.com>
> Interesting to see build failing because of that, this is caused by
> the addition of PGFILEDESC in src/timezone/Makefile. Note that I found
> something similar with snowball as postgres already includes it,
> making a similar conflict with the rc file inclusions. Btw, in the new
> patch attached I have removed both of them for the time being, and
> build worked fine. This results in dict_snowball.dll not to be
> versioned though. At the same time, I am removing as well the
> versioning of the regression stuff in src/test/* (isolation, regress)
> as they are not mandatory to have for the server and the client
> binaries/libs. I also noticed that the dlls of conversion_procs were
> not versioned correctly as well, problem fixed in the new patch,
I see, but that's mottainai. I could remove the build errors regarding
src/timezone and dict_snowball by removing the .rc file as follows. pgevent
already seems to do something similar. This gets the patch closer to
completeness. I didn't try the stuff in src/test/.
$postgres->AddDir('src\timezone');
$postgres->RemoveFile('src\timezone\win32ver.rc');
$postgres->AddFiles('src\backend\parser', 'scan.l', 'gram.y');
$snowball->AddReference($postgres);
$snowball->RemoveFile('src\backend\snowball\libstemmer\win32ver.rc');
> Globally, we could do a better effort in versioning for
> dict_snowball.dll, however I'd rather see that in another patch as it
> would need some more manipulation of Mkvcbuild.pm & co, and current
> patch already improves versioning for a bunch of files already..
Yes, your current patch improved the file versioning greatly, and I'm
comfortable with it. Please tell me if you fix src/timezone, dict_snowball
and src/test stuff. I'm okay with either. Then I'll continue the test with
the current or next patch.
Regards
MauMau
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: maumau307@gmail.com, michael.paquier@gmail.com, magnus@hagander.net
Subject: Re: Missing file versions for a bunch of dll/exe files in Windows builds
In-Reply-To: <BA403D0A8188444F817198BDAB4F326F@maumau>
References: <CAB7nPqSv-shp7rReh1esKbeENOjsK0RxQ9h0NVGhp+oeR+FLLg@mail.gmail.com> <CABUevEyDe4FWupst7iB1E8p3720AGj0Ejpxcfy1KA-a9iQBO-w@mail.gmail.com> <CAB7nPqRkA0yzmJPBbNLb-mUVNvSDGHQmSKxxb5vdUSP=yF1suw@mail.gmail.com> <CABUevEz9koiwGgz4SSQ3zxoreGk+qOzyTg1mFKnZgOOqA-V9PQ@mail.gmail.com> <CAB7nPqQ90E7sRctSXMEDG_SPeEABzMQ2feUOV9c4erdM4x1UjQ@mail.gmail.com> <CAB7nPqQe+CHjmi39u_nROd4roYMk7ES6C-NoZT-dh0EragUpPg@mail.gmail.com> <25735302B9D94C6EB8E999E48A8663C3@maumau> <CAB7nPqRtY1eikQGmz1_wbVHPvFyvE9VMA67ricepQ6D8-EgwnA@mail.gmail.com> <BA403D0A8188444F817198BDAB4F326F@maumau>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox