From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vsmx012.vodafonemail.xion.oxcs.net (vsmx012.vodafonemail.xion.oxcs.net [153.92.174.90]) by sourceware.org (Postfix) with ESMTPS id E03A3383E826 for ; Wed, 3 Jun 2020 17:56:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E03A3383E826 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Stromeko@nexgo.de Received: from vsmx004.vodafonemail.xion.oxcs.net (unknown [192.168.75.198]) by mta-8-out.mta.xion.oxcs.net (Postfix) with ESMTP id B9DE5F35193 for ; Wed, 3 Jun 2020 17:56:33 +0000 (UTC) Received: from Gertrud (unknown [91.47.56.99]) by mta-8-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 91B1E19AEB8 for ; Wed, 3 Jun 2020 17:56:31 +0000 (UTC) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: Re: [PATCH] cygport: suppress spurious package dependencies References: <87367cv03d.fsf@Rainer.invalid> <63fc7e28274461000864b6deaa7ae11c9df21966.camel@cygwin.com> Date: Wed, 03 Jun 2020 19:56:23 +0200 In-Reply-To: <63fc7e28274461000864b6deaa7ae11c9df21966.camel@cygwin.com> (Yaakov Selkowitz's message of "Wed, 03 Jun 2020 12:32:29 -0400") Message-ID: <87v9k8t4mw.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-VADE-STATUS: LEGIT X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2020 17:56:36 -0000 Yaakov Selkowitz writes: > On Wed, 2020-06-03 at 13:51 +0200, Achim Gratz wrote: >> The automatically generated dependencies sometimes have unwanted >> components. This patch allows to suppress these on a per-package basis, >> rather than requiring to patch the generated hint files after the fact. > > What exactly are you trying to "fix" with this? The same thing as always: perl getting pulled in as a dependency for perl_base, which defeats the whole purpose of having a base package in the first place. Again, the dependency extraction just doesn't quite work for things that have optional dependencies that are used if present and do no harm if not: cygport will always pull them in and makes them a hard requirement. There's an obvious copy&paste bug in the patch, btw. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Waldorf MIDI Implementation & additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs