From owner-freebsd-ports@freebsd.org Mon Jul 9 07:13:25 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E500D1028248; Mon, 9 Jul 2018 07:13:24 +0000 (UTC) (envelope-from se@freebsd.org) Received: from mailout09.t-online.de (mailout09.t-online.de [194.25.134.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 74E25862BA; Mon, 9 Jul 2018 07:13:24 +0000 (UTC) (envelope-from se@freebsd.org) Received: from fwd31.aul.t-online.de (fwd31.aul.t-online.de [172.20.26.136]) by mailout09.t-online.de (Postfix) with SMTP id 264094260853; Mon, 9 Jul 2018 09:13:15 +0200 (CEST) Received: from Stefans-MBP-LAN.fritz.box (ZexvquZJohBPWhXjAGXm9DNG2PyNpIlW+f-Ke5Klg0-0bIjQ+d2CFq8v2XxPqQDZVC@[93.200.50.134]) by fwd31.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1fcQME-2Ot9ou0; Mon, 9 Jul 2018 09:13:14 +0200 Subject: Re: rubgem update to 3.2.7 To: Koichiro Iwao , Walter Schwarzenfeld Cc: freebsd-ports@freebsd.org, ruby@freebsd.org References: <6b43fe62-daac-a4f8-89a0-66cec1f6d933@utanet.at> <20180709030456.mvwdam3gzofvv45d@icepick.vmeta.jp> From: Stefan Esser Openpgp: preference=signencrypt Autocrypt: addr=se@freebsd.org; prefer-encrypt=mutual; keydata= xsBNBFVxiRIBCADOLNOZBsqlplHUQ3tG782FNtVT33rQli9EjNt2fhFERHIo4NxHlWBpHLnU b0s4L/eItx7au0i7Gegv01A9LUMwOnAc9EFAm4EW3Wmoa6MYrcP7xDClohg/Y69f7SN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n1ABEBAAHCwHwEGAEKACYCGwwWIQSjceplnAvsyCtxUxNH67XvWv31RAUCWvLv qwUJCyUBGQAKCRBH67XvWv31RLnrB/9gzcRlpx71sDMosoZULWn7wysBJ/8AIEfIByRaHQe3 pn/KwE57pB+zFbbQqB7YzeZb7/UUgR4zU2ZbOcEfwDZcHUbj0B3fGRsS3t0uiLlAd8w0sBZb SxrqzjdpDjIbOZkxssqUmvrsN67UG1AFWH9aD24keBS7YjPBS8hLxPeYV+Xz6vUL8fRZje/Z JgiBMIwyj6g2lH/zkdnxBdC0iG1xxJOLTaghMMeQyCdH6ef8+VMyAlAJsMckbOTvx63tY8z7 DFcrnTJfbe1EziRilVsEaK8tTzJzhcTfos+f3eBYWEilxe5HzIhYKJeC7lmsSUcGwa6+9VRg a0ctmi9Z8OgX Message-ID: <731bb6c1-a673-2f9d-37c6-17cdc96c2214@freebsd.org> Date: Mon, 9 Jul 2018 09:13:11 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.0 MIME-Version: 1.0 In-Reply-To: <20180709030456.mvwdam3gzofvv45d@icepick.vmeta.jp> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-ID: ZexvquZJohBPWhXjAGXm9DNG2PyNpIlW+f-Ke5Klg0-0bIjQ+d2CFq8v2XxPqQDZVC X-TOI-MSGID: f0db6ec9-e66b-4fcb-adb2-1f4d7a949ea3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2018 07:13:25 -0000 Am 09.07.18 um 05:04 schrieb Koichiro Iwao: > On Mon, Jul 09, 2018 at 12:02:22AM +0200, Walter Schwarzenfeld via freebsd-ports wrote: >> Portmaster tries to build the update in the wrong order. >> >> Right order for me was (depend on which packages are installed): >> >> rubygem-glib2 >> rubygem-gobject-introspection >> rubygem-gio2 >> rubygem-gdk_pixbuf2 >> rubygem-pango >> rubygem-gdk3 >> >> rubygem-gtk3 >> >> rubygem-atk > > I can also confirm the issue. I always perform portmaster in order that > you shown by hand when rubygem-gtk ports updated. portmaster needs to be fixed. A quick check shows that this is a problem with the port, which obviously declares actual build dependencies as run dependencies. Please open a PR and let the ruby maintainers fix this issue. E.g. in x11-toolkits/rubygem-gtk3/Makefile: RUN_DEPENDS= rubygem-atk>=${PORTVERSION}:accessibility/rubygem-atk \ rubygem-gdk3>=${PORTVERSION}:x11-toolkits/rubygem-gdk3 \ rubygem-gdk_pixbuf2>=${PORTVERSION}:graphics/rubygem-gdk_pixbuf2 \ rubygem-gio2>=${PORTVERSION}:devel/rubygem-gio2 \ rubygem-glib2>=${PORTVERSION}:devel/rubygem-glib2 \ rubygem-gobject-introspection>=${PORTVERSION}:devel/rubygem-gobject-introspection \ rubygem-pango>=${PORTVERSION}:x11-toolkits/rubygem-pango Run dependencies are generally built after the port that needs them, since they may themselves depend on resources provided by the respective port. Build dependencies OTOH provide those files that need to be updated before building a port. They may also be run dependencies (and often are), and in that case they need to be in both the BUILD_DEPENDS and RUND_DEPENDS lists. I cannot modify the behavior of portmaster (i.e. build run dependencies before the port that needs them, since this would break quite a number of other ports with correct dependency specifications: Then portmaster would try to build run dependencies before their prerequisites are available). So, I'm sorry, but portmaster will not be able to upgrade the rubygem ports in the correct order, unless the port dependencies are fixed. Regards, STefan