Re: Anecdotal: Rebase and Visual Studio 2015 and /etc

2016-07-05 Thread Warren Young
On Jul 3, 2016, at 8:02 AM, Ken Brown wrote: > > it doesn't take dependency loops into account I’ve fixed that using your proposed “Dependency order” solution. I haven’t analyzed the output, but it is a bit longer than the last time, so I assume it has saved me from dropping all packages in a

Re: cygstart.exe can't open file:///C:/

2016-07-05 Thread Warren Young
On Jul 5, 2016, at 12:10 PM, Brian Inglis wrote: > > cygstart file://C:/ works Right. The extra leading slash is causing the POSIX to DOS command conversion to effectively give you $(cygpath -m /c:/) rather than what you expected, which was $(cygpath -m c:/)

Re: how to compile cygwin from sources in cygwin(win 7)?

2016-07-05 Thread Warren Young
On Jul 4, 2016, at 6:34 AM, harryren0...@sina.com wrote: > > ../../../../cygwinSrc/winsup/cygwin/cxx.cc:32:32: error: unknown option after > '#pragma GCC diagnostic' kind [-Werror=pragmas] > #pragma GCC diagnostic ignored "-Wc++14-compat” That says you’re using a GCC that doesn’t understand

Re: Anecdotal: Rebase and Visual Studio 2015 and /etc

2016-07-05 Thread Warren Young
On Jul 5, 2016, at 6:11 AM, KARL BOTTS wrote: > > I have been using 32-bit Cygwin for at least 15 > years, and being without it throws me into a tizzy. 64-bit Cygwin installs in parallel to 32-bit Cygwin, not over the top of it. If your 64-bit adventure is a complete failure,

Re: Anecdotal: Rebase and Visual Studio 2015 and /etc

2016-07-05 Thread Ken Brown
On 7/5/2016 9:59 AM, Ken Brown wrote: On 7/3/2016 10:02 AM, Ken Brown wrote: This script has a couple of problems. First, it doesn't take dependency loops into account. For example, if package p requires q and q requires p, then both will be marked as non-root. Second, if the mirror was

Re: cygstart.exe can't open file:///C:/

2016-07-05 Thread Brian Inglis
Gene Pavlovsky gmail.com> writes: > On 4 July 2016 at 04:10, Juan Miguel Navarro Martínez gmail.com> wrote: >> On 2016-07-04 at 01:51, Gene Pavlovsky wrote: >>> cygstart‘s manpage says it’s similar to the Windows command-line start command. >>> However, cygstart file:///C:/ results in an error

Re: Repairing permissions after windows reinstall -- scripts to do it

2016-07-05 Thread Henry S. Thompson
Here's what worked for me in the end, over several days (I had several hundred thousand files to fix): These could be parameterised much better, but I leave that as an exercise to the user... These both use subinacl, as getting /substitute ... /restore to work with icacls was beyond me.

Re: how to build cygwin from source?

2016-07-05 Thread Marco Atzeri
On 05/07/2016 17:37, harryren0...@sina.com wrote: ../../../../cygwinSrc/winsup/cygwin/autoload.cc but this is a relative path. Have you some residual around of a previous build ? no, make distclean make I don't see the need of "make distclean" between "configure" and "make" on a empty build

Re: cygstart.exe can't open file:///C:/

2016-07-05 Thread Gene Pavlovsky
Juan, thanks for this, it does work. (on my system I setup `cygdrive` to be `/mnt` using fstab, though). But I think the C:/ syntax should be supported as well. After all, `ls C:/` works correctly on Cygwin. Don't you think? On 4 July 2016 at 04:10, Juan Miguel Navarro Martínez

Re: Repairing permissions after windows reinstall

2016-07-05 Thread Andrey Repin
Greetings, Corinna Vinschen! > On Jul 4 06:27, Andrey Repin wrote: >> Greetings, Henry S. Thompson! >> >> > Andrey Repin writes: >> >> >> Greetings, Henry S. Thompson! >> >> >> >>> Good news: My cygwin file tree survived a Windows (10) reinstall >> >>> Not-so-good news: I have a new SID, so

Re: [PATCH 0/3] Small documentation fixes

2016-07-05 Thread Corinna Vinschen
On Jul 5 11:07, Jon Turney wrote: > Jon Turney (3): > Use tag at same level as , not inside it > Use tag, not tag > Improve description of Cygwin ldd utility > > winsup/doc/utils.xml | 43 --- > 1 file changed, 32 insertions(+), 11 deletions(-)

Re: Anecdotal: Rebase and Visual Studio 2015 and /etc

2016-07-05 Thread Ken Brown
On 7/3/2016 10:02 AM, Ken Brown wrote: On 7/1/2016 7:38 PM, Warren Young wrote: On Jul 1, 2016, at 4:40 PM, Warren Young wrote: I’ve written a script to do that automatically. I’ve improved the script so that it no longer requires any parameters. It finds the last-used setup.ini file and

