[freebsd-ports] Pilot error or bash dependencies broken?

Matthew Seaman m.seaman at infracaninophile.co.uk
Wed Mar 17 19:41:31 UTC 2010

Hash: SHA1

On 17/03/2010 17:20:37, Mike Winter wrote:

> in /etc/make.conf I had WITHOUT_X11=yes and I ended up needing Xvfb. This is confusing to me. I get into a nasty loop of failed dependencies:
> make install -DWITHOUT_X11 bash
> [snip]

WITHOUT_X11 only applies to ports where X11 dependency is optional.
Nothing happens for ports that have obligatory X11 dependencies.  Yes,
this is confusing, but it is too long established to change easily.

> # this dependency chain is to my mind very wrong for bash, why?
>> make missing bash
> x11-servers/xorg-vfbserver
> x11-fonts/xorg-fonts-miscbitmaps
> x11-fonts/font-alias
> devel/bison
> graphics/dri
> x11/libXinerama
> x11/libxkbfile
> x11-fonts/libXfont
> x11-fonts/libfontenc
> x11/libxkbui
> x11/libXxf86misc
> x11-toolkits/libXaw
> x11-toolkits/libXmu
> x11/libXpm
> x11/pixman
> devel/libpciaccess
> graphics/libGL
> x11-fonts/font-arabic-misc
> x11-fonts/font-cursor-misc
> x11-fonts/font-daewoo-misc
> x11-fonts/font-dec-misc
> x11-fonts/font-isas-misc
> x11-fonts/font-jis-misc
> x11-fonts/font-micro-misc
> x11-fonts/font-misc-misc
> x11-fonts/font-mutt-misc
> x11-fonts/font-schumacher-misc
> x11-fonts/font-sony-misc
> x11-fonts/font-sun-misc
> x11-fonts/encodings
> x11-fonts/bdftopcf
> x11-fonts/mkfontdir
> x11-fonts/mkfontscale
> print/freetype2
> x11/printproto
> x11/libXp
> misc/pciids
> x11-fonts/font-util

Hmmm... something seriously wrong there.  bash dependencies on my
machine (which is fully X11 enabled) are much simpler:

% pkg_info -rx bash
Information for bash-4.0.35:

Depends on:
Dependency: libiconv-1.13.1_1
Dependency: gettext-0.17_1

There are additionally build dependencies on m4, bison and libtool22 but
none of those need X11 either.

What is in your /etc/make.conf ?  Wild-assed guess: you've got mention
of something like USE_X11 in global scope.  That's just plain wrong --
it has the effect of making *every* port depend on X11.  In general,
USE_FOO is for port maintainers to put into port specific Makefiles;
WITH_FOO is for users to tweak behaviour on their machines.



- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


More information about the freebsd-ports mailing list