Unable to generate correct changes file to upload new deb package to PPA
mkropat opened this issue · 4 comments
mkropat commented
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
mkropat commented
Good idea
mkropat commented
It's removed.
Lupccs commented
I have to admit the update didn't work through apt but downloading the
updated .deb package and installing it worked perfectly
Il giorno ven 2 nov 2018 alle ore 08:29 Tamas K. Papp <
notifications@github.com> ha scritto:
… In the meantime, perhaps remove the suggestion of the PPA from the readme? make
deb works fine on Ubuntu
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#35 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AocLbcFjWdTu0JbmIwfeEPGX8pV1k8sBks5uq_RdgaJpZM4VC-Db>
.