Problems pdebuilding a quilt-based package
Hello,
I have a package which builds just fine when running debuild. It also
works fine, taking the source files created by debuild run "dpkg-soruce
-x" and then debuild in the resulting directory. However, I am unable to
pdebuild the package from the same directory where debuild works
perfectly. Pdebuild fails to apply the quilt patches(see below).
I have no idea what is causing this. I am including the significant
parts of the debuild output as well as the pdebuild output.
Here comes the pdebuild output:
[Setup of the build system using cowbuilder snipped]
Setting up fakeroot (1.12.2) ...
I: Copying back the cached apt archive contents
I: Copying source file
I: copying [<HOMEDIR>/umlet/umlet_9.1-1.dsc]
I: copying [<HOMEDIR>/umlet/umlet_9.1.orig.tar.gz]
I: copying [<HOMEDIR>/umlet/umlet_9.1-1.diff.gz]
I: Extracting source
dpkg-source: warning: extracting unsigned source package (umlet_9.1-1.dsc)
dpkg-source: extracting umlet in umlet-9.1
dpkg-source: info: unpacking umlet_9.1.orig.tar.gz
dpkg-source: info: applying umlet_9.1-1.diff.gz
I: Building the package
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package umlet
dpkg-buildpackage: source version 9.1-1
dpkg-buildpackage: source changed by Benjamin Mesing <bensmail@gmx.net>
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
# do not abort if quilt pop fails (this is usually if there no patches applied
quilt pop -a || true
No patch removed
quilt push 10_addBuildInfrastructure
No patches in series
make: *** [clean-patched] Error 1
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 2
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
-> Cleaning COW directory
forking: rm -rf /var/cache/pbuilder/build//cow.7782
Here comes the debuild output:
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package umlet
dpkg-buildpackage: source version 9.1-1
dpkg-buildpackage: source changed by Benjamin Mesing <bensmail@gmx.net>
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
# do not abort if quilt pop fails (this is usually if there no patches applied
quilt pop -a || true
No patch removed
quilt push 10_addBuildInfrastructure
Applying patch 10_addBuildInfrastructure.diff
patching file Makefile
Now at patch 10_addBuildInfrastructure.diff
rm -f build-stamp
/usr/bin/make clean
make[1]: Entering directory `/home/ben/debian/umlet/umlet-9.1'
rm -f umlet.jar
rm -f epsgraphics.jar
rm -rf bin
rm -rf epsgraphics/bin
make[1]: Leaving directory `/home/ben/debian/umlet/umlet-9.1'
dh_clean
quilt pop -a
Removing patch 10_addBuildInfrastructure.diff
Removing Makefile
No patches applied
QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null pop -a -R || test $? = 2
No patch removed
rm -rf .pc debian/stamp-patched
dpkg-source -b umlet-9.1
dpkg-source: info: using source format `1.0'
dpkg-source: info: building umlet using existing umlet_9.1.orig.tar.gz
dpkg-source: info: building umlet in umlet_9.1-1.diff.gz
dpkg-source: info: building umlet in umlet_9.1-1.dsc
debian/rules build
# quilt exits with 2 as return when there was nothing to do.
# That's not an error here (but it's useful to break loops in crude scripts)
QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null push -a || test $? = 2
Applying patch 10_addBuildInfrastructure.diff
patching file Makefile
Applying patch 20_runScript.diff
[build process commences happily]
You can fetch the current version of the package if you need more
information to investigate:
dget http://www.mesing.de/debian/umlet_9.1-1.dsc
Any help would be appreciated.
Best regards
Ben
Reply to: