NetBSD Problem Report #38252
From martin@duskware.de Mon Mar 17 20:03:31 2008
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 79A8963B89A
for <gnats-bugs@gnats.netbsd.org>; Mon, 17 Mar 2008 20:03:31 +0000 (UTC)
Message-Id: <20080317185734.217D763B89A@narn.NetBSD.org>
Date: Mon, 17 Mar 2008 18:57:34 +0000 (UTC)
From: srcshelton@gmail.com
Reply-To: srcshelton@gmail.com
To: netbsd-bugs-owner@NetBSD.org
Subject: www/privoxy-3.0.8 patch; build ignores USER and GROUP
X-Send-Pr-Version: www-1.0
>Number: 38252
>Category: pkg
>Synopsis: www/privoxy-3.0.8 patch; build ignores USER and GROUP
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kim
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 17 20:05:01 +0000 2008
>Closed-Date: Mon May 18 00:54:13 +0000 2009
>Last-Modified: Mon May 18 00:54:13 +0000 2009
>Originator: Stuart Shelton
>Release: pkgsrc latest from CVS
>Organization:
>Environment:
IRIX64 octane 6.5 07202013 IP30; IRIX 6.5.30; MIPSpro Compilers: Version 7.4.4m
>Description:
privoxy-3.0.8 requires the following patch (to compile on IRIX - but I'm sure this is wrong on *any* compiler!):
--- /usr/bsd/var/tmp/www/privoxy/work/privoxy-3.0.8-stable/filters.h.dist 2008-03-17 18:25:47.240916000 +0000
+++ /usr/bsd/var/tmp/www/privoxy/work/privoxy-3.0.8-stable/filters.h 2008-03-17 18:26:04.518318600 +0000
@@ -325,7 +325,7 @@
extern pcrs_job *compile_dynamic_pcrs_job_list(const struct client_state *csp, const struct re_filterfile_spec *b);
-extern inline int content_filters_enabled(const struct client_state *csp);
+extern int content_filters_enabled(const struct client_state *csp);
/*
* Handling Max-Forwards:
>How-To-Repeat:
Even with this patch, I have another problem which I can only assume is with pkgsrc itself - no matter what I set PRIVOXY_USER and PRIVOXY_GROUP to, or where I set it (I've tried in the package Makefile and in /etc/mk.conf) I *always* get:
===> depends-message [privoxy-3.0.8] ===> Installing dependencies for privoxy-3.0.8==========================================================================
The following variables will affect the build process of this package,
privoxy-3.0.8. Their current value is shown below:
* PRIVOXY_GROUP = netbsd
* PRIVOXY_USER = netbsd
You may want to abort the process now with CTRL-C and change their value
before continuing. Be sure to run `/usr/bsd/bin/bmake clean' after
the changes.
==========================================================================
Why is my choice of user (privoxy:privoxy) always overridden?
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->kim
Responsible-Changed-By: snj@NetBSD.org
Responsible-Changed-When: Tue, 18 Mar 2008 02:20:15 +0000
Responsible-Changed-Why:
Over to maintainer.
From: "Stuart Shelton" <srcshelton@gmail.com>
To: gnats-bugs@netbsd.org
Cc: kim@netbsd.org, pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org,
gnats-admin@netbsd.org, snj@netbsd.org
Subject: Re: pkg/38252 (www/privoxy-3.0.8 patch; build ignores USER and GROUP)
Date: Tue, 18 Mar 2008 11:12:11 +0000
Hmm - according to http://www.greenend.org.uk/rjk/2003/03/inline.html
it is the "extern" which should be omitted, not the "inline".
It does confirm that the construct is GCC-specific, though...
On 18/03/2008, snj@netbsd.org <snj@netbsd.org> wrote:
> Synopsis: www/privoxy-3.0.8 patch; build ignores USER and GROUP
>
> Responsible-Changed-From-To: pkg-manager->kim
> Responsible-Changed-By: snj@NetBSD.org
> Responsible-Changed-When: Tue, 18 Mar 2008 02:20:15 +0000
> Responsible-Changed-Why:
> Over to maintainer.
>
>
>
>
From: Matthias Drochner <drochner@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38252 CVS commit: pkgsrc/sysutils/libgtop
Date: Tue, 18 Mar 2008 17:46:27 +0000 (UTC)
Module Name: pkgsrc
Committed By: drochner
Date: Tue Mar 18 17:46:27 UTC 2008
Modified Files:
pkgsrc/sysutils/libgtop: Makefile
Log Message:
remove a check which allows only selected NetBSD archs tu build.
There is no machine dependency in the NetBSD support code, and even
if there is some left, a compiler error message is more helpful than
"make" rejecting it from the beginnng.
in response to PR pkg/38252 by Stuart Shelton
To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 pkgsrc/sysutils/libgtop/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: drochner@NetBSD.org
State-Changed-When: Fri, 13 Jun 2008 13:47:21 +0000
State-Changed-Why:
I've removed both the "extern" and the "inline", to be sure:-)
Does it build for you now?
From: Matthias Drochner <drochner@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38252 CVS commit: pkgsrc/www/privoxy
Date: Fri, 13 Jun 2008 13:45:46 +0000 (UTC)
Module Name: pkgsrc
Committed By: drochner
Date: Fri Jun 13 13:45:46 UTC 2008
Modified Files:
pkgsrc/www/privoxy: distinfo
Added Files:
pkgsrc/www/privoxy/patches: patch-ad patch-ae
Log Message:
remove an "extern inline" which is gcc specific and doesn't work on IRIX,
reported by Stuart Shelton in PR pkg/38252,
I also think that the PRIVOXY_GROUP thing was a false report caused
by some pkgsrc framework glitch -- the value passed to "configure"
is correct for me (check "config.status").
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 pkgsrc/www/privoxy/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/www/privoxy/patches/patch-ad \
pkgsrc/www/privoxy/patches/patch-ae
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 18 May 2009 00:54:13 +0000
State-Changed-Why:
no feedback is good feedback
>Unformatted:
(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.