print/cups overhaul (PR 207746) side-effects

Martin Waschbüsch martin at waschbuesch.de
Sat Mar 12 15:41:52 UTC 2016


> Am 12.03.2016 um 14:10 schrieb Tijl Coosemans <tijl at FreeBSD.org>:
> 
> On Fri, 11 Mar 2016 20:52:08 +0100 Martin Waschbüsch <martin at waschbuesch.de> wrote:
>> I just did a rebuild of packages for my webservers with poudriere.
>> What I noticed was that via the print/cups overhaul (see PR 207746),
>> quite a lot (>50) of additional dependencies are added to the system,
>> including lots of x11 related libs, avahi, dbus, cairo, opengl, etc.
>> 
>> This stems from installing pecl-imagick which results in pulling in
>> ImageMagick, ghostscript, and cups.
>> 
>> Now, of course I can manually remove port options and reduce the number
>> of additional dependencies, but I feel uneasy about the defaults now.
>> 
>> If I wanted to adjust an existing port to be less greedy with regards
>> to dependencies, how would I go about that? Create a slave port?
> 
> print/cups has its X11 option disabled by default.  It does depend on
> devel/dbus which has its X11 option enabled by default, but this only
> pulls in a few X11 dependencies, definitely not cairo.

That is not true. Cairo does get pulled in.

Steps to recreate (on a 10.2 build box):

$ poudriere ports -c -p HEAD
$ poudriere jail -c -v 10.2-RELEASE -j test -p HEAD

just to be safe, I add:

$ echo "OPTIONS_UNSET+= X11" > /usr/local/etc/poudriere.d/test-make.conf

select the one port to build:

$ echo "print/cups" > /usr/local/etc/poudriere.d/test-port-list
$ poudriere options -j test -p HEAD -f /usr/local/etc/poudriere.d/test-port-list

Then do a dry-run:

$ poudriere bulk -n -j test -p HEAD -f /usr/local/etc/poudriere.d/test-port-list

This ends up telling me that the following 126 ports would be built:

Ports to build: autoconf-2.69 autoconf-wrapper-20131203 automake-1.15_1 automake-wrapper-20131203 avahi-app-0.6.31_5 bash-4.3.42_1 bigreqsproto-1.1.2 bison-2.7.1,1 boehm-gc-7.4.2_4 ca_root_nss-3.22.2 cairo-1.14.6,2 ccache-3.2.4_3 clang36-3.6.2 cups-2.1.3 damageproto-1.2.1 dbus-1.8.20 dbus-glib-0.104 docbook-1.5 docbook-sgml-4.5_1 docbook-xml-5.0_3 docbook-xsl-1.76.1_2 dri2proto-2.8 expat-2.1.0_3 fixesproto-5.0 fontconfig-2.11.1_1,1 freetype2-2.6.3 gbm-11.0.8 gdbm-1.11_2 getopt-1.1.6 gettext-runtime-0.19.7 gettext-tools-0.19.7 glib-2.46.2 glproto-1.4.17 gmake-4.1_2 gmake-lite-4.1_1 gmp-5.1.3_3 gnome_subr-1.0 gnutls-3.3.17.1_2 gobject-introspection-1.46.0 help2man-1.43.3_1 indexinfo-0.2.4 inputproto-2.3.1 intltool-0.51.0_1 iso8879-1986_3 kbproto-1.0.7 libEGL-11.0.8 libGL-11.0.8 libX11-1.6.3,1 libXau-1.0.8_3 libXdamage-1.1.4_3 libXdmcp-1.1.2 libXext-1.3.3_1,1 libXfixes-5.0.1_3 libXv-1.0.10_3,1 libXvMC-1.0.9 libXxf86vm-1.1.4_1 libatomic_ops-7.4.0_1 libcheck-0.10.0 libclc-0.1.0.20150710 libdaemon-0.14_1 libdevq-0.0.2_1 libdrm-2.4.66,1 libedit-3.1.20150325_1 libffi-3.2.1 libgcrypt-1.6.5 libglapi-11.0.8 libgpg-error-1.21 libiconv-1.14_9 libidn-1.31 libpaper-1.1.24.4 libpciaccess-0.13.4 libpthread-stubs-0.3_6 libtasn1-4.7 libtool-2.4.6 libxcb-1.11.1 libxml2-2.9.3 libxshmfence-1.2 libxslt-1.1.28_8 llvm36-3.6.2_2 m4-1.4.17_1,1 makedepend-1.0.5,1 nettle-3.2 ninja-1.6.0,2 p11-kit-0.23.2 p5-Locale-gettext-1.06 p5-XML-Parser-2.44 pciids-20160227 pcre-8.37_4 perl5-5.20.3_8 pixman-0.34.0 pkg-1.6.4_1 pkgconf-0.9.12_1 png-1.6.21 presentproto-1.0 py27-Babel-2.2.0_1 py27-Jinja2-2.8 py27-MarkupSafe-0.23 py27-alabaster-0.7.6 py27-docutils-0.12 py27-pygments-2.1 py27-pystemmer-1.3.0_1 py27-pytz-2015.7,1 py27-setuptools27-20.0 py27-six-1.10.0 py27-snowballstemmer-1.2.0_1 py27-sphinx-1.3.1_2 py27-sphinx_rtd_theme-0.1.9 python2-2_3 python27-2.7.11_1 sdocbook-xml-1.1_1,2 trousers-tddl-0.3.10_7 videoproto-2.3.2 w3m-0.5.3_5 xcb-proto-1.11_1 xcb-util-0.4.0_1,1 xcb-util-renderutil-0.3.9_1 xcmiscproto-1.2.2 xextproto-7.3.0 xf86bigfontproto-1.2.0 xf86vidmodeproto-2.3.1 xmlcatmgr-2.2_2 xmlcharent-0.3_2 xmlto-0.0.28 xorg-macros-1.19.0 xproto-7.0.28 xtrans-1.3.5


More information about the freebsd-ports mailing list