From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk1-xa31.google.com (mail-vk1-xa31.google.com [IPv6:2607:f8b0:4864:20::a31]) by sourceware.org (Postfix) with ESMTPS id 3B6D93858D20 for ; Fri, 21 Apr 2023 19:37:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3B6D93858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vk1-xa31.google.com with SMTP id 71dfb90a1353d-441134c09cdso1348952e0c.0 for ; Fri, 21 Apr 2023 12:37:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682105820; x=1684697820; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4dA1swK5A7ePFnBCRnNHlc584yaCZKh6XJgdZZpcp14=; b=NLgnx2y5tni22nG8GOGmbjWFAnH+/4dqQeqjqmyC5ND6ncXtVTgebfxJJ9emzdvrc0 5hvFLgUuYh55PyzOGCgM2isAKVx6md+ViIJJfGAb9MyI+D126Iu5pfsp3PR2zZo1/AqJ wLP8kt0mXgJM0banCYJ0XWLwcBzre7S7pH2V/zkuBy0x5g1cDID3A3xEHN06dH61laq2 W+L8OQa9VK6+Ht7WmBIAIAcXIAV508dJULtFGnGbNKVBxVyOflT1u371fTVCiSmUBlkI UJEtM9FlinljOqsOZWLtKMioCuMnrCXDFdZo2xL0cXeTksBM4EQHaTnvbUw6WRg3jSzP BlPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682105820; x=1684697820; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4dA1swK5A7ePFnBCRnNHlc584yaCZKh6XJgdZZpcp14=; b=WSt4XReXzs9UXhX9+hSRx7kE12cUJskSv2XpPKXF8SUtchKJ8hWRvCJn7bUu4K7wZL Ks45F69dAcGjBwLiG5AKKZsA/rB3ILzs+4I6pHDvK2rY29PrYBPS8uqrbv+S31ryawmS WTzAm1YHpdZ15nosUOfURhn4tzFQ+IDPyArOhQrKiiOEZ/c+Xr7lVz0f6KPIuvbXfrF8 r4bDPtH78ctc3DZW7xhCAsi6ZSA/8DvNM2fBXdMxjHNImXtYixBbEHduJg0/eBmK8MQN 7kJBmibT1TLXHsPiM/vBBtryLbmy1WnFfNyB8kZ75xvj9cgyIKcld3M1yxITJiv9h2+P b0AQ== X-Gm-Message-State: AAQBX9fk4gkVoWSGV04IR6C74XsZN/AQsouQkQGXOrXBDeuLm0420fxV rzpp+/XUUSwBaG2uJNSw2H+rLt6lnRtULwoJK+OXSdG7 X-Google-Smtp-Source: AKy350bLh5Yz/wdscgqnLoUZ5I4+Nt8psAGx8xcU0xO6yYcZ4bhoVAoTYOVClvK/Th4Jv139VPlrQwATMvxebnvrkhg= X-Received: by 2002:a1f:3d86:0:b0:440:39a5:6c6b with SMTP id k128-20020a1f3d86000000b0044039a56c6bmr1587074vka.8.1682105820239; Fri, 21 Apr 2023 12:37:00 -0700 (PDT) MIME-Version: 1.0 References: <55c06590-b192-9c43-c20f-a1967abf920c@gmail.com> <8a06d928-4788-2290-581b-f22f881af7b2@dronecode.org.uk> In-Reply-To: From: Daisuke Fujimura Date: Sat, 22 Apr 2023 04:36:24 +0900 Message-ID: Subject: Re: [ITA] ruby 3.2.2 To: cygwin-apps@cygwin.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Thank you for your review. Based on your review, I understand that the following steps are necessary. Could you please let me know if it is correct? 1. Release `ruby-2.6.4-2`. - Add `ruby_PROVIDES=3D"ruby_${${VERSION%.*}//./}"` to ruby.cygport. - The value of this variable will be `ruby_26`. - `provides: ruby_26` is added to `ruby-2.6.4-2.hint`. 2. Modify cygport and release it. - Add code to detect dependencies on `ruby_xy`. - It is similar to the process for `perl5_xy0`. - https://github.com/cygwin/cygport/blob/0.36.2/lib/pkg_info.cygpar= t#L442 - https://github.com/cygwin/cygport/blob/0.36.2/lib/pkg_info.cygpar= t#L639 3. Rebuild `ruby-*` subpackages. - The new cygport adds `depends: ruby_26` to the hint. - (Question) Does a gem that has no dependencies on `cygruby*.dll` need to rebuild? 4. Release `ruby-3.2.2-1`. - The value of `provides` becomes `ruby_32`. - Packages that depend on `ruby_26` will no longer be installable. 5. Rebuild `ruby-*` subpackages. - The rebuild adds `depends: ruby_32` to the hint. On Fri, Apr 21, 2023 at 1:13=E2=80=AFAM Jon Turney wrote: > > On 20/04/2023 11:50, Jon Turney via Cygwin-apps wrote: > > On 20/04/2023 04:28, Marco Atzeri via Cygwin-apps wrote: > >> On 20.04.2023 00:42, Daisuke Fujimura via Cygwin-apps wrote: > >>> Hello, > >>> > >>> =3D=3D=3D=3D > >>> > >>> Cygportfile: > >>> - > >>> https://cygwin.com/git-cygwin-packages/?p=3Dgit/cygwin-packages/playg= round.git;a=3Dshortlog;h=3Drefs/heads/ruby > >>> > > Looks fine. Thanks very much for updating this! > > >>> Packages, logs: > >>> - https://github.com/cygwin/scallywag/actions/runs/4743191979 > >> > >> > >> all yours > >> > >> Are you planning to adopt also the ruby-* sub-packages ? > >> > >> Regards > >> Marco > > > > I have a concern about how this changes a soversioned dll inside the > > package (from cygruby260.dll to cygruby320.dll) > > > > I don't know if there's anything linked against this DLL (perhaps ruby > > bindings provided by other packages) which will get broken? > > > > Please hold off on uploading this until I have a chance to look into > > that issue a bit more. > It seems we have a handful of ruby binding packages, which install a .so > file into /usr/lib/ruby/vendor_ruby/2.6/ which is linked against > cygruby260.dll: > > ruby-gv > ruby-marisa > ruby-openbabel > ruby-openwsman > ruby-solv > ruby-xapian > ruby-zinnia > subversion-ruby > > (There might also be some other packages which link with that dll to > embed the ruby interpreter or something, but those are harder for me to > identify quickly...) > > I think this can be handled in the same way as perl, i.e. add something > like "ruby_PROVIDES=3Druby_${${VERSION%.*}//./}" to ruby.cygport, and add > a mechanism to cygport to make the binding packages have an additional > dependency on that provide. > > I'll look into retroactively adding this to the existing ruby 2.6.x > packages, to prevent non-working combinations of packages getting install= ed. >