From owner-freebsd-ports@freebsd.org Tue Oct 4 00:42:19 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 2ADEBAF21E5 for ; Tue, 4 Oct 2016 00:42:19 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cdptpa-oedge", Issuer "cdptpa-oedge" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id ACBF2FB0 for ; Tue, 4 Oct 2016 00:42:18 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [76.181.114.47] ([76.181.114.47:32794] helo=raspberrypi.bildanet.com) by cdptpa-omsmta02 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id 05/AA-15103-5AAF2F75; Tue, 04 Oct 2016 00:41:09 +0000 Received: from [192.168.1.40] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1brDnA-0002bn-Md for freebsd-ports@freebsd.org; Mon, 03 Oct 2016 20:41:08 -0400 Subject: Re: dependency explosions To: freebsd-ports@freebsd.org References: <2df71272-7b98-ad73-650a-3ec70beb71d5@freebsd.org> <20161003232130.GW31297@eureka.lemis.com> From: Baho Utot Message-ID: Date: Mon, 3 Oct 2016 20:41:08 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161003232130.GW31297@eureka.lemis.com> X-RR-Connecting-IP: 107.14.168.7:25 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Tue, 04 Oct 2016 00:42:19 -0000 On 10/03/16 19:21, Greg 'groggy' Lehey wrote: > On Monday, 3 October 2016 at 14:14:13 +0200, Mathieu Arnold wrote: >> Le 01/10/2016 à 04:35, Julian Elischer a écrit : >>> 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. >> The bare minimum will never be the default. The default is what will >> fit most people, so that they can use our packages out of the box. > Not necessarily disagreeing with you, but I recently installed a new > version of firefox, and I was amazed by the number and nature of the > dependencies. It totalled 497 MB, including: > > Fetching chromium-52.0.2743.116_1.txz: .......... done > Fetching opera-12.16_6.txz: .......... done > Fetching apache-openoffice-4.1.2_9.txz: .......... done > Fetching libreoffice-5.0.6_3.txz: .......... done > Fetching gimp-2.8.18,2.txz: . done > Fetching hugin-2016.2.0.txz: .......... done > Fetching mplayer-1.3.0.20160912_1.txz: .......... done > Fetching samba42-4.2.14.txz: .......... done > Fetching emacs24-24.5_3,3.txz: .......... done > > Chromium? Opera? Emacs? Both OpenOffice and LibreOffice? > > I don't know if this always happens, but there's an issue here. I > have a few unfinished thoughts about how it could occur, but so far > all I can confirm is that there is an issue. > > Is there a way to display these dependencies in a tree structure? > > Greg > -- > Sent from my desktop computer. > Finger grog@FreeBSD.org for PGP public key. > See complete headers for address and phone numbers. > This message is digitally signed. If your Microsoft mail program > reports problems, please read http://lemis.com/broken-MUA $ make -C /usr/ports/www/firefox all-depends-list /usr/ports/ports-mgmt/pkg /usr/ports/devel/nspr /usr/ports/devel/gmake /usr/ports/devel/gettext-tools /usr/ports/converters/libiconv /usr/ports/devel/gettext-runtime /usr/ports/print/indexinfo /usr/ports/security/nss /usr/ports/archivers/zip /usr/ports/databases/sqlite3 /usr/ports/devel/ncurses /usr/ports/devel/pkgconf /usr/ports/devel/binutils /usr/ports/math/gmp /usr/ports/math/mpfr /usr/ports/devel/bison /usr/ports/devel/m4 /usr/ports/lang/perl5.20 /usr/ports/devel/libevent2 /usr/ports/devel/autoconf /usr/ports/misc/help2man /usr/ports/devel/p5-Locale-gettext /usr/ports/devel/autoconf-wrapper /usr/ports/devel/automake /usr/ports/devel/automake-wrapper /usr/ports/devel/libtool /usr/ports/audio/soundtouch /usr/ports/print/harfbuzz /usr/ports/devel/gobject-introspection /usr/ports/graphics/cairo /usr/ports/x11/xcb-util-renderutil /usr/ports/devel/xorg-macros /usr/ports/x11/libxcb /usr/ports/devel/libcheck /usr/ports/x11/xcb-proto /usr/ports/lang/python27 /usr/ports/devel/libffi /usr/ports/misc/dejagnu /usr/ports/lang/expect /usr/ports/lang/tcl86 /usr/ports/textproc/libxml2 /usr/ports/devel/libpthread-stubs /usr/ports/textproc/libxslt /usr/ports/security/libgcrypt /usr/ports/security/libgpg-error /usr/ports/x11/libXau /usr/ports/x11/xproto /usr/ports/x11/libXdmcp /usr/ports/x11/xcb-util /usr/ports/graphics/libGL /usr/ports/devel/makedepend /usr/ports/devel/libclc /usr/ports/devel/llvm37 /usr/ports/textproc/py-sphinx /usr/ports/devel/py-Jinja2 /usr/ports/devel/py-setuptools27 /usr/ports/textproc/py-MarkupSafe /usr/ports/devel/py-babel /usr/ports/devel/py-pytz /usr/ports/textproc/py-docutils /usr/ports/devel/py-six /usr/ports/devel/py-pytest /usr/ports/devel/py-py /usr/ports/devel/py-mock /usr/ports/devel/py-pbr /usr/ports/devel/py-pip /usr/ports/devel/py-pytest-capturelog /usr/ports/devel/py-pytest-timeout /usr/ports/devel/py-pytest-xdist /usr/ports/devel/py-setuptools_scm /usr/ports/sysutils/py-execnet /usr/ports/misc/py-pexpect /usr/ports/devel/py-virtualenv /usr/ports/devel/py-scripttest /usr/ports/devel/py-pretend /usr/ports/devel/py-freezegun /usr/ports/devel/py-dateutil /usr/ports/devel/py-nose /usr/ports/databases/py-sqlite3 /usr/ports/devel/git /usr/ports/textproc/xmlto /usr/ports/shells/bash /usr/ports/misc/getopt /usr/ports/textproc/docbook-xsl /usr/ports/textproc/xmlcatmgr /usr/ports/textproc/docbook /usr/ports/textproc/docbook-sgml /usr/ports/textproc/iso8879 /usr/ports/textproc/docbook-xml /usr/ports/textproc/xmlcharent /usr/ports/textproc/sdocbook-xml /usr/ports/print/libpaper /usr/ports/www/w3m /usr/ports/devel/boehm-gc /usr/ports/devel/libatomic_ops /usr/ports/textproc/asciidoc /usr/ports/lang/python2 /usr/ports/ftp/curl /usr/ports/security/ca_root_nss /usr/ports/lang/p5-Error /usr/ports/textproc/expat2 /usr/ports/devel/pcre /usr/ports/devel/cvsps /usr/ports/mail/p5-Net-SMTP-SSL /usr/ports/security/p5-IO-Socket-SSL /usr/ports/security/p5-Net-SSLeay /usr/ports/devel/p5-Test-Exception /usr/ports/devel/p5-Sub-Uplevel /usr/ports/devel/p5-Test-NoWarnings /usr/ports/devel/p5-Test-Simple /usr/ports/devel/p5-Test-Warn /usr/ports/www/p5-Mozilla-CA /usr/ports/net/p5-IO-Socket-IP /usr/ports/devel/p5-Test-Pod /usr/ports/net/p5-Socket /usr/ports/security/p5-Authen-SASL /usr/ports/security/p5-Digest-HMAC /usr/ports/security/p5-GSSAPI /usr/ports/devel/bzr /usr/ports/lang/cython /usr/ports/security/py-paramiko /usr/ports/security/py-cryptography /usr/ports/devel/py-cffi /usr/ports/devel/py-pycparser /usr/ports/devel/py-pyasn1 /usr/ports/dns/py-idna /usr/ports/net/py-ipaddress /usr/ports/devel/py-enum34 /usr/ports/devel/py-iso8601 /usr/ports/security/py-ecdsa /usr/ports/devel/py-funcsigs /usr/ports/textproc/py-pygments /usr/ports/textproc/py-sphinx_rtd_theme /usr/ports/textproc/py-alabaster /usr/ports/textproc/py-snowballstemmer /usr/ports/textproc/py-pystemmer /usr/ports/graphics/py-imagesize /usr/ports/devel/swig13 /usr/ports/devel/cmake /usr/ports/devel/jsoncpp /usr/ports/devel/scons /usr/ports/archivers/libarchive /usr/ports/archivers/liblz4 /usr/ports/archivers/lzo2 /usr/ports/devel/cmake-modules /usr/ports/devel/ninja /usr/ports/devel/libedit /usr/ports/x11/glproto /usr/ports/x11/dri2proto /usr/ports/x11/presentproto /usr/ports/x11/libX11 /usr/ports/x11/bigreqsproto /usr/ports/x11/xcmiscproto /usr/ports/x11/xextproto /usr/ports/x11/xtrans /usr/ports/x11/kbproto /usr/ports/x11/inputproto /usr/ports/x11-fonts/xf86bigfontproto /usr/ports/x11/libXext /usr/ports/x11/libXxf86vm /usr/ports/x11/xf86vidmodeproto /usr/ports/x11/libXdamage /usr/ports/x11/damageproto /usr/ports/x11/fixesproto /usr/ports/x11/libXfixes /usr/ports/x11/libxshmfence /usr/ports/graphics/libdrm /usr/ports/devel/libpciaccess /usr/ports/misc/pciids /usr/ports/graphics/libglapi /usr/ports/x11/libXvMC /usr/ports/x11/videoproto /usr/ports/x11/libXv /usr/ports/devel/libdevq /usr/ports/graphics/libEGL /usr/ports/graphics/gbm /usr/ports/x11/pixman /usr/ports/x11/libXrender /usr/ports/x11/renderproto /usr/ports/print/freetype2 /usr/ports/graphics/png /usr/ports/x11-fonts/fontconfig /usr/ports/devel/glib20 /usr/ports/devel/icu /usr/ports/graphics/graphite2 /usr/ports/audio/libvorbis /usr/ports/audio/libogg /usr/ports/multimedia/libvpx /usr/ports/devel/yasm /usr/ports/multimedia/v4l_compat /usr/ports/devel/autoconf213 /usr/ports/x11-toolkits/gtk30 /usr/ports/accessibility/at-spi2-atk /usr/ports/accessibility/at-spi2-core /usr/ports/textproc/intltool /usr/ports/textproc/p5-XML-Parser /usr/ports/x11/libXi /usr/ports/x11/libXtst /usr/ports/x11/recordproto /usr/ports/devel/dbus /usr/ports/x11/libICE /usr/ports/x11/libSM /usr/ports/sysutils/gnome_subr /usr/ports/accessibility/atk /usr/ports/graphics/gtk-update-icon-cache /usr/ports/x11/libXinerama /usr/ports/x11/xineramaproto /usr/ports/x11/libXrandr /usr/ports/x11/randrproto /usr/ports/x11/libXcursor /usr/ports/x11/libXcomposite /usr/ports/x11/compositeproto /usr/ports/graphics/gdk-pixbuf2 /usr/ports/x11-toolkits/libXt /usr/ports/graphics/jasper /usr/ports/graphics/jpeg-turbo /usr/ports/devel/nasm /usr/ports/graphics/tiff /usr/ports/graphics/jbigkit /usr/ports/x11-toolkits/pango /usr/ports/x11-fonts/libXft /usr/ports/x11-fonts/xorg-fonts-truetype /usr/ports/x11-fonts/font-bh-ttf /usr/ports/x11-fonts/mkfontdir /usr/ports/x11-fonts/mkfontscale /usr/ports/x11-fonts/libfontenc /usr/ports/x11-fonts/bdftopcf /usr/ports/x11-fonts/libXfont /usr/ports/x11-fonts/fontsproto /usr/ports/x11-fonts/font-misc-meltho /usr/ports/x11-fonts/font-misc-ethiopic /usr/ports/x11-fonts/encodings /usr/ports/x11-fonts/font-util /usr/ports/x11-fonts/dejavu /usr/ports/misc/shared-mime-info /usr/ports/misc/hicolor-icon-theme /usr/ports/graphics/libepoxy /usr/ports/graphics/libglesv2 /usr/ports/graphics/colord /usr/ports/graphics/argyllcms /usr/ports/devel/jam /usr/ports/x11/libXScrnSaver /usr/ports/x11/scrnsaverproto /usr/ports/sysutils/polkit /usr/ports/lang/spidermonkey170 /usr/ports/graphics/lcms2 /usr/ports/print/cups /usr/ports/net/avahi-app /usr/ports/devel/libdaemon /usr/ports/devel/dbus-glib /usr/ports/databases/gdbm /usr/ports/security/gnutls /usr/ports/security/nettle /usr/ports/security/libtasn1 /usr/ports/dns/libidn /usr/ports/security/p11-kit /usr/ports/security/trousers /usr/ports/emulators/tpm-emulator /usr/ports/x11-themes/adwaita-icon-theme /usr/ports/devel/libnotify /usr/ports/audio/pulseaudio /usr/ports/audio/libsndfile /usr/ports/audio/flac /usr/ports/audio/speexdsp /usr/ports/math/fftw3 /usr/ports/math/fftw3-float /usr/ports/devel/orc /usr/ports/devel/json-c /usr/ports/devel/libltdl /usr/ports/sysutils/consolekit /usr/ports/lang/rust /usr/ports/devel/desktop-file-utils /usr/ports/multimedia/libv4l /usr/ports/textproc/hunspell /usr/ports/x11/startup-notification /usr/ports/audio/alsa-lib /usr/ports/x11-toolkits/gtk20 /usr/ports/lang/python /usr/ports/multimedia/ffmpeg /usr/ports/textproc/texi2html /usr/ports/graphics/frei0r /usr/ports/devel/sdl12 /usr/ports/graphics/aalib /usr/ports/graphics/libGLU /usr/ports/graphics/opencv-core /usr/ports/math/eigen3 /usr/ports/multimedia/schroedinger /usr/ports/multimedia/libtheora /usr/ports/multimedia/libva /usr/ports/multimedia/libvdpau /usr/ports/multimedia/libx264 /usr/ports/devel/opencl /usr/ports/multimedia/xvid /usr/ports/audio/alsa-plugins Firefox needs git? from the above list... /usr/ports/devel/git http://linuxfromscratch.org/blfs/view/stable/xsoft/firefox.html Firefox Dependencies Required alsa-lib-1.1.2 , Autoconf-2.13 , GTK+-3.20.9 (or GTK+-2.24.30 if you change the mozconfig where indicated), NSS-3.26 , UnZip-6.0 , yasm-1.3.0 , and Zip-3.0 Recommended ICU-57.1 , libevent-2.0.22 , libvpx-1.6.0 , and SQLite-3.14.1 [Note] Note If you don't install recommended dependencies, then internal copies of those packages will be used. They might be tested to work, but they can be out of date or contain security holes. [Note] Note With Firefox-31.0 and later versions, you must have installed Openssl before Python 2 or the build system will quickly fail with output including "ImportError: cannot import name HTTPSHandler". If you are in any doubt about this (e.g. upgrading from an older version of Firefox), check if |/usr/lib/python2.7/lib-dynload/_ssl.so| exists. If it does not, reinstall Python-2.7.12 (after installing OpenSSL-1.0.2h ). The latest version of any /currently maintained/ version of Openssl should be satisfactory if already installed. Optional cURL-7.50.1 , dbus-glib-0.106 , Doxygen-1.8.11 , GConf-3.2.6 , FFmpeg-3.1.3 (runtime), libwebp-0.5.1 , OpenJDK-1.8.0.102 , PulseAudio-9.0 , startup-notification-0.12 , Valgrind-3.11.0 , Wget-1.18 , Wireless Tools-29 , Hunspell , liboauth , and libproxy , Rust , and (with the patch) Graphite2-1.3.8 and HarfBuzz-1.3.0