From owner-freebsd-ports@freebsd.org Sat Oct 1 08:58:48 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EF679BECED9 for ; Sat, 1 Oct 2016 08:58:48 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id DBDD7230 for ; Sat, 1 Oct 2016 08:58:48 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: by mailman.ysv.freebsd.org (Postfix) id DB2ECBECED8; Sat, 1 Oct 2016 08:58:48 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DAD4FBECED7 for ; Sat, 1 Oct 2016 08:58:48 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9EB2622F; Sat, 1 Oct 2016 08:58:47 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id CE88828472; Sat, 1 Oct 2016 10:58:38 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id DF0792842F; Sat, 1 Oct 2016 10:58:37 +0200 (CEST) Subject: Re: dependency explosions To: Julian Elischer , "ports@FreeBSD.org" References: <2df71272-7b98-ad73-650a-3ec70beb71d5@freebsd.org> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <57EF7ABD.70004@quip.cz> Date: Sat, 1 Oct 2016 10:58:37 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <2df71272-7b98-ad73-650a-3ec70beb71d5@freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Oct 2016 08:58:49 -0000 Julian Elischer wrote on 10/01/2016 04:35: > Hi ports people. > > It seems to me that there has been an explosion in ports dependencies > recently. > Things that used to need a few dependencies are now pulling in things > one would never imagine. > We just had to add the openjdk7 port to something and the number of > dependencies is at 120 and rising still. > (mostly due to an *undocumented* dependency on a cups include file). > > I needed to add glib2 and I got over 20 dependencies. (and then it > failed to compile). > > 12 ports I've been adding to my systems for years have now resulted in > 135 unexpected ports being built. > Some issues I've noted: > > There is a need for a "minimum" install of a lot of packages. > > Such a 'minimum' install should probably be the default when coming in > as a dependency, as > there is an increasing tendency to configure things with all the bells > and whistles. > > anyone have any thought as to 1/ why the recent explosion, and 2/ what > to do about it? Yes I have similar experience with last version of VirtualBox. We are using VirtualBox for a long time in headless mode. We have following unset in poudriers make.conf OPTIONS_UNSET= X11 GUI CUPS DOCS EXAMPLES NLS VirtualBox was always built without GUI but new version has new option QT5 and this pulls many tens of unwanted dependency libraries. I don't understand why it pull anything for GUI if X11 is unset. I found that even QT5 radio box must be unset which is really unintuitive for me: │ │ [ ] X11 X11 (graphics) support │ │────────────────── GUI (Graphical User Interface) support │ │ ( ) QT4 Build with QT4 Frontend │ │+(*) QT5 Build with QT5 Frontend Radios are normally used for "choose one of them" especially in case one is preselected. So usually trivial update costs me a lot of time to solve this. Miroslav Lachman