Re: [Tails-dev] Tor Monitor build fails

Delete this message

Reply to this message
Autore: Sascha Steinbiss
Data:  
To: The Tails public development discussion list
Oggetto: Re: [Tails-dev] Tor Monitor build fails
Hi Alan,

> I just tried to build the package and failed:
>
>    $ git-buildpackage --git-debian-branch=debian
>    dh clean --with python3 --buildsystem=pybuild
>       dh_testdir -O--buildsystem=pybuild
>       debian/rules override_dh_auto_clean
>    make[1]: Entering directory `/home/amnesia/Persistent/dev/tor-monitor'
>    rm -f po/tormonitor.pot
>    rm -rf build
>    make[1]: Leaving directory `/home/amnesia/Persistent/dev/tor-monitor'
>       dh_clean -O--buildsystem=pybuild
>    gbp:error: Couldn't checkout "tor-monitor_0.1.orig.tar.gz": Execution failed: [Errno 2] No such file or directory

>
> What am I doing wrong? I'm doing exactly what works for our other python
> packages.


Hmm, I don’t get why you are using —git-debian-branch. There is no ‘debian’ branch…? What branch are you on when you try to build as shown above?
I can build everything perfectly directly after cloning:

[vagrant@debian-8:~] $ git clone https://github.com/satta/tor-monitor.git
Cloning into 'tor-monitor'...
remote: Counting objects: 153, done.
remote: Compressing objects: 100% (74/74), done.
remote: Total 153 (delta 78), reused 145 (delta 70), pack-reused 0
Receiving objects: 100% (153/153), 32.71 KiB | 0 bytes/s, done.
Resolving deltas: 100% (78/78), done.
Checking connectivity... done.
[vagrant@debian-8:~] $ cd tor-monitor
[vagrant@debian-8:~/tor-monitor] $ gbp buildpackage --git-pbuilder -uc -us
gbp:info: tor-monitor_0.1.orig.tar.gz does not exist, creating from 'upstream/0.1'
Building with cowbuilder for distribution sid
I: using cowbuilder as pbuilder
[…]

As you can see, the tarball is created if it does not exist. Does this work for you?


Cheers
Sascha