This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Failure when building LibreOffice on Windows 7 via Jenkins




On 04/08/2015 10:48, Jan-Marek Glogowski wrote:
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.

wrong sort in the path ?

$ echo ' Test' | tr "\ " "\n" | /cygdrive/c/Windows/System32/sort.exe |hexdump -C
00000000  0d 0a 54 65 73 74 0d 0a                           |..Test..|
00000008

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]