Re: Problem with nm in binutils-2.25-2 on x86

2015-10-09 Thread JonY

> $ nm -l a.exe
> 00406000 b .bssBFD: Dwarf Error: Could not find abbrev number 120.
> 00406018 b .bssBFD: Dwarf Error: Could not find abbrev number 120.
> [...]
> 00406040 b _u.25303BFD: Dwarf Error: Could not find abbrev number 120.
> 00401000 T _WinMainCRTStartup
> /usr/src/debug/cygwin-2.2.1-1/winsup/cygwin/crt0.c:23
> 004070b8 i fthunkBFD: Dwarf Error: Could not find abbrev number 120.
> 00407074 i hnameBFD: Dwarf Error: Could not find abbrev number 120.
> 
> Ken

Kai is of the opinion that rebuilding the gcc, CRT, Cygwin and
everything in between be rebuilt with the new binutils to solve the issue.

Might be a huge undertaking.





signature.asc
Description: OpenPGP digital signature


Re: Problem with nm in binutils-2.25-2 on x86

2015-10-09 Thread Ken Brown

On 10/9/2015 6:30 AM, JonY wrote:



$ nm -l a.exe
00406000 b .bssBFD: Dwarf Error: Could not find abbrev number 120.
00406018 b .bssBFD: Dwarf Error: Could not find abbrev number 120.
[...]
00406040 b _u.25303BFD: Dwarf Error: Could not find abbrev number 120.
00401000 T _WinMainCRTStartup
/usr/src/debug/cygwin-2.2.1-1/winsup/cygwin/crt0.c:23
004070b8 i fthunkBFD: Dwarf Error: Could not find abbrev number 120.
00407074 i hnameBFD: Dwarf Error: Could not find abbrev number 120.

Ken


Kai is of the opinion that rebuilding the gcc, CRT, Cygwin and
everything in between be rebuilt with the new binutils to solve the issue.

Might be a huge undertaking.


That depends on what you mean by "everything in between".  Wouldn't it 
suffice to rebuild the cygwin package and the toolchain?


The main issue for us, AFAICT, is that package maintainers need to be 
able to build their packages without having the build take hours when 
cygport calls 'nm -l'.


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: Regression with gnu screen: Scrollbar gone between 4.02 and 4.03

2015-10-09 Thread Henry S. Thompson
Andrew Schulman writes:

>> >> Otherwise someone will need to do some bisection to find the commit
>> >> that introduced it.

So, bizarrely, here's what I have found.

The distributed screen 4.3 binary has the problem (no scrollbar, etc.)
The distributed screen 4.2 binary does not have the problem
Installing the 4.2 src package, running cygport and running the result
does not have the problem
Installing the 4.3 src package, running cygport and running the result
_does not have the problem_.

This despite the fact that (by chance, as you will see in a moment) the
distributed and locally-built 4.3 binaries are the same size.

