Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #266481

Bug#937262: Help with scons needed (Was: Help needed (Was: pdb2pqr: Python2 removal in sid/bullseye))

From Scott Talbert <swt@techie.net>
Newsgroups linux.debian.bugs.rc
Subject Bug#937262: Help with scons needed (Was: Help needed (Was: pdb2pqr: Python2 removal in sid/bullseye))
Date 2019-12-12 22:40 +0100
Message-ID <zcElH-458-1@gated-at.bofh.it> (permalink)
References (3 earlier) <zczm1-12V-7@gated-at.bofh.it> <zcDzk-3y0-19@gated-at.bofh.it> <zcE2m-3XT-5@gated-at.bofh.it> <zczm1-12V-7@gated-at.bofh.it> <zcE2m-3XT-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.bugs.rc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#937262: Help needed (Was: pdb2pqr: Python2 removal in sid/bullseye) Scott Talbert <swt@techie.net> - 2019-12-12 17:40 +0100
  Bug#937262: Help with scons needed (Was: Help needed (Was: pdb2pqr: Python2 removal in sid/bullseye)) Andreas Tille <andreas@fam-tille.de> - 2019-12-12 21:20 +0100
    Bug#937262: Help with scons needed (Was: Help needed (Was: pdb2pqr: Python2 removal in sid/bullseye)) Andreas Tille <andreas@fam-tille.de> - 2019-12-12 22:20 +0100
      Bug#937262: Help with scons needed (Was: Help needed (Was: pdb2pqr: Python2 removal in sid/bullseye)) Scott Talbert <swt@techie.net> - 2019-12-12 22:40 +0100
        Bug#937262: Help with scons needed (Was: Help needed (Was: pdb2pqr: Python2 removal in sid/bullseye)) Andrey Rahmatullin <wrar@debian.org> - 2019-12-13 14:00 +0100
          Bug#937262: Help with scons needed (Was: Help needed (Was: pdb2pqr: Python2 removal in sid/bullseye)) Andreas Tille <tille@debian.org> - 2019-12-13 15:30 +0100
            Bug#937262: Help needed (Was: pdb2pqr: Python2 removal in sid/bullseye) Andreas Tille <tille@debian.org> - 2019-12-13 22:20 +0100

csiph-web