delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/06/08:40:03

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:message-id; q=
dns; s=default; b=LIPTr8OpYcv4gSLgJOmuA6RXZI8tU1o3sMyflsT2QLOz/0
sRGjQaOEpx9uIuRvlm7NJ+2Esgv6lKOYisrJBjLYQ9lAxuIiuVYfjYzAKmg/Uvho
eao7odNpFQQVZ495KIbACQncJJ8xuRDdxkq+C2kUa2dik543FMIb1tq1m+AUA=
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:message-id; s=
default; bh=ziRJ0tOnRrC+XArSvMO8Sfq3QrE=; b=Ff5CMv0Se38muV4uvOHH
iOlpkoc50qvCCI0K/v9lg4abU3OIjyKGekQLwycytsB5AOnxhN2sbbZZWWeQpZK9
gZSkiqHwucvcE+JCfet7TCU1ki8oMwEsQuESAq9gstsxds4tABdWcDe0oYibz9P9
NEUyU9jJF5ecwpKtLdLZR3w=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=1750, UD:msg00042.html, UD:installed.db, UD:db
X-HELO: lb3-smtp-cloud8.xs4all.net
MIME-Version: 1.0
Date: Tue, 06 Mar 2018 14:39:47 +0100
From: Houder <houder AT xs4all DOT nl>
To: cygwin AT cygwin DOT com
Subject: Setup-x86(_64) (v2.889) ... just a question
Message-ID: <f07266fe2737c5feae7af41ea5bd68d3@xs4all.nl>
X-Sender: houder AT xs4all DOT nl
User-Agent: XS4ALL Webmail
X-CMAE-Envelope: MS4wfA4MmtO5fbzbGRJbJ17YmvzrrqaYcHQ7/jw+OM2nEzNElDAu5dpmse+Bsp0/Cc98es9Qn12Ac5n1f7VNDtbI8xdhEUFhNgqHzzR9uTlKB265pAn1UHTW nA9oGLjV0AyJJH5Cita4Hfh8hYevSLmWdXkmLFxD5gDOJC/pqmjKXY6hw+JU3L8yYH0rVwo6fnS9848TU2PQUliI7z/qsfqGPgI=
X-IsSubscribed: yes

L.S.,

Just a question, meaning it may have been discussed in cygwin-apps,
but I have been reading that list for quite a while now.

Recently I reported a problem:

     https://cygwin.com/ml/cygwin/2018-03/msg00042.html
     (Another setup v2.889 regression? additional information)

Jon T. applied a big hammer to solve the problem ... (in short, in
the entry for cscope ,the version number in the "prev" subentry was
replaced as follows:

     [prev]
     version: 15.8a-2
(i.e. version number 15.8.0.1-2 was replaced by a "version number"
  that is NOT part of the filename)

Today David Lee reported a related problem:

     https://cygwin.com/ml/cygwin/2018-03/msg00083.html
     (Setup problem (2.889 32-bit) )

I replayed what David described and confirmed the issue. Then I
downloaded and installed the most recent version of liblz4_1.

When setup (install mode) is invoked again, it wants to install the
previous version of liblz4_1 (of course!).

... so I applied Jon's big hammer to setup.ini and replaced

     131-1 by 1.7.5-0 (version:) in the prev subentry (pkg liblz4_1)

That removed the issue (again, of course!).

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?

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019