But they are not in fact identical, and the visible differences, per
"strings", is as follows:

  > diff -bw /tmp/os.strings /tmp/ns.strings
  1355d1354
  < L;%9
  3236c3235
  < termcap
  ---
  > terminfo
  3520c3519
  < Cannot find termcap entry for '%s'.
  ---
  > Cannot find terminfo entry for '%s'.
  3528,3529c3527,3528
  < [3%dm
  < [4%dm
  ---
  > [3%p1%dm
  > [4%p1%dm
  3535a3535
  > (%p1%c
  3937,3938c3937,3938
  < [9%dm
  < [10%dm
  ---
  > [9%p1%dm
  > [10%p1%dm
  4319c4319
  < RSDS0
  ---
  > RSDS

This is at least _suggestive_ that your compilation environment and mine
are in some way different.

Does

  #define TERMINFO 1

occur in your build/config.h ?

ht
-- 
   Henry S. Thompson, School of Informatics, University of Edinburgh
  10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: h...@inf.ed.ac.uk
   URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

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



ps and procps for Windows Processes

2015-10-09 Thread Benjamin Cao
Hi,

I am aware that the ps command allows you to see Windows processes using the 
"-W" option.

My problem is that I need to be able to use the "-o" option on a Windows 
process, to get vsz information as the format.

I know procps makes this possible, minus the allowing of seeing Windows 
processes.

I am wondering if there is a middle ground to get the best of both worlds?

Thanks,
Ben Cao

--
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] Updated: mesa-11.0.2-1

2015-10-09 Thread Yaakov Selkowitz
The following packages have been updated in the Cygwin distribution:

* dri-drivers-11.0.2-1
* libEGL1-11.0.2-1
* libEGL-devel-11.0.2-1
* libGL1-11.0.2-1
* libGL-devel-11.0.2-1
* libGLESv2_2-11.0.2-1
* libGLESv2-devel-11.0.2-1
* libglapi0-11.0.2-1
* libOSMesa8-11.0.2-1
* libOSMesa-devel-11.0.2-1
* windowsdriproto-11.0.2-1

Mesa is an open-source implementation of the OpenGL, EGL, and OpenGL ES
specifications for rendering interactive 3D graphics.

This is an update to the latest upstream release with support for many
new extensions:

http://mesa3d.org/relnotes/11.0.0.html

Note that OpenGL 4.1 support is still incomplete for the llvmpipe and
softpipe drivers, so software rendering will still report only 3.0.

Complete documentation on OpenGL usage and configuration can be found
here:

http://x.cygwin.com/docs/ug/using-glx.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] Updated: php-5.6.14-1

2015-10-09 Thread Yaakov Selkowitz
The following packages have been updated in the Cygwin distribution:

* php-5.6.14-1
* httpd-mod_php5-5.6.14-1
* php-bcmath-5.6.14-1
* php-bz2-5.6.14-1
* php-calendar-5.6.14-1
* php-ctype-5.6.14-1
* php-curl-5.6.14-1
* php-dba-5.6.14-1
* php-devel-5.6.14-1
* php-enchant-5.6.14-1
* php-exif-5.6.14-1
* php-fileinfo-5.6.14-1
* php-ftp-5.6.14-1
* php-gd-5.6.14-1
* php-gettext-5.6.14-1
* php-gmp-5.6.14-1
* php-iconv-5.6.14-1
* php-imap-5.6.14-1
* php-intl-5.6.14-1
* php-ldap-5.6.14-1
* php-mbstring-5.6.14-1
* php-mcrypt-5.6.14-1
* php-mssql-5.6.14-1
* php-mysql-5.6.14-1
* php-mysqli-5.6.14-1
* php-odbc-5.6.14-1
* php-opcache-5.6.14-1
* php-pdo_dblib-5.6.14-1
* php-pdo_mysql-5.6.14-1
* php-pdo_odbc-5.6.14-1
* php-pdo_sqlite-5.6.14-1
* php-pgsql-5.6.14-1
* php-phar-5.6.14-1
* php-posix-5.6.14-1
* php-pspell-5.6.14-1
* php-recode-5.6.14-1
* php-shmop-5.6.14-1
* php-simplexml-5.6.14-1
* php-soap-5.6.14-1
* php-sockets-5.6.14-1
* php-sqlite3-5.6.14-1
* php-sybase_ct-5.6.14-1
* php-sysvmsg-5.6.14-1
* php-sysvsem-5.6.14-1
* php-sysvshm-5.6.14-1
* php-tidy-5.6.14-1
* php-tokenizer-5.6.14-1
* php-wddx-5.6.14-1
* php-xmlreader-5.6.14-1
* php-xmlrpc-5.6.14-1
* php-xmlwriter-5.6.14-1
* php-xsl-5.6.14-1
* php-zip-5.6.14-1
* php-zlib-5.6.14-1

PHP (recursive acronym for 'PHP: Hypertext Preprocessor') is a
widely-used Open Source general-purpose scripting language that is
especially suited for Web development and can be embedded into HTML.

This is an update to the latest upstream stable release with fixes for
two security issues in the Phar extension:

http://php.net/ChangeLog-5.php#5.6.14

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



RE: [ANNOUNCEMENT] Updated: php-5.6.14-1

2015-10-09 Thread Buchbinder, Barry (NIH/NIAID) [E]
Yaakov Selkowitz sent the following at Friday, October 09, 2015 4:40 PM
>The following packages have been updated in the Cygwin distribution:
>
>* php-5.6.14-1
>
>PHP (recursive acronym for 'PHP: Hypertext Preprocessor') is a
>widely-used Open Source general-purpose scripting language that is
>especially suited for Web development and can be embedded into HTML.
>
>This is an update to the latest upstream stable release with fixes for
>two security issues in the Phar extension:
>
>http://php.net/ChangeLog-5.php#5.6.14

Cygcheck gives me this:

/c> cygcheck -c php
Cygwin Package Information
Package  VersionStatus
php  5.6.14-1   Incomplete

I uninstalled, redownloaded and reinstalled.

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.



[ANNOUNCEMENT] New: datefudge-1.20-1

2015-10-09 Thread Yaakov Selkowitz
The following package has been added to the Cygwin distribution:

* datefudge-1.20-1

This program (and preload library) fakes the system date so that
programs think the wall clock is different. The faking is not complete;
timestamp on files are not affected in any way. This package is useful
if you want to test the date handling of your programs without changing
the system clock.

--
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] Updated: byacc-20150711-1

2015-10-09 Thread Yaakov Selkowitz
The following package has been updated in the Cygwin distribution:

* byacc-20150711-1

Berkeley Yacc is an LALR(1) parser generator.  Berkeley Yacc has been
made as compatible as possible with AT&T Yacc.  Berkeley Yacc can accept
any input specification that conforms to the AT&T Yacc documentation.

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] Updated: Ruby 2.2.3

2015-10-09 Thread Yaakov Selkowitz
The following packages have been updated in the Cygwin
distribution:

* ruby-2.2.3-1
* ruby-doc-2.2.3-1
* ruby-tcltk-2.2.3-1
* rubygems-2.4.8-1

Ruby is the interpreted scripting language for quick and easy
object-oriented programming.  It has many features to process text files
and to do system management tasks (as in Perl).  It is simple,
straight-forward, and extensible.

This is an update to the latest release in the 2.2 series.

--
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] Updated: unzip-6.0-15

2015-10-09 Thread Yaakov Selkowitz
The following package has been updated in the Cygwin distribution:

* unzip-6.0-15

UnZip is an extraction utility for archives compressed in .zip format.
Although highly compatible both with PKWARE's PKZIP and PKUNZIP
utilities for MS-DOS and with Info-ZIP's own Zip program, the primary
objective is portability and non-MSDOS functionality.

This release adds a patch for a heap overflow:

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

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



Re: Problem with nm in binutils-2.25-2 on x86

2015-10-09 Thread JonY
On 10/9/2015 23:39, Ken Brown wrote:
> On 10/9/2015 6:30 AM, JonY wrote:
>>
>>> $ nm -l a.exe
>>> 00406000 b .bssBFD: Dwarf Error: Could not find abbrev number 120.
>>> 00406018 b .bssBFD: Dwarf Error: Could not find abbrev number 120.
>>> [...]
>>> 00406040 b _u.25303BFD: Dwarf Error: Could not find abbrev number 120.
>>> 00401000 T _WinMainCRTStartup
>>> /usr/src/debug/cygwin-2.2.1-1/winsup/cygwin/crt0.c:23
>>> 004070b8 i fthunkBFD: Dwarf Error: Could not find abbrev number 120.
>>> 00407074 i hnameBFD: Dwarf Error: Could not find abbrev number 120.
>>>
>>> Ken
>>
>> Kai is of the opinion that rebuilding the gcc, CRT, Cygwin and
>> everything in between be rebuilt with the new binutils to solve the
>> issue.
>>
>> Might be a huge undertaking.
> 
> That depends on what you mean by "everything in between".  Wouldn't it
> suffice to rebuild the cygwin package and the toolchain?
> 
> The main issue for us, AFAICT, is that package maintainers need to be
> able to build their packages without having the build take hours when
> cygport calls 'nm -l'.
> 

I'll be rebuilding the CRT and cygwin gcc soon to give this a try.





signature.asc
Description: OpenPGP digital signature


Re: strange cygwin sshd user generated (user name includes machine name)

2015-10-09 Thread Linda Walsh

Peter Moore wrote:

Hi,

I have a powershell script for installing cygwin and setting up sshd which I am 
using as UserData when firing up a Windows 2012 R2 instance in AWS EC2.

The same command succeeds when run manually, but fails when called from 
automation. I’m trying to understand what it is that is different, so I can fix 
it in automation.



I have both a domain account (Bliss) and a local account on my 
winclient(Athenae): Bliss\linda & linda


Using Domain account on client -> Domain server
ssh Bliss 

server logs say:
... sshd[49322]: pam_winbind(sshd:account): user 'Bliss\linda' granted access
using

ssh linda@Bliss, server logs say:

sshd[51179]: pam_winbind(sshd:account): user 'linda' granted access


Using local account on client ->Domain:

ssh Bliss

server says:
Oct  9 20:51:21 Ishtar sshd[51787]: pam_winbind(sshd:account): user 'linda' 
granted access
if I want to login to the domain account, I need to specify it as the user:

ssh 'Bliss\linda'@Bliss

server says:
sshd[51982]: pam_winbind(sshd:account): user 'Bliss\linda' granted access

so in the above case, I am seeing a similar "symptom" -- where it uses
'domain\user' when I'm logged in my domain account 
and just 'user' if I specify 'user@Domain'.


Both login to the *same* account on the PDC -- because on the PDC
local users are domain users -- because the SID of the local machine
is the same as the domain SID.

I.e. on the domain server, I can display the domain or the local machine SID:


net getlocalsid   #note, it equates local machine name as a domain name in this 
case

SID for domain ISHTAR is: S-1-5-21-3-7-3

When I ask for the domain sid: it displays both:


net getdomainsid

SID for local machine ISHTAR is: S-1-5-21-3-7-3
SID for domain BLISS is: S-1-5-21-3-7-3


So first, obvious question is "are domains involved",
but 2nd question ... are the machine 'SIDS' the same in both cases?

I.e. when you run 'live' vs. run under automation, maybe the 'automation'
looks like a different machine name and uses a different 'sid'?  
That'd be my best guess...I only replied because I have seen the same

symptom depending on usage of the domain vs. local account.


Good luck!




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