On 2025-11-07 07:29, Basler, Sean via Cygwin wrote:
Created a local install location using the new installer and ran into the issue 
with gdb missing needed dlls when installing from the local location and the 
installer running into errors with certain packages being flagged as 
unavailable.

Packages that were missing for gdb and I had to add to gdb depends2 line 
manually:

   *   libiconv
   *   libboost_regex1.66
   *   libicu61

Install package cygcheck-dep and use it to derive recursive dependencies required including those above:

$ cygcheck-dep -qR gdb                  # without -c downloads latest setup.ini
gdb: recursively requires ( alternatives bash binutils ca-certificates coreutils crypto-policies cygwin desktop-file-utils findutils gsettings-desktop-schemas libattr1 libboost_regex1.66 libbrotlicommon1 libbrotlidec1 libbz2_1 libcrypt2 libdeflate0 libexpat1 libffi6 libffi8 libfreetype6 libfribidi0 libgc1 libgcc1 libgdbm6 libgdbm_compat4 libglib2.0_0 libgmp10 libgomp1 libgraphite2_3 libguile3.0_1 libharfbuzz0 libiconv libiconv2 libicu61 libimagequant0 libintl8 libjbig2 libjpeg8 liblcms2_2 liblzma5 libmpfr6 libncursesw10 libp11-kit0 libpcre2_8_0 libpng16 libraqm0 libreadline7 libsource-highlight-common libsource-highlight4 libsqlite3_0 libssl1.1 libstdc++6 libtasn1_6 libtiff7 libunistring5 libuuid1 libwebp7 libwebpdemux2 libwebpmux3 libXau6 libxcb1 libXdmcp6 libxml2 libxxhash0 libzstd1 p11-kit p11-kit-trust python39 python39-babel python39-certifi python39-chardet python39-docutils python39-filelock python39-idna python39-imagesize python39-imaging python39-iniconfig python39-jinja2 python39-markupsafe python39-olefile python39-packaging python39-pip python39-platformdirs python39-pluggy python39-pygments python39-pytest python39-requests python39-setuptools python39-snowballstemmer python39-sphinx python39-sphinxcontrib-serializinghtml python39-toml python39-typing_extension python39-urllib3 python39-wheel python39-zipp shared-mime-info terminfo tzcode tzdata zlib0 _windows(>=6.3) )

Packages that were giving error due to not being available in local image and 
did not exist in the Cygwin distribution:

   *   perl5_040
   *   gcc13
   *   emacs-bin
To make it work had to change local setup ini to replace perl5_040 with perl, 
gcc13 with gcc-core, and emacs-bin with emacs-basic.

You have to provide installable binary package names, by scanning setup.ini:

$ awk 'BEGIN {RS="\n\n@ ";FS="\n";}
/provides:\s(perl5_040|gcc13|emacs-bin)/{print $1}' ~/mirror/x86_64/setup.ini
emacs-basic
emacs-gtk
emacs-lucid
emacs-w32
gcc-core
perl_base

or drilling down from the source package:

        https://cygwin.com/packages/summary/{perl,gcc,emacs}-src.html
to:
        https://cygwin.com/packages/summary/perl_base.html

Package: perl_base

summary:        Perl programming language interpreter

description:    Perl programming language interpreter
                Minimal install intended for use by Base packages.

categories:     Interpreters Perl
...
provides:       perl5_040
...

        https://cygwin.com/packages/summary/gcc-core.html

Package: gcc-core

summary:        GNU Compiler Collection (C, OpenMP)

description: The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, and Go, as well as libraries for these languages (libstdc++, libgcj,...).

categories:     Devel
...
obsoletes:      gcc-cilkplus

provides:       gcc13
...

        https://cygwin.com/packages/summary/emacs-basic.html

Package: emacs-basic
summary:        Emacs binaries with no GUI

description: Emacs is a powerful, customizable, self-documenting, modeless text editor. Emacs contains special code editing features, a scripting language (elisp), and the capability to read mail, news, and more without leaving the editor.
                This package provides binaries for a non-GUI emacs.

categories:     Editors Interpreters
...
provides:       emacs-bin
...

--
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                -- Antoine de Saint-Exupéry

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

Reply via email to