NetBSD Problem Report #9980
Received: (qmail 11417 invoked from network); 25 Apr 2000 13:12:19 -0000
Message-Id: <20000425131206.B6EB4DFB@WintelKiller.HEH.Uni-Oldenburg.DE>
Date: Tue, 25 Apr 2000 15:12:06 +0200 (MEST)
From: Thilo.Manske@HEH.Uni-Oldenburg.DE
Reply-To: Thilo.Manske@HEH.Uni-Oldenburg.DE
To: gnats-bugs@gnats.netbsd.org
Subject: build of ghostscript5[-x11] may fail
X-Send-Pr-Version: 3.95
>Number: 9980
>Category: pkg
>Synopsis: build of ghostscript5[-x11] may fail
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Apr 25 13:13:01 +0000 2000
>Closed-Date: Mon Jan 22 14:40:00 +0000 2001
>Last-Modified: Mon Jan 22 14:40:00 +0000 2001
>Originator: Thilo Manske
>Release: *
>Organization:
Dies ist Thilos Unix Signature! Viel Spass damit.
>Environment:
System: NetBSD WintelKiller 1.4X NetBSD 1.4X (WintelKiller) #214: Wed Apr 19 23:55:23 MEST 2000 thilo@WintelKiller:/usr/src/sys/arch/i386/compile/WintelKiller i386
>Description:
If you have graphics/jpeg-6b installed but wiped its work directory (or
installed it as binary package), building of ghostscript* fails with:
"don't know how to make jpeg/jpeglib.h" (typed from memory)
The reason for this is a symlink make by the Makefile.common pointing in the
nonexistent work directory of graphics/jpeg
>How-To-Repeat:
cd /usr/pkgsrc/graphics/jpeg
make install
make cleandir
cd /usr/pkgsrc/print/ghostscript5
make
>Fix:
Dunno.
Extract a private copy of jpeg into ghostscript's worksrc und
use that?
At least ghostscript should print out a warning if graphics/jpeg's workdir
doesn't exist or run a make extract there instead of failing with strange
messages.
Here's a quick and dirty patch for the latter:
--- Makefile.common.old Fri Apr 21 13:57:32 2000
+++ Makefile.common Tue Apr 25 14:52:25 2000
@@ -71,6 +71,9 @@
post-extract:
cd ${WRKSRC}; ${PAX} -rf ${WRKDIR}/hpdj-${HPDJ_VER}/hpdj.tar
${RM} -f ${WRKSRC}/jpeg
+.if !exists(${BUILD_ROOT}/graphics/jpeg/${WRKDIR:T}/jpeg-6b)
+ cd ${BUILD_ROOT}/graphics/jpeg;${MAKE} extract
+.endif
${LN} -s ${BUILD_ROOT}/graphics/jpeg/${WRKDIR:T}/jpeg-6b ${WRKSRC}/jpeg
cd ${WRKSRC}; ${LOCALBASE}/bin/unzip -uLa ${_DISTDIR}/${HP850_DRV}
${RM} -f ${WRKSRC}/${PDF_SEC}
>Release-Note:
>Audit-Trail:
From: "Johnny C. Lam" <lamj@stat.cmu.edu>
To: Thilo.Manske@HEH.Uni-Oldenburg.DE
Cc: lamj@stat.cmu.edu, gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/9980: build of ghostscript5[-x11] may fail
Date: Wed, 19 Jul 2000 18:18:28 -0400
Hi,
I have tried to reproduce your problem, but am unable to. I
have a NetBSD-1.5A/i386-ELF system. I did:
cd /usr/pkgsrc/graphics/jpeg
make install
make cleandir
cd /usr/pkgsrc/print/ghostscript
make
and the jpeg work directory was extracted automatically. Do you have
any unusual environment settings in /etc/mk.conf? Perhaps you set
DEPENDS_TARGET? Perhaps the problem has been fixed since the PR was
filed. Can you see if you still have the same problem with a current
pkgsrc tree?
Thanks,
-- Johnny C. Lam <lamj@stat.cmu.edu>
Department of Statistics, Carnegie Mellon University
http://www.stat.cmu.edu/~lamj/
State-Changed-From-To: open->closed
State-Changed-By: jlam
State-Changed-When: Mon Jan 22 06:38:28 PST 2001
State-Changed-Why:
This PR has had no feedback for 6 months, and in the meantime, ghostscript
has survived multiple bulk builds on both the 1.4.x release and 1.5 release
and -current. I believe the problem has been fixed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.