Subject: pkg/36456: benchmarks/httperf fails to build on DragonFly
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <bastyaelvtars@gmail.com>
List: pkgsrc-bugs
Date: 06/07/2007 15:45:00
>Number:         36456
>Category:       pkg
>Synopsis:       benchmarks/httperf fails to build on DragonFly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 07 15:45:00 +0000 2007
>Originator:     Gergo Szakal
>Release:        
>Organization:
>Environment:
DragonFly medica.semi.szote.u-szeged.hu 1.9.0-PREVIEW DragonFly 1.9.0-PREVIEW #2: Wed May  9 21:50:53 CEST 2007     szg@medica.semi.szote.u-szeged.hu:/usr/obj/usr/src/sys/SMP  i386
>Description:
===> Building for httperf-0.8
cc -c -DHAVE_CONFIG_H -I. -I. -I./lib -DNDEBUG -D_GNU_SOURCE -O2 -Wall httperf.c
making all in lib
gmake[1]: Entering directory `/usr/obj/pkgsrc/benchmarks/httperf/work/httperf-0.8/lib'
cc -c -DHAVE_CONFIG_H -I.. -I.. -I../lib  -DNDEBUG -D_GNU_SOURCE -O2 -Wall getopt.c
getopt.c: In function `_getopt_initialize':
getopt.c:356: warning: implicit declaration of function `getpid'
getopt.c:361: warning: implicit declaration of function `strlen'
getopt.c: In function `_getopt_internal':
getopt.c:481: warning: implicit declaration of function `strcmp'
getopt.c:557: warning: implicit declaration of function `strncmp'
getopt.c:601: warning: suggest explicit braces to avoid ambiguous `else'
getopt.c:548: warning: 'indfound' might be used uninitialized in this function
cc -c -DHAVE_CONFIG_H -I.. -I.. -I../lib  -DNDEBUG -D_GNU_SOURCE -O2 -Wall getopt1.c
cc -c -DHAVE_CONFIG_H -I.. -I.. -I../lib  -DNDEBUG -D_GNU_SOURCE -O2 -Wall ssl_writev.c
ar r libutil.a getopt.o getopt1.o ssl_writev.o
/usr/libexec/binutils217/elf/ar: creating libutil.a
ranlib libutil.a
gmake[1]: Leaving directory `/usr/obj/pkgsrc/benchmarks/httperf/work/httperf-0.8/lib'
making all in gen
gmake[1]: Entering directory `/usr/obj/pkgsrc/benchmarks/httperf/work/httperf-0.8/gen'
cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -I../lib  -DNDEBUG -D_GNU_SOURCE -O2 -Wall call_seq.c
cc -c -DHAVE_CONFIG_H -I. -I. -I./lib -DNDEBUG -D_GNU_SOURCE -O2 -Wall object.c
call_seq.c:38:1: warning: "MIN" redefined
In file included from /usr/include/sys/uio.h:45,
                 from ../call.h:28,
                 from call_seq.c:30:
/usr/include/sys/param.h:204:1: warning: this is the location of the previous definition
cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -I../lib  -DNDEBUG -D_GNU_SOURCE -O2 -Wall conn_rate.c
object.c:38:1: warning: "ALIGN" redefined
In file included from /usr/include/machine/param.h:25,
                 from /usr/include/sys/param.h:117,
                 from /usr/include/sys/uio.h:45,
                 from ./call.h:28,
                 from object.c:32:
/usr/include/cpu/param.h:101:1: warning: this is the location of the previous definition
cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -I../lib  -DNDEBUG -D_GNU_SOURCE -O2 -Wall misc.c
cc -c -DHAVE_CONFIG_H -I. -I. -I./lib -DNDEBUG -D_GNU_SOURCE -O2 -Wall call.c
cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -I../lib  -DNDEBUG -D_GNU_SOURCE -O2 -Wall rate.c
cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -I../lib  -DNDEBUG -D_GNU_SOURCE -O2 -Wall session.c
cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -I../lib  -DNDEBUG -D_GNU_SOURCE -O2 -Wall uri_fixed.c
cc -c -DHAVE_CONFIG_H -I. -I. -I./lib -DNDEBUG -D_GNU_SOURCE -O2 -Wall conn.c
cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -I../lib  -DNDEBUG -D_GNU_SOURCE -O2 -Wall uri_wlog.c
cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -I../lib  -DNDEBUG -D_GNU_SOURCE -O2 -Wall uri_wset.c
cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -I../lib  -DNDEBUG -D_GNU_SOURCE -O2 -Wall wsess.c
cc -c -DHAVE_CONFIG_H -I. -I. -I./lib -DNDEBUG -D_GNU_SOURCE -O2 -Wall sess.c
cc -c -DHAVE_CONFIG_H -I. -I. -I./lib -DNDEBUG -D_GNU_SOURCE -O2 -Wall core.c
cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -I../lib  -DNDEBUG -D_GNU_SOURCE -O2 -Wall wsesslog.c
core.c: In function `core_init':
core.c:692: warning: long int format, different type arg (arg 3)
core.c: In function `core_connect':
core.c:891: warning: passing arg 2 of `bind' from incompatible pointer type
core.c:907: warning: passing arg 2 of `connect' from incompatible pointer type
cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -I../lib  -DNDEBUG -D_GNU_SOURCE -O2 -Wall wsesspage.c
cc -c -DHAVE_CONFIG_H -I. -I. -I./lib -DNDEBUG -D_GNU_SOURCE -O2 -Wall event.c
cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -I../lib  -DNDEBUG -D_GNU_SOURCE -O2 -Wall sess_cookie.c
cc -c -DHAVE_CONFIG_H -I. -I. -I./lib -DNDEBUG -D_GNU_SOURCE -O2 -Wall http.c
ar r libgen.a call_seq.o conn_rate.o misc.o rate.o session.o uri_fixed.o uri_wlog.o uri_wset.o wsess.o wsesslog.o wsesspage.o sess_cookie.o
/usr/libexec/binutils217/elf/ar: creating libgen.a
ranlib libgen.a
gmake[1]: Leaving directory `/usr/obj/pkgsrc/benchmarks/httperf/work/httperf-0.8/gen'
making all in stat
gmake[1]: Entering directory `/usr/obj/pkgsrc/benchmarks/httperf/work/httperf-0.8/stat'
cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -I../lib -I../gen  -DNDEBUG -D_GNU_SOURCE -O2 -Wall basic.c
cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -I../lib -I../gen  -DNDEBUG -D_GNU_SOURCE -O2 -Wall sess_stat.c
cc -c -DHAVE_CONFIG_H -I. -I. -I./lib -DNDEBUG -D_GNU_SOURCE -O2 -Wall timer.c
gmake: *** No rule to make target `stat/libstat.a', needed by `httperf'.  Stop.
gmake: *** Waiting for unfinished jobs....
cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -I../lib -I../gen  -DNDEBUG -D_GNU_SOURCE -O2 -Wall print_reply.c
ar r libstat.a basic.o sess_stat.o print_reply.o
/usr/libexec/binutils217/elf/ar: creating libstat.a
ranlib libstat.a
gmake[1]: Leaving directory `/usr/obj/pkgsrc/benchmarks/httperf/work/httperf-0.8/stat'
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/benchmarks/httperf
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/benchmarks/httperf

>How-To-Repeat:
bmake
>Fix: