[Debian-med-packaging] Bug#937262: Help with scons needed (Was: Help needed (Was: pdb2pqr: Python2 removal in sid/bullseye))
Scott Talbert
swt at techie.net
Thu Dec 12 21:34:09 GMT 2019
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:
>>
>> https://salsa.debian.org/med-team/pdb2pqr/blob/master/debian/rules#L33
>
> 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 \
> URL="http://localhost/pdb2pqr/" \
> PREFIX="/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 ...
> CopySubAction("pdb2pqr.py", "pdb2pqr.py.in")
> 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.
Scott
More information about the Debian-med-packaging
mailing list