Ora purtroppo è da 2 giorni che non riesco a venire a capo di questo problema.
Quando lancio pbuilder ottengo:
Codice: Seleziona tutto
....
dpkg-buildpackage: host architecture amd64
dpkg-buildpackage: source version without epoch 1.5.2.1~0gp-1
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory `/tmp/buildd/cairodock-1.5.2.1~0gp'
make[1]: *** No rule to make target `clean'. Stop.
make[1]: Leaving directory `/tmp/buildd/cairodock-1.5.2.1~0gp'
make: [clean] Error 2 (ignored)
dh_clean
dpkg-source -b cairodock-1.5.2.1~0gp
dpkg-source: building cairodock using existing cairodock_1.5.2.1~0gp.orig.tar.gz
dpkg-source: building cairodock in cairodock_1.5.2.1~0gp-1.diff.gz
dpkg-source: building cairodock in cairodock_1.5.2.1~0gp-1.dsc
debian/rules build
dh_testdir
./configure --prefix=/usr --mandir=/usr/share/man
make: execvp: ./configure: Permission denied
make: *** [configure-stamp] Error 127
pbuilder: Failed autobuilding of package
-> Aborting with an error
-> unmounting dev/pts filesystem
-> unmounting proc filesystem
-> cleaning the build env
-> removing directory /var/cache/pbuilder/build//23261 and its subdirectories
Codice: Seleziona tutto
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
configure: configure-stamp
configure-stamp:
dh_testdir
./configure --prefix=/usr --mandir=/usr/share/man
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
$(MAKE)
#docbook-to-man debian/cairodock.sgml > cairodock.1
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
-$(MAKE) clean
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/cairodock.
$(MAKE) DESTDIR=$(CURDIR)/debian/cairodock install
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir -a
dh_testroot -a
dh_installchangelogs -a ChangeLog
dh_installdocs -a
dh_installexamples -a
# dh_install
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_python
# dh_installinit
# dh_installcron
# dh_installinfo
dh_installman -a
# dh_link
dh_strip -a
dh_compress -a
dh_fixperms -a
# dh_perl
# dh_makeshlibs
# dh_installdeb
dh_shlibdeps -a
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
gp

