public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Unable to install source packages when running setup from command line
@ 2022-03-20 18:20 Adam Dinwoodie
  2022-03-22 13:54 ` Jon Turney
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Dinwoodie @ 2022-03-20 18:20 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1423 bytes --]

Hi,

I *suspect* this is a bug, but it might just be this isn't supposed to
work: there doesn't seem to be a way to download a source package for an
already-installed Cygwin package when using setup from the command line.

If I run, for example:

    /bin/setup-x86_64.exe -d -l 'C:\Users\Adam\Downloads' -s http://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/ -IP bash-completion -R 'C:\cygwin64'

I'd expected this to select and automatically install the source package
for bash-completion.  In fact, "bash-completion" does show up in the
list of pending packages, but the "Src?" column is unchecked and greyed
out; I can't even select it manually in the GUI selection tool.
Unsurprisingly, when I continue through the installer, the source
package doesn't get installed.  I see similar behaviour if -M or -q are
also added to the argument list.

Everything works as expected if I don't specify a package on the command
line, and just select the source package from the GUI manually.  And
while selecting a package that isn't currently installed seems to hit
the same bug I've previously described with not showing up in the
"Pending" list[0], it does successfully install both the requested
package and the source package.

I've attached the setup.log and setup.log.full files, in case they're
useful for working out what's going wrong.

Adam

[0]: https://cygwin.com/pipermail/cygwin/2022-February/250817.html

[-- Attachment #2: setup.log --]
[-- Type: text/plain, Size: 2162 bytes --]

2022/03/20 18:12:00 Starting cygwin install, version 2.918
2022/03/20 18:12:00 User has backup/restore rights
2022/03/20 18:12:00 User has symlink creation right
2022/03/20 18:12:00 Current Directory: C:\Users\Adam\Downloads
2022/03/20 18:12:00 root: C:\cygwin64 system
2022/03/20 18:12:00 Selected local directory: C:\Users\Adam\Downloads
2022/03/20 18:12:00 net: Preconfig
2022/03/20 18:12:00 Migrated http://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/ to https://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/
2022/03/20 18:12:00 site: https://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/
2022/03/20 18:12:05 solving: 1 tasks, update: no, use test packages: no
2022/03/20 18:12:05 Augmented Transaction List: is empty
2022/03/20 18:12:05 Changing gid back to original
2022/03/20 18:12:05 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
2022/03/20 18:12:07 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_texlive_prep.dash"
2022/03/20 18:12:07 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
2022/03/20 18:12:08 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_adwaita-icon-theme.sh"
2022/03/20 18:12:08 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_desktop-file-utils.sh"
2022/03/20 18:12:08 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_fontconfig_cache_1.sh"
2022/03/20 18:12:08 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_fontconfig_dtd.dash"
2022/03/20 18:12:08 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_glib2.0.sh"
2022/03/20 18:12:09 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_hicolor-icon-theme.sh"
2022/03/20 18:12:09 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_man-db-update-index.dash"
2022/03/20 18:12:09 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_shared-mime-info.sh"
2022/03/20 18:12:09 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_texlive_finish.dash"
2022/03/20 18:12:09 Changing gid to Administrators
2022/03/20 18:12:09 Ending cygwin install

[-- Attachment #3: setup.log.full --]
[-- Type: text/plain, Size: 33465 bytes --]

2022/03/20 18:12:00 Starting cygwin install, version 2.918
2022/03/20 18:12:00 User has backup/restore rights
2022/03/20 18:12:00 User has symlink creation right
2022/03/20 18:12:00 Current Directory: C:\Users\Adam\Downloads
Could not open service McShield for query, start and stop. McAfee may not be installed, or we don't have access.
2022/03/20 18:12:00 root: C:\cygwin64 system
2022/03/20 18:12:00 Selected local directory: C:\Users\Adam\Downloads
2022/03/20 18:12:00 net: Preconfig
Loaded cached mirror list
User-Agent: default is "Cygwin-Setup/2.918 (Windows NT 10.0.22000;Win64;0809;SymLinkPriv)"
Request for URL https://cygwin.com/mirrors.lst satisfied from cache
Fetched URL: https://cygwin.com/mirrors.lst
2022/03/20 18:12:00 Migrated http://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/ to https://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/
2022/03/20 18:12:00 site: https://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/
Request for URL https://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/x86_64/setup.zst.sig satisfied from cache
Fetched URL: https://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/x86_64/setup.zst.sig
Request for URL https://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/x86_64/setup.zst satisfied from cache
Fetched URL: https://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/x86_64/setup.zst
signature: sig_type 0, pk_alg 17, hash_alg 2
signature: tried key cygwin, returned 0x0100004f Invalid data
signature: sig_type 0, pk_alg 1, hash_alg 8
signature: tried key cygwin, returned 0x00000000 Success
.ini setup_version is 2.918, our setup_version is 2.918
INSTALLED.DB version 3
package: bash-completion version: 
Added manual package bash-completion
2022/03/20 18:12:05 solving: 1 tasks, update: no, use test packages: no
libsolv: solver started
libsolv: dosplitprovides=0, noupdateprovide=0, noinfarchcheck=0
libsolv: allowuninstall=0, allowdowngrade=0, allownamechange=1, allowarchchange=0, allowvendorchange=1
libsolv: promoteepoch=0, forbidselfconflicts=0
libsolv: obsoleteusesprovides=0, implicitobsoleteusesprovides=0, obsoleteusescolors=0, implicitobsoleteusescolors=0
libsolv: dontinstallrecommended=0, addalreadyrecommended=0
libsolv: number of solvables: 56291, memory used: 3078 K
libsolv: number of ids: 28639 + 55805
libsolv: string memory used: 111 K array + 491 K data,  rel memory used: 653 K array
libsolv: string hash memory: 256 K, rel hash memory : 512 K
libsolv: provide ids: 12183
libsolv: provide space needed: 41897 + 111610
libsolv: shrunk whatprovidesdata from 41897 to 41873
libsolv: shrunk whatprovidesauxdata from 41897 to 29711
libsolv: whatprovides memory used: 333 K id array, 599 K data
libsolv: whatprovidesaux memory used: 111 K id array, 116 K data
libsolv: WARNING: pool_addfileprovides was not called, this may result in slow operation
libsolv: lazywhatprovidesq size: 0 entries
libsolv: createwhatprovides took 2 ms
libsolv: obsoletes data: 1 entries
libsolv: added 11675 pkg rules for installed solvables
libsolv: added 711 pkg rules for updaters of installed solvables
libsolv: added 0 pkg rules for packages involved in a job
libsolv: added 0 pkg rules because of weak dependencies
libsolv: 2084 of 28220 installable solvables considered for solving
libsolv: pruned rules from 12387 to 12387
libsolv:   binary: 3802
libsolv:   normal: 8584, 45144 literals
libsolv: pkg rule memory used: 290 K
libsolv: pkg rule creation took 3 ms
libsolv: choice rule creation took 2 ms
libsolv: 12386 pkg rules, 2 * 487 update rules, 1 job rules, 0 infarch rules, 0 dup rules, 0 choice rules, 0 best rules
libsolv: overall rule memory used: 313 K
libsolv: solving...
libsolv: resolving job rules
libsolv: resolving installed packages
libsolv: deciding orphaned packages
libsolv: solver statistics: 0 learned rules, 0 unsolvable, 0 minimization steps
libsolv: done solving.
libsolv: solver took 1 ms
libsolv: final solver statistics: 0 problems, 0 learned rules, 0 unsolvable
libsolv: solver_solve took 9 ms
libsolv: 
libsolv: transaction:
libsolv: 
libsolv: orphaned packages:
libsolv:   base-0.0-0.any (kept)
libsolv:   _windows-10.0.22000.any (kept)
libsolv: 
libsolv: ordering transaction
libsolv: transaction elements: 0
2022/03/20 18:12:05 Augmented Transaction List: is empty
2022/03/20 18:12:05 Changing gid back to original
Visited: 485 nodes out of 12167 while creating dependency order.
Dependency order of packages: cygwin terminfo-extra terminfo libncursesw10 2048-cli libgcc1 libXau6 libXdmcp6 libxcb1 libX11_6 libXext6 libbz2_1 libXrender1 dejavu-fonts libiconv2 libintl8 libattr1 libgmp10 tzdata libreadline7 tzcode coreutils bash findutils libexpat1 libfontconfig-common libbrotlicommon1 libbrotlidec1 zlib0 libpng16 libfreetype6 libuuid1 libfontconfig1 gsettings-desktop-schemas libffi6 libpcre1 liblzma5 libxml2 shared-mime-info gamin libfam0 desktop-file-utils libglib2.0_0 libpixman1_0 libxcb-render0 libxcb-shm0 libcairo2 libcdt5 libcgraph6 libdjvulibre-common libjpeg8 libstdc++6 libdjvulibre21 libfftw3_3 libfpx1 libgomp1 libICE6 libSM6 libXt6 libidn11 liblcms2_2 libpaper-common libpaper1 libdeflate0 libjbig2 libwebp7 libzstd1 libtiff6 libgs9 libXft2 libgraphite2_3 libharfbuzz0 libdatrie1 libthai0 libpango1.0_0 libLASi1 libatk1.0_0 libXpm4 libimagequant0 libfribidi0 libraqm0 libgd3 libjasper4 libgdk_pixbuf2.0_0 hicolor-icon-theme adwaita-icon-theme gtk-update-icon-cache libXcomposite1 libXfixes3 libXcursor1 libXdamage1 libXi6 libXinerama1 libXrandr2 libgtk2.0_0 libgts0.7_5 libltdl7 libpathplan4 libp11-kit0 p11-kit libtasn1_6 p11-kit-trust ca-certificates libgpg-error0 libgcrypt20 libgsasl-common libcom_err2 libkrb5support0 libk5crypto3 libkrb5_3 libgssapi_krb5_2 libntlm0 libgsasl7 libunistring2 libidn2_0 libnghttp2_14 libcrypt2 libdb5.3 crypto-policies libssl1.1 libopenldap2_4_2 libsasl2_3 libopenldap2 publicsuffix-list-dafsa libpsl5 libssh2_1 libcurl4 libnspr4 libsqlite3_0 libnss3 libopenjp2_7 poppler-data libpoppler106 libpoppler-glib8 libcroco0.6_3 librsvg2_2 libgvc6 liblqr1_0 libraw16 libwebpdemux2 libwebpmux3 libMagickCore7_7 libMagickWand7_7 ImageMagick dash _autorebase alternatives libcares2 libnettle6 libhogweed4 libgnutls30 aria2 ghostscript-fonts-other urw-base35-fonts ghostscript libxslt binutils libgdbm6 libgdbm_compat4 python39-setuptools python39-pip python39 libXmu6 libXaw7 libicu68 libkpathsea6 libmpfr6 libptexenc1 libsynctex2 libteckit0 libtexlua53_5 libtexluajit2 libzzip0.13 libpopt-common libpopt0 cygutils libdialog14 dialog ed grep perl_autorebase perl_base perl-Digest-SHA perl perl-Encode-Locale perl-TimeDate perl-HTTP-Date perl-IO-HTML perl-LWP-MediaTypes perl-URI perl-HTTP-Message perl-IO-String perl-Tk perl-File-Listing perl-HTML-Tagset perl-HTML-Parser perl-HTTP-Cookies perl-HTTP-Negotiate perl-Net-HTTP perl-Try-Tiny perl-WWW-RobotRules perl-libwww-perl perl-XML-Parser sed libXss1 tcl tcl-tk libusb0 bzip2 gzip xz liblz4_1 zstd tar gnupg libassuan0 libgpgme11 libmetalink3 libpcre2_8_0 wget texlive-collection-basic texlive perl-Business-ISBN-Data perl-Business-ISBN perl-Tie-Cycle perl-Business-ISMN perl-Business-ISSN perl-Class-Accessor perl-Clone perl-Number-Compare perl-Text-Glob perl-File-Find-Rule perl-Data-Compare perl-Data-Dump perl-Data-Uniqid perl-Module-Runtime perl-Dist-CheckConflicts perl-Class-Inspector perl-File-ShareDir perl-Eval-Closure perl-Class-Data-Inheritable perl-Devel-StackTrace perl-Exception-Class perl-Params-ValidationCompiler perl-MRO-Compat perl-Role-Tiny perl-Sub-Quote perl-Test-Fatal perl-Specio perl-Module-Implementation perl-Sub-Exporter-Progressive perl-Variable-Magic perl-B-Hooks-EndOfScope perl-Sub-Identify perl-Package-Stash-XS perl-Package-Stash perl-namespace-clean perl-namespace-autoclean perl-DateTime-Locale perl-Class-Singleton perl-DateTime-TimeZone perl-DateTime perl-DateTime-Calendar-Julian perl-DateTime-Format-Strptime perl-Params-Validate perl-DateTime-Format-Builder perl-File-Slurper perl-IPC-Cmd perl-IPC-Run3 perl-Mozilla-CA perl-Net-SSLeay perl-IO-Socket-SSL perl-LWP-Protocol-https perl-Lingua-Translit perl-List-SomeUtils perl-List-UtilsBy perl-Scalar-List-Utils perl-List-AllUtils perl-Log-Log4perl perl-Parse-RecDescent perl-Regexp-Common perl-Sort-Key perl-Text-BibTeX perl-Text-CSV perl-Text-Roman perl-Unicode-Collate perl-MIME-Charset perl-Unicode-LineBreak perl-Unicode-Normalize perl-XML-NamespaceSupport perl-XML-SAX-Base perl-XML-SAX perl-XML-LibXML perl-XML-LibXML-Simple perl-XML-LibXSLT perl-XML-Writer perl-autovivification texlive-collection-latex biber texlive-collection-bibtexextra perl-File-Copy-Recursive perl-File-Which perl-File-HomeDir perl-TermReadKey perl-YAML-Tiny python3 python38-setuptools python38-pip python38 python38-chardet python38-olefile python38-imaging python38-pygments libyaml0_2 ruby-did_you_mean ruby-builder ruby-minitest ruby-rdoc ruby-rake rubygems ruby texlive-collection-binextra perl-Digest-SHA1 texlive-collection-mathscience texlive-collection-latexextra urw-base35-fonts-legacy transfig dblatex libblkid1 libfdisk1 libsmartcols1 util-linux build-docbook-catalog docbook-xsl python39-attrs python39-iniconfig python39-markupsafe python39-jinja2 python39-pyparsing python39-packaging python39-pluggy python39-py python39-toml python39-pytest libgc1 w3m asciidoc info m4 autoconf2.1 autoconf2.5 autoconf2.7 libsigsegv2 gawk autoconf texinfo automake1.10 automake1.11 perl-Test-Harness automake1.12 automake1.13 automake1.14 automake1.15 automake1.16 automake1.9 automake base-cygwin base-files bash-completion libpkgconf3 pkgconf pkg-config bash-completion-devel libcrypt0 crypt diffutils editrights csih curl cygcheck-dep diffstat dos2unix file cygwin-devel libatomic1 libisl23 libmpc3 libquadmath0 w32api-headers w32api-runtime windows-default-manifest gcc-core gcc-g++ lftp libtool lndir libguile2.2_1 make cygrunsrv libedit0 libfido2 openssh patch perl-Digest-HMAC perl-Authen-SASL perl-MailTools perl-MIME-tools perl-Net-SMTP-SSL libxxhash0 rsync unzip which cygport libargp getent gettext less perl-Error git libintl-devel gettext-devel git-email libksba8 libnpth0 libusb1.0 pinentry gnupg2 groff hostname ipc-utils libapr1 libgdbm4 libiodbc2 mariadb-common mysql-common libmysqlclient18 openssl libpq5 libaprutil1 libcharset1 libcrypt-devel libcurl-devel libexpat-devel libiconv libiconv-devel libopenldap2_5_0 libpcre2-posix3 libpcre2_16_0 libpcre2_32_0 libpcre2-devel libpipeline1 libprocps8 libserf1_0 libsodium-common libsodium23 libssl-devel libssl1.0 login man-db mintty perl-IO-Tty perl-IPC-Run moreutils ncurses perl-DBI perl-DBD-SQLite perl-YAML procps-ng pv python39-devel python39-wheel rebase run subversion subversion-perl texlive-collection-fontsrecommended texlive-collection-latexrecommended texlive-collection-plaingeneric the_silver_searcher time xxd vim-common vim vim-minimal zlib-devel 
2022/03/20 18:12:05 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
removing /var/cache/rebase/rebase_dyn
creating empty /var/cache/rebase/rebase_dyn
Looking for dynamic language modules/libraries in:
  /usr/local/lib/perl5/site_perl
  /usr/lib/python3.8/site-packages
  /usr/lib/python3.9/site-packages
Updating rebase information for dynamic language modules/libraries /var/cache/rebase/rebase_dyn.
removing /var/cache/rebase/rebase_dyn_exe
creating empty /var/cache/rebase/rebase_dyn_exe
Updating rebase information for user-defined executables /var/cache/rebase/rebase_dyn_exe.
removing /var/cache/rebase/rebase_pkg
creating empty /var/cache/rebase/rebase_pkg
Updating package information in /var/cache/rebase/rebase_pkg.
  from /etc/setup/2048-cli.lst.gz
  from /etc/setup/adwaita-icon-theme.lst.gz
  from /etc/setup/alternatives.lst.gz
  from /etc/setup/aria2.lst.gz
  from /etc/setup/asciidoc.lst.gz
  from /etc/setup/autoconf.lst.gz
  from /etc/setup/autoconf2.1.lst.gz
  from /etc/setup/autoconf2.5.lst.gz
  from /etc/setup/autoconf2.7.lst.gz
  from /etc/setup/automake.lst.gz
  from /etc/setup/automake1.10.lst.gz
  from /etc/setup/automake1.11.lst.gz
  from /etc/setup/automake1.12.lst.gz
  from /etc/setup/automake1.13.lst.gz
  from /etc/setup/automake1.14.lst.gz
  from /etc/setup/automake1.15.lst.gz
  from /etc/setup/automake1.16.lst.gz
  from /etc/setup/automake1.9.lst.gz
  from /etc/setup/base-cygwin.lst.gz
  from /etc/setup/base-files.lst.gz
  from /etc/setup/bash-completion-devel.lst.gz
  from /etc/setup/bash-completion.lst.gz
  from /etc/setup/bash.lst.gz
  from /etc/setup/biber.lst.gz
  from /etc/setup/binutils.lst.gz
  from /etc/setup/build-docbook-catalog.lst.gz
  from /etc/setup/bzip2.lst.gz
  from /etc/setup/ca-certificates.lst.gz
  from /etc/setup/coreutils.lst.gz
  from /etc/setup/crypto-policies.lst.gz
  from /etc/setup/csih.lst.gz
  from /etc/setup/curl.lst.gz
  from /etc/setup/cygcheck-dep.lst.gz
  from /etc/setup/cygport.lst.gz
  from /etc/setup/cygrunsrv.lst.gz
  from /etc/setup/cygutils.lst.gz
  from /etc/setup/cygwin-devel.lst.gz
  from /etc/setup/cygwin.lst.gz
  from /etc/setup/dash.lst.gz
  from /etc/setup/dblatex.lst.gz
  from /etc/setup/dejavu-fonts.lst.gz
  from /etc/setup/desktop-file-utils.lst.gz
  from /etc/setup/dialog.lst.gz
  from /etc/setup/diffstat.lst.gz
  from /etc/setup/diffutils.lst.gz
  from /etc/setup/docbook-xsl.lst.gz
  from /etc/setup/dos2unix.lst.gz
  from /etc/setup/ed.lst.gz
  from /etc/setup/editrights.lst.gz
  from /etc/setup/file.lst.gz
  from /etc/setup/findutils.lst.gz
  from /etc/setup/gamin.lst.gz
  from /etc/setup/gawk.lst.gz
  from /etc/setup/gcc-core.lst.gz
  from /etc/setup/gcc-g++.lst.gz
  from /etc/setup/getent.lst.gz
  from /etc/setup/gettext-devel.lst.gz
  from /etc/setup/gettext.lst.gz
  from /etc/setup/ghostscript-fonts-other.lst.gz
  from /etc/setup/ghostscript.lst.gz
  from /etc/setup/git-email.lst.gz
  from /etc/setup/git.lst.gz
  from /etc/setup/gnupg.lst.gz
  from /etc/setup/gnupg2.lst.gz
  from /etc/setup/grep.lst.gz
  from /etc/setup/groff.lst.gz
  from /etc/setup/gsettings-desktop-schemas.lst.gz
  from /etc/setup/gtk-update-icon-cache.lst.gz
  from /etc/setup/gzip.lst.gz
  from /etc/setup/hicolor-icon-theme.lst.gz
  from /etc/setup/hostname.lst.gz
  from /etc/setup/ImageMagick.lst.gz
  from /etc/setup/info.lst.gz
  from /etc/setup/ipc-utils.lst.gz
  from /etc/setup/less.lst.gz
  from /etc/setup/lftp.lst.gz
  from /etc/setup/libapr1.lst.gz
  from /etc/setup/libaprutil1.lst.gz
  from /etc/setup/libargp.lst.gz
  from /etc/setup/libassuan0.lst.gz
  from /etc/setup/libatk1.0_0.lst.gz
  from /etc/setup/libatomic1.lst.gz
  from /etc/setup/libattr1.lst.gz
  from /etc/setup/libblkid1.lst.gz
  from /etc/setup/libbrotlicommon1.lst.gz
  from /etc/setup/libbrotlidec1.lst.gz
  from /etc/setup/libbz2_1.lst.gz
  from /etc/setup/libcairo2.lst.gz
  from /etc/setup/libcares2.lst.gz
  from /etc/setup/libcdt5.lst.gz
  from /etc/setup/libcgraph6.lst.gz
  from /etc/setup/libcharset1.lst.gz
  from /etc/setup/libcom_err2.lst.gz
  from /etc/setup/libcroco0.6_3.lst.gz
  from /etc/setup/libcrypt-devel.lst.gz
  from /etc/setup/libcrypt0.lst.gz
  from /etc/setup/libcrypt2.lst.gz
  from /etc/setup/libcurl-devel.lst.gz
  from /etc/setup/libcurl4.lst.gz
  from /etc/setup/libdatrie1.lst.gz
  from /etc/setup/libdb5.3.lst.gz
  from /etc/setup/libdeflate0.lst.gz
  from /etc/setup/libdialog14.lst.gz
  from /etc/setup/libdjvulibre-common.lst.gz
  from /etc/setup/libdjvulibre21.lst.gz
  from /etc/setup/libedit0.lst.gz
  from /etc/setup/libexpat-devel.lst.gz
  from /etc/setup/libexpat1.lst.gz
  from /etc/setup/libfam0.lst.gz
  from /etc/setup/libfdisk1.lst.gz
  from /etc/setup/libffi6.lst.gz
  from /etc/setup/libfftw3_3.lst.gz
  from /etc/setup/libfido2.lst.gz
  from /etc/setup/libfontconfig-common.lst.gz
  from /etc/setup/libfontconfig1.lst.gz
  from /etc/setup/libfpx1.lst.gz
  from /etc/setup/libfreetype6.lst.gz
  from /etc/setup/libfribidi0.lst.gz
  from /etc/setup/libgc1.lst.gz
  from /etc/setup/libgcc1.lst.gz
  from /etc/setup/libgcrypt20.lst.gz
  from /etc/setup/libgd3.lst.gz
  from /etc/setup/libgdbm4.lst.gz
  from /etc/setup/libgdbm6.lst.gz
  from /etc/setup/libgdbm_compat4.lst.gz
  from /etc/setup/libgdk_pixbuf2.0_0.lst.gz
  from /etc/setup/libglib2.0_0.lst.gz
  from /etc/setup/libgmp10.lst.gz
  from /etc/setup/libgnutls30.lst.gz
  from /etc/setup/libgomp1.lst.gz
  from /etc/setup/libgpg-error0.lst.gz
  from /etc/setup/libgpgme11.lst.gz
  from /etc/setup/libgraphite2_3.lst.gz
  from /etc/setup/libgs9.lst.gz
  from /etc/setup/libgsasl-common.lst.gz
  from /etc/setup/libgsasl7.lst.gz
  from /etc/setup/libgssapi_krb5_2.lst.gz
  from /etc/setup/libgtk2.0_0.lst.gz
  from /etc/setup/libgts0.7_5.lst.gz
  from /etc/setup/libguile2.2_1.lst.gz
  from /etc/setup/libgvc6.lst.gz
  from /etc/setup/libharfbuzz0.lst.gz
  from /etc/setup/libhogweed4.lst.gz
  from /etc/setup/libICE6.lst.gz
  from /etc/setup/libiconv-devel.lst.gz
  from /etc/setup/libiconv.lst.gz
  from /etc/setup/libiconv2.lst.gz
  from /etc/setup/libicu68.lst.gz
  from /etc/setup/libidn11.lst.gz
  from /etc/setup/libidn2_0.lst.gz
  from /etc/setup/libimagequant0.lst.gz
  from /etc/setup/libintl-devel.lst.gz
  from /etc/setup/libintl8.lst.gz
  from /etc/setup/libiodbc2.lst.gz
  from /etc/setup/libisl23.lst.gz
  from /etc/setup/libjasper4.lst.gz
  from /etc/setup/libjbig2.lst.gz
  from /etc/setup/libjpeg8.lst.gz
  from /etc/setup/libk5crypto3.lst.gz
  from /etc/setup/libkpathsea6.lst.gz
  from /etc/setup/libkrb5support0.lst.gz
  from /etc/setup/libkrb5_3.lst.gz
  from /etc/setup/libksba8.lst.gz
  from /etc/setup/libLASi1.lst.gz
  from /etc/setup/liblcms2_2.lst.gz
  from /etc/setup/liblqr1_0.lst.gz
  from /etc/setup/libltdl7.lst.gz
  from /etc/setup/liblz4_1.lst.gz
  from /etc/setup/liblzma5.lst.gz
  from /etc/setup/libMagickCore7_7.lst.gz
  from /etc/setup/libMagickWand7_7.lst.gz
  from /etc/setup/libmetalink3.lst.gz
  from /etc/setup/libmpc3.lst.gz
  from /etc/setup/libmpfr6.lst.gz
  from /etc/setup/libmysqlclient18.lst.gz
  from /etc/setup/libncursesw10.lst.gz
  from /etc/setup/libnettle6.lst.gz
  from /etc/setup/libnghttp2_14.lst.gz
  from /etc/setup/libnpth0.lst.gz
  from /etc/setup/libnspr4.lst.gz
  from /etc/setup/libnss3.lst.gz
  from /etc/setup/libntlm0.lst.gz
  from /etc/setup/libopenjp2_7.lst.gz
  from /etc/setup/libopenldap2.lst.gz
  from /etc/setup/libopenldap2_4_2.lst.gz
  from /etc/setup/libopenldap2_5_0.lst.gz
  from /etc/setup/libp11-kit0.lst.gz
  from /etc/setup/libpango1.0_0.lst.gz
  from /etc/setup/libpaper-common.lst.gz
  from /etc/setup/libpaper1.lst.gz
  from /etc/setup/libpathplan4.lst.gz
  from /etc/setup/libpcre1.lst.gz
  from /etc/setup/libpcre2-devel.lst.gz
  from /etc/setup/libpcre2-posix3.lst.gz
  from /etc/setup/libpcre2_16_0.lst.gz
  from /etc/setup/libpcre2_32_0.lst.gz
  from /etc/setup/libpcre2_8_0.lst.gz
  from /etc/setup/libpipeline1.lst.gz
  from /etc/setup/libpixman1_0.lst.gz
  from /etc/setup/libpkgconf3.lst.gz
  from /etc/setup/libpng16.lst.gz
  from /etc/setup/libpoppler-glib8.lst.gz
  from /etc/setup/libpoppler106.lst.gz
  from /etc/setup/libpopt-common.lst.gz
  from /etc/setup/libpopt0.lst.gz
  from /etc/setup/libpq5.lst.gz
  from /etc/setup/libprocps8.lst.gz
  from /etc/setup/libpsl5.lst.gz
  from /etc/setup/libptexenc1.lst.gz
  from /etc/setup/libquadmath0.lst.gz
  from /etc/setup/libraqm0.lst.gz
  from /etc/setup/libraw16.lst.gz
  from /etc/setup/libreadline7.lst.gz
  from /etc/setup/librsvg2_2.lst.gz
  from /etc/setup/libsasl2_3.lst.gz
  from /etc/setup/libserf1_0.lst.gz
  from /etc/setup/libsigsegv2.lst.gz
  from /etc/setup/libSM6.lst.gz
  from /etc/setup/libsmartcols1.lst.gz
  from /etc/setup/libsodium-common.lst.gz
  from /etc/setup/libsodium23.lst.gz
  from /etc/setup/libsqlite3_0.lst.gz
  from /etc/setup/libssh2_1.lst.gz
  from /etc/setup/libssl-devel.lst.gz
  from /etc/setup/libssl1.0.lst.gz
  from /etc/setup/libssl1.1.lst.gz
  from /etc/setup/libstdc++6.lst.gz
  from /etc/setup/libsynctex2.lst.gz
  from /etc/setup/libtasn1_6.lst.gz
  from /etc/setup/libteckit0.lst.gz
  from /etc/setup/libtexlua53_5.lst.gz
  from /etc/setup/libtexluajit2.lst.gz
  from /etc/setup/libthai0.lst.gz
  from /etc/setup/libtiff6.lst.gz
  from /etc/setup/libtool.lst.gz
  from /etc/setup/libunistring2.lst.gz
  from /etc/setup/libusb0.lst.gz
  from /etc/setup/libusb1.0.lst.gz
  from /etc/setup/libuuid1.lst.gz
  from /etc/setup/libwebp7.lst.gz
  from /etc/setup/libwebpdemux2.lst.gz
  from /etc/setup/libwebpmux3.lst.gz
  from /etc/setup/libX11_6.lst.gz
  from /etc/setup/libXau6.lst.gz
  from /etc/setup/libXaw7.lst.gz
  from /etc/setup/libxcb-render0.lst.gz
  from /etc/setup/libxcb-shm0.lst.gz
  from /etc/setup/libxcb1.lst.gz
  from /etc/setup/libXcomposite1.lst.gz
  from /etc/setup/libXcursor1.lst.gz
  from /etc/setup/libXdamage1.lst.gz
  from /etc/setup/libXdmcp6.lst.gz
  from /etc/setup/libXext6.lst.gz
  from /etc/setup/libXfixes3.lst.gz
  from /etc/setup/libXft2.lst.gz
  from /etc/setup/libXi6.lst.gz
  from /etc/setup/libXinerama1.lst.gz
  from /etc/setup/libxml2.lst.gz
  from /etc/setup/libXmu6.lst.gz
  from /etc/setup/libXpm4.lst.gz
  from /etc/setup/libXrandr2.lst.gz
  from /etc/setup/libXrender1.lst.gz
  from /etc/setup/libxslt.lst.gz
  from /etc/setup/libXss1.lst.gz
  from /etc/setup/libXt6.lst.gz
  from /etc/setup/libxxhash0.lst.gz
  from /etc/setup/libyaml0_2.lst.gz
  from /etc/setup/libzstd1.lst.gz
  from /etc/setup/libzzip0.13.lst.gz
  from /etc/setup/lndir.lst.gz
  from /etc/setup/login.lst.gz
  from /etc/setup/m4.lst.gz
  from /etc/setup/make.lst.gz
  from /etc/setup/man-db.lst.gz
  from /etc/setup/mariadb-common.lst.gz
  from /etc/setup/mintty.lst.gz
  from /etc/setup/moreutils.lst.gz
  from /etc/setup/mysql-common.lst.gz
  from /etc/setup/ncurses.lst.gz
  from /etc/setup/openssh.lst.gz
  from /etc/setup/openssl.lst.gz
  from /etc/setup/p11-kit-trust.lst.gz
  from /etc/setup/p11-kit.lst.gz
  from /etc/setup/patch.lst.gz
  from /etc/setup/perl-Authen-SASL.lst.gz
  from /etc/setup/perl-autovivification.lst.gz
  from /etc/setup/perl-B-Hooks-EndOfScope.lst.gz
  from /etc/setup/perl-Business-ISBN-Data.lst.gz
  from /etc/setup/perl-Business-ISBN.lst.gz
  from /etc/setup/perl-Business-ISMN.lst.gz
  from /etc/setup/perl-Business-ISSN.lst.gz
  from /etc/setup/perl-Class-Accessor.lst.gz
  from /etc/setup/perl-Class-Data-Inheritable.lst.gz
  from /etc/setup/perl-Class-Inspector.lst.gz
  from /etc/setup/perl-Class-Singleton.lst.gz
  from /etc/setup/perl-Clone.lst.gz
  from /etc/setup/perl-Data-Compare.lst.gz
  from /etc/setup/perl-Data-Dump.lst.gz
  from /etc/setup/perl-Data-Uniqid.lst.gz
  from /etc/setup/perl-DateTime-Calendar-Julian.lst.gz
  from /etc/setup/perl-DateTime-Format-Builder.lst.gz
  from /etc/setup/perl-DateTime-Format-Strptime.lst.gz
  from /etc/setup/perl-DateTime-Locale.lst.gz
  from /etc/setup/perl-DateTime-TimeZone.lst.gz
  from /etc/setup/perl-DateTime.lst.gz
  from /etc/setup/perl-DBD-SQLite.lst.gz
  from /etc/setup/perl-DBI.lst.gz
  from /etc/setup/perl-Devel-StackTrace.lst.gz
  from /etc/setup/perl-Digest-HMAC.lst.gz
  from /etc/setup/perl-Digest-SHA.lst.gz
  from /etc/setup/perl-Digest-SHA1.lst.gz
  from /etc/setup/perl-Dist-CheckConflicts.lst.gz
  from /etc/setup/perl-Encode-Locale.lst.gz
  from /etc/setup/perl-Error.lst.gz
  from /etc/setup/perl-Eval-Closure.lst.gz
  from /etc/setup/perl-Exception-Class.lst.gz
  from /etc/setup/perl-File-Copy-Recursive.lst.gz
  from /etc/setup/perl-File-Find-Rule.lst.gz
  from /etc/setup/perl-File-HomeDir.lst.gz
  from /etc/setup/perl-File-Listing.lst.gz
  from /etc/setup/perl-File-ShareDir.lst.gz
  from /etc/setup/perl-File-Slurper.lst.gz
  from /etc/setup/perl-File-Which.lst.gz
  from /etc/setup/perl-HTML-Parser.lst.gz
  from /etc/setup/perl-HTML-Tagset.lst.gz
  from /etc/setup/perl-HTTP-Cookies.lst.gz
  from /etc/setup/perl-HTTP-Date.lst.gz
  from /etc/setup/perl-HTTP-Message.lst.gz
  from /etc/setup/perl-HTTP-Negotiate.lst.gz
  from /etc/setup/perl-IO-HTML.lst.gz
  from /etc/setup/perl-IO-Socket-SSL.lst.gz
  from /etc/setup/perl-IO-String.lst.gz
  from /etc/setup/perl-IO-Tty.lst.gz
  from /etc/setup/perl-IPC-Cmd.lst.gz
  from /etc/setup/perl-IPC-Run.lst.gz
  from /etc/setup/perl-IPC-Run3.lst.gz
  from /etc/setup/perl-libwww-perl.lst.gz
  from /etc/setup/perl-Lingua-Translit.lst.gz
  from /etc/setup/perl-List-AllUtils.lst.gz
  from /etc/setup/perl-List-SomeUtils.lst.gz
  from /etc/setup/perl-List-UtilsBy.lst.gz
  from /etc/setup/perl-Log-Log4perl.lst.gz
  from /etc/setup/perl-LWP-MediaTypes.lst.gz
  from /etc/setup/perl-LWP-Protocol-https.lst.gz
  from /etc/setup/perl-MailTools.lst.gz
  from /etc/setup/perl-MIME-Charset.lst.gz
  from /etc/setup/perl-MIME-tools.lst.gz
  from /etc/setup/perl-Module-Implementation.lst.gz
  from /etc/setup/perl-Module-Runtime.lst.gz
  from /etc/setup/perl-Mozilla-CA.lst.gz
  from /etc/setup/perl-MRO-Compat.lst.gz
  from /etc/setup/perl-namespace-autoclean.lst.gz
  from /etc/setup/perl-namespace-clean.lst.gz
  from /etc/setup/perl-Net-HTTP.lst.gz
  from /etc/setup/perl-Net-SMTP-SSL.lst.gz
  from /etc/setup/perl-Net-SSLeay.lst.gz
  from /etc/setup/perl-Number-Compare.lst.gz
  from /etc/setup/perl-Package-Stash-XS.lst.gz
  from /etc/setup/perl-Package-Stash.lst.gz
  from /etc/setup/perl-Params-Validate.lst.gz
  from /etc/setup/perl-Params-ValidationCompiler.lst.gz
  from /etc/setup/perl-Parse-RecDescent.lst.gz
  from /etc/setup/perl-Regexp-Common.lst.gz
  from /etc/setup/perl-Role-Tiny.lst.gz
  from /etc/setup/perl-Scalar-List-Utils.lst.gz
  from /etc/setup/perl-Sort-Key.lst.gz
  from /etc/setup/perl-Specio.lst.gz
  from /etc/setup/perl-Sub-Exporter-Progressive.lst.gz
  from /etc/setup/perl-Sub-Identify.lst.gz
  from /etc/setup/perl-Sub-Quote.lst.gz
  from /etc/setup/perl-TermReadKey.lst.gz
  from /etc/setup/perl-Test-Fatal.lst.gz
  from /etc/setup/perl-Test-Harness.lst.gz
  from /etc/setup/perl-Text-BibTeX.lst.gz
  from /etc/setup/perl-Text-CSV.lst.gz
  from /etc/setup/perl-Text-Glob.lst.gz
  from /etc/setup/perl-Text-Roman.lst.gz
  from /etc/setup/perl-Tie-Cycle.lst.gz
  from /etc/setup/perl-TimeDate.lst.gz
  from /etc/setup/perl-Tk.lst.gz
  from /etc/setup/perl-Try-Tiny.lst.gz
  from /etc/setup/perl-Unicode-Collate.lst.gz
  from /etc/setup/perl-Unicode-LineBreak.lst.gz
  from /etc/setup/perl-Unicode-Normalize.lst.gz
  from /etc/setup/perl-URI.lst.gz
  from /etc/setup/perl-Variable-Magic.lst.gz
  from /etc/setup/perl-WWW-RobotRules.lst.gz
  from /etc/setup/perl-XML-LibXML-Simple.lst.gz
  from /etc/setup/perl-XML-LibXML.lst.gz
  from /etc/setup/perl-XML-LibXSLT.lst.gz
  from /etc/setup/perl-XML-NamespaceSupport.lst.gz
  from /etc/setup/perl-XML-Parser.lst.gz
  from /etc/setup/perl-XML-SAX-Base.lst.gz
  from /etc/setup/perl-XML-SAX.lst.gz
  from /etc/setup/perl-XML-Writer.lst.gz
  from /etc/setup/perl-YAML-Tiny.lst.gz
  from /etc/setup/perl-YAML.lst.gz
  from /etc/setup/perl.lst.gz
  from /etc/setup/perl_autorebase.lst.gz
  from /etc/setup/perl_base.lst.gz
  from /etc/setup/pinentry.lst.gz
  from /etc/setup/pkg-config.lst.gz
  from /etc/setup/pkgconf.lst.gz
  from /etc/setup/poppler-data.lst.gz
  from /etc/setup/procps-ng.lst.gz
  from /etc/setup/publicsuffix-list-dafsa.lst.gz
  from /etc/setup/pv.lst.gz
  from /etc/setup/python3.lst.gz
  from /etc/setup/python38-chardet.lst.gz
  from /etc/setup/python38-imaging.lst.gz
  from /etc/setup/python38-olefile.lst.gz
  from /etc/setup/python38-pip.lst.gz
  from /etc/setup/python38-pygments.lst.gz
  from /etc/setup/python38-setuptools.lst.gz
  from /etc/setup/python38.lst.gz
  from /etc/setup/python39-attrs.lst.gz
  from /etc/setup/python39-devel.lst.gz
  from /etc/setup/python39-iniconfig.lst.gz
  from /etc/setup/python39-jinja2.lst.gz
  from /etc/setup/python39-markupsafe.lst.gz
  from /etc/setup/python39-packaging.lst.gz
  from /etc/setup/python39-pip.lst.gz
  from /etc/setup/python39-pluggy.lst.gz
  from /etc/setup/python39-py.lst.gz
  from /etc/setup/python39-pyparsing.lst.gz
  from /etc/setup/python39-pytest.lst.gz
  from /etc/setup/python39-setuptools.lst.gz
  from /etc/setup/python39-toml.lst.gz
  from /etc/setup/python39-wheel.lst.gz
  from /etc/setup/python39.lst.gz
  from /etc/setup/rebase.lst.gz
  from /etc/setup/rsync.lst.gz
  from /etc/setup/ruby-builder.lst.gz
  from /etc/setup/ruby-did_you_mean.lst.gz
  from /etc/setup/ruby-minitest.lst.gz
  from /etc/setup/ruby-rake.lst.gz
  from /etc/setup/ruby-rdoc.lst.gz
  from /etc/setup/ruby.lst.gz
  from /etc/setup/rubygems.lst.gz
  from /etc/setup/run.lst.gz
  from /etc/setup/sed.lst.gz
  from /etc/setup/shared-mime-info.lst.gz
  from /etc/setup/subversion-perl.lst.gz
  from /etc/setup/subversion.lst.gz
  from /etc/setup/tar.lst.gz
  from /etc/setup/tcl-tk.lst.gz
  from /etc/setup/tcl.lst.gz
  from /etc/setup/terminfo-extra.lst.gz
  from /etc/setup/terminfo.lst.gz
  from /etc/setup/texinfo.lst.gz
  from /etc/setup/texlive-collection-basic.lst.gz
  from /etc/setup/texlive-collection-bibtexextra.lst.gz
  from /etc/setup/texlive-collection-binextra.lst.gz
  from /etc/setup/texlive-collection-fontsrecommended.lst.gz
  from /etc/setup/texlive-collection-latex.lst.gz
  from /etc/setup/texlive-collection-latexextra.lst.gz
  from /etc/setup/texlive-collection-latexrecommended.lst.gz
  from /etc/setup/texlive-collection-mathscience.lst.gz
  from /etc/setup/texlive-collection-plaingeneric.lst.gz
  from /etc/setup/texlive.lst.gz
  from /etc/setup/the_silver_searcher.lst.gz
  from /etc/setup/time.lst.gz
  from /etc/setup/transfig.lst.gz
  from /etc/setup/tzcode.lst.gz
  from /etc/setup/tzdata.lst.gz
  from /etc/setup/unzip.lst.gz
  from /etc/setup/urw-base35-fonts-legacy.lst.gz
  from /etc/setup/urw-base35-fonts.lst.gz
  from /etc/setup/util-linux.lst.gz
  from /etc/setup/vim-common.lst.gz
  from /etc/setup/vim-minimal.lst.gz
  from /etc/setup/vim.lst.gz
  from /etc/setup/w32api-headers.lst.gz
  from /etc/setup/w32api-runtime.lst.gz
  from /etc/setup/w3m.lst.gz
  from /etc/setup/wget.lst.gz
  from /etc/setup/which.lst.gz
  from /etc/setup/windows-default-manifest.lst.gz
  from /etc/setup/xxd.lst.gz
  from /etc/setup/xz.lst.gz
  from /etc/setup/zlib-devel.lst.gz
  from /etc/setup/zlib0.lst.gz
  from /etc/setup/zstd.lst.gz
  from /etc/setup/_autorebase.lst.gz
removing /var/cache/rebase/rebase_lst
creating empty /var/cache/rebase/rebase_lst
Updating rebase information for installed dynamic objects in /var/cache/rebase/rebase_lst.
Updating rebase information for installed executables in /var/cache/rebase/rebase_exe.
Rebasing with list /var/cache/rebase/rebase_all, built from /var/cache/rebase/rebase_dyn /var/cache/rebase/rebase_lst.

The following DLLs couldn't be rebased because they were in use:
  /usr/bin/cygz.dll
  /usr/bin/cygreadline7.dll
  /usr/bin/cygncursesw-10.dll
  /usr/bin/cygkrb5support-0.dll
  /usr/bin/cygkrb5-3.dll
  /usr/bin/cygk5crypto-3.dll
  /usr/bin/cygintl-8.dll
  /usr/bin/cygiconv-2.dll
  /usr/bin/cyggssapi_krb5-2.dll
  /usr/bin/cyggcc_s-seh-1.dll
  /usr/bin/cygcrypto-1.1.dll
  /usr/bin/cygcom_err-2.dll
2022/03/20 18:12:07 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_texlive_prep.dash"
2022/03/20 18:12:07 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
2022/03/20 18:12:08 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_adwaita-icon-theme.sh"
2022/03/20 18:12:08 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_desktop-file-utils.sh"
2022/03/20 18:12:08 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_fontconfig_cache_1.sh"
2022/03/20 18:12:08 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_fontconfig_dtd.dash"
2022/03/20 18:12:08 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_glib2.0.sh"
2022/03/20 18:12:09 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_hicolor-icon-theme.sh"
2022/03/20 18:12:09 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_man-db-update-index.dash"
  ManDB index not available.
2022/03/20 18:12:09 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_shared-mime-info.sh"
2022/03/20 18:12:09 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_texlive_finish.dash"
2022/03/20 18:12:09 Changing gid to Administrators
Program directory for program link: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
2022/03/20 18:12:09 Ending cygwin install

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unable to install source packages when running setup from command line
  2022-03-20 18:20 Unable to install source packages when running setup from command line Adam Dinwoodie
@ 2022-03-22 13:54 ` Jon Turney
  2022-03-22 14:39   ` Adam Dinwoodie
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Turney @ 2022-03-22 13:54 UTC (permalink / raw)
  To: Adam Dinwoodie, The Cygwin Mailing List

On 20/03/2022 18:20, Adam Dinwoodie wrote:
> Hi,
> 
> I *suspect* this is a bug, but it might just be this isn't supposed to
> work: there doesn't seem to be a way to download a source package for an
> already-installed Cygwin package when using setup from the command line.
> 
> If I run, for example:
> 
>      /bin/setup-x86_64.exe -d -l 'C:\Users\Adam\Downloads' -s http://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/ -IP bash-completion -R 'C:\cygwin64'
> 
> I'd expected this to select and automatically install the source package
> for bash-completion.  In fact, "bash-completion" does show up in the
> list of pending packages, but the "Src?" column is unchecked and greyed
> out; I can't even select it manually in the GUI selection tool.
> Unsurprisingly, when I continue through the installer, the source
> package doesn't get installed.  I see similar behaviour if -M or -q are
> also added to the argument list.
> 
> Everything works as expected if I don't specify a package on the command
> line, and just select the source package from the GUI manually.  And
> while selecting a package that isn't currently installed seems to hit
> the same bug I've previously described with not showing up in the
> "Pending" list[0], it does successfully install both the requested
> package and the source package.
> 
> I've attached the setup.log and setup.log.full files, in case they're
> useful for working out what's going wrong.

Yeah, this is a bug.

The design of '--include-source' is a bit weird, being "also install 
source for everything we are installing"  not "also install source of 
named packages" (so '-IP foo' does nothing if foo is already installed) 
(see [1])

As usual, PTC :)

[1] https://cygwin.com/pipermail/cygwin/2020-March/244099.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unable to install source packages when running setup from command line
  2022-03-22 13:54 ` Jon Turney
