delorie.com/archives/browse.cgi | search |
DKIM-Filter: | OpenDKIM Filter v2.11.0 delorie.com 45LERnEg300546 |
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=VWEFCEvs | |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org B03433899074 |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1718980067; | |
bh=T8EVFxmgRVSLuD61Vs64pyQkAHwFMI7CbS97TpJEO0E=; | |
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: | |
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: | |
From; | |
b=VWEFCEvsuM5Y7g5sGg5hKhGFBAka/jVfgtkHUKsliMqJ6YCDoeFK11G5Lqe29iKsV | |
nuNGi03Ria8DmG5CbrxkG1ZNSZoxq1b8j5snsNMQN7xuI4wUY7NSzcjL8HzRxfTXZZ | |
kx/mwztA2+hwlLFaXQ40/7GHB+aiaVsbwVROyxtg= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org 9771E389906C |
ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org 9771E389906C |
ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718980042; cv=none; |
b=X+7yoPR4qvIAfxZAUlsjUGTs9WKV2dG3JcMatbWOyuDfkMGgmJAaDk4lOv/hnL+18O59UOb9nPxlLOitb4VwvmOGWACsshdvH8YFy6AW6cLJiUvLGlFwTOAvn3s0Wn2e4zDqRBXTEdm1t0ir818etY/wIW/6V2awKO068rKWINw= | |
ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
t=1718980042; c=relaxed/simple; | |
bh=TiIPudUwjQVniAM9vZHqFQLQh6MJ8CcIFgiovC5qVA8=; | |
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; | |
b=hh97Wa92/z83sWg/lpatBy9Y4SCHRcJyv8alhXwym4/7m5MW+i5ZYmgHJxDR6UxdArdmfgMeXRYDOurZVwMyTgqgit4xRPJIxNSc6AgzYlqByv8PISgGHBxfEjlYb2rxOGbHX0wuDG4cPQbzZwI8QKfUkMYx4X8OggPECgszIBY= | |
ARC-Authentication-Results: | i=1; server2.sourceware.org |
Message-ID: | <c81f2766-03a4-4868-ab3f-1c523ec16be6@kircheis.it> |
Date: | Fri, 21 Jun 2024 16:27:15 +0200 |
MIME-Version: | 1.0 |
Subject: | Re: Analyze dependencies of a cygwin package |
To: | cygwin AT cygwin DOT com |
References: | <07082870-22a4-47a6-8fec-4ef954d181d1 AT kircheis DOT it> |
<ff59d014-94ec-490d-980c-538177daf658 AT maxrnd DOT com> | |
In-Reply-To: | <ff59d014-94ec-490d-980c-538177daf658@maxrnd.com> |
X-Rspamd-Queue-Id: | 4W5KSN69kJz9sqh |
X-Spam-Status: | No, score=-3.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, |
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, | |
SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 | |
X-Spam-Checker-Version: | SpamAssassin 3.4.6 (2021-04-09) on |
server2.sourceware.org | |
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: | Federico Kircheis via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | Federico Kircheis <federico AT kircheis DOT it> |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 45LERnEg300546 |
On 21/06/2024 09.52, Mark Geisert via Cygwin wrote: > On 6/20/2024 11:21 PM, Federico Kircheis via Cygwin wrote: >> Hello to everyone, >> >> yesterday I've uploaded a new cmus package, with some optional >> features enabled. >> >> Today, through setup.exe, I noticed that now cmus brings clang as >> dependency. >> >> Is there something I can use for analyzing transitive dependencies of >> a package? >> It does not make sense for an audio player to bring a compiler as >> dependency, and would like to remove the offending dependency. > > Try the cygcheck-dep tool, downloadable through setup.exe. It was > created to answer questions just like this. Recommended :-). > > ..mark > > Thank you, very useful. Still some questions, as I might be me holding it wrong. First; is it expected that I need admin rights to execute it? ---- mkdir: cannot create directory ‘/var/cache/cygcheck-dep’: Permission denied /usr/bin/cygcheck-dep: unable to create cache directory: /usr/bin/cygcheck-dep: /var/cache/cygcheck-dep ---- Can't it use /tmp or some other location for caching data? After my first run as admin, after 2 minutes, I got following output ---- cygcheck-dep -r cmus bzip2: /var/cache/cygcheck-dep/cygwin/x86_64/setup.bz2: data integrity (CRC) error in data You can use the `bzip2recover' program to attempt to recover data from undamaged sections of corrupted files. /usr/bin/cygcheck-dep: failed to check integrity of downloaded <setup.ini> file: /usr/bin/cygcheck-dep: /var/cache/cygcheck-dep/cygwin/x86_64/setup.bz2 /usr/bin/cygcheck-dep: you may try to run with -c option to use cached file from previous download ---- Might have been a spurious error, because after a rerun (without -c) I did not get that error anymore. Third run; are all those warnings expected? ---- cygcheck-dep -R cmus # /usr/bin/cygcheck-dep: # warning: not available package version: # failed to parse <setup.ini> file record of # 'version:' for the following packages: #( gdb-multiarch libcoordgen2 libcoordgen3 libgnat12 libgnat13 liblua5.4 libwx_baseu3.1-devel libwx_baseu3.1_5 libwx_gtk2u3.1-devel libwx_gtk2u3.1_5 libwx_gtk3u3.1-devel libwx_gtk3u3.1_5 mingw64-i686-openssl-debuginfo mingw64-x86_64-openssl-debuginfo python39-imaging python39-imaging-tk python39-wx tzdata-posix tzdata-right wxWidgets3.1-debuginfo wxWidgets3.1-doc ) # /usr/bin/cygcheck-dep: # warning: extraneous installed packages with unknown dependencies: # the following installed packages are not present # in Cygwin standard distribution: #( libdialog14 ) # /usr/bin/cygcheck-dep: # warning: unknown package names: # the following encountered package names does not match # any available or installed package (use -M switch to get details): #( python27 python-avogadro python2-avogadro gstreamer1.0-plugins-ugly-free-mad _update-info-dir libedit libexpat1-devel gmp-doc libMagickCore6 libncursesw-devel rdiff-debuginfo mate-themes-extras emacs-mercurial mercurial-convert mercurial-gui mercurial-highlight mingw64-i686-libgd mingw64-x86_64-libgd ncursesw ncursesw-demo octave-octcdf perl-Parse-CPAN-Meta perl-File-Slurp-Unicode perl-Locale-gettext perl-LWP net-snmp-perl perl-Term-ReadKey perl-Gnome2 perl-Gnome2-Canvas perl-Gnome2-GConf perl-Gnome2-Rsvg perl-Gnome2-VFS perl-Gnome2-Vte perl-Gnome2-Wnck perl-Gtk2 perl-Gtk2-GladeXML perl-Gtk2-Notify perl-Gtk2-SourceView2 perl-Gtk2-Spell perl-Gtk2-Unique perl-Gtk2-WebKit kde-wallpapers procps procps-debuginfo python2-cairo-devel python3-dbus-debuginfo python-cv python2_cv2 python-magic python2-magic python-speechd python-zbar python-pypdf python-odf python-pyqt5-devel python-sip-devel rpm-doc rxvt-unicode-X-debuginfo ksnapshot-debuginfo font-unifont-misc font-unifont-ttf xfce4-mixer xfce4-mixer-debuginfo transfig-debuginfo _windows(>=6.3) cygwin(>=3.5.0-0) emacs-bin gcc11 perl5_036 ruby_32 cygwin(>=3.5.0)) # /usr/bin/cygcheck-dep: # warning: missing required dependencies: # the following packages are not installed, but are required as dependencies # for some installed packages (use -m switch to get details): #( _windows(>=6.3) cygwin(>=3.5.0-0) emacs-bin gcc11 perl5_036 ruby_32 cygwin(>=3.5.0) ) cmus: recursively requires ( ... a lot of packages ... ) ---- otherwise, the ouput of "recursively requires" was helpful, but only limited; I could see clang as dependency, but not why. I used "cygcheck-dep -n clang" and followed the dependency chain manually; I hoped that "cygcheck-dep -R cmus" would have showed something like a tree structure. But here comes the important question. How can I use cygcheck-dep for a package that has not been uploaded yet? I would like to avoid uploading a new package, and verify afterwards if everything looks fine or not. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |