DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 45LHa4JV361497 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=XrntdFpH X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A666038319F8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1718991362; bh=NeCs0Me4m44iH0wB4WzzbabDMQXovim/7FlhI9vWjO4=; 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=XrntdFpHbfPC7BJjb7TfW7rx4H5NuQ6cBqQWD2vq6qR5a3EHIdzwdpgYVS92VOkVG 429ZskFpPmBJJSF3leRKthEcjX9epjr4RQd8nPdwcKseAm74kCnj7K85JrViNPkg7S o4mkzSax7IrmQFyQGntBRVGMN5wCXNYyzTNmWf4I= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EB3A238319CF ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EB3A238319CF ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718991340; cv=none; b=AlrjQAf+QU5uSTbVtGWu0zHFV+ya9HNEnst0La0PdURM6mI4sLXbnZ7rGQZnGD8h9Y1QiH+uA+HvnIAEnph19lUjaMOOh/x3tU8bvq4lpoH5YWn88aUVT2ysL0db9iPxgFJpDHIV1Su+gwW+m8qMnrbhBxgaTH/xnGW8/LC9D6o= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718991340; c=relaxed/simple; bh=5J0/BGAArhWAPMMj+KGCAa8/ajqcMtZ1Grc1whj75mM=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=xKUsNTCTzvjUUTlBdgfebbPEAvClCzqmew7fMLBVf2bE46xRuf2p5pLt35ZfDWsrVs1whn6QtmcJuI2PNXPKL/hp0CMy8ESxznlHjAbrwjUwS9FMXlOAQEYSzZ15eZgYrIgo6J6AcMYPsgf0IS8q/U0RyYFNZcmVkUZuEwQmtEQ= ARC-Authentication-Results: i=1; server2.sourceware.org Message-ID: Date: Fri, 21 Jun 2024 19:35:32 +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> In-Reply-To: X-Rspamd-Queue-Id: 4W5Pdf0wQsz9svK X-Spam-Status: No, score=-3.6 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 List-Archive: List-Post: List-Help: List-Subscribe: , From: Federico Kircheis via Cygwin Reply-To: Federico Kircheis Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Cygwin" 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 > > After some investigation, it seems that ffmeg hash clang (which has gcc) as dependency in its chain. I would consider it a bug, although not critical. It seems that most libraries have bash as a dependency, for example libmad0: recursively requires ( bash cygwin libgcc1 libiconv2 libintl8 libncursesw10 libreadline7 libzstd1 terminfo zlib0 _windows(>=6.3) ) libvorbis: recursively requires ( ) flac: recursively requires ( bash cygwin libFLAC12 libgcc1 libiconv2 libintl8 libncursesw10 libogg0 libreadline7 libzstd1 terminfo zlib0 _windows(>=6.3) ) libopusfile0: recursively requires ( bash ca-certificates crypto-policies cygwin libffi6 libgcc1 libiconv2 libintl8 libncursesw10 libogg0 libopus0 libp11-kit0 librea dline7 libssl1.1 libtasn1_6 libzstd1 p11-kit p11-kit-trust terminfo zlib0 _windows(>=6.3) ) libsamplerate0: recursively requires ( bash cygwin libgcc1 libiconv2 libintl8 libncursesw10 libreadline7 libzstd1 terminfo zlib0 _windows(>=6.3) ) libwavpack1: recursively requires ( bash cygwin libgcc1 libiconv2 libintl8 libncursesw10 libreadline7 libzstd1 terminfo zlib0 _windows(>=6.3) ) libcdio_paranoia2: recursively requires ( bash cygwin libcdio18 libcdio_cdda2 libgcc1 libiconv2 libintl8 libncursesw10 libreadline7 libzstd1 terminfo zlib0 _windows( >=6.3) ) libmpcdec7: recursively requires ( bash cygwin libgcc1 libiconv2 libintl8 libncursesw10 libreadline7 libzstd1 terminfo zlib0 _windows(>=6.3) ) libcddb: recursively requires ( bash cygwin libcddb2 libcdio18 libgcc1 libiconv2 libintl8 libncursesw10 libreadline7 libzstd1 terminfo zlib0 _windows(>=6.3) ) libdiscid: recursively requires ( bash cygwin libdiscid0 libgcc1 libiconv2 libintl8 libncursesw10 libreadline7 libzstd1 terminfo zlib0 _windows(>=6.3) ) Again, it seems like a bug, but since so many libraries have bash as a dependency, could it be that cygcheck-dep incorrectly adds it? -- 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