Subject: p5-XML-YAWriter can't decide on its name and version number
To: None <tech-pkg@netbsd.org>
From: Rhialto <rhialto@azenomei.knuffel.net>
List: tech-pkg
Date: 01/03/2005 23:45:50
I have been building binary packages from pkgsrc-2004Q4, and it seems
that textproc/p5-XML-YAWriter is unsure about its name and version.

Firstly it's in directory p5-XML-YAWriter but

    DISTNAME=       XML-Handler-YAWriter-0.23
    PKGNAME=        p5-${DISTNAME}

i.e. there is an extra Handler.

The .tgz file is named p5-XML-Handler-YAWriter-0.23nb1.tgz.

Furthermore when I install the binary package I get this strange
sequence of events:

/packages/All$ sudo pkg_add bins-1.1.26.tgz
Password:
 82.0%
pkg_add: pkg `p5-XML-Handler-YAWriter-0.23' required, but `p5-XML-Handler-YAWrit
er-0.23nb1' found installed.
pkg_add: Please resolve this conflict!
pkg_add: 1 package addition failed
azenomei.4:/scratch2/packages/All$ sudo pkg_delete p5-XML-Handler-YAWriter
azenomei.4:/scratch2/packages/All$ sudo pkg_add bins-1.1.26.tgz
 82.0%
 64.5%
pkg_add: package `p5-XML-Grove-0.46.0.1nb1' already recorded as installed
pkg_add: can't open dependency file '/var/db/pkg/p5-XML-Handler-YAWriter-0.23/+REQUIRED_BY'!
dependency registration is incomplete
...

I suppose that in www/bins/Makefile

DEPENDS+= p5-XML-Handler-YAWriter-0.23:../../textproc/p5-XML-YAWriter

should be >=0.23, not -0.23 to solve at least one of these issues.


-Olaf.
-- 
                           -- Ceterum censeo "authored[1]" delendum esse.
___ Olaf 'Rhialto' Seibert -- [1] Ugly English neologism[2].
\X/ rhialto/at/xs4all.nl   -- [2] For lawyers whose English/Latin is below par.