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? Jan |
Jan Stary <[hidden email]> 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 > Jan -- Jérémie Courrèges-Anglas PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494 |
On Jun 23 21:23:37, [hidden email] wrote:
> Jan Stary <[hidden email]> 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? > > Jan > > -- > Jérémie Courr??ges-Anglas > PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494 |
On Sun, Jun 23, 2013 at 2:39 PM, Jan Stary <[hidden email]> wrote:
> On Jun 23 21:23:37, [hidden email] wrote: > > Jan Stary <[hidden email]> 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? > cd /usr/xenocara && make fix-appd |
In reply to this post by Jan Stary
On 2013/06/23 21:39, Jan Stary wrote:
> On Jun 23 21:23:37, [hidden email] wrote: > > Jan Stary <[hidden email]> 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_* |
Stuart Henderson <[hidden email]> writes:
> On 2013/06/23 21:39, Jan Stary wrote: [...] >> 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). There are two checks actually. I hope the use of .br here is kosher. 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 22:36:04 -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,12 @@ and in .Xr pkgpath 7 specifications. +.It "Fatal: building ports requires correctly installed X11" +.br +.It "Fatal: /usr/local/lib/X11/app-defaults should exist and be a symlink" +.br +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_* |
On 2013/06/24 00:40, Jérémie Courrèges-Anglas wrote:
> Stuart Henderson <[hidden email]> writes: > > > On 2013/06/23 21:39, Jan Stary wrote: > > [...] > > >> 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). > > There are two checks actually. I hope the use of .br here is kosher. It doesn't fit very well with the other definitions; as there are different reasons for the two messages, perhaps something like this would be better? 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 24 Jun 2013 11:04:18 -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,14 @@ and in .Xr pkgpath 7 specifications. +.It "Fatal: building ports requires correctly installed X11" +All file sets of the base OS, including xenocara, must be installed +before building ports. +.It "Fatal: /usr/local/lib/X11/app-defaults should exist and be a symlink" +/usr/local/lib/X11/app-defaults is distributed as a symlink in the +xshare*.tgz file set. +If xenocara was not fully installed before packages were added, it may +have been created as a directory instead. .It "Fatal: the licencing info for <pkgname> is incomplete..." Every port must have explicit defines of all .Ev PERMIT_* |
Free forum by Nabble | Edit this page |