On Thu, 12 Dec 2019, Andreas Tille wrote:
That hint was helpful anyway and I get further now. I think now the
problem is to convince scons to install in $(CURDIR)/debian/tmp which
seems to try rather /usr/share/pdb2pqr directly:
Looks like the debian/rules file is specifying /usr/share/pdb2pqr as PREFIX:
Arrghh, good if somebody else is proof-reading. However, setting this
does not help:
mkdir -p /build/pdb2pqr-2.1.1+dfsg/debian/tmp/usr/share/pdb2pqr
scons: Reading SConscript files ...
not using opal
scons: done reading SConscript files.
scons: Building targets ...
scons: *** [pdb2pqr.py] Can't write target file pdb2pqr.py
scons: building terminated because of errors.
I think you need to change the other open() call in that function to write
in text mode also.