tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

LICENSE file invalid characters?



I am having problems installing p5-HTML-Tree:

|deimos# pkg_add p5-HTML-Tree
|pkg_add: Invalid character in license name at position 22
|pkg_add: Invalid LICENSE for package `p5-HTML-Tree-4.2'
|pkg_add: 1 package addition failed
|deimos# pkg_info | grep pkg
|pkg_install-20110805 Package management and administration tools for pkgsrc
|deimos# echo $PKG_PATH
|ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/5.1_2011Q3/All
|deimos# uname -a
|NetBSD deimos.ergonaut.org 5.1.2 NetBSD 5.1.2 (DEIMOS) #3: Fri Apr 13 23:18:15 
UTC 2012  root@mawrth:/usr/obj/sys/arch/i386/compile/DEIMOS i386

Pulling the file down manually I find:

|deimos[/var/tmp] 821v>: wget -q $PKG_PATH/p5-HTML-Tree-4.2.tgz
|deimos[/var/tmp] 822v>: mkdir p5-HTML-Tree-4.2
|deimos[/var/tmp] 823v>: tar -zxf p5-HTML-Tree-4.2.tgz -C p5-HTML-Tree-4.2
|deimos[/var/tmp] 824v>: grep -i license p5-HTML-Tree-4.2/+BUILD_INFO 
|LICENSE=gnu-gpl-v2 OR artistic

I have other packages on my host have similar logic in this field,
so I don't know why this would be a problem now ... I think it highly
suspicious that the field value is 22 characters though ... :)

Attempting to force the install doesn't appear to work:

|deimos# pkg_add -f ./p5-HTML-Tree-4.2.tgz
|pkg_add: Invalid character in license name at position 22
|pkg_add: Invalid LICENSE for package `p5-HTML-Tree-4.2'
|pkg_add: 1 package addition failed

What would be the best way to fix this?

Regards,
Malcolm

-- 
Malcolm Herbert                                This brain intentionally
mjch%mjch.net@localhost                                                left 
blank

Attachment: pgpJbXFbbdqaI.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index