delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/04/05:11:47

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=d+CkKtbHy14FJt9E
ifJLEdb7NLUhh7ACupXNSFpIPmFvziCYNjRnaPoOWZsMYD3m7UAqfKtws6TmoRli
Syu/SCaHGXDRmshcDY7BiGkPlAQXSTZbNDJWIDuYfulcs1lpsbiYS1YbqUTHgUaA
3hnogvgKHdVkk8mV549iBhpobe4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=hnQZuH1q1Gw4axsfCA0lst
ZwRlY=; b=Yo+Rr86qfW/l+YD7JKq6HOQhY20ThZ/GBZKxtEea08JVUBNwAgnV8n
yXUu5LnCDD1g29F8Qq+kuuL3rTf2CTScAwLDmbVTngGryzSHghUjq8enRlZUNipG
Kq0G9wHYIF4qyPmwJAWxE3xnqLYk5a+Z/b8Kgalaiczc/809Hvi68=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f176.google.com
X-Received: by 10.194.121.34 with SMTP id lh2mr5833066wjb.101.1438679482862; Tue, 04 Aug 2015 02:11:22 -0700 (PDT)
Subject: Re: Failure when building LibreOffice on Windows 7 via Jenkins
To: cygwin AT cygwin DOT com
References: <55C07C48 DOT 6060601 AT fbihome DOT de>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <55C081B5.4000602@gmail.com>
Date: Tue, 4 Aug 2015 11:11:17 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
MIME-Version: 1.0
In-Reply-To: <55C07C48.6060601@fbihome.de>
X-IsSubscribed: yes


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019