mkropat/jumpapp

Unable to generate correct changes file to upload new deb package to PPA

mkropat opened this issue · 4 comments

While putting together the 1.0 release I ran into issues generating a valid .changes file, which means I can't push new versions of jumpapp to the PPA.

The immediate issue appears to be that the checksum for the .dsc file that is listed in the .changes file is invalid:

Checksum doesn't match for /vagrant/jumpapp_1.0-1.dsc

I'm not sure why this is happening. (Could the the checksum be being generated before the signature is written?) I don't know if I'll have time to look into it further in the near future.

Here is the full build output for reference:

vagrant@ubuntu-bionic:/vagrant$ make deb-src
tar --transform 's,^,jumpapp-1.0/,S' -cjf "jumpapp_1.0.tar.bz2" t README.md LICENSE.txt Makefile jumpapp jumpappify-desktop-entry
cp "jumpapp_1.0.tar.bz2" "jumpapp_1.0.orig.tar.bz2"
cp "LICENSE.txt" "debian/copyright"
tar xf "jumpapp_1.0.tar.bz2"
cp -r debian "jumpapp-1.0"
(cd "jumpapp-1.0"; debuild -S)
 dpkg-buildpackage -rfakeroot -us -uc -ui -S
dpkg-buildpackage: info: source package jumpapp
dpkg-buildpackage: info: source version 1.0-1
dpkg-buildpackage: info: source distribution xenial
dpkg-buildpackage: info: source changed by Michael Kropat <mail@michael.kropat.name>
 dpkg-source --before-build jumpapp-1.0
 fakeroot debian/rules clean
make: Warning: File 'debian/rules' has modification time 0.4 s in the future
dh clean
   dh_auto_clean
        make -j2 -O clean
make[1]: Entering directory '/vagrant/jumpapp-1.0'
rm -f README.man.md
rm -f jumpapp*.tar.bz2 jumpapp*.deb jumpapp*.rpm
rm -f jumpapp.1
make[1]: Leaving directory '/vagrant/jumpapp-1.0'
   dh_clean
make: warning:  Clock skew detected.  Your build may be incomplete.
 dpkg-source -b jumpapp-1.0
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building jumpapp using existing ./jumpapp_1.0.orig.tar.bz2
dpkg-source: info: building jumpapp in jumpapp_1.0-1.debian.tar.xz
dpkg-source: info: building jumpapp in jumpapp_1.0-1.dsc
 dpkg-genbuildinfo --build=source
 dpkg-genchanges --build=source >../jumpapp_1.0-1_source.changes
dpkg-genchanges: info: including full source code in upload
 dpkg-source --after-build jumpapp-1.0
dpkg-buildpackage: info: full upload (original source is included)
Now running lintian jumpapp_1.0-1_source.changes ...
W: jumpapp source: package-file-is-executable debian/changelog
W: jumpapp source: package-file-is-executable debian/control
W: jumpapp source: package-file-is-executable debian/copyright
W: jumpapp source: package-needs-versioned-debhelper-build-depends 10
Finished running lintian.
Now signing changes and any dsc files...
 signfile dsc jumpapp_1.0-1.dsc Michael Kropat <mail@michael.kropat.name>

Can't remove jumpapp_1.0-1_source.buildinfo.temp: Text file busy, skipping file.
 signfile buildinfo jumpapp_1.0-1_source.buildinfo Michael Kropat <mail@michael.kropat.name>

Can't remove jumpapp_1.0-1_source.changes.temp: Text file busy, skipping file.
Can't remove jumpapp_1.0-1_source.changes.temp: Text file busy, skipping file.
 signfile changes jumpapp_1.0-1_source.changes Michael Kropat <mail@michael.kropat.name>

Successfully signed dsc, buildinfo, changes files
vagrant@ubuntu-bionic:/vagrant$ dput ppa:mkropat/ppa *.changes
Checking signature on .changes
gpg: /vagrant/jumpapp_1.0-1_source.changes: Valid signature from 3B894961962EBA75
Checking signature on .dsc
gpg: /vagrant/jumpapp_1.0-1.dsc: Valid signature from 3B894961962EBA75
Checksum doesn't match for /vagrant/jumpapp_1.0-1.dsc
vagrant@ubuntu-bionic:/vagrant$ grep dsc *.changes
 eeb6f11e3d739577e39c542f82549242125990ac 921 jumpapp_1.0-1.dsc
 6b0011c8b6c968d5e5d64c9365654467f307e337de3f2dbdd2b87aa11786975e 921 jumpapp_1.0-1.dsc
 299a05f1ec3add11235dfcc73db170fc 921 x11 optional jumpapp_1.0-1.dsc
vagrant@ubuntu-bionic:/vagrant$ md5sum *.dsc
579e43e6000c322f00b32c759db5db0d  jumpapp_1.0-1.dsc
tpapp commented

In the meantime, perhaps remove the suggestion of the PPA from the readme? make deb works fine on Ubuntu

Good idea 👍

It's removed.