NetBSD Problem Report #46054

From www@NetBSD.org  Sun Feb 19 14:01:53 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 0FF0763D725
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 19 Feb 2012 14:01:53 +0000 (UTC)
Message-Id: <20120219140152.2DB9E63CAE9@www.NetBSD.org>
Date: Sun, 19 Feb 2012 14:01:52 +0000 (UTC)
From: vs@nifelheim.info
Reply-To: vs@nifelheim.info
To: gnats-bugs@NetBSD.org
Subject: securit/php-suhosin compilation breaks with maintainer-zts option of php53
X-Send-Pr-Version: www-1.0

>Number:         46054
>Category:       pkg
>Synopsis:       security/php-suhosin compilation breaks with maintainer-zts option of php53
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 19 14:05:00 +0000 2012
>Last-Modified:  Sat Mar 17 12:30:03 +0000 2012
>Originator:     Volkmar Seifert
>Release:        5.1_STABLE
>Organization:
>Environment:
NetBSD butterfly.nifelheim.info 5.1_STABLE NetBSD 5.1_STABLE (BUTTERFLY-1.1) #0: Sat Feb 18 08:55:05 CET 2012  build@panther.home.nifelheim.info:/build/work/i386/butterfly/obj/build/src/sys/arch/i386/compile/BUTTERFLY i386

>Description:
I am using NetBSD 5.1_STABLE (fresh build), and pkgsrc-current with nightly updates.

Upon "make build" in security/php-suhosin, compilation fails continuously with the following error:


--- post_handler.lo ---
/pkgsrc/work/security/php-suhosin/work/suhosin-0.9.33/post_handler.c: In function 'suhosin_hook_post_handlers':
/pkgsrc/work/security/php-suhosin/work/suhosin-0.9.33/post_handler.c:151: warning: passing argument 4 of '_zend_hash_init' from incompatible pointer type
/pkgsrc/work/security/php-suhosin/work/suhosin-0.9.33/post_handler.c:154: warning: assignment from incompatible pointer type
/pkgsrc/work/security/php-suhosin/work/suhosin-0.9.33/post_handler.c: In function 'suhosin_unhook_post_handlers':
/pkgsrc/work/security/php-suhosin/work/suhosin-0.9.33/post_handler.c:170: error: 'tsrm_ls' undeclared (first use in this function)
/pkgsrc/work/security/php-suhosin/work/suhosin-0.9.33/post_handler.c:170: error: (Each undeclared identifier is reported only once
/pkgsrc/work/security/php-suhosin/work/suhosin-0.9.33/post_handler.c:170: error: for each function it appears in.)
*** [post_handler.lo] Error code 1
1 error


make clean or anything like that does not help, and I have already checked on several machines if the problem might somehow be related to something on this specific host, but on each computer I run "make", the result is exactly the same, every time again.

As this module is quite important for a secure setup of php, help is very much appreciated.
>How-To-Repeat:
simply type "make" in security/php-suhosin in pkgsrc-current.
>Fix:
unknown

>Release-Note:

