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

2016-07-06 Thread Vlado

On 6.7.2016 7:17, Warren Young wrote:

if the mirror was used for both an x86 and x86_64 installation, it always uses 
the x86 setup.ini, regardless of the current architecture.

Good catch!  The script now uses the output of uname -m to select the mirror 
subdirectory.



Hi,

this is not allways right. I still use 32-bit Cygwin on 64-bit Windows.

$ uname -m
i686

$ ls 'Downloads/Cygwin/http%3A%2F%2Fgd.tuwien.ac.at%2Fgnu%2Fcygwin%2F/'
noarch  x86

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



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

2016-07-06 Thread Vlado

Hi.

One more sugestion: use -e test instead of -r, because Perl -r is not 
allways reliable in mixed Cygwin/Windows environment.


(Cygwin terminal)
$ perl -e "if( -r 
'Cygwin/http%3A%2F%2Fgd.tuwien.ac.at%2Fgnu%2Fcygwin%2F/x86/setup.ini'){print 
'readable'}else{print 'cant read'}"

cant read

$ head 'Cygwin/http%3A%2F%2Fgd.tuwien.ac.at%2Fgnu%2Fcygwin%2F/x86/setup.ini'
# This file is automatically generated.  If you edit it, your
# edits will be discarded next time the file is generated.
# See http://cygwin.com/setup.html for details.
#
release: cygwin
arch: x86
setup-timestamp: 1466876494
setup-version: 2.874

$ getfacl 
'Cygwin/http%3A%2F%2Fgd.tuwien.ac.at%2Fgnu%2Fcygwin%2F/x86/setup.ini'

# file: Cygwin/http%3A%2F%2Fgd.tuwien.ac.at%2Fgnu%2Fcygwin%2F/x86/setup.ini
# owner: POVB+User(1124)
# group: POVB+Group(513)
user::---
group::---
group:SYSTEM:rwx
group:Administrators:rwx
group:VLADOB+Own:rwx
mask:rwx
other:---

$ perl -e "if( -e 
'Cygwin/http%3A%2F%2Fgd.tuwien.ac.at%2Fgnu%2Fcygwin%2F/x86/setup.ini'){print 
'exists'}else{print 'doesnt exists'}"

exists

(Windows Command prompt)
Cygwin\http%3a%2f%2fgd.tuwien.ac.at%2fgnu%2fcygwin%2f> icacls x86\setup.ini
x86\setup.ini NT AUTHORITY\SYSTEM:(I)(F)
  BUILTIN\Administrators:(I)(F)
  VLADOB\Own:(I)(F)

Tail of sub find_setup_ini_file will be:
open my $uname, '-|', 'uname -m' or die "uname -m failed: $!\n";
my $plat = <$uname>;
chomp $plat;
close $uname;

my $setup_path = "$path/$mirror/$plat/setup.ini";
return $setup_path if -e $setup_path;

# If 32-bit Cygwin on 64-bit OS, the above doesn't works
$setup_path = "$path/$mirror/x86/setup.ini";
return $setup_path if -e $setup_path;

# Definitely not found
usage("could not find setup.ini");
}

This works for me.

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



strace red herring ?

2016-07-06 Thread Marco Atzeri

strace extract from a simple session
  strace -o mc.strace /usr/bin/mc.exe

some of the "child_copy: dll bss" report huge time steps,
but I am almost sure the program was not waiting 15 seconds


18 526 [main] bash 5824 pinfo::thisproc: myself dwProcessId 5824
47 573 [main] bash 5824 child_copy: dll data - hp 0x238 low 0x180202000, 
high 0x18020E320, res 1


15707110 15707683 [main] bash 5824 child_copy: dll bss - hp 0x238 low
0x1802D6000, high 0x18031FB30, res 1

224 15707907 [main] bash 5824 child_copy: user heap - hp 0x238 low
0x6, high 0x60008, res 1
24 15707931 [main] bash 5824 child_copy: done

Could be the counter wrong ?

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: strace red herring ?

2016-07-06 Thread Corinna Vinschen
On Jul  6 17:40, Marco Atzeri wrote:
> strace extract from a simple session
>   strace -o mc.strace /usr/bin/mc.exe
> 
> some of the "child_copy: dll bss" report huge time steps,
> but I am almost sure the program was not waiting 15 seconds
> 
> 
> 18 526 [main] bash 5824 pinfo::thisproc: myself dwProcessId 5824
> 47 573 [main] bash 5824 child_copy: dll data - hp 0x238 low 0x180202000,
> high 0x18020E320, res 1
> 
> 15707110 15707683 [main] bash 5824 child_copy: dll bss - hp 0x238 low
> 0x1802D6000, high 0x18031FB30, res 1
> 
> 224 15707907 [main] bash 5824 child_copy: user heap - hp 0x238 low
> 0x6, high 0x60008, res 1
> 24 15707931 [main] bash 5824 child_copy: done
> 
> Could be the counter wrong ?

Yes.  It seems this is the value copied from the parent :)

