Subject: pkg/37127: ElectricFence fails on Linux
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <cheusov@tut.by>
List: pkgsrc-bugs
Date: 10/13/2007 23:55:00
>Number:         37127
>Category:       pkg
>Synopsis:       ElectricFence fails on Linux
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 13 23:55:00 +0000 2007
>Originator:     Aleksey Cheusov
>Release:        linux
>Organization:
home
>Environment:
linux
>Description:
http://www.mova.org/~cheusov/pub/pkgsrc-pbulk/Debian-etch/current/log/20071007.0032/ElectricFence-2.1nb1/build.log

=> Bootstrap dependency digest>=20010302: digest-20070803 found
=> Bootstrap dependency checkperms>=1.1: checkperms-1.9 found
===> Building for ElectricFence-2.1nb1
gcc -O2 -g  -c efence.c
gcc -O2 -g  -c page.c
gcc -O2 -g  -c print.c
rm -f libefence.a
ar crv libefence.a efence.o page.o print.o
a - efence.o
a - page.o
a - print.o
gcc -O2 -g  -c tstheap.c
rm -f tstheap
gcc -O2 -g tstheap.o libefence.a -o tstheap
libefence.a(page.o): In function `stringErrorReport':
/srv/obj_pkgsrc/devel/electricfence/work/ElectricFence-2.1/page.c:47: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/srv/obj_pkgsrc/devel/electricfence/work/ElectricFence-2.1/page.c:46: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
gcc -O2 -g  -c eftest.c
rm -f eftest
gcc -O2 -g eftest.o libefence.a -o eftest
libefence.a(page.o): In function `stringErrorReport':
/srv/obj_pkgsrc/devel/electricfence/work/ElectricFence-2.1/page.c:47: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/srv/obj_pkgsrc/devel/electricfence/work/ElectricFence-2.1/page.c:46: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead

Testing Electric Fence.
After the last test, it should print that the test has PASSED.
./eftest

  Electric Fence 2.0.5 Copyright (C) 1987-1998 Bruce Perens.
*** Signal 11

Stop.
bmake: stopped in /srv/obj_pkgsrc/devel/electricfence/work/ElectricFence-2.1
*** Error code 1

Stop.
bmake: stopped in /srv/pkgsrc/devel/electricfence
*** Error code 1

Stop.
bmake: stopped in /srv/pkgsrc/devel/electricfence
>How-To-Repeat:

>Fix:
strerror should be used.

Is it time to upgrade this package?
http://perens.com/FreeSoftware/ElectricFence/