>Audit-Trail:
From: "Volkmar Seifert" <vs@nifelheim.info>
To: <gnats-bugs@NetBSD.org>
Cc: 
Subject: RE: pkg/46054: securit/php-suhosin compilation breaks
Date: Sun, 19 Feb 2012 17:58:41 +0100

 I just played with some options of lang/php53, namely maintainer-zts.
 The result is that with that option enabled, the problem described below
 occurs, and without, everything compiles just fine.
 The usefulness of this option on a unix-system might be argueable, but
 nonetheless it's weird that security/php-suhosin (as the only extension,
 btw) fails to compile with this option turned on.

 Severity and priority should probably be reduced to minimum level, but I
 wouldn't recommend closing this report until the issue -with- this option
 -enabled- is solved.

 - Volkmar

 > -----Original Message-----
 > From: pkgsrc-bugs-owner@NetBSD.org [mailto:pkgsrc-bugs-
 > owner@NetBSD.org] On Behalf Of vs@nifelheim.info
 > Sent: Sunday, February 19, 2012 3:05 PM
 > To: pkg-manager@netbsd.org; gnats-admin@netbsd.org; pkgsrc-
 > bugs@netbsd.org
 > Subject: pkg/46054: securit/php-suhosin compilation breaks
 > 
 > >Number:         46054
 > >Category:       pkg
 > >Synopsis:       securit/php-suhosin compilation breaks
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       high
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          support
 > >Submitter-Id:   net
 > >Arrival-Date:   Sun Feb 19 14:05:00 +0000 2012
 > >Originator:     Volkmar Seifert
 > >Release:        5.1_STABLE
 > >Organization:
 > >Environment:
 > NetBSD butterfly.nifelheim.info 5.1_STABLE NetBSD 5.1_STABLE
 > (BUTTERFLY-1.1) #0: Sat Feb 18 08:55:05 CET 2012
 > build@panther.home.nifelheim.info:/build/work/i386/butterfly/obj/build/
 > src/sys/arch/i386/compile/BUTTERFLY i386
 > 
 > >Description:
 > I am using NetBSD 5.1_STABLE (fresh build), and pkgsrc-current with
 > nightly updates.
 > 
 > Upon "make build" in security/php-suhosin, compilation fails
 > continuously with the following error:
 > 
 > 
 > --- post_handler.lo ---
 > /pkgsrc/work/security/php-suhosin/work/suhosin-0.9.33/post_handler.c:
 > In function 'suhosin_hook_post_handlers':
 > /pkgsrc/work/security/php-suhosin/work/suhosin-
 > 0.9.33/post_handler.c:151: warning: passing argument 4 of
 > '_zend_hash_init' from incompatible pointer type
 > /pkgsrc/work/security/php-suhosin/work/suhosin-
 > 0.9.33/post_handler.c:154: warning: assignment from incompatible
 > pointer type
 > /pkgsrc/work/security/php-suhosin/work/suhosin-0.9.33/post_handler.c:
 > In function 'suhosin_unhook_post_handlers':
 > /pkgsrc/work/security/php-suhosin/work/suhosin-
 > 0.9.33/post_handler.c:170: error: 'tsrm_ls' undeclared (first use in
 > this function)
 > /pkgsrc/work/security/php-suhosin/work/suhosin-
 > 0.9.33/post_handler.c:170: error: (Each undeclared identifier is
 > reported only once
 > /pkgsrc/work/security/php-suhosin/work/suhosin-
 > 0.9.33/post_handler.c:170: error: for each function it appears in.)
 > *** [post_handler.lo] Error code 1
 > 1 error
 > 
 > 
 > make clean or anything like that does not help, and I have already
 > checked on several machines if the problem might somehow be related to
 > something on this specific host, but on each computer I run "make", the
 > result is exactly the same, every time again.
 > 
 > As this module is quite important for a secure setup of php, help is
 > very much appreciated.
 > >How-To-Repeat:
 > simply type "make" in security/php-suhosin in pkgsrc-current.
 > >Fix:
 > unknown


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/46054: security/php-suhosin compilation breaks with
 maintainer-zts option of php53
Date: Sat, 17 Mar 2012 12:26:12 +0000

 On Sun, Feb 19, 2012 at 05:00:10PM +0000, Volkmar Seifert wrote:
  >  I just played with some options of lang/php53, namely maintainer-zts.
  >  The result is that with that option enabled, the problem described below
  >  occurs, and without, everything compiles just fine.
  >  The usefulness of this option on a unix-system might be argueable, but
  >  nonetheless it's weird that security/php-suhosin (as the only extension,
  >  btw) fails to compile with this option turned on.
  >  
  >  Severity and priority should probably be reduced to minimum level, but I
  >  wouldn't recommend closing this report until the issue -with- this option
  >  -enabled- is solved.

 I've updated things accordingly.

 -- 
 David A. Holland
 dholland@netbsd.org

>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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.