A fix requires to move `static hires_ns now' out of the
strace::microseconds method and to save/restore it in child_copy.

I'll look into it the next couple of days if nobody beats me to it.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


signature.asc
Description: PGP signature


Re: strace red herring ?

2016-07-06 Thread Corinna Vinschen
On Jul  6 18:42, Corinna Vinschen wrote:
> On Jul  6 17:40, Marco Atzeri wrote:
> > strace extract from a simple session
> >   strace -o mc.strace /usr/bin/mc.exe
> > 
> > some of the "child_copy: dll bss" report huge time steps,
> > but I am almost sure the program was not waiting 15 seconds
> > 
> > 
> > 18 526 [main] bash 5824 pinfo::thisproc: myself dwProcessId 5824
> > 47 573 [main] bash 5824 child_copy: dll data - hp 0x238 low 0x180202000,
> > high 0x18020E320, res 1
> > 
> > 15707110 15707683 [main] bash 5824 child_copy: dll bss - hp 0x238 low
> > 0x1802D6000, high 0x18031FB30, res 1
> > 
> > 224 15707907 [main] bash 5824 child_copy: user heap - hp 0x238 low
> > 0x6, high 0x60008, res 1
> > 24 15707931 [main] bash 5824 child_copy: done
> > 
> > Could be the counter wrong ?
> 
> Yes.  It seems this is the value copied from the parent :)
> 
> A fix requires to move `static hires_ns now' out of the
> strace::microseconds method and to save/restore it in child_copy.
> 
> I'll look into it the next couple of days if nobody beats me to it.

It's even easier than that.  We simply have to make sure it isn't
copied into the child.  I pushed a patch.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


signature.asc
Description: PGP signature


question about clearing all pending updates from setup.exe

2016-07-06 Thread LMH

Hello,

I need to update my python version but at this point, I don't want to install any 
other updates. This is an old xp box and I don't want to fiddle with it overly much 
given that xp support is going away. If changing python causes issues, I can always 
change it back.


I know I can select, "pending" under view and go through the list changing the new 
version number back to "keep" but the list is long and I was wondering if the was a 
better way to go about this.


Thanks,

LMH

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



Hi cygwin

2016-07-06 Thread MichaelRWolf
Greetings cygwin

http://www.torosinc.com/chemical.php?france=162wmnz8ugexvy7




Yours
MichaelRWolf

--
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: question about clearing all pending updates from setup.exe

2016-07-06 Thread Marco Atzeri

On 06/07/2016 21:42, LMH wrote:

Hello,

I need to update my python version but at this point, I don't want to
install any other updates. This is an old xp box and I don't want to
fiddle with it overly much given that xp support is going away. If
changing python causes issues, I can always change it back.

I know I can select, "pending" under view and go through the list
changing the new version number back to "keep" but the list is long and
I was wondering if the was a better way to go about this.

Thanks,

LMH



Select "Keep" button instead of the default "Current";
than replace on the "New" column the "Keep" for Python with last version

I suspect you will need to update something more including
cygwin.

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: question about clearing all pending updates from setup.exe

2016-07-06 Thread LMH

Marco Atzeri wrote:

On 06/07/2016 21:42, LMH wrote:

Hello,

I need to update my python version but at this point, I don't want to
install any other updates. This is an old xp box and I don't want to
fiddle with it overly much given that xp support is going away. If
changing python causes issues, I can always change it back.

I know I can select, "pending" under view and go through the list
changing the new version number back to "keep" but the list is long and
I was wondering if the was a better way to go about this.

Thanks,

LMH



Select "Keep" button instead of the default "Current";
than replace on the "New" column the "Keep" for Python with last version

I suspect you will need to update something more including
cygwin.

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




Thanks, I thought there was a way to do this but couldn't remember.

It looks like I need python 3.2 and it seems as if cygwin only goes up to 
python 2.7

LMH


--
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: question about clearing all pending updates from setup.exe

2016-07-06 Thread Marco Atzeri

On 06/07/2016 22:31, LMH wrote:

Marco Atzeri wrote:






Thanks, I thought there was a way to do this but couldn't remember.

It looks like I need python 3.2 and it seems as if cygwin only goes up
to python 2.7

LMH



$ cygcheck -cd python3
Cygwin Package Information
Package  Version
python3  3.4.3-1

--
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: How to build Emacs in Cygwin environment?

2016-07-06 Thread Xi Shen
So I should execute "config --with-w32" inside a cygwin environment?


Xi Shen
about.me/davidshen


On Tue, Jul 5, 2016 at 6:45 PM, Andy Moreton  wrote:
> 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 "config msdos", but I got error about DJGPP. I made sure I
>> have install all packages with name DJGPP in them, but I still got
>> this error.
>>
>> What else do I need?
>
> You are using the build method for MSDOS - what you want is a cygwin
> target, which uses the normal POSIX build machinery.
>
> Build instructions are in the file INSTALL.REPO at the top of the repo.
> For the w32 build (which uses the Win32 GUI rather than X11), you will
> need to configure using "--with-w32".
>
> AndyM
>
>
> --
> 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