Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2003 00:44:36 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        doc@freebsd.org
Subject:   Re: doc build with .OBJDIR
Message-ID:  <xzpwugiy52j.fsf@flood.ping.uio.no>
In-Reply-To: <xzp1xyqzjxg.fsf@flood.ping.uio.no> (Dag-Erling Smorgrav's message of "Fri, 23 May 2003 00:38:19 %2B0200")
References:  <xzp1xyqzjxg.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav <des@ofug.org> writes:
> It looks for images in ${.OBJDIR}/${.CURDIR}/../../../share/images,
> where they obviously aren't.

I should add that it is (almost) never necessary to spell out
${.OBJDIR} as it is always the current working directory, unless you
explicitly cd somewhere else.  The .if ${.OBJDIR} !=3D ${.CURDIR} block
that starts on line 94 of bsd.images.mk can in all likelyhood be
removed.  Doing so, however, uncovers the following:

=3D=3D=3D> articles/checkpoint
groff -p -S -Wall -mtty-char -man /home/des/freebsd/doc/en_US.ISO8859-1/art=
icles/checkpoint/../../../share/images/articles/checkpoint/networks.pic > /=
home/des/freebsd/doc/en_US.ISO8859-1/articles/checkpoint/../../../share/ima=
ges/articles/checkpoint/networks.ps
/usr/local/bin/ps2epsi /home/des/freebsd/doc/en_US.ISO8859-1/articles/check=
point/../../../share/images/articles/checkpoint/networks.ps /home/des/freeb=
sd/doc/en_US.ISO8859-1/articles/checkpoint/../../../share/images/articles/c=
heckpoint/networks.eps
Error: /rangecheck in --.getbitsrect--
Operand stack:
   -1   0   (\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0=
00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\=
000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000=
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00=
0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0=
00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\=
000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000=
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00=
0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0=
00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\=
000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000...)   --nos=
tringval--   0   0   612   792   0   --nostringval--   (\000\000\000\000\00=
0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0=
00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\=
000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000=
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00=
0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0=
00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\=
000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000=
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00=
0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0=
00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\=
000\000\000\000\000\000\000\000...)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostrin=
gval--   2   %stopped_push   --nostringval--   --nostringval--   --nostring=
val--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray=
_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--=
   --nostringval--   2   %stopped_push   --nostringval--   --nostringval-- =
  --nostringval--   --nostringval--   false   1   %stopped_push   --nostrin=
gval--   --nostringval--   --nostringval--   1   1   841   --nostringval-- =
  %for_pos_int_continue   --nostringval--   --nostringval--   6   6   %opar=
ray_pop   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1052/1123(ro)(G)--   --dict:0/20(G)--   --dict:71/200(L)--   --di=
ct:25/30(L)--   --dict:59/120(L)--   --dict:25/30(L)--
Current allocation mode is local
Last OS error: 2
GNU Ghostscript 7.05: Unrecoverable error, exit code 1
/usr/local/bin/peps -p -r 100  -o /home/des/freebsd/doc/en_US.ISO8859-1/art=
icles/checkpoint/../../../share/images/articles/checkpoint/networks.png  `/=
bin/realpath /home/des/freebsd/doc/en_US.ISO8859-1/articles/checkpoint/../.=
./../share/images/articles/checkpoint/networks.eps`
peps: /home/des/freebsd/doc/share/images/articles/checkpoint/networks.eps i=
s not a valid EPS file.
*** Error code 4

Stop in /home/des/freebsd/doc/en_US.ISO8859-1/articles/checkpoint.
*** Error code 1

Stop in /home/des/freebsd/doc/en_US.ISO8859-1/articles.
*** Error code 1

Stop in /home/des/freebsd/doc/en_US.ISO8859-1.

DES
--=20
Dag-Erling Smorgrav - des@ofug.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpwugiy52j.fsf>