Subject: pkg/34633: textproc/aspell build fails (pkgsrc-current)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <blair.sadewitz@gmail.com>
List: pkgsrc-bugs
Date: 09/26/2006 21:45:00
>Number:         34633
>Category:       pkg
>Synopsis:       textproc/aspell build fails (pkgsrc-current)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 26 21:45:00 +0000 2006
>Originator:     Blair Sadewitz
>Release:        4.99.2 as of 9/26/2006
>Organization:
Rutgers University
>Environment:
NetBSD cat.apt 4.99.2 NetBSD 4.99.2 (CAT) #0: Tue Sep 26 11:05:12 EDT 2006  blair@cat.apt:/home/build/obj/sys/arch/amd64/compile/CAT amd64

>Description:
Aspell fails to build due to a problem which manifests as:

libaspell.so: undefined reference to `acommon::HashTable<acommon::StringMap::Parms>::init(unsigned int)'


>How-To-Repeat:
Attempt building aspell.
>Fix:
In ${WRKDIR}/textproc/aspell/aspell-0.6.04/common/string_map.hpp, change the include for hash.hpp to hash-t.hpp.  Et voila.

This is not a proper fix, but it does work.  Unfortunately,  I do not know enough about C++ to know what else to try.