Subject: pkg/19442: textproc/dict-client fails to patch
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/18/2002 15:54:47
>Number:         19442
>Category:       pkg
>Synopsis:       pkgsrc/textproc/dict-client fails to patch and builkd
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 18 07:55:01 PST 2002
>Originator:     dive
>Release:        NetBSD 1.6K
System: NetBSD 1.6K NetBSD 1.6K (EROS) #415: Tue Dec 17 12:19:54 EST 2002 i386
Architecture: i386
Machine: i386
It appears that dict-client is trying to patch stuff that does not exist. The
patch that is failing is hard to determine; I can find failing patches in
textproc/dict-server that won't go against dict-client, even though they are in
fact the same distfiles. The Makefile for dict-client sets:
PATCHDIR=       ${.CURDIR}/../../textproc/dict-server/patches
and the last two patches are the ones failing, because dict-client's pkgsrc does
not download the distfiles needed for dict-server (and assumed present by
dict-server's patches)

eros# make clean
===> clean [dict-client-1.8.0] ===> Cleaning for dict-client-1.8.0
eros#  cd ../dict-server
eros# make clean
===> clean [dict-server-1.8.0] ===> Cleaning for dict-server-1.8.0
eros# cd ../dict-client
eros# make
=> Checksum OK for dictd-1.8.0.tar.gz.
work -> /misc/obj/wrkobj/textproc/dict-client/work
===> extract-message [dict-client-1.8.0] ===> Extracting for dict-client-1.8.0
===> install-depends [dict-client-1.8.0] ===> Required installed package libtool-base>=1.4.20010614nb9: libtool-base-1.4.20010614nb10 found
===> install-depends [dict-client-1.8.0] ===> Required installed package gmake>=3.78: gmake-3.80 found
===> patch-message [dict-client-1.8.0] ===> Patching for dict-client-1.8.0
===> do-patch [dict-client-1.8.0] ===> Applying pkgsrc patches for dict-client-1.8.0
File to patch: 

Make sure niether dict-client or dict-server are installed, then:
cd /usr/pkgsrc/textproc/dict-client && make
make dict-client grab the dict-server distfiles as well? I'm not sure, it used
to "just work". It only stopped working when I updated packages w/ pkg_chk not
long ago.
 pkgsrc updated last night