www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/09/16/05:21:25

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 58G9LPvm048383
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 58G9LPvm048383
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=xIRC4EHV
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6175E3857400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1758014483;
bh=HPQMnbuSfsL3F8QTrowkpjuoId7hnhLnE8rviayKTnY=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=xIRC4EHVaJxMuXte+NGw39Mx0Co//HlnyL3Z5pJifuVSbL1ZBXypgmOfVRhhBwwFI
X+11GkkcJ2Bgn6zGZfHlnD3wOVIJA/KAHnxd9SeiN70msl9/WCzzzWhQxv2QxYZbol
ISCsgQhqtutj631+iT2pkOtwsUo4dqC0NCOiSN0s=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2C1233858D39
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2C1233858D39
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1758014456; cv=none;
b=iFpQ4ZfW01lNb4TITfapP/yOQwcN5BI3YWgXjxR4UhWUEobvUArTiC1qRTdbURIsHZ9J4Iy+X9v9WrkrpgpwTLeglNZjnd50JIJO29kgL9rsPaMuFCV/v0PNfBCFVEeIXPts2quEJI05tV2a+CxmYKhbmTsrL8mYB4+A2Fx8IIA=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1758014456; c=relaxed/simple;
bh=QGsz+6YG2a9QaS5Pf56f/ju1tzq0lFkoW0K5Uswz5Vg=;
h=DKIM-Signature:To:From:Subject:Message-ID:Date:MIME-Version;
b=oClOTl4BBsm+i5HqsnnqgVLK/MXx3QWXWPeuHgNk3NgrpRgpMhh60XtOTBbSrCtlCukjBJmpcq81lWRWMQT78CjDsefyEk2sg0mT8MStbU0SR9BSj89BSo8fL+C6L0Un8TTDBhPIJqiGq9CItxZXMQxqqzwdcscZTwMYO5uHn7I=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2C1233858D39
To: cygwin AT cygwin DOT com
Subject: cygport 0.37.2 keeps failing with patch will not apply
Organization: WiseMo A/S
Message-ID: <87a19a0c-c668-b195-e28e-d4dd7a069b9d@wisemo.com>
Date: Tue, 16 Sep 2025 11:20:56 +0200
X-Mailer: Epyrus/2.1.3
MIME-Version: 1.0
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Jakob Bohm via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jakob Bohm <jb-cygwin AT wisemo DOT com>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 58G9LPvm048383

Dear list,

I was looking into trying out some local modifications to a cygwin
packaged program.  Thus I installed the sources via setup.exe then
copied /usr/src/* to a working directory and tried to rebuild the
package with the cygport all command.  But Even with different
packages and unchanged sources, cygport keeps failing with an error
that the first patch in the source will not apply.

What should I do to get to a buildable state?

Steps to reproduce (using bash as a simpler test example):

$ cd
$ mkdir cygsrc
$ cd cygsrc
$ cp -par /usr/src/* .
$ cd bash-5.2.21-1.src
$ cygport bash.cygport all
$ cygport --version

Results:

*** Info: Trying to enable case sensitivity on 
/home/jb.WISEMO/cygsrc/bash-5.2.21-1.src/bash-5.2.21-1.x86_64
 >>> Preparing bash-5.2.21-1.x86_64
 >>> Unpacking source bash-5.2.21.tar.gz
*** ERROR: patch bash-2.03-profile.patch will not apply

cygport 0.37.2
Copyright (C) 2020 Cygport authors

This program comes with NO WARRANTY, to the extent permitted by law.

You may redistribute copies of this program under the terms of
the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any
later version.

For more information about these matters, see the file named COPYING.

Written for the Cygwin project <https://cygwin.com/>.


Enjoy

Jakob
-- 
Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded	


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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