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:message-id:date:from:mime-version:to:subject :content-type; q=dns; s=default; b=ozJUsYYgQhJoSRdrK82Wgnj88UnqD iA/rvdOKKhAMLZ9pEbfLq3CZYGrBCGp5l8kLrDW9NxKCY2j5hHL/glCs+d7rWfNx EHqi43VbdpWWKgg96UIXN97WzKBrglCd0CbWR7mIYnqh6tyXrDz4PZY6SvR+sqpe csTl1bGWueP9yE= 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:message-id:date:from:mime-version:to:subject :content-type; s=default; bh=jPWpVOdmZXRdXuw9x42H1p9FNb8=; b=Wrz SGQk3BvlvVgN2pQgzdssXguKXYx5nLINuqLoEUaaVZDrBWzlyka1vfy31ojhJ2DI x/jzglhBPwKPm9lmKUyrxAJiyDoNUQm3XtkvN1PpPAcex3Fgmb6Of2Ray1ObDtyw hCWOfGG+3lXlRhKdtJ6qAmT1HzNORBr9HhOrP5AM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=1.8 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: ironboy.h-da.de X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CYCADmesBVUGsoZI1bgxpUaYMjphoBB4Vijz2HNEwBAQEBAQEHAQEwUoRNVT0NAQgLAgsDAgECATEGASAIAogupEuPYZZghh+GbQGCeAEBBWUBglWBQwEEhWaBMYZghwSCOoFaaYUXhAOHEQOIVIgmgkGBZG2BBwcXgScBAQE X-IPAS-Result: A2CYCADmesBVUGsoZI1bgxpUaYMjphoBB4Vijz2HNEwBAQEBAQEHAQEwUoRNVT0NAQgLAgsDAgECATEGASAIAogupEuPYZZghh+GbQGCeAEBBWUBglWBQwEEhWaBMYZghwSCOoFaaYUXhAOHEQOIVIgmgkGBZG2BBwcXgScBAQE Message-ID: <55C07C48.6060601@fbihome.de> Date: Tue, 04 Aug 2015 10:48:08 +0200 From: Jan-Marek Glogowski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Failure when building LibreOffice on Windows 7 via Jenkins Content-Type: multipart/mixed; boundary="------------020802080606070701010304" X-IsSubscribed: yes --------------020802080606070701010304 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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 --------------020802080606070701010304 Content-Type: text/x-patch; name="env.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="env.diff" --- env-jenkins 2015-08-04 10:24:54.355915036 +0200 +++ env-ssh 2015-08-04 10:29:06.619036962 +0200 @@ -1,58 +1,56 @@ _=/usr/bin/env ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\limux\AppData\Roaming -BASE=O:\Workspace -BUILD_DISPLAY_NAME=#557 -BUILD_ID=557 -BUILD_NUMBER=557 -BUILD_TAG=jenkins-LibreOffice_5.0_Win-557 -BUILD_URL=http://kvm-jenkins/job/LibreOffice_5.0_Win/557/ CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files -COMMONPROGRAMFILES=C:\Program Files (x86)\Common Files +CommonProgramFiles=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=KVM-WIN7BUILD COMSPEC=C:\Windows\system32\cmd.exe -EXECUTOR_NUMBER=0 +CYGWIN=binmode ntsec +EXECIGNORE=*.dll FP_NO_HOST_CHECK=NO HOME=/home/limux HOMEDRIVE=C: -HOMEPATH=\Users\limux -HUDSON_COOKIE=c06da48a-989d-4ab4-ab57-9bf4a17933cd -HUDSON_HOME=/var/lib/jenkins -HUDSON_SERVER_COOKIE=377bc3cecaa969f9 -HUDSON_URL=http://kvm-jenkins/ -JENKINS_HOME=/var/lib/jenkins -JENKINS_SERVER_COOKIE=377bc3cecaa969f9 -JENKINS_URL=http://kvm-jenkins/ -JOB_NAME=LibreOffice_5.0_Win -JOB_URL=http://kvm-jenkins/job/LibreOffice_5.0_Win/ +HOMEPATH=\cygwin\home\limux +HOSTNAME=kvm-win7build +INFOPATH=/usr/local/info:/usr/share/info:/usr/info +LANG=de_DE.UTF-8 LOCALAPPDATA=C:\Users\limux\AppData\Local -LOGONSERVER=\\KVM-WIN7BUILD -NODE_LABELS=kvm-win7build win7 -NODE_NAME=kvm-win7build +LOGNAME=limux +LOGONSERVER=\\kvm-win7build +MAIL=/var/spool/mail//limux NUMBER_OF_PROCESSORS=8 +OLDPWD=/home/limux +ORIGINAL_PATH=/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/usr/bin:/cygdrive/c/Program Files/Microsoft SQL Server/110/Tools/Binn:/cygdrive/c/Program Files/Microsoft/Web Platform Installer:/cygdrive/c/Program Files (x86)/Microsoft ASP.NET/ASP.NET Web Pages/v1.0:/cygdrive/c/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit:/cygdrive/c/Program Files (x86)/Microsoft SDKs/TypeScript/1.0:/cygdrive/c/Program Files/Microsoft SQL Server/120/Tools/Binn:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0 OS=Windows_NT -PATH=/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/usr/bin:/cygdrive/c/Program Files/Microsoft SQL Server/110/Tools/Binn:/cygdrive/c/Program Files/Microsoft/Web Platform Installer:/cygdrive/c/Program Files (x86)/Microsoft ASP.NET/ASP.NET Web Pages/v1.0:/cygdrive/c/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit:/cygdrive/c/Program Files (x86)/Microsoft SDKs/TypeScript/1.0:/cygdrive/c/Program Files/Microsoft SQL Server/120/Tools/Binn:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0 +PATH=/usr/local/bin:/usr/bin:/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/usr/bin:/cygdrive/c/Program Files/Microsoft SQL Server/110/Tools/Binn:/cygdrive/c/Program Files/Microsoft/Web Platform Installer:/cygdrive/c/Program Files (x86)/Microsoft ASP.NET/ASP.NET Web Pages/v1.0:/cygdrive/c/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit:/cygdrive/c/Program Files (x86)/Microsoft SDKs/TypeScript/1.0:/cygdrive/c/Program Files/Microsoft SQL Server/120/Tools/Binn:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0 PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC -PROCESSOR_ARCHITECTURE=x86 -PROCESSOR_ARCHITEW6432=AMD64 +PRINTER=Microsoft XPS Document Writer +PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 1, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=2a01 +PROFILEREAD=true ProgramData=C:\ProgramData ProgramFiles(x86)=C:\Program Files (x86) PROGRAMFILES=C:\Program Files (x86) ProgramW6432=C:\Program Files +PS1=\[\033]0;\h:\w\007\033[01;30m\]${debian_chroot:+($debian_chroot)}\u@\h\[\033[00m\]:\[\033[01;31m\]\w\[\033[00m\]\$ PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC=C:\Users\Public -PWD=/srv/Workspace/workspace/LibreOffice_5.0_Win -SERVICE_ID=jenkinsslave-C__Workspace +PWD=/home/limux +SHELL=/bin/bash SHLVL=1 +SSH_CLIENT=172.16.2.202 34726 22 +SSH_CONNECTION=172.16.2.202 34726 172.16.2.220 22 +SSH_TTY=/dev/pty1 SYSTEMDRIVE=C: SYSTEMROOT=C:\Windows -TEMP=/cygdrive/c/Users/limux/AppData/Local/Temp -TERM=cygwin -TMP=/cygdrive/c/Users/limux/AppData/Local/Temp +TEMP=/tmp +TERM=xterm +TMP=/tmp +TZ=Europe/Berlin +USER=limux USERDOMAIN=kvm-win7build USERNAME=limux USERPROFILE=C:\Users\limux @@ -61,5 +59,3 @@ WINDIR=C:\Windows windows_tracing_flags=3 windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log -WINSW_EXECUTABLE=O:\Workspace\jenkins-slave.exe -WORKSPACE=C:\cygwin\srv\Workspace\workspace\LibreOffice_5.0_Win --------------020802080606070701010304 Content-Type: text/plain; charset=us-ascii -- 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 --------------020802080606070701010304--