[php-maint] Bug#339621: marked as done (php5-dev: PHP_API_VERSION in 5.0.5-3 shows 20031224 but /usr/lib/php5 shows 20041030)

Debian Bug Tracking System owner at bugs.debian.org
Thu Nov 17 17:33:15 UTC 2005


Your message dated Fri, 18 Nov 2005 04:24:43 +1100
with message-id <437CBCDB.4060307 at 0c3.net>
and subject line [php-maint] Bug#339621: php5-dev: PHP_API_VERSION in 5.0.5-3 shows	20031224 but /usr/lib/php5 shows 20041030
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 17 Nov 2005 17:03:41 +0000
>From xaminmo at omnitech.net Thu Nov 17 09:03:41 2005
Return-path: <xaminmo at omnitech.net>
Received: from ns1.omnitech.net ([66.112.31.74] helo=ns1)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EcnAi-000580-RU
	for submit at bugs.debian.org; Thu, 17 Nov 2005 09:03:41 -0800
Received: from root by ns1 with local (Exim 4.54)
	id 1EcnAh-0003jm-Sz; Thu, 17 Nov 2005 11:03:39 -0600
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Josh-Daniel S. Davis" <xaminmo at omnitech.net>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: php5-dev: PHP_API_VERSION in 5.0.5-3 shows 20031224 but /usr/lib/php5 shows
 20041030
X-Mailer: reportbug 3.17
Date: Thu, 17 Nov 2005 11:03:39 -0600
X-Debbugs-Cc: xaminmo at omnitech.net
Message-Id: <E1EcnAh-0003jm-Sz at ns1>
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Rcpt-To: submit at bugs.debian.org, xaminmo at omnitech.net
X-SA-Exim-Mail-From: xaminmo at omnitech.net
X-SA-Exim-Scanned: No (on ns1); SAEximRunCond expanded to false
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.3 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	SUBJ_HAS_UNIQ_ID,X_DEBBUGS_CC autolearn=ham 
	version=2.60-bugs.debian.org_2005_01_02

Package: php5-dev
Version: 5.0.5-3
Severity: important

I was getting build errors for other packages because PHP_API_VERSION in php.h
was listed as 20031224.  /usr/lib/php5 only has 20041030.  To fix build, I
made these changes:

>#define PHP_API_VERSION 20041030
>/*#define PHP_API_    VERSION 20031224*/
<#define PHP_API_VERSION 20031224


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages php5-dev depends on:
ii  autoconf                      2.59a-4    automatic configure script builder
ii  automake1.4                   1:1.4-p6-9 A tool for generating GNU Standard
ii  libssl-dev                    0.9.8a-3   SSL development libraries, header 
ii  libtool                       1.5.20-2   Generic library support script
ii  php5-common                   5.0.5-3    Common files for packages built fr
ii  shtool                        2.0.1-2    portable shell tool from the GNU p

php5-dev recommends no packages.

-- no debconf information

---------------------------------------
Received: (at 339621-done) by bugs.debian.org; 17 Nov 2005 17:25:23 +0000
>From adconrad at 0c3.net Thu Nov 17 09:25:23 2005
Return-path: <adconrad at 0c3.net>
Received: from loki.0c3.net ([69.0.240.48])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EcnVj-00030U-7t
	for 339621-done at bugs.debian.org; Thu, 17 Nov 2005 09:25:23 -0800
Received: from [203.49.196.168] (helo=[10.0.0.4])
	by loki.0c3.net with asmtp (Exim 4.34)
	id 1EcnVD-0007Gj-VG; Thu, 17 Nov 2005 10:24:52 -0700
Message-ID: <437CBCDB.4060307 at 0c3.net>
Date: Fri, 18 Nov 2005 04:24:43 +1100
From: Adam Conrad <adconrad at 0c3.net>
User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Josh-Daniel S. Davis" <xaminmo at omnitech.net>, 
 339621-done at bugs.debian.org
Subject: Re: [php-maint] Bug#339621: php5-dev: PHP_API_VERSION in 5.0.5-3
 shows	20031224 but /usr/lib/php5 shows 20041030
References: <E1EcnAh-0003jm-Sz at ns1>
In-Reply-To: <E1EcnAh-0003jm-Sz at ns1>
X-Enigmail-Version: 0.92.1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.3 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	SUBJ_HAS_UNIQ_ID autolearn=no version=2.60-bugs.debian.org_2005_01_02

Josh-Daniel S. Davis wrote:
> 
> I was getting build errors for other packages because PHP_API_VERSION in php.h
> was listed as 20031224.  /usr/lib/php5 only has 20041030.

Debian packages should be using "php-config5 --extension-dir" to
determine where to install their modules and "php-config5 --phpapi" to
select the "phpapi-NNNNN" virtual package to depend on.

Parsing php.h has always been incorrect for the first case, and has
become deprecated (and wrong) in the second.

... Adam



More information about the pkg-php-maint mailing list