Package building on ppa failed for permissions.
I upgrade the package of python3-exiv2 on my ppa.
The same builds success for bionic, cosmic, disco and olders distributions.
But since eoan the builds are failed for "Permission denied"
The build log in focal:
https:/
When building the package a build.sh is created.
------------ build.sh -------
#!/bin/sh
if [ "$1" = "-i" ]; then
echo "install libexiv2python.so to /usr/lib/
cp build/libexiv2p
test -d /usr/lib/
cp src/pyexiv2/
cp src/pyexiv2/exif.py /usr/lib/
cp src/pyexiv2/iptc.py /usr/lib/
cp src/pyexiv2/
cp src/pyexiv2/
cp src/pyexiv2/
cp src/pyexiv2/xmp.py /usr/lib/
else
g++ -o build/exiv2wrap
g++ -o build/exiv2wrap
g++ -o build/libexiv2p
fi
-------
And the rules file in debian/
------------ 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
-------
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply: