From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vsmx011.vodafonemail.xion.oxcs.net (vsmx011.vodafonemail.xion.oxcs.net [153.92.174.89]) by sourceware.org (Postfix) with ESMTPS id C8398385DC00 for ; Tue, 9 Jun 2020 06:55:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C8398385DC00 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 vsmx003.vodafonemail.xion.oxcs.net (unknown [192.168.75.197]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTP id ADECF59D128 for ; Tue, 9 Jun 2020 06:55:58 +0000 (UTC) Received: from Otto (unknown [91.47.56.99]) by mta-7-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 8726A539B05 for ; Tue, 9 Jun 2020 06:55:56 +0000 (UTC) From: ASSI To: cygwin@cygwin.com Subject: Re: opam package should depend on ocaml-compiler-libs References: <000501d634d2$5ebc65f0$1c3531d0$@cl.cam.ac.uk> <6331360f-ee38-d41e-ab30-cca991c3cf5c@SystematicSw.ab.ca> <5b92a927-8db6-5e2b-8a57-ce91a7681fe9@SystematicSw.ab.ca> Date: Tue, 09 Jun 2020 08:55:55 +0200 In-Reply-To: <5b92a927-8db6-5e2b-8a57-ce91a7681fe9@SystematicSw.ab.ca> (Brian Inglis's message of "Mon, 8 Jun 2020 12:58:31 -0600") Message-ID: <87a71cenic.fsf@Otto.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.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2020 06:56:03 -0000 Brian Inglis writes: >>> Cygwin packages are granular and dependencies are functional: which of the >>> Cygwin packages opam and opam-installer uses Cygwin package ocaml- >>> compiler-libs, or does opam use another ocaml package to build? >> I don't quite understand your question - opam is OCaml's package manager. The question was if adding ocaml-compiler-libs to the opam requirements is sufficient or if there are other packages that need to be added as requirements for opam. A second related question is if any of the existing ocaml packages are missing dependencies, especially to ocaml-compiler-libs. Finally, since opam is split into two packages on Cygwin, which of these needs the requirement. >> It can either compile OCaml itself from sources or use the OCaml >> installed by the system's package manager. In the second case, it >> quite reasonably assumes that the OCaml which has been installed is >> the one the OCaml developers intended which includes its >> compiler-libs package. Given that opam depends on ocaml, it should >> also depend on ocaml-compiler-libs, therefore. > > What you or the ocaml developers assume does not matter: what matters is how the > package works. If you do not understand the question and can not provide the > answer, I can see why the maintainer made his choice: he probably never used the > packages, just ran any tests included. That sounds unnecessarily harsh to me. It would however be helpful if the opam maintainer could have a look, since he is undoubtedly much more aware of the issues on both the OCaml and Cygwin sides than any one of us and could probably explain why the packages are built the way they are. > It appears that neither ocaml nor opam use ocaml-compiler-libs, otherwise the > cygwin build and packaging software would include it, so which package in the > ocaml suite actually binds the ocaml-compiler-libs to do its job, or does that > package just provide dynamic libraries which are expected to be present when > anyone runs ocaml programs? > In which case users would be expected to manually install the package > ocaml-compiler-libs. It's not uncommon that these captive "package managers" assume a certain environment without depending directly on it, so you'll indeed have to manually add the pre-requisites as manual requirements for the Cygwin package. That doesn't solve the problem that usually language environments that come with their own package manage don't quite play nice with the system package manager, especially if the system is not GNU/Linux. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf Blofeld V1.15B11: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada