Where is my package after I upload it to my activated ppa ?

Asked by Asion

I have upload my package by command as follow:

I have confirmed that I have received rejected email before I re-upload my package:
At this time, neither respond email nor my ppa:asionius/fibjs display the uploaded package.

➜ fibjs_ubuntu_package dput -f ppa:asionius/fibjs fibjs_0.2.1_amd64.changes
Checking signature on .changes
gpg: Signature made 2016年08月31日 星期三 16时50分24秒 CST using RSA key ID A3A05564
gpg: Good signature from "Asion <asionius@163.com>"
Good signature on /home/asion/project/fibjs_ubuntu_package/fibjs_0.2.1_amd64.changes.
Checking signature on .dsc
gpg: Signature made 2016年08月31日 星期三 16时50分22秒 CST using RSA key ID A3A05564
gpg: Good signature from "Asion <asionius@163.com>"
Good signature on /home/asion/project/fibjs_ubuntu_package/fibjs_0.2.1.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 fibjs_0.2.1.dsc: done.
  Uploading fibjs_0.2.1.orig.tar.gz: done.
  Uploading fibjs_0.2.1.debian.tar.xz: done.
  Uploading fibjs_0.2.1_amd64.deb: done.
  Uploading fibjs_0.2.1_amd64.changes: done.
Successfully uploaded packages.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Asion (asionius) said :
#1

I have searched for many problem similar with mine, and all solution seems different.
I am sure that my gpg key is valid and not expired.
Maybe some lintian error prevent the package from successful uploading, and I want to know what it is and which requirements are must be satisfied.

Revision history for this message
Colin Watson (cjwatson) said :
#2

Our logs indicate that we sent a rejection email to asionius@163.com, so you should check your spam filters etc.

The most recent rejection was "Source/binary (i.e. mixed) uploads are not allowed." That is, you must build a source package *only* (*_source.changes) using the -S option to dpkg-buildpackage/debuild and upload that, rather than also uploading your own binaries. See https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage#Options_when_building.

Several previous upload attempts were rejected for this reason or other reasons, such as listing "unstable" or "jessie" as the target series in debian/changelog, or having a mismatch between Checksums-Sha1 and Files fields (which suggests that you were manually editing the .dsc or .changes file, which is not normally a good idea).

Revision history for this message
Asion (asionius) said :
#3

@Colin Watson
Thank you for your detailed answer!
I will retry soon!

Revision history for this message
Asion (asionius) said :
#5

Thanks Colin Watson, that solved my question.

Revision history for this message
Asion (asionius) said :
#6

I have met one problem with this package. How launch pad server automatically install commands that my package depends ?

Revision history for this message
Colin Watson (cjwatson) said :
#7

Could you please rephrase your question? I don't really understand exactly what you mean. An example would help.

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

You have to put the dependencies into the control file
The packages that are needed to build the package have to go into Build-Depends of the source package!
I assume your error is the following:

You have:
Source: fibjs ...
Build-Depends: debhelper (>= 8.0.0)
...
Package: fibjs ...
Depends: cmake, make, g++, g++-multili, ${shlibs:Depends}, ${misc:Depends}

but you probably need:
Source: fibjs ...
Build-Depends: debhelper (>= 8.0.0), cmake, make, g++, ...
...
Package: fibjs ...
Depends: ${shlibs:Depends}, ${misc:Depends}

Revision history for this message
Asion (asionius) said :
#9

For example my build script runs command 'cmake' and it is not appear in launchpad server so it build failed on remote launchpad server. So I wonder how to make the remote launchpad server install the 'cmake' command automatically via some config file in my package? I tried to list the command in control file after entry 'Depends:'. But it did no help.

Revision history for this message
Colin Watson (cjwatson) said :
#10

Manfred is correct that that requires adding cmake to your Build-Depends field, not your Depends field. Depends is about what your binary package requires when it's installed, while Build-Depends is about what's required to build your source package.

(However, you do not need to and shouldn't declare "make" or "g++" in Build-Depends unless you need a version constraint; those are in the "build-essential" set of packages.)

Revision history for this message
Asion (asionius) said :
#11

@Manfred Hampl
@Colin Watson
Hello all :
    Thanks a lot for your answer!
    The remote launchpad server is building the package now.

Revision history for this message
Asion (asionius) said :
#12

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Asion (asionius) said :
#13

Hi Colin :
     I am sorry to ask another question, the package I uploaded to my ppa has been built successfully in arch amd64 and failed in i386, now I can not use apt to install my package in ubuntu 16.04 64bit. So when can I install the built 64bit deb in ubuntu 64bit?

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#14

After successfully building a packages it takes a couple of minutes until the package is published.
Meanwhile you should be able to install the amd64 package.
It does not matter for the amd64 package that the i386 version failed to build.

Revision history for this message
Asion (asionius) said :
#15

Thanks Manfred Hampl, that solved my question.