Debian Bug report logs - #654638
php5: Source build error with 'fix-memory-leak-inside-highlight_string.patch does not remove cleanly'

version graph

Package: php5; Maintainer for php5 is (unknown);

Reported by: vlad f halilov <vfh@swemel.ru>

Date: Wed, 4 Jan 2012 19:27:01 UTC

Severity: serious

Found in version php5/5.3.3-7+squeeze3

Done: Raphael Geissert <geissert@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#654638; Package php5. (Wed, 04 Jan 2012 19:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to vlad f halilov <vfh@swemel.ru>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Wed, 04 Jan 2012 19:27:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: vlad f halilov <vfh@swemel.ru>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: php5: Source build error with 'fix-memory-leak-inside-highlight_string.patch does not remove cleanly'
Date: Wed, 04 Jan 2012 14:23:12 -0500
Package: php5
Version: 5.3.3-7+squeeze3
Severity: serious
Justification: fails to build from source

Hi there. I have an trouble with building php5* packages. Foe example: apt-get -b source php5-cli
return the following:

-----------------------------------------
build:/mnt/source$ apt-get -b source php5-cli
Reading package lists... Done
Building dependency tree
Reading state information... Done
Picking 'php5' as source package instead of 'php5-cli'
NOTICE: 'php5' packaging is maintained in the 'Git' version control system at:
git://git.debian.org/pkg-php/php.git
Skipping already downloaded file 'php5_5.3.3-7+squeeze3.dsc'
Skipping already downloaded file 'php5_5.3.3.orig.tar.gz'
Skipping already downloaded file 'php5_5.3.3-7+squeeze3.diff.gz'
Need to get 0 B of source archives.
Skipping unpack of already unpacked source in php5-5.3.3
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: source package php5
dpkg-buildpackage: source version 5.3.3-7+squeeze3
dpkg-buildpackage: source changed by Ondřej Surý <ondrej@debian.org>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build php5-5.3.3
 fakeroot debian/rules clean
dh_testdir
sed -i -e 's/EXTRA_VERSION="-7+squeeze3"/EXTRA_VERSION=""/' configure.in
rm -f prepared-stamp
QUILT_PATCHES=debian/patches \
                quilt --quiltrc /dev/null pop -a -R || test $? = 2
Patch fix-memory-leak-inside-highlight_string.patch does not remove cleanly (refresh it or enforce with -f)
make: *** [unpatch] Error 1
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
Build command 'cd php5-5.3.3 && dpkg-buildpackage -b -uc' failed.
E: Child process failed
-----------------------------------------------------

... then build aborted.

-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#654638; Package php5. (Thu, 05 Jan 2012 08:24:03 GMT) (full text, mbox, link).


Acknowledgement sent to "vfh@swemel.ru" <vfh@swemel.ru>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Thu, 05 Jan 2012 08:24:03 GMT) (full text, mbox, link).


Message #10 received at 654638@bugs.debian.org (full text, mbox, reply):

From: "vfh@swemel.ru" <vfh@swemel.ru>
To: 654638@bugs.debian.org
Subject: Re: Bug#654638: Acknowledgement (php5: Source build error with 'fix-memory-leak-inside-highlight_string.patch does not remove cleanly')
Date: Thu, 05 Jan 2012 11:55:23 +0400
Workaround:  'QUILT_PATCHES=debian/patches quilt refresh' executed in 
php5-5.3.3 directory.

-- 
vlad f halilov
swemel





Reply sent to Raphael Geissert <geissert@debian.org>:
You have taken responsibility. (Wed, 11 Jan 2012 23:12:03 GMT) (full text, mbox, link).


Notification sent to vlad f halilov <vfh@swemel.ru>:
Bug acknowledged by developer. (Wed, 11 Jan 2012 23:12:03 GMT) (full text, mbox, link).


Message #15 received at 654638-done@bugs.debian.org (full text, mbox, reply):

From: Raphael Geissert <geissert@debian.org>
To: 654638-done@bugs.debian.org
Subject: Re: [php-maint] Bug#654638: php5: Source build error with 'fix-memory-leak-inside-highlight_string.patch does not remove cleanly'
Date: Wed, 11 Jan 2012 17:08:12 -0600
On Wednesday 04 January 2012 13:23:12 vlad f halilov wrote:
> Package: php5
> Version: 5.3.3-7+squeeze3
> Severity: serious
> Justification: fails to build from source
[...]
> Skipping unpack of already unpacked source in php5-5.3.3

Erm...

[...]
>  fakeroot debian/rules clean
> dh_testdir
> sed -i -e 's/EXTRA_VERSION="-7+squeeze3"/EXTRA_VERSION=""/' configure.in
> rm -f prepared-stamp
> QUILT_PATCHES=debian/patches \
>                 quilt --quiltrc /dev/null pop -a -R || test $? = 2
> Patch fix-memory-leak-inside-highlight_string.patch does not remove cleanly
> (refresh it or enforce with -f) make: *** [unpatch] Error 1
> dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit
> status 2 Build command 'cd php5-5.3.3 && dpkg-buildpackage -b -uc' failed.
> E: Child process failed

You most likely modified a file that was part of one of the patches.
Not a bug in the package.

Regards,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 09 Feb 2012 07:37:01 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 01:46:35 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.