Re: [Tails-dev] Tor Monitor build fails

Delete this message

Reply to this message
Autore: u
Data:  
To: tails-dev
Oggetto: Re: [Tails-dev] Tor Monitor build fails
Alan:

Hi Alan,

> Sascha Steinbiss <satta@???> wrote:
>> 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?
>>
> No, it doesn't work under Tails (based on wheezy), but I tried under
> jessie and the build starts... but then I hit:
>
> $ gbp buildpackage --git-dist=jessie --git-arch=i386 --git-pbuilder -uc -us
> gbp:info: Building with pbuilder for jessie
> Building with pbuilder for distribution jessie, architecture i386
> I: using pbuilder as pbuilder
> dpkg-buildpackage: source package tor-monitor
> dpkg-buildpackage: source version 0.1-1
> dpkg-buildpackage: source distribution unstable
> dpkg-buildpackage: source changed by Sascha Steinbiss <sascha@???>
>  dpkg-source --before-build tor-monitor-packaging
>  fakeroot debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
>    dh_testdir -O--buildsystem=pybuild
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory 'XXX/tor-monitor-packaging'
> rm -f po/tormonitor.pot
> rm -rf build
> make[1]: Leaving directory 'XXX/tor-monitor-packaging'
>    dh_clean -O--buildsystem=pybuild
>  dpkg-source -b tor-monitor-packaging
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building tor-monitor using existing ./tor-monitor_0.1.orig.tar.gz
> dpkg-source: warning: file tor-monitor-packaging/tormonitor.desktop has no final newline (either original or modified version)
> dpkg-source: info: local changes detected, the modified files are:
>  tor-monitor-packaging/tormonitor.desktop
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/tor-monitor_0.1-1.diff.3aQP6Q
> dpkg-source: info: you can integrate the local changes with dpkg-source --commit
> dpkg-buildpackage: error: dpkg-source -b tor-monitor-packaging gave error exit status 2
> gbp:error: 'git-pbuilder -uc -us' failed: it exited with 2

>


What's in the diff /tmp/tor-monitor_0.1-1.diff.3aQP6Q?

Only this?

> dpkg-source: warning: file tor-monitor-packaging/tormonitor.desktop

has no final newline (either original or modified version)
> dpkg-source: info: local changes detected, the modified files are:
> tor-monitor-packaging/tormonitor.desktop


?

Is this something which could have happened due to some editor
configuration on your machine?

Cheers!
u.