Re: setup 2.891release candidate - please test

2018-03-22 Thread Robert Cohen
---
From: Jon Turney 
...

Thanks for testing.

Yes, as I wrote in [1], this isn't more a missing feature and/or missing 
dependency information, than a bug in setup.

[1] https://cygwin.com/ml/cygwin/2018-03/msg00108.html
---

Hi Jon,

 Thanks for clarifying that.  For now, would it make sense for me to manually 
run /etc/postinstall/fontconfig_dtd.sh, or /etc/postinstall/libxml2.sh, or both 
after setup is complete, or should I just ignore the error?


--
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



RE: setup 2.891release candidate - please test

2018-03-16 Thread Robert Cohen


-Original Message-
From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Jon 
Turney
Sent: Thursday, March 15, 2018 19:32
To: The Cygwin Mailing List 
Subject: setup 2.891release candidate - please test


A new setup release candidate is available at:

   https://cygwin.com/setup/setup-2.891.x86_64.exe (64 bit version)
   https://cygwin.com/setup/setup-2.891.x86.exe(32 bit version)

Please test and report any problems here.
...
-

Hi Jon,

 I tested setup-2.891.x86_64 with an install from local directory, and I got 
the same
result as setup-2.889-12-g1cf567.x86_64.exe, where it installed the additional 
packages
that I selected, but at the end it gave this message:

Package: _/libfontconfig-common
fontconfig_dtd.sh exit code 2

 Do you think this may be because I'm installing from an already-downloaded 
directory and
It may work ok if I repeat the download and install process using the new setup 
executable, or
would another solution be needed for this, as alluded to in your earlier reply 
to this same error
message?

Regards,
 Robert



Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded packages when installing from local directory

2018-03-07 Thread Robert Cohen

>From: Jon Turney <jon.tur...@dronecode.org.uk>
>Sent: Wednesday, March 7, 2018 07:08
>To: The Cygwin Mailing List
>Cc: Robert Cohen
>Subject: Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded 
>packages when installing from local directory
...
>
>This looks like a problem with the order postinstall steps are being 
>run, possibly due to a missing dependency.
>
>Can you please provide the setup.log.full?
>

Hi Jon,

 The uncompressed setup.log.full file was too large to be accepted by this 
mailing list. I also sent it to your email address. If you didn't receive it or 
would prefer me to re-send it compressed please let me know.

Regards,
 Robert


--
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



Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded packages when installing from local directory

2018-03-06 Thread Robert Cohen

>From: Jon Turney <jon.tur...@dronecode.org.uk>
>Sent: Tuesday, March 6, 2018 17:13
>To: The Cygwin Mailing List
>Cc: Robert Cohen
>Subject: Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded 
>packages when installing from local directory
>    
...
>
>I built an updated setup with some attempted fixes for these problems.
>
>https://cygwin.com/setup/setup-2.889-12-g1cf567.x86.exe
>https://cygwin.com/setup/setup-2.889-12-g1cf567.x86_64.exe
>
>Perhaps you could try that and see if it improves things for you?
  
Hi, Jon,

Thanks for the fixes. I tested setup-2.889-12-g1cf567.x86_64.exe, and after 
selecting category view on
the installer and changing "Default" to "Install" at the top of the list, it 
appeared to select both the
pre-selected and my own selected packages for installation, which if I recall 
correctly, is how it worked
before this issue arose. I did get one postinstall script error:

Package: _/libfontconfig-common
fontconfig_dtd.sh exit code 2

Here's the related error from setup.log.full, along with info on the command 
that ran just before that one:

2018/03/06 17:57:14 running: C:\cygwin64\bin\dash.exe 
"/etc/postinstall/0p_update-info-dir.dash"
Rebuilding info directory
install-info: warning: no info dir entry in `/usr/share/info/latex2rtf.info.gz'
2018/03/06 17:57:31 running: C:\cygwin64\bin\bash.exe --norc --noprofile 
"/etc/postinstall/fontconfig_dtd.sh"
could not open /etc/xml/catalog for saving
add command failed
2018/03/06 17:57:31 abnormal exit: exit code=2

I looked in /etc/xml/, and the catalog file was there, containing the following:


http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd;>


Is the error from fontconfig_dtd.sh something to be concerned about?

Regards,
 Robert
--
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



Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded packages when installing from local directory

2018-03-03 Thread Robert Cohen
>From: cygwin-ow...@cygwin.com <cygwin-ow...@cygwin.com> on behalf of Ken Brown 
><kbr...@cornell.edu>
>Sent: Saturday, March 3, 2018 22:11
>To: cygwin@cygwin.com
>Subject: Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded 
>packages when installing from local directory
>    
>[Please don't top-post on this list.]
>
>On 3/3/2018 10:01 PM, Robert Cohen wrote:
>>   Thanks for finding that. However, I am using the same "Local Package 
>>Directory" that I used
>> when I ran it to do the download. For example, here's where things were for 
>> all the steps:
>> 
>> 1. Directory C:\Updates\cygwin_download, containing setup-x86_64.exe and 
>> nothing else
>> 2. Ran setup, "Download without installing", specifying 
>> C:\Updates\cygwin_download as
>>   the local package directory, then selected additional packages and 
>>performed the download.
>> 
>> at this point, C:\Updates\cygwin_download contained setup-x86_64.exe and a
>> subdirectory for the mirror site. The setup.ini file was in a x64_64 
>> subdirectory
>> under the mirror site subdirectory.
>> 
>> 3. Then I ran setup again, "Install from local directory", with C:\cygwin64 
>> as the root directory
>>   and C:\Updates\cygwin_download as the local package directory.
>> 
>> Should I have specified something differently for it to detect the 
>> additional packages that I
>> selected for download? I looked in setup.ini and it does list the additional 
>> packages that
>> I had selected.
>
>No.  Based on what you said, I don't know what the problem was.  Does 
>/var/log/setup.log.full give any clues?
>
>Ken

I checked the log file, and it appears to have found the .ini file, and then it 
ran a solver. Here's a portion of setup.log.full:

...
2018/03/03 22:13:47 Selected local directory: C:\Updates\cygwin_download
Found ini file - 
C:\Updates\cygwin_download/http%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/setup.ini
.ini setup_version is 2.889, our setup_version is 2.889
2018/03/03 22:13:49 io_stream_cygfile: fopen(/etc/setup/installed.db) failed 2 
No such file or directory
2018/03/03 22:14:16 solving: 36 tasks, update: yes, use test packages: no
libsolv: solver started
...

Later it said "libsolv: 69 installed packages:", which appeared just to be the 
default preselected packages.
The log mentions nothing about my additionally selected packages.

I also looked at the logfile on another computer which used the older setup 
2.880. In that log,
after finding the .ini file, it added some dependencies and checked the SHA512 
for some files,
and those files included the extra ones that I had selected. The 2.880 setup 
file had no messages from
libsolver.

One other difference I noticed was right at the beginning of the logfiles:

2018/03/03 22:13:12 Starting cygwin install, version 2.889
2018/03/03 22:13:12 User has backup/restore rights
2018/03/03 22:13:12 Current Directory: 
C:\Updates\cygwin_download\http%3a%2f%2fcygwin.mirror.constant.com%2f\x86_64

vs.

2017/06/20 18:42:33 Starting cygwin install, version 2.880
2017/06/20 18:42:33 User has backup/restore rights
2017/06/20 18:42:33 Current Directory: E:\Updates\cygwin_install

In both cases, I ran the setup executable from C:\Updates\cygwin_download, yet 
the "Current Directory"
reported by the logfiles differ. 

Could the problem be related to the difference in "Current Directory", or 
perhaps related to the solver 
or to whatever in the new setup program parses the setup.ini file once it's 
found?

Regards,
 Robert




--
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



Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded packages when installing from local directory

2018-03-03 Thread Robert Cohen
Hi Ken,

 Thanks for finding that. However, I am using the same "Local Package 
Directory" that I used
when I ran it to do the download. For example, here's where things were for all 
the steps:

1. Directory C:\Updates\cygwin_download, containing setup-x86_64.exe and 
nothing else
2. Ran setup, "Download without installing", specifying 
C:\Updates\cygwin_download as
 the local package directory, then selected additional packages and 
performed the download.

at this point, C:\Updates\cygwin_download contained setup-x86_64.exe and a
subdirectory for the mirror site. The setup.ini file was in a x64_64 
subdirectory
under the mirror site subdirectory.

3. Then I ran setup again, "Install from local directory", with C:\cygwin64 as 
the root directory
 and C:\Updates\cygwin_download as the local package directory.

Should I have specified something differently for it to detect the additional 
packages that I
selected for download? I looked in setup.ini and it does list the additional 
packages that
I had selected.

Regards,
 Robert


From: cygwin-ow...@cygwin.com <cygwin-ow...@cygwin.com> on behalf of Ken Brown 
<kbr...@cornell.edu>
Sent: Saturday, March 3, 2018 21:16
To: cygwin@cygwin.com
Subject: Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded 
packages when installing from local directory
    
On 3/3/2018 6:00 PM, Robert Cohen wrote:
> Summary of problem:
> When installing Cygwin from a local directory, setup-x86_64.exe version 2.889 
> doesn't
> list the packages that I additionally selected for download when previously 
> downloading
> to that directory, and the top line of the GUI under Category view says "No 
> packages found<->Default".

When you run setup to do the install, you need to use the same "Local 
Package Directory" that you used when you ran it to do the download.  I 
suspect you're instead using the directory containing the packages; this 
is no longer supported as of setup version 2.883.

 From https://sourceware.org/ml/cygwin/2017-12/msg00169.html:

   - Remove support for installing from a local directory which doesn't
 contain a setup.ini file

Ken

--
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


--
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



Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded packages when installing from local directory

2018-03-03 Thread Robert Cohen
Hi Brian,

 Thanks for your quick reply.  The output of the two commands you asked for are:

> dir \etc\setup\installed.db 
03/03/2018  20:33 2,499 installed.db

$ wc /etc/setup/installed.db
  70  209 2499 /etc/setup/installed.db

If I grep for one of the additional packages that I selected prior to download,
e.g. "bc" from the Math category, it is not listed in the installed.db file.
A directory for bc is present in the download directory, and it contains
the file bc-1.06.95-2.tar.xz.

Do you know if the ability to detect all available downloaded packages was
intentionally removed from setup, or might this be a bug?

Regards,
 Robert


From: cygwin-ow...@cygwin.com <cygwin-ow...@cygwin.com> on behalf of Brian 
Inglis <brian.ing...@systematicsw.ab.ca>
Sent: Saturday, March 3, 2018 18:54
To: cygwin@cygwin.com
Subject: Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded 
packages when installing from local directory
    
On 2018-03-03 16:00, Robert Cohen wrote:
> Summary of problem:
> When installing Cygwin from a local directory, setup-x86_64.exe version 
> 2.889 doesn't list the packages that I additionally selected for download
> when previously downloading to that directory, and the top line of the GUI
> under Category view says "No packages found<->Default".
> Continuing the install only installs the packages preselected by setup.
> 
> Details:
> To install a fresh version of Cygwin, I usually do this: Run
> setup-x86_64.exe using "Download Without Installing", select some additional
> packages, and then after everything finished, I rerun setup-x86_64.exe using
> "Install from Local Directory", and then the GUI, under Category view, shows
> "All <-> Default", beneath which is a hierarchical list including the
> packages preselected by setup along with the additional ones that I selected 
> when downloading.
>> Here's the problem: I performed the above process using today's version of >
> setup-x86_64.exe from cygwin.com, which according to setup.ini is setup
> version 2.889, and the "Download Without Installing" setup worked as
> expected. However, when I next did "Install from Local Directory" using that
> directory, instead of showing "All<->Default", it showed "No packages
> found<->Default", and only the packages preselected by setup were not going
> to be skipped. I tried changing "Default" to "Install" at the top level of
> the list, but that then selected everything for install, not just the
> preselected packages and the additional ones I had downloaded. I repeated
> this process using a few different mirror sites for the download phase, but
> that made no difference.>
> Interestingly, if I copy an older version of setup-x86_64.exe into my 
> already-downloaded directory, e.g. setup-x86_64.exe version 2.880, the GUI is
> able to find the selected packages that I had already downloaded using setup
> version 2.889, after of course giving a few warnings about the current ini
> file being from a newer version of setup. In other words, if I download using
> setup v2.889, then when subsequently installing from that directory, setup
> v2.889 doesn't know what additional packages I had selected, whereas setup
> v2.880 does know.>
> I'm wondering if I'm not doing something correctly, or if there is an issue 
> with version 2.889 of setup-x86_64.exe not finding packages that were
> additionally selected for download.
> 
> Version details:
> The  beginning of setup.ini in my download directory includes this:
> release: cygwin
> arch: x86_64
> setup-timestamp: 1519974241
> setup-version: 2.889
> 
> This was done on Windows 10 pro, using  setup-x86_64.exe v2.889 downloaded
> on March 3, 2018 UTC from cygwin.com, which currently indicates that the most 
> recent
> version of the Cygwin DLL is 2.10.0.

What's shown when you do:
    > dir \etc\setup\installed.db
or
    $ wc /etc/setup/installed.db

May need a new setup selection for all downloaded/cached packages, unless there
is another way to select these, which the previous release used by default.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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


--
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



setup-x86_64.exe v2.889 doesn't select additionally downloaded packages when installing from local directory

2018-03-03 Thread Robert Cohen
Summary of problem:
When installing Cygwin from a local directory, setup-x86_64.exe version 2.889 
doesn't
list the packages that I additionally selected for download when previously 
downloading
to that directory, and the top line of the GUI under Category view says "No 
packages found<->Default".
Continuing the install only installs the packages preselected by setup.

Details:
To install a fresh version of Cygwin, I usually do this: Run setup-x86_64.exe
using "Download Without Installing", select some additional packages, and then 
after
everything finished, I rerun setup-x86_64.exe using "Install from Local 
Directory",  and then
the GUI, under Category view, shows "All <-> Default", beneath which is a 
hierarchical
list including the packages preselected by setup along with the additional ones 
that I selected
when downloading.

Here's the problem: I performed the above process using today's version of 
setup-x86_64.exe
from cygwin.com, which according to setup.ini is setup version 2.889, and the
"Download Without Installing" setup worked as expected. However, when I next
did "Install from Local Directory" using that directory, instead of showing 
"All<->Default", it
showed "No packages found<->Default", and only the packages preselected by
setup were not going to be skipped. I tried changing "Default" to "Install" at 
the
top level of the list, but that then selected everything for install, not just 
the preselected
packages and the additional ones I had downloaded. I repeated this process using
a few different mirror sites for the download phase, but that made no 
difference.

Interestingly, if I copy an older version of setup-x86_64.exe into my 
already-downloaded
directory, e.g. setup-x86_64.exe version 2.880, the GUI is able to find the 
selected packages
that I had already downloaded using setup version 2.889, after of course giving 
a few warnings
about the current ini file being from a newer version of setup. In other words, 
if I download
using setup v2.889, then when subsequently installing from that directory, 
setup v2.889 doesn't
know what additional packages I had selected, whereas setup v2.880 does know.

I'm wondering if I'm not doing something correctly, or if there is an issue 
with version 2.889 of
setup-x86_64.exe not finding packages that were additionally selected for 
download.

Version details:
The  beginning of setup.ini in my download directory includes this:
release: cygwin
arch: x86_64
setup-timestamp: 1519974241
setup-version: 2.889

This was done on Windows 10 pro, using  setup-x86_64.exe v2.889 downloaded
on March 3, 2018 UTC from cygwin.com, which currently indicates that the most 
recent
version of the Cygwin DLL is 2.10.0.

Thanks in advance for any help.
 Robert

--
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