Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wy1rx-00046f-Rz for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Jun 2014 16:40:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wy1rv-0002N2-Ss for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Jun 2014 16:40:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wy1rt-0002Mr-SQ for pgsql-bugs@postgresql.org; Fri, 20 Jun 2014 16:40:49 +0000 Received: from mail-pb0-x231.google.com ([2607:f8b0:400e:c01::231]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Wy1rp-0003XB-Vw for pgsql-bugs@postgresql.org; Fri, 20 Jun 2014 16:40:48 +0000 Received: by mail-pb0-f49.google.com with SMTP id rr13so3290084pbb.22 for ; Fri, 20 Jun 2014 09:40:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:cc:references:in-reply-to:subject:date :mime-version:content-type:content-transfer-encoding; bh=upVFP6g5Lfg8aouqAjyn2ZKmVrq0BK9TdESKdzTbMyQ=; b=hCZ54r0c73zLFqzzu7nQpxHotA2vC0Ot+qo4OQinrZp6PNW+HSeSzQkcPV0a4JHQq/ G8UBDSPe7zVrDJDYqmpFrfVPQs4aXgcOl7meUi/hsXVf6hjZnNM5R7mU4WkOK4ZOoQT4 zpt5RrSJsb1zKIGrTvc31nQh/BvCtz7AYxvSu52zNzHJ/CLBk8suDIi+59e644BAiGza ltWM5PAi01qVOE0EmUqAqhtndA8FKVf8VGGlltk0SdtgGKT54yxr8PTA61lvRjD8Ng5b QYjp4wxkWZBm9QEBsH/NoH7SE0k3zM3EQBEL+uWsY2dpLTkxnzss5WWzx0TAmqzdfOyc 4Ztg== X-Received: by 10.68.222.196 with SMTP id qo4mr6192084pbc.14.1403282443154; Fri, 20 Jun 2014 09:40:43 -0700 (PDT) Received: from maumau (p23196-ipngn100307sizuokaden.shizuoka.ocn.ne.jp. [153.131.144.196]) by mx.google.com with ESMTPSA id ln2sm45763290pab.35.2014.06.20.09.40.40 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Jun 2014 09:40:42 -0700 (PDT) Message-ID: From: "MauMau" To: "Michael Paquier" Cc: "Magnus Hagander" , "pgsql-bugs" References: <25735302B9D94C6EB8E999E48A8663C3@maumau> In-Reply-To: Subject: Re: Missing file versions for a bunch of dll/exe files in Windows builds Date: Sat, 21 Jun 2014 01:44:48 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6002.18197 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18463 X-Pg-Spam-Score: -1.3 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org From: "Michael Paquier" > 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