Failure when building LibreOffice on Windows 7 via Jenkins
Jan-Marek Glogowski
glogow@fbihome.de
Tue Aug 4 08:48:00 GMT 2015
Hi
I'm trying to build LibreOffice 5.0 32bit on Windows 7 64bit. The setup
was working for a long time, but failed to work after the last Cygwin
and Jenkins update from 1.596 => 1.619.
The general build is working, if I manually run it, but fails when
triggered using the Jenkins slave. I finally found the reason for the
failure, but I have no idea what causes it.
This is the output from my test Jenkins job, which is based on the
breaking configure code. The code itself is from 2014 and minimalized
for my test Jenkins job:
+ echo ' Test'
+ tr '\ ' '\n'
+ tr '\n' '\ '
+ hexdump -C
00000000 20 54 65 73 74 20 | Test |
00000006
+ echo
=> Ok
+ echo ' Test'
+ hexdump -C
00000000 20 54 65 73 74 0a | Test.|
00000006
+ echo
=> Ok
+ echo ' Test'
+ tr '\ ' '\n'
+ hexdump -C
00000000 0a 54 65 73 74 0a |.Test.|
00000006
+ echo
=> Ok
+ echo ' Test'
+ tr '\ ' '\n'
+ sort
+ hexdump -C
00000000 0d 0a 54 65 73 74 0d 0a |..Test..|
00000008
+ echo
=> Error
So "sort" somehow changes the newlines from Unix to Windows - WTF.
If I run the command via SSH login or from the local Cygwin terminal in
Windows, it is working correct!
I have attached a diff of the environment. When investigating, I added
an CYGWIN=binmode export, but this didn't change the output.
Any other ideas?
Jan-Marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: env.diff
Type: text/x-patch
Size: 4940 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150804/c67008a9/attachment.bin>
-------------- next part --------------
--
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
More information about the Cygwin
mailing list