NetBSD Problem Report #41712

From kre@munnari.OZ.AU  Mon Jul 13 13:13:22 2009
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id CBEC563BADF
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 13 Jul 2009 13:13:21 +0000 (UTC)
Message-Id: <200907131313.n6DDDGS7027233@jade.coe.psu.ac.th>
Date: Mon, 13 Jul 2009 20:13:16 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: www/varnish compile error (NetBSD 4.0)
X-Send-Pr-Version: 3.95

>Number:         41712
>Category:       pkg
>Synopsis:       www/varnish compile error (NetBSD 4.0)
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 13 13:15:00 +0000 2009
>Closed-Date:    Mon Dec 29 08:36:30 +0000 2014
>Last-Modified:  Mon Dec 29 08:36:30 +0000 2014
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE (JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 kre@jade.coe.psu.ac.th:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
	www/varnish fails to compile bin/varnishd/storage_file.c
	because of a redefinition of "struct lock" (on NetBSD 4.0
	at least).

>How-To-Repeat:
	I use pkg_comp with libkver and NetBSD 4.0 release sets installed
	(except x* - I use pkgsrc modular xorg).  Aside from "4.0"
	I doubt any of that is relevant (even the "4.0" might not be).

	When building in an environment like that, expect to see

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include  -I/usr/include -DVARNISH_STATE_DIR='"/usr/pkg/var/varnish"' -O2 -I/usr/include -MT varnishd-storage_file.o -MD -MP -MF .deps/varnishd-storage_file.Tpo -c -o varnishd-storage_file.o `test -f 'storage_file.c' || echo './'`storage_file.c
In file included from storage_file.c:67:
cache.h:97: error: redefinition of 'struct lock'
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/www/varnish/4x/varnish-2.0.4/bin/varnishd
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/www/varnish/4x/varnish-2.0.4/bin
*** Error code 1

>Fix:

>Release-Note:

>Audit-Trail:
From: Sergey Svishchev <svs@ropnet.ru>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/41712
Date: Wed, 7 Sep 2011 22:40:23 +0400

 varnish still fails to build on 4.0, this time due to
 _SC_THREAD_STACK_MIN being undeclared.  It's probably not worth fixing.

 -- 
 Sergey Svishchev

From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/41712
Date: Thu, 08 Sep 2011 17:05:13 +0700

     Date:        Wed,  7 Sep 2011 18:55:03 +0000 (UTC)
     From:        Sergey Svishchev <svs@ropnet.ru>
     Message-ID:  <20110907185503.5A34863C6F4@www.NetBSD.org>

   |  varnish still fails to build on 4.0, this time due to
   |  _SC_THREAD_STACK_MIN being undeclared.  It's probably not worth fixing.

 I certainly have no objection to marking www/vanish as NOT_FOR_PLATFORM
 for NetBSD 4, if making it build there is too hard to bother with.

 Just please don't leave it appearing as if it should be able to build,
 and yet fail.

 kre

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 29 Dec 2014 08:36:30 +0000
State-Changed-Why:
4.0 has been EOL for a long time.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.