pkgsrc-Bugs archive

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

pkg/48934: sysutils/hal fails to build on NetBSD 5.2 because of missing POSIX string.h function



>Number:         48934
>Category:       pkg
>Synopsis:       sysutils/hal fails to build on NetBSD 5.2 because of missing 
>POSIX string.h function
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 21 07:40:00 +0000 2014
>Originator:     David. H. Gutteridge
>Release:        NetBSD 5.2, pkgsrc current
>Organization:
>Environment:
NetBSD arcusvii.nonus-porta.net 5.2_STABLE NetBSD 5.2_STABLE (ARCUSVII) #2: Tue 
Jun 10 22:26:54 EDT 2014  
disciple%arcusvii.nonus-porta.net@localhost:/home/disciple/netbsd-5/usr/src/sys/arch/i386/compile/obj/ARCUSVII
 i386

>Description:
Attempting to compile sysutils/hal results in the following error:

/work/.buildlink/include/PolicyKit/polkit/polkit-context.h:175)
  CC       ck-tracker.o
  CCLD     hald
/home/disciple/pkgsrc/sysutils/hal/work/.buildlink/lib/libvolume_id.so: 
undefined reference to `strnlen'
gmake[4]: *** [hald] Error 1
gmake[4]: Leaving directory 
`/home/disciple/pkgsrc/sysutils/hal/work/hal-0.5.14/hald'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/home/disciple/pkgsrc/sysutils/hal/work/hal-0.5.14/hald'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/home/disciple/pkgsrc/sysutils/hal/work/hal-0.5.14/hald'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/disciple/pkgsrc/sysutils/hal/work/hal-0.5.14'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /home/disciple/pkgsrc/sysutils/hal
*** Error code 1
>How-To-Repeat:
Try building sysutils/hal on NetBSD 5.2.
>Fix:
strnlen() was added in NetBSD 6. It needs to be patched in to the
devel/libvolume_id package for older releases, presumably.



Home | Main Index | Thread Index | Old Index