delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/07/29/14:53:24

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 56TIrOQb893189
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 56TIrOQb893189
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=sGtJF1iP
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B3CB3858C53
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1753815203;
bh=+SOqHlqRYP2zH1c8u7e7n51Av0vhenY6Vt/9vs2st9w=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=sGtJF1iP3fAdGJS9HvuLzHsWn51gPMZGp35CspVZ09W2UQE2CkO0OOT0/R6ZQ14Os
fawTmBqLK571FOkOCooYNRVYcStaJ1mMzRLI+plMZFWE9Oif3P/nJ8uFs7H+hlnbor
gr4f9Gap5JDqyphPQ960McILACbx/FLx9isfG/74=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 66AB83858D1E
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 66AB83858D1E
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1753815144; cv=none;
b=es7rEePaDMjoRv4qAwNUGrZ+k+lydX+byQzqToR4ZuejQVBbX73+LXkwRxtQkd7eUr9uPP0c2brqEqGJwxw7ZGnTa/V6wlEHgCeH0gnpkUCNb5wZZRxedBpon4BOnIfBwkgJV+5NLWprAjvs2VCzsobZq8g9R9xLKLLmnZYcqj0=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1753815144; c=relaxed/simple;
bh=oH5EcOMB6Uswpaf0L5RNN265dQ3C0LyfC+bs5v6hRpQ=;
h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;
b=Bq8njunh3jZULwzlbw87N4t+fY2lCi7hI9ZoIzOid4eCRADgctYIPaD61DQuuNXiug0iOvUAqUZoqLNqrwkKiDFUfnl4uf08vlgX4zkmqx/+pjRIeZv9jN8Wyf2BGmSBdDs4FXtbe4NGArfFn7oIY5zVN32vtMDZKzfFoqb76lc=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 66AB83858D1E
Date: Tue, 29 Jul 2025 11:52:23 -0700 (PDT)
X-X-Sender: jeremyd AT resin DOT csoft DOT net
To: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
Subject: Re: Doubts about whether I can install locally built packages using
setup-x86_64.exe
In-Reply-To: <fcc95f4b-996c-4ba4-9bd0-fbe2347dca3d@dronecode.org.uk>
Message-ID: <6a1b2b3c-778d-ba6d-0e43-97649daba170@jdrake.com>
References: <CAGB_HuS4aNwrMV7ZowkdpPPHH6gL4yz9Mmur1UXvufKrGB193Q AT mail DOT gmail DOT com>
<fcc95f4b-996c-4ba4-9bd0-fbe2347dca3d AT dronecode DOT org DOT uk>
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-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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: Jeremy Drake via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jeremy Drake <cygwin AT jdrake DOT com>
Cc: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

On Tue, 29 Jul 2025, Jon Turney via Cygwin wrote:

> Unfortunately, setup doesn't know how to process standalone packages.
>
> Your options are described at:
>
> https://cygwin.com/packaging-contributors-guide.html#installing
>
>
> Yes, this all terrible :( . Someone should make it work better...
>

What's interesting about this is that packages are just plain old tarballs
with out-of-band metadata in hint files.  This makes it more difficult to
handle standalone packages (and also easier, just untar it in `/`)

What I have done in is:

  mkdir -p pkgs/x86_64/release
...
  cp -R llvm-*.x86_64/dist/* ../pkgs/x86_64/release
  cd ../pkgs
  mksetupini --arch x86_64 --inifile=x86_64/setup.ini --releasearea=. --disable-check=missing-required-package,missing-depended-package,missing-build-depended-package,missing-curr
  bzip2 <x86_64/setup.ini >x86_64/setup.bz2
  xz -6e <x86_64/setup.ini >x86_64/setup.xz

...

In a later job (after restoring the pkgs directory from an artifact)
  - id: cygwin
    uses: cygwin/cygwin-install-action AT master
    with:
      site: >-
        http://mirrors.kernel.org/sourceware/cygwin/
        file://${{ github.workspace }}/pkgs
      check-sig: false
      packages: |
        ...


This translates to adding a file:// url to setup after a full http mirror
via -s options, and passing the -X option to setup since I didn't set up
signing.

Hope this helps

-- 
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