@ 2022-03-22 14:39   ` Adam Dinwoodie
  0 siblings, 0 replies; 3+ messages in thread
From: Adam Dinwoodie @ 2022-03-22 14:39 UTC (permalink / raw)
  To: cygwin

On Tue, Mar 22, 2022 at 01:54:48PM +0000, Jon Turney wrote:
> On 20/03/2022 18:20, Adam Dinwoodie wrote:
> > Hi,
> > 
> > I *suspect* this is a bug, but it might just be this isn't supposed to
> > work: there doesn't seem to be a way to download a source package for an
> > already-installed Cygwin package when using setup from the command line.
> > 
> > If I run, for example:
> > 
> >      /bin/setup-x86_64.exe -d -l 'C:\Users\Adam\Downloads' -s http://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/ -IP bash-completion -R 'C:\cygwin64'
> > 
> > I'd expected this to select and automatically install the source package
> > for bash-completion.  In fact, "bash-completion" does show up in the
> > list of pending packages, but the "Src?" column is unchecked and greyed
> > out; I can't even select it manually in the GUI selection tool.
> > Unsurprisingly, when I continue through the installer, the source
> > package doesn't get installed.  I see similar behaviour if -M or -q are
> > also added to the argument list.
> > 
> > Everything works as expected if I don't specify a package on the command
> > line, and just select the source package from the GUI manually.  And
> > while selecting a package that isn't currently installed seems to hit
> > the same bug I've previously described with not showing up in the
> > "Pending" list[0], it does successfully install both the requested
> > package and the source package.
> > 
> > I've attached the setup.log and setup.log.full files, in case they're
> > useful for working out what's going wrong.
> 
> Yeah, this is a bug.
> 
> The design of '--include-source' is a bit weird, being "also install source
> for everything we are installing"  not "also install source of named
> packages" (so '-IP foo' does nothing if foo is already installed) (see [1])
> 
> As usual, PTC :)

Urgh, fine!  I've been long avoiding looking at any of the actual Cygwin
DLL or setup code -- pretty much all my code-wrangling experience has
been on Linux or other POSIX-y systems -- but I suspect I'm increasingly
hitting the point of my desire and interest in fixing things overtaking
my wariness of Windows APIs :P

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-22 14:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-20 18:20 Unable to install source packages when running setup from command line Adam Dinwoodie
2022-03-22 13:54 ` Jon Turney
2022-03-22 14:39   ` Adam Dinwoodie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).