Source package didnt load completely and build failed

Asked by Anita Nayak on 2019-05-22

https://launchpad.net/~anitanayak/+archive/ubuntu/glusterfs-s390x-xenial-4.1.5

The tar.gz file is actually 7783999, but the uploaded tar.gz is half of it. Hence getting error while building.

Can anyone provide any suggestion.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Anita Nayak
Solved:
2019-05-24
Last query:
2019-05-24
Last reply:
2019-05-23
Colin Watson (cjwatson) said : #1

I don't understand the question. Exactly what file (please give a URL to the file itself) are you saying is incomplete?

Colin Watson (cjwatson) said : #3

It must have been what was on your disk when you prepared the upload: a truncated .tar.gz file would have been invalid and rejected, and wouldn't have resulted in a partial source package like this.

I suggest using dh-autoreconf to generate the configure script at build time, which is best practice for packages using autoconf.

Anita Nayak (anitanayak) said : #4

It was my fault that the source file was wrong. This time I tried uploading correctly. Though it is telling uploaded, still not seeing the packages. Reupload with `-f` option sends me rejection mail.

root@436d7953faaf:/gfs/test2# dput ppa:anitanayak/glusterfs-s390x-xenial-4.1.5 glusterfs_4.1.5-ubuntu1~xenial1_source.changes
$USER not set, will use login information.
Checking signature on .changes
gpg: Signature made Thu May 23 14:09:13 2019 UTC using RSA key ID <key>
gpg: Good signature from "Anita Nayak (for glusterfs xenial) <email address hidden>"
Good signature on /gfs/test2/glusterfs_4.1.5-ubuntu1~xenial1_source.changes.
Checking signature on .dsc
gpg: Signature made Thu May 23 14:09:06 2019 UTC using RSA key ID <key>
gpg: Good signature from "Anita Nayak (for glusterfs xenial) <email address hidden>"
Good signature on /gfs/test2/glusterfs_4.1.5-ubuntu1~xenial1.dsc.
Package includes an .orig.tar.gz file although the debian revision suggests
that it might not be required. Multiple uploads of the .orig.tar.gz may be
rejected by the upload queue management software.
Uploading to ppa (via ftp to ppa.launchpad.net):
  Uploading glusterfs_4.1.5-ubuntu1~xenial1.dsc: done.
  Uploading glusterfs_4.1.5.orig.tar.gz: done.
  Uploading glusterfs_4.1.5-ubuntu1~xenial1.debian.tar.xz: done.
  Uploading glusterfs_4.1.5-ubuntu1~xenial1_source.changes: done.
Successfully uploaded packages.
root@436d7953faaf:/gfs/test2# dput -f ppa:anitanayak/glusterfs-s390x-xenial-4.1.5 glusterfs_4.1.5-ubuntu1~xenial1_source.changes
$USER not set, will use login information.
Checking signature on .changes
gpg: Signature made Thu May 23 14:09:13 2019 UTC using RSA key ID <key>
gpg: Good signature from "Anita Nayak (for glusterfs xenial) <email address hidden>"
Good signature on /gfs/test2/glusterfs_4.1.5-ubuntu1~xenial1_source.changes.
Checking signature on .dsc
gpg: Signature made Thu May 23 14:09:06 2019 UTC using RSA key ID <key>
gpg: Good signature from "Anita Nayak (for glusterfs xenial) <email address hidden>"
Good signature on /gfs/test2/glusterfs_4.1.5-ubuntu1~xenial1.dsc.
Package includes an .orig.tar.gz file although the debian revision suggests
that it might not be required. Multiple uploads of the .orig.tar.gz may be
rejected by the upload queue management software.
Uploading to ppa (via ftp to ppa.launchpad.net):
  Uploading glusterfs_4.1.5-ubuntu1~xenial1.dsc: done.
  Uploading glusterfs_4.1.5.orig.tar.gz: done.
  Uploading glusterfs_4.1.5-ubuntu1~xenial1.debian.tar.xz: done.
  Uploading glusterfs_4.1.5-ubuntu1~xenial1_source.changes: done.
Successfully uploaded packages.

Then tried to other pps, still the same error.

Can anyone help me on this.

Colin Watson (cjwatson) said : #5

I'm sorry, I'm not sure how to explain this any more clearly. You have already uploaded that version to that PPA (see https://launchpad.net/~anitanayak/+archive/ubuntu/glusterfs-s390x-xenial-4.1.5/+packages?field.name_filter=&field.status_filter=&field.series_filter=); the fact that you have deleted it doesn't change that. You *must* change the version when uploading a source package that has different contents. Launchpad will never accept having two files in the history of an archive with the same name but different contents.

In this case, the archive in question already has glusterfs_4.1.5.orig.tar.gz with different contents, and so you must change the upstream part of the version number, that is, the part before the last "-", currently "4.1.5". Following your existing versioning scheme, I'd suggest that you might perhaps use a version of "4.1.5+repack1-ubuntu1~xenial1". Note that you'll need to manually rename your local copy of glusterfs_4.1.5.orig.tar.gz to glusterfs_4.1.5+repack1.orig.tar.gz to make this work.

Anita Nayak (anitanayak) said : #6

After version change, I did `debuild...` and `dput...`.

root@436d7953faaf:/gfs/test2# dput ppa:anitanayak/glusterfs-s390x-xenial-4.1.5 glusterfs_4.1.5+repack1-ubuntu1~xenial1_source.changes
$USER not set, will use login information.
Checking signature on .changes
gpg: Signature made Thu May 23 17:10:43 2019 UTC using RSA key ID <key>
gpg: Good signature from "Anita Nayak (for glusterfs xenial) <email address hidden>"
Good signature on /gfs/test2/glusterfs_4.1.5+repack1-ubuntu1~xenial1_source.changes.
Checking signature on .dsc
gpg: Signature made Thu May 23 17:10:39 2019 UTC using RSA key ID <key>
gpg: Good signature from "Anita Nayak (for glusterfs xenial) <email address hidden>"
Good signature on /gfs/test2/glusterfs_4.1.5+repack1-ubuntu1~xenial1.dsc.
Package includes an .orig.tar.gz file although the debian revision suggests
that it might not be required. Multiple uploads of the .orig.tar.gz may be
rejected by the upload queue management software.
Uploading to ppa (via ftp to ppa.launchpad.net):
  Uploading glusterfs_4.1.5+repack1-ubuntu1~xenial1.dsc: done.
  Uploading glusterfs_4.1.5+repack1.orig.tar.gz: done.
  Uploading glusterfs_4.1.5+repack1-ubuntu1~xenial1.debian.tar.xz: done.
  Uploading glusterfs_4.1.5+repack1-ubuntu1~xenial1_source.changes: done.
Successfully uploaded packages.
root@436d7953faaf:/gfs/test2#

Hope it would load the to ppa. I waited around 5 mins, still I didnt see the packages. Shall I wait for more time?

Anita Nayak (anitanayak) said : #7

Sorry, It was uploaded. Thanks.

Anita Nayak (anitanayak) said : #8

Closing the issue. Thank you very much Colin for your support.