NetBSD Problem Report #36456

From martin@duskware.de  Thu Jun  7 15:44:19 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 9F71D63B882
	for <gnats-bugs@gnats.netbsd.org>; Thu,  7 Jun 2007 15:44:19 +0000 (UTC)
Message-Id: <20070607131423.548E363B882@narn.NetBSD.org>
Date: Thu,  7 Jun 2007 13:14:23 +0000 (UTC)
From: bastyaelvtars@gmail.com
Reply-To: bastyaelvtars@gmail.com
To: netbsd-bugs-owner@NetBSD.org
Subject: benchmarks/httperf fails to build on DragonFly
X-Send-Pr-Version: www-1.0

>Number:         36456
>Category:       pkg
>Synopsis:       benchmarks/httperf fails to build on DragonFly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dfly-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 07 15:45:00 +0000 2007
>Closed-Date:    Tue Feb 05 13:52:08 +0000 2008
>Last-Modified:  Tue Feb 05 13:55:01 +0000 2008
>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:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->dfly-pkg-people
Responsible-Changed-By: snj@netbsd.org
Responsible-Changed-When: Fri, 08 Jun 2007 04:59:40 +0000
Responsible-Changed-Why:
Over to maintainer.


State-Changed-From-To: open->closed
State-Changed-By: reed@narn.netbsd.org
State-Changed-When: Tue, 05 Feb 2008 13:52:08 +0000
State-Changed-Why:
I could repeat the problem.
I fixed it by using MAKE_JOBS_SAFE=no.


From: "Jeremy C. Reed" <reed@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/36456 CVS commit: pkgsrc/benchmarks/httperf
Date: Tue,  5 Feb 2008 13:51:09 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	reed
 Date:		Tue Feb  5 13:51:09 UTC 2008

 Modified Files:
 	pkgsrc/benchmarks/httperf: Makefile

 Log Message:
 This is not MAKE_JOBS_SAFE.
 This fixes PR #36456.
 (By the way, a newer version is available of this software.)


 To generate a diff of this commit:
 cvs rdiff -r1.15 -r1.16 pkgsrc/benchmarks/httperf/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.