Re: X Server 1.19.6-2 , xset does not add ghostscript fonts for xfig

2018-03-19 Thread Ken Brown

On 3/19/2018 9:02 PM, Andrew P Paplinski via cygwin wrote:

Dear Cygwin X,

I am running X Server 1.19.6-2 built 2018-03-12

I have the following error:

$ xset fp+ /usr/share/ghostscript/fonts/
xset:  bad font path element (#2), possible causes are:
     Directory does not exist or has wrong permissions
     Directory missing fonts.dir
     Incorrect font server address or syntax

The font directory does exist:

app@MU00108269 /usr/share/ghostscript
$ ls -l
total 12
drwxr-xr-x+ 1 app Domain Users 0 Mar 9 10:02 9.22
drwxr-xr-x+ 1 app Domain Users 0 Mar 9 10:02 fonts

Also

$ xset q
  Font Path:
   catalogue:/etc/X11/fontpath.d,built-ins

Without  ghostscript fonts  xfig  does not get the proper fonts.


The 35 core postscript fonts are now in /usr/share/fonts/urw-base35. 
But I'm not sure what you have to do to make xfig find them.


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



[ANNOUNCEMENT] nghttp2 1.31.0-1

2018-03-19 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* nghttp2-1.31.0-1
* libnghttp2_14-1.31.0-1
* libnghttp2-devel-1.31.0-1
* python2-nghttp2-1.31.0-1
* python3-nghttp2-1.31.0-1
* mingw64-i686-nghttp2-1.31.0-1
* mingw64-x86_64-nghttp2-1.31.0-1

nghttp2 is an implementation of HTTP/2 and its header compression algorithm 
HPACK in C.  The framing layer of HTTP/2 is implemented as a form of 
reusable C library.  Also included are an HTTP/2 client, server, proxy, and 
a load test and benchmarking tool for HTTP/2.

This is an update to the latest upstream release:

https://nghttp2.org/blog/

--
Yaakov

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



[ANNOUNCEMENT] sox 14.4.2-5

2018-03-19 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* sox-14.4.2-5
* libsox3-14.4.2-5
* libsox-devel-14.4.2-5
* sox-fmt-ao-14.4.2-5
* sox-fmt-pulseaudio-14.4.2-5

SoX (also known as Sound eXchange) translates sound files between different 
file formats, and optionally applies various sound effects. SoX is intended 
as the Swiss Army knife of sound processing tools.  It doesn't do anything 
very well, but sooner or later it comes in very handy.

This release includes fixes for CVE-2017-15372 and CVE-2017-15642:

https://bugzilla.redhat.com/show_bug.cgi?id=1510919
https://bugzilla.redhat.com/show_bug.cgi?id=1510923

--
Yaakov

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



nghttp2 1.31.0-1

2018-03-19 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* nghttp2-1.31.0-1
* libnghttp2_14-1.31.0-1
* libnghttp2-devel-1.31.0-1
* python2-nghttp2-1.31.0-1
* python3-nghttp2-1.31.0-1
* mingw64-i686-nghttp2-1.31.0-1
* mingw64-x86_64-nghttp2-1.31.0-1

nghttp2 is an implementation of HTTP/2 and its header compression algorithm 
HPACK in C.  The framing layer of HTTP/2 is implemented as a form of 
reusable C library.  Also included are an HTTP/2 client, server, proxy, and 
a load test and benchmarking tool for HTTP/2.

This is an update to the latest upstream release:

https://nghttp2.org/blog/

--
Yaakov


sox 14.4.2-5

2018-03-19 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* sox-14.4.2-5
* libsox3-14.4.2-5
* libsox-devel-14.4.2-5
* sox-fmt-ao-14.4.2-5
* sox-fmt-pulseaudio-14.4.2-5

SoX (also known as Sound eXchange) translates sound files between different 
file formats, and optionally applies various sound effects. SoX is intended 
as the Swiss Army knife of sound processing tools.  It doesn't do anything 
very well, but sooner or later it comes in very handy.

This release includes fixes for CVE-2017-15372 and CVE-2017-15642:

https://bugzilla.redhat.com/show_bug.cgi?id=1510919
https://bugzilla.redhat.com/show_bug.cgi?id=1510923

--
Yaakov


[ANNOUNCEMENT] nettle 3.4-1

2018-03-19 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* nettle-3.4-1
* libnettle6-3.4-1
* libhogweed4-3.4-1
* libnettle-devel-3.4-1
* mingw64-i686-nettle-3.4-1
* mingw64-x86_64-nettle-3.4-1

Nettle is a cryptographic library that is designed to fit easily in more or 
less any context: In crypto toolkits for object-oriented languages, in 
applications like LSH or GNUPG, or even in kernel space.

This is an update to the latest upstream release:

http://lists.lysator.liu.se/pipermail/nettle-bugs/2017/003407.html

--
Yaakov

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



[ANNOUNCEMENT] minuet 17.12.3-1

2018-03-19 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* minuet-17.12.3-1

Minuet is KDE software for music education. Minuet aims at supporting 
students and teachers in many aspects of music education, such as ear 
training, first-sight reading, solfa, scales, rhythm, harmony, and 
improvisation. Minuet makes extensive use of MIDI capabilities to provide a 
full-fledged set of features regarding volume, tempo, and pitch changes, 
which makes Minuet a valuable tool for both novice and experienced 
musicians.

This is the initial release for Cygwin, joining the KDE Applications suite.

--
Yaakov

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



nettle 3.4-1

2018-03-19 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* nettle-3.4-1
* libnettle6-3.4-1
* libhogweed4-3.4-1
* libnettle-devel-3.4-1
* mingw64-i686-nettle-3.4-1
* mingw64-x86_64-nettle-3.4-1

Nettle is a cryptographic library that is designed to fit easily in more or 
less any context: In crypto toolkits for object-oriented languages, in 
applications like LSH or GNUPG, or even in kernel space.

This is an update to the latest upstream release:

http://lists.lysator.liu.se/pipermail/nettle-bugs/2017/003407.html

--
Yaakov


[ANNOUNCEMENT] libgpg-error 1.28-1

2018-03-19 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* libgpg-error0-1.28-1
* libgpg-error-devel-1.28-1
* mingw64-i686-libgpg-error-1.28-1
* mingw64-x86_64-libgpg-error-1.28-1

This is a library that defines common error values for all GnuPG 
components.  Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, 
Libksba, DirMngr, Pinentry, SmartCard Daemon and more.

This is an update to the latest upstream release.

--
Yaakov

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



[ANNOUNCEMENT] libtasn1 4.13-1

2018-03-19 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* libtasn1_6-4.13-1
* libtasn1-devel-4.13-1
* libtasn1-doc-4.13-1
* mingw64-i686-libtasn1-4.13-1
* mingw64-x86_64-libtasn1-4.13-1

A library for Abstract Syntax Notation One (ASN.1) and Distinguish Encoding 
Rules (DER) manipulation.

This is an update to the latest upstream release:

https://lists.gnu.org/archive/html/help-libtasn1/2018-01/msg3.html

--
Yaakov

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



libtasn1 4.13-1

2018-03-19 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* libtasn1_6-4.13-1
* libtasn1-devel-4.13-1
* libtasn1-doc-4.13-1
* mingw64-i686-libtasn1-4.13-1
* mingw64-x86_64-libtasn1-4.13-1

A library for Abstract Syntax Notation One (ASN.1) and Distinguish Encoding 
Rules (DER) manipulation.

This is an update to the latest upstream release:

https://lists.gnu.org/archive/html/help-libtasn1/2018-01/msg3.html

--
Yaakov


[ANNOUNCEMENT] libgcrypt 1.8.2-1

2018-03-19 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* libgcrypt20-1.8.2-1
* libgcrypt-devel-1.8.2-1
* mingw64-i686-libgcrypt-1.8.2-1
* mingw64-x86_64-libgcrypt-1.8.2-1

Libgcrypt is a general purpose crypto library based on the code used in 
GnuPG.

This is an update to the latest upstream release:

https://lists.gnupg.org/pipermail/gnupg-announce/2017q3/000410.html
https://lists.gnupg.org/pipermail/gnupg-announce/2017q3/000414.html

--
Yaakov

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



[ANNOUNCEMENT] krb5 1.15.2-2

2018-03-19 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* krb5-workstation-1.15.2-2
* krb5-server-1.15.2-2
* krb5-server-ldap-1.15.2-2
* krb5-pkinit-1.15.2-2
* krb5-k5tls-1.15.2-2
* krb5-samples-1.15.2-2
* krb5-doc-1.15.2-2
* libgssapi_krb5_2-1.15.2-2
* libgssrpc4-1.15.2-2
* libk5crypto3-1.15.2-2
* libkadm5clnt_mit11-1.15.2-2
* libkadm5srv_mit11-1.15.2-2
* libkdb5_8-1.15.2-2
* libkrad0-1.15.2-2
* libkrb5_3-1.15.2-2
* libkrb5support0-1.15.2-2
* libkrb5-devel-1.15.2-2

This is the reference implementation of the Kerberos network authentication 
protocol from MIT. It is designed to provide strong authentication for 
client/server applications by using secret-key cryptography.

This release includes patches for CVE-2018-5729 and CVE-2018-5730:

https://bugzilla.redhat.com/show_bug.cgi?id=1551082
https://bugzilla.redhat.com/show_bug.cgi?id=1551083

--
Yaakov

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



[ANNOUNCEMENT] gnutls 3.5.18-1

2018-03-19 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* gnutls-3.5.18-1
* libgnutls30-3.5.18-1
* libgnutls-dane0-3.5.18-1
* libgnutlsxx28-3.5.18-1
* libgnutls-devel-3.5.18-1
* libgnutls-doc-3.5.18-1
* guile-gnutls-3.5.18-1
* mingw64-i686-gnutls-3.5.18-1
* mingw64-x86_64-gnutls-3.5.18-1

GnuTLS is a secure communications library implementing the SSL, TLS and 
DTLS protocols and technologies around them. It provides a simple C 
language application programming interface (API) to access the secure 
communications protocols as well as APIs to parse and write X.509, PKCS#12, 
OpenPGP and other required structures.

This is an update to the latest "current stable" release:

https://lists.gnupg.org/pipermail/gnutls-devel/2017-July/008469.html
https://lists.gnupg.org/pipermail/gnutls-devel/2017-August/008483.html
https://lists.gnupg.org/pipermail/gnutls-devel/2017-October/008523.html
https://lists.gnupg.org/pipermail/gnutls-devel/2018-January/008538.html
https://lists.gnupg.org/pipermail/gnutls-devel/2018-February/008540.html

--
Yaakov

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



[ANNOUNCEMENT] fontforge 20170731-1

2018-03-19 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* fontforge-20170731-1
* libfontforge2-20170731-1
* libfontforge-devel-20170731-1
* python2-fontforge-20170731-1

An outline font editor that lets you create your own postscript, truetype, 
opentype, cid-keyed, multi-master, cff, svg and bitmap (bdf, FON, NFNT) 
fonts, or edit existing ones. Also lets you convert one format to another.

This is an update to the latest upstream release:

https://github.com/fontforge/fontforge/releases

--
Yaakov

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



gnutls 3.5.18-1

2018-03-19 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* gnutls-3.5.18-1
* libgnutls30-3.5.18-1
* libgnutls-dane0-3.5.18-1
* libgnutlsxx28-3.5.18-1
* libgnutls-devel-3.5.18-1
* libgnutls-doc-3.5.18-1
* guile-gnutls-3.5.18-1
* mingw64-i686-gnutls-3.5.18-1
* mingw64-x86_64-gnutls-3.5.18-1

GnuTLS is a secure communications library implementing the SSL, TLS and 
DTLS protocols and technologies around them. It provides a simple C 
language application programming interface (API) to access the secure 
communications protocols as well as APIs to parse and write X.509, PKCS#12, 
OpenPGP and other required structures.

This is an update to the latest "current stable" release:

https://lists.gnupg.org/pipermail/gnutls-devel/2017-July/008469.html
https://lists.gnupg.org/pipermail/gnutls-devel/2017-August/008483.html
https://lists.gnupg.org/pipermail/gnutls-devel/2017-October/008523.html
https://lists.gnupg.org/pipermail/gnutls-devel/2018-January/008538.html
https://lists.gnupg.org/pipermail/gnutls-devel/2018-February/008540.html

--
Yaakov


[ANNOUNCEMENT] curl 7.59.0-1

2018-03-19 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* curl-7.59.0-1
* libcurl4-7.59.0-1
* libcurl-devel-7.59.0-1
* libcurl-doc-7.59.0-1
* mingw64-i686-curl-7.59.0-1
* mingw64-x86_64-curl-7.59.0-1

curl is a command line tool and library for transferring files with URL 
syntax, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, 
and FILE. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP 
uploading, HTTP form based upload, proxies, cookies, user+password 
authentication (Basic, Digest, NTLM, Negotiate...), file transfer resume, 
proxy tunneling and a busload of other useful tricks.

This is an update to the latest upstream release, which includes several 
CVE fixes:

https://curl.haxx.se/changes.html#7_57_0
https://curl.haxx.se/changes.html#7_58_0
https://curl.haxx.se/changes.html#7_59_0

--
Yaakov

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



[ANNOUNCEMENT] c-ares 1.14.0-1

2018-03-19 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* libcares2-1.14.0-1
* libcares-devel-1.14.0-1
* mingw64-i686-c-ares-1.14.0-1
* mingw64-x86_64-c-ares-1.14.0-1

c-ares is an asynchronous resolver library.  It is intended for 
applications which need to perform DNS queries without blocking, or need to 
perform multiple DNS queries in parallel.  The primary examples of such 
applications are servers which communicate with multiple clients and 
programs with graphical user interfaces.

This is an update to the latest upstream release:

https://c-ares.haxx.se/changelog.html#1_14_0

--
Yaakov

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



c-ares 1.14.0-1

2018-03-19 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* libcares2-1.14.0-1
* libcares-devel-1.14.0-1
* mingw64-i686-c-ares-1.14.0-1
* mingw64-x86_64-c-ares-1.14.0-1

c-ares is an asynchronous resolver library.  It is intended for 
applications which need to perform DNS queries without blocking, or need to 
perform multiple DNS queries in parallel.  The primary examples of such 
applications are servers which communicate with multiple clients and 
programs with graphical user interfaces.

This is an update to the latest upstream release:

https://c-ares.haxx.se/changelog.html#1_14_0

--
Yaakov


X Server 1.19.6-2 , xset does not add ghostscript fonts for xfig

2018-03-19 Thread Andrew P Paplinski via cygwin

Dear Cygwin X,

I am running X Server 1.19.6-2 built 2018-03-12

I have the following error:

$ xset fp+ /usr/share/ghostscript/fonts/
xset:  bad font path element (#2), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax

The font directory does exist:

app@MU00108269 /usr/share/ghostscript
$ ls -l
total 12
drwxr-xr-x+ 1 app Domain Users 0 Mar 9 10:02 9.22
drwxr-xr-x+ 1 app Domain Users 0 Mar 9 10:02 fonts

Also

$ xset q
 Font Path:
  catalogue:/etc/X11/fontpath.d,built-ins

Without  ghostscript fonts  xfig  does not get the proper fonts.
Please help

Andrew

--
A/Prof. Andrew P Paplinski
http://users.monash.edu/~app


--
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: umask not working?

2018-03-19 Thread Ken Brown

On 3/19/2018 8:48 AM, David Allsopp wrote:

Is this expected behaviour:

OPAM+DRA@OPAM ~
$ uname -a ; umask ; touch /tmp/foo ; ls -l /tmp/foo ; mkdir /tmp/bar ;
touch /tmp/bar/foo ; ls -l /tmp/bar/foo
CYGWIN_NT-6.1-WOW OPAM 2.10.0(0.325/5/3) 2018-02-02 15:21 i686 Cygwin
0022
-rw-r--r-- 1 OPAM+DRA OPAM+None 0 Mar 19 13:44 /tmp/foo
-rw-rw-r--+ 1 OPAM+DRA OPAM+None 0 Mar 19 13:44 /tmp/bar/foo

Why does the file /tmp/bar/foo get g+w when /tmp/foo doesn't - I'm not sure
what to look at on my system to diagnose what I may have inadvertently
tweaked. The directory itself is:

drwxr-xr-x+ 1 OPAM+DRA OPAM+None 0 Mar 19 13:44 /tmp/bar


See if this helps:

  https://cygwin.com/faq/faq.html#faq.using.same-with-permissions

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



Re: umask not working?

2018-03-19 Thread Andrey Repin
Greetings, David Allsopp!

> Is this expected behaviour:

> OPAM+DRA@OPAM ~
> $ uname -a ; umask ; touch /tmp/foo ; ls -l /tmp/foo ; mkdir /tmp/bar ;
> touch /tmp/bar/foo ; ls -l /tmp/bar/foo
> CYGWIN_NT-6.1-WOW OPAM 2.10.0(0.325/5/3) 2018-02-02 15:21 i686 Cygwin
> 0022
> -rw-r--r-- 1 OPAM+DRA OPAM+None 0 Mar 19 13:44 /tmp/foo
> -rw-rw-r--+ 1 OPAM+DRA OPAM+None 0 Mar 19 13:44 /tmp/bar/foo

> Why does the file /tmp/bar/foo get g+w when /tmp/foo doesn't - I'm not sure
> what to look at on my system to diagnose what I may have inadvertently
> tweaked. The directory itself is:

> drwxr-xr-x+ 1 OPAM+DRA OPAM+None 0 Mar 19 13:44 /tmp/bar

Let me guess, /tmp usertemp ?

You have extended ACL on the object. And overall, umask is not a good idea in
Windows.


-- 
With best regards,
Andrey Repin
Monday, March 19, 2018 20:06:19

Sorry for my terrible english...


--
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: output waring for cygwin process running at setup__.exe

2018-03-19 Thread Marco Atzeri

On 19/03/2018 01:09, Tatsuro MATSUOKA wrote:


Sorry for my inadequate description.
At postinstall stage, cygwin setup execute 
/etc/postinstall/0p_000_autorebase.dash,
this sometimes fails when Cygwin process(es) is(are) alive.
Acooding to http://cygwin.wikia.com/wiki/Rebaseall,
we have to kill or stop cygwin porcesses and sevices before rebase.
This is why I propose that warning messages in pre-install stage in cygwin 
setup.
Tatsuro



In reality is better to NOT have cygwin process running before
running setup otherwise the update will fail if the
running programs od depending shared libraries are to be update

Regards
Marco


--
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: HELP ME OUT ! Trying to Convert .tar INTO .tar.md5

2018-03-19 Thread Marco Atzeri

Unlikely that Kashif is following the mailing list

On 18/03/2018 20:56, Brian Inglis wrote:

On 2018-03-18 13:35, Kashif Saeed wrote:

3 [main] ls 4420 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer.
Please report this problem to the public mailing list cygwin@cygwin.com

This is just a warning to please upgrade Cygwin as explained at:

https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings

and please report the issue to whoever produces the software you are using.



--
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: EXTERNAL: umask not working?

2018-03-19 Thread Wells, Roger K.

On 03/19/2018 08:49 AM, David Allsopp wrote:

Is this expected behaviour:

OPAM+DRA@OPAM ~
$ uname -a ; umask ; touch /tmp/foo ; ls -l /tmp/foo ; mkdir /tmp/bar ;
touch /tmp/bar/foo ; ls -l /tmp/bar/foo
CYGWIN_NT-6.1-WOW OPAM 2.10.0(0.325/5/3) 2018-02-02 15:21 i686 Cygwin
0022
-rw-r--r-- 1 OPAM+DRA OPAM+None 0 Mar 19 13:44 /tmp/foo
-rw-rw-r--+ 1 OPAM+DRA OPAM+None 0 Mar 19 13:44 /tmp/bar/foo

Why does the file /tmp/bar/foo get g+w when /tmp/foo doesn't - I'm not sure
what to look at on my system to diagnose what I may have inadvertently
tweaked. The directory itself is:

drwxr-xr-x+ 1 OPAM+DRA OPAM+None 0 Mar 19 13:44 /tmp/bar

Thanks!


David


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



FWIW
$ uname -a ; umask ; touch /tmp/foo ; ls -l /tmp/foo ; mkdir /tmp/bar ; 
touch /tmp/bar/foo ; ls -l /tmp/bar/foo

CYGWIN_NT-10.0 rwells-x240 2.10.0(0.325/5/3) 2018-02-02 15:16 x86_64 Cygwin
0022
-rw-r--r-- 1 roger None 0 Mar 19 09:29 /tmp/foo
mkdir: created directory '/tmp/bar'
-rw-r--r-- 1 roger None 0 Mar 19 09:29 /tmp/bar/foo

HTH

--

Roger Wells, P.E.
leidos
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger.k.we...@leidos.com


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

2018-03-19 Thread David Allsopp
Lee wrote:
> On 3/18/18, David Allsopp   wrote:
> > Lee wrote:
> >> On 3/14/18, David Allsopp wrote:
> >> > [reformatted for top-posting]
> >> >
> >> > Lee wrote:
> >> >> > -- Forwarded message --
> >> >> > From: Jon Turney
> >> >> > Date: Fri, 3 Nov 2017 15:26:27 +
> >> >> > Subject: Re: Problem running the latest python2-2.7.14-1 under
> >> >> > AppVeyor
> >> >> > To: The Cygwin Mailing List 
> >> >> >
> >> >> > On 03/11/2017 14:45, Vadim Zeitlin wrote:
> >> >> > > Our build has started on AppVeyor, a continuous integration
> >> >> > > provider, started failing since a couple of days as a makefile
> >> >> > > command running a Python script started failing with exit code
> >> >> > > 127 without any more information. This is a strange situation
> >> >> > > as I can't reproduce the problem locally, but something
> >> >> > > definitely seems to be wrong with this package on the AppVeyor
> >> >> > > machine as Python just doesn't seem to be executable, e.g. the
> >> >> > > output of these commands in our batch file
> >> >> > driving the build:
> >> >> >
> >> >> > Perhaps you need to provide the -g (--upgrade-also) flag to
> >> >> > cygwin's setup.
> >> >> >
> >> >> > Due to setup terribleness, without this flag, it will install
> >> >> > the requested packages, and any missing dependencies of them,
> >> >> > but not upgrade any of the dependencies which are already
> >> >> > installed to the current (and perhaps needed) version...
> >> >> >
> >> >> > See also [1].
> >> >> >
> >> >> > [1] https://sourceware.org/ml/cygwin/2017-03/msg00365.html
> >> >>
> >> >> Should we still be using the -g (--upgrade-also) flag on setup?
> >> >
> >> > I believe so (or at least hope so).
> >>
> >> So if I run setup and it says there are no pending updates it might
> >> be lying to me?
> >>
> >> I need to run setup -g and only then if there are no pending updates
> >> do I know that my cygwin installation is up to date?
> >
> > No - the original question here was about running setup with a command
> > line and the --packages argument. If you run setup interactively (with
> > no arguments), you should be told if any packages need upgrading, just
> > as before, without needing -g.
> 
> When I saw the msg about
> > Perhaps you need to provide the -g (--upgrade-also) flag
> I tried running setup & got a short list of updates.  Applied the
> updates and ran setup again.. and had no pending updates listed as
> expected.  Then I ran setup -g and a few libXXX things were listed as
> pending :(
> 
> Maybe I got lucky & the lib showed up at the mirror I was
> using just after running setup the second time??  dunno, but
> unless/until I can duplicate setup not showing any pending updates &
> setup -g saying there are pending updates, maybe we should just write it
> off as a one time occurrence.

It's possible that it was simply a mirror update - there are two ways to tell, 
if you see it again (or if you can remember what the actual packages were and 
the date you did it). One is to look in the history of this mailing list and 
see if there was an announce of a package update on or around the time you did 
the update. The other is to browse a mirror directly (e.g. 
https://mirrorservice.org/sites/sourceware.org/pub/cygwin/) and look at the 
timestamps of the files for the new package which appeared.

The third way, if it really worries you, is to use a private mirror (either via 
rsync or using Cygwin setup's "Download" option - though over the years I've 
found the latter remarkably unreliable) which allows completely repeatable 
installations.

HTH,


David 



umask not working?

2018-03-19 Thread David Allsopp
Is this expected behaviour:

OPAM+DRA@OPAM ~
$ uname -a ; umask ; touch /tmp/foo ; ls -l /tmp/foo ; mkdir /tmp/bar ;
touch /tmp/bar/foo ; ls -l /tmp/bar/foo
CYGWIN_NT-6.1-WOW OPAM 2.10.0(0.325/5/3) 2018-02-02 15:21 i686 Cygwin
0022
-rw-r--r-- 1 OPAM+DRA OPAM+None 0 Mar 19 13:44 /tmp/foo
-rw-rw-r--+ 1 OPAM+DRA OPAM+None 0 Mar 19 13:44 /tmp/bar/foo

Why does the file /tmp/bar/foo get g+w when /tmp/foo doesn't - I'm not sure
what to look at on my system to diagnose what I may have inadvertently
tweaked. The directory itself is:

drwxr-xr-x+ 1 OPAM+DRA OPAM+None 0 Mar 19 13:44 /tmp/bar

Thanks!


David


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



Patch for graphite2 1.3.11

2018-03-19 Thread Ken Brown

Yaakov,

FYI, I had occasion to build graphite2-1.3.11 in connection with TeX 
Live, and I needed the attached patch.  I've reported this upstream:


  https://github.com/silnrsi/graphite/issues/32

Ken
From 474d863fa779e5ae5568e90d7cec8928878229de Mon Sep 17 00:00:00 2001
From: Ken Brown 
Date: Sun, 18 Mar 2018 11:25:09 -0400
Subject: [PATCH] Don't include intsafe.h on Cygwin

This is a w32api header, which brings in several other such headers
and breaks the build.
---
 src/inc/Main.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/inc/Main.h b/src/inc/Main.h
index f66b48d..2c64c6b 100644
--- a/src/inc/Main.h
+++ b/src/inc/Main.h
@@ -86,7 +86,7 @@ struct telemetry  {};
   #define HAVE_BUILTIN_OVERFLOW
 #endif
 #if defined(__has_include)
-  #if __has_include()
+  #if __has_include() && !defined(__CYGWIN__)
 #define HAVE_INTSAFE_H
   #endif
 #elif defined(_WIN32)
-- 
2.16.2



Re: output warning for cygwin process running at setup__.exe

2018-03-19 Thread Andrey Repin
Greetings, Brian Inglis!

>>> The problem is, not all packages are prepared to deal with locked shared
>>> objects (in truth, none are). Which may leave system in an inconsistent
>>> state even after reboot.

> Cygwin setup uses standard Windows wininit processing to perform the
> replacements on restart.

Does it schedule a rebase after replacement?

>> Server service like cygserver always start after windows re-start if it is
>> registered. So restart does not always kill cygwin processes. I do not want
>> to force to  kill cygwin process by setupXX.exe but output the warning.

> Only if a service is registered for Automatic startup: you can change this to
> Manual, and restart services in a permanent last postinstall script prefix 
> e.g.
> zp_zzz_services.dash, which can also be executed by a scheduled task, before
> starting Cygwin from e.g. a XWin Server taskbar or Start Menu shortcut.

> Cygwin setup could operate more consistently and transparently if setup 
> warned,
> then shutdown running Cygwin services and noted them, and killed all remaining
> processes, before beginning the install phase, then restarted previously noted
> running services after the postinstall phase.

Or it could rename the objects it failed to delete, and use wininit to
cleanup.


-- 
With best regards,
Andrey Repin
Monday, March 19, 2018 13:37:06

Sorry for my terrible english...


--
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: output warning for cygwin process running at setup__.exe

2018-03-19 Thread Vlado

On 19.3.2018 5:56, Tatsuro MATSUOKA wrote:

Sever survice like cygsever always start after windows re-start if it is 
registered.
So restart does not always kill cygwin processes.
I do not want to force to  kill cygwin process by setupXX.exe but output the 
warning.


Hi,

I use script [1] for years in order to:
- allways use latest setup.exe
- stop all running Cygwin services* before setup is started
- start formerlly runnig Cygwin services after setup is done
- and more

*) services I usually run; feel free to add more services according your 
needs



1: https://gist.github.com/Vlado-99/1d59bf05b70481377ff90bb53e13bb2d

Vlado

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