Re: [ITP] calm - cygwin package server tools

2016-07-05 Thread Ken Brown
On 7/5/2016 8:28 AM, Jon Turney wrote: On 01/07/2016 17:25, Ken Brown wrote: On 7/1/2016 9:04 AM, Jon Turney wrote: This package contains: * calm - a script which runs on sourceware * mksetupini - generates a setup.ini file from the setup.hint files for the packages in the release area,

Re: how to build cygwin from source?

2016-07-05 Thread Marco Atzeri
On 05/07/2016 14:46, harryren0...@sina.com wrote: I configured like this: mkdir /oss/src mkdir /oss/build mkdir /oss/install cd build /oss/src/configure --prefix=/oss/install this is a call to a configure with absolute path make >& make.out make install > install.log 2>&1 when i compiled

how to build cygwin from source?

2016-07-05 Thread harryren0524
I configured like this: mkdir /oss/src mkdir /oss/build mkdir /oss/install cd build /oss/src/configure --prefix=/oss/install make >& make.out make install > install.log 2>&1 when i compiled cygwin2.5.2-1 from source code in cygwin 2.2.1-1(win 7),i got a error: c++wrap -O2 -g -fno-rtti

Re: [ITP] calm - cygwin package server tools

2016-07-05 Thread Jon Turney
t removed that instead. Updated packages: http://www.dronecode.org.uk/cygwin/noarch/release/calm/calm-20160705-1-src.tar.xz http://www.dronecode.org.uk/cygwin/noarch/release/calm/calm-20160705-1.tar.xz

Re: Anecdotal: Rebase and Visual Studio 2015 and /etc

2016-07-05 Thread Achim Gratz
KARL BOTTS usa.net> writes: > I am just a little nervous. I have been using 32-bit Cygwin for at least 15 > years, and being without it throws me into a tizzy. (I barely know how to use > WindowsExplorer.) Are there any gotchas I should know about? Here's another way to do it.

Re: Anecdotal: Rebase and Visual Studio 2015 and /etc

2016-07-05 Thread KARL BOTTS
Karl Botts>> I use Cygwin32 on Windows-64. Warren Young> Then you’re artificially making rebase’s job harder. > The list of 32-bit-only Cygwin packages is tiny these days, and you’ve just > rebuilt your Cygwin environment. With my new find-cyg-roots script, you could > rebuild your current

Re: How to build Emacs in Cygwin environment?

2016-07-05 Thread Andy Moreton
On Tue 05 Jul 2016, Xi Shen wrote: > Hi, > > I want to make some code change to Emacs for Windows, but first I need > to setup the build environment. > > I got the Emacs git repo, and tried "config msdos", but I got > "permission denied" error. If I execute "cmd" from Cygwin bash, I can > execute

[PATCH 3/3] Improve description of Cygwin ldd utility

2016-07-05 Thread Jon Turney
Improve the description of Cygwin ldd utility to give a bit more detail about how it does what it does Also add a security warning (modelled after the one in the Linux manpage) that it may end up executing the file it is applied to. Signed-off-by: Jon Turney ---

[PATCH 2/3] Use tag, not tag

2016-07-05 Thread Jon Turney
Fix an instance of the invalid tag in Cygwin utils documentation, by using the valid tag instead. Signed-off-by: Jon Turney --- winsup/doc/utils.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/doc/utils.xml b/winsup/doc/utils.xml

[PATCH 1/3] Use tag at same level as , not inside it

2016-07-05 Thread Jon Turney
In Cygwin utils documentation, use the tag at same level as , not inside it. This improves the generated manpages. Signed-off-by: Jon Turney --- winsup/doc/utils.xml | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git

[PATCH 0/3] Small documentation fixes

2016-07-05 Thread Jon Turney
Jon Turney (3): Use tag at same level as , not inside it Use tag, not tag Improve description of Cygwin ldd utility winsup/doc/utils.xml | 43 --- 1 file changed, 32 insertions(+), 11 deletions(-) -- 2.8.3

Re: How to build Emacs in Cygwin environment?

2016-07-05 Thread Hans-Bernhard Bröker
Am 05.07.2016 um 08:38 schrieb Xi Shen: I want to make some code change to Emacs for Windows, but first I need to setup the build environment. I got the Emacs git repo, and tried "config msdos", That makes no sense. That step configures Emacs to build for _DOS_, not Windows. -- Problem

How to build Emacs in Cygwin environment?

2016-07-05 Thread Xi Shen
Hi, I want to make some code change to Emacs for Windows, but first I need to setup the build environment. I got the Emacs git repo, and tried "config msdos", but I got "permission denied" error. If I execute "cmd" from Cygwin bash, I can execute "config msdos", but I got error about DJGPP. I