X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:date:from:to:subject:in-reply-to :references:message-id; q=dns; s=default; b=JdHtaDw7xjSy8L5+rDEu kIBK/bZxVYaJawbGE9Z64hRqtWVc0k/vnVKdfoAypiORo72z2JqRRlA8jJYDbXZu AeamLAW7losVkXHGat1i/h6GOzhHnufAKLpnfveQkpCswZKRR61//yN6cRO4K9SH Pm8UwZufR9DzRaUlAR4isZY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:date:from:to:subject:in-reply-to :references:message-id; s=default; bh=q+1PLnO+0ZQ8XZG6MbbSV8P7qi M=; b=CcmChkyehQuPXwuKoBFtIWwCvCpKi34Z5pZNpyfFvIdznEZYWe98C0w0gN 80qFNS9SOVfdbDgMHF0nQDf3ohTl1c2AbIx5v3YkuB/h+3FpD5bgWJb3U8TY+c/V Hrdz+ti5CvkHxKnxuraD31j7MJIdaundQMDggiPHNfDNx2gu0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1597, Hx-spam-relays-external:ESMTPA, H*F:D*nl, HContent-Transfer-Encoding:8bit X-HELO: lb3-smtp-cloud8.xs4all.net MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 06 Mar 2018 17:27:33 +0100 From: Houder To: cygwin AT cygwin DOT com Subject: Re: Setup-x86(_64) (v2.889) ... just a question In-Reply-To: <6e0fae12-b9bc-b11c-3502-d3b69a12608e@dronecode.org.uk> References: <6e0fae12-b9bc-b11c-3502-d3b69a12608e AT dronecode DOT org DOT uk> Message-ID: <56f9ef3fb7b7520b6a850e155aac1662@xs4all.nl> X-Sender: houder AT xs4all DOT nl User-Agent: XS4ALL Webmail X-CMAE-Envelope: MS4wfBwTw+EHJK8GtvxejOem54bKeVxJcc/adCgfxQGZPQPV01d8eMX/kodqbi/mo3WB0tEawxTMwuHcM9yQyfLvDd3VhbUe/xDuEB6KBMTsCnWu+E+zewm/ AYyZtJDxahoBzSMktEc4F/FSPSkLTT31aE/WCdGvyMrOPXmYDyQZBSPN+3Xtwz1pwXuC/RNKKp/EIK0b9xnisBcEOplj3Xa4cGI= X-IsSubscribed: yes On 2018-03-06 16:38, Jon Turney wrote: > On 06/03/2018 13:39, Houder wrote: > [...]> However to my surprise /etc/setup/installed.db now lists: >> >> 64-@@ grep -e cscope -e lz4 >> /drv/e/Cygwin64-test/etc/setup/installed.db >> cscope cscope-15.8a-2.tar.bz2 1 <==== artifical version number >> liblz4_1 liblz4_1-1.7.5-0.tar.bz2 0 <==== ditto >> >> These files do NOT exist. The file names were "artificially crafted". >> >> The files that do exist, are: >> >> 64-@@ ls -l release/cscope release/lz4/liblz4_1 >> release/cscope: >> total 700 >> -rw-r--r-- 1 Henri None 381409 Mar  6 13:18 cscope-15.8.0.1-2.tar.bz2 >> -rw-r--r-- 1 Henri None 330264 Mar  6 13:16 cscope-15.8b-1.tar.xz >> >> release/lz4/liblz4_1: >> total 52 >> -rw-r--r-- 1 Henri None 30408 Mar  6 12:37 liblz4_1-1.7.5-1.tar.xz >> -rw-r--r-- 1 Henri None 17924 Mar  6 11:15 liblz4_1-131-1.tar.xz >> >> Is this the future of setup? Meaning, is it the intention that it may >> be possible that installed.db refers to files that do not exist? > > Not only the future, but the present and past, as well. > > Despite appearances, these aren't filenames, but versions encoded in > peculiar way, for backwards compatibility. See [1]. > > [1] https://cygwin.com/ml/cygwin/2018-02/msg00037.html package_db.cc (package::flush() ): /* In INSTALLED.DB 3, lines are: 'packagename version flags', where version is encoded in a notional filename for backwards compatibility, and the only currently defined flag is user-picked (bit 0). */ Got it. Thank you. Made a note of this for myself. Henri -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple