Build failed with Permission denied
A resume of the build log:
-------
make[1]: Leaving directory `/<<PKGBUILDDIR>>'
dh_auto_test -a
touch build-stamp
fakeroot debian/rules binary-arch
dh install --with python3
debian/rules build
make[1]: Entering directory `/<<PKGBUILDDIR>>'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory `/<<PKGBUILDDIR>>'
debian/rules build-arch
make[1]: Entering directory `/<<PKGBUILDDIR>>'
make[1]: Nothing to be done for `build-arch'.
make[1]: Leaving directory `/<<PKGBUILDDIR>>'
dh_testroot
dh_prep
debian/rules override_
make[1]: Entering directory `/<<PKGBUILDDIR>>'
set -e; \
/bin/sh build.sh -i
install libexiv2python.so to /usr/lib/
cp: cannot create regular file ‘/usr/lib/
mkdir: cannot create directory ‘/usr/lib/
cp: cannot create regular file ‘/usr/lib/
cp: cannot create regular file ‘/usr/lib/
cp: cannot create regular file ‘/usr/lib/
cp: cannot create regular file ‘/usr/lib/
cp: cannot create regular file ‘/usr/lib/
cp: cannot create regular file ‘/usr/lib/
cp: cannot create regular file ‘/usr/lib/
make[1]: *** [override_
-------
The complete log is here:
https:/
The compat version is 9
And this is the file rules:
-------
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
PYVERSIONS=$(shell py3versions -v -r)
override_
override_
set -e; \
python3 configure.py ; \
/bin/sh build.sh
override_
rm -rf build
override_
set -e; \
/bin/sh build.sh -i
override_
dh_installchan
override_
dh_compress -X.txt -X.js -X.ico
build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
build-stamp:
dh build-arch --with python3
touch $@
clean:
dh $@ --with python3
install: build
dh $@ --with python3
# Build architecture-
binary-indep: build install
dh $@ --with python3
# Build architecture-
binary-arch: build install
dh $@ --with python3
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
-------
I've used the same rules for the same package the 30 January without problem.
Thanks for all advices
Vincent
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- VinsS
- Solved:
- Last query:
- Last reply: