[php-maint] Bug#654638: php5: Source build error with 'fix-memory-leak-inside-highlight_string.patch does not remove cleanly'

vlad f halilov vfh at swemel.ru
Wed Jan 4 19:23:12 UTC 2012


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 at 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





More information about the pkg-php-maint mailing list