On 2013/06/23 21:39, Jan Stary wrote:
> On Jun 23 21:23:37, j...@wxcvbn.org wrote:
> > Jan Stary <h...@stare.cz> writes:
> > 
> > > On a fresh install of current/i386 woth ports cvs up'd to current,
> > > I am getting this whenever I try to build anything:
> > >
> > > Fatal: /usr/local/lib/X11/app-defaults should exist and be a symlink
> > >
> > > /usr/local/lib/X11/app-defaults does exist an is a directory
> > > containing the file /usr/local/lib/X11/app-defaults/Gnuplot
> > >
> > > Am I missing something obvious?
> > 
> > This is what I have on -current i386:
> > 
> > $ ls -l /usr/local/lib/X11/app-defaults
> > lrwxr-xr-x  1 root  wheel  21 Jun 21 17:21 /usr/local/lib/X11/app-defaults@ 
> > -> /etc/X11/app-defaults
> > $ ls -l /usr/local/lib/X11/app-defaults/Gnuplot
> > -r--r--r--  1 root  bin  2639 Jun 18 11:09 
> > /usr/local/lib/X11/app-defaults/Gnuplot
> 
> I didn't have xetc53.tgz installed. Thanks.
> 
> Does this mean that having xetc is required for running ports?
> Have I missed somewhere in the documentation?

Yes, I'm not sure if this is specifically mentioned in documentation
yet, but building ports is only supported when the entire base OS is
installed (i.e. all sets including xenocara).

At the very least this should be added to DIAGNOSTICS in bsd.port.mk(5)
(and remove the "<PORTSDIR> is a symlink", since this check has been
removed from infrastructure).

Index: bsd.port.mk.5
===================================================================
RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v
retrieving revision 1.378
diff -u -p -r1.378 bsd.port.mk.5
--- bsd.port.mk.5       21 Jun 2013 13:06:54 -0000      1.378
+++ bsd.port.mk.5       23 Jun 2013 21:52:51 -0000
@@ -3061,15 +3061,6 @@ resulting in a double inclusion.
 This would lead to weird results, such as
 .Ev PKG_ARGS
 being defined twice.
-.It "Fatal: <PORTSDIR> is a symlink. Please set to the real directory"
-A few ports get lost if
-.Pa /usr/ports
-points elsewhere.
-You should set
-.Ev PORTSDIR
-in
-.Pa /etc/mk.conf
-to the real location of the ports directory.
 .It "Fatal: SUBPACKAGES should always begin with -: <offending list>"
 That is the only way to differentiate between
 .Ev FLAVOR
@@ -3078,6 +3069,9 @@ and
 in
 .Xr pkgpath 7
 specifications.
+.It "Fatal: /usr/local/lib/X11/app-defaults should exist and be a symlink"
+All file sets of the base OS (including xenocara) must be installed
+before building ports.
 .It "Fatal: the licencing info for <pkgname> is incomplete..."
 Every port must have explicit defines of all
 .Ev PERMIT_*


Reply via email to