<div dir="ltr">Hey Andreas,<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 7, 2015 at 7:54 PM, Andreas Tille <span dir="ltr"><<a href="mailto:andreas@an3as.eu" target="_blank">andreas@an3as.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Malihe,<br>
<br>
On Thu, May 07, 2015 at 04:13:23PM +0430, Malihe Asemani wrote:<br>
><br>
>    1.  Merge new upstream version to current git<br>
>    2. rip-off Ubuntu part of changelog, and create just one entry as first<br>
<span class="">>    debian members work on Manila<br>
</span>>    3. Update Uploades field in Control file<br>
>    4. Remove Orig Recipe from rules file<br>
>    5. add OSLO_PACKAGE_VERSION to rule file<br>
>    6. Move python-pbr from Build-Depends-Indep to Build-Depends in control<br>
>    file<br>
>    7. adapt watch file in such a way to be compatible with<br>
>    tag-base-packaging<br>
>    8. Use pkgos-reqsdiff to check and correct Manila dependencies<br>
<span class="">><br>
> Until now, I have done the first 7 steps, and pushed the results on git.<br>
<br>
</span>This sounds like some progress. <br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
> The current result of pkgos-bop on Manila is attached. An error related to<br>
> pyversions is still remained:<br>
> "...<br>
> pyversions: missing X(S)-Python-Version in control file, fall back to<br>
> debian/pyversions<br>
> pyversions: missing debian/pyversions file, fall back to supported versions<br>
> running clean<br>
> 'build/lib.linux-x86_64-2.7' does not exist -- can't clean it ...."<br>
><br>
> And another noticeable part is:<br>
> "...<br>
> E: Core build dependencies not satisfied; skipping<br>
> gbp:error: 'sbuild -v --no-apt-update' failed: it exited with 3<br>
> ..."<br>
<br>
</span>At first I noticed that there is another error in your log:<br>
<br>
<br>
dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/«BUILDDIR»/resolver-7UcRZi/apt_archive/sbuild-build-depends-core-dummy.deb'.<br>
gpg: no default secret key: secret key not available<br>
gpg: signing failed: secret key not available<br>
Failed to sign dummy archive Release file.<br>
<br>
<br>
Did you created a GPG key?  </blockquote><div>The pkgos-setup-sbuild creates GPG key. Wrong part of this process was the uid information in the key. I dont know how can i configure pkgos-setup-sbuild  for creating a GPG key with my information. I think it is using User and Hostname for crating key-uid information. Anyway, I updated the key with the information which I had added to changelog before. Therefore, this problem is solved now. Thank you for your hint :)    </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">While I think this is not necessary for the<br>
actual build process the script you called might require this.  I admit<br>
I'm a bit concerned that in openstack team a lot of wrappers are used<br>
specific for the team even if they are actually not really specific.<br>
<br>
A simple   `gbp buildpackage`   would have done the job as well to build<br>
the package and works for everybody.<br>
<span class=""><br></span></blockquote><div>I did 'gpg buildpackage' and 'debuild -us -uc' after some changes. I'll explain results at the end of this email.</div><div>  </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
> I guess I should do step 8 (I mean pkgos-reqsdiff), to be able to resolve<br>
> this dependency issue. What do you think?<br>
<br>
</span>While I think if Thomas suggested it, it might make sense to do so.  I<br>
personally also prefer rather<br>
<br>
     cme fix dpkg-control<br>
<br>
which does a similar thing regarding formatting first.  After this I<br>
would try the suggested `pkgos-reqsdiff`.  The rationale is that I<br>
prefer generic packaging (see in Debian Med policy what packages are<br>
needed to install cme).<br>
<br></blockquote><div>Interesting tool ! I used it and push the results to git. Thank you.</div><div>  </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
If you ask me please try also:<br>
<br>
./debian/rules gen-orig-xz<br>
gbp buildpackage<br>
<br>
This should also build the package without any wrapper.  I'd prefer at<br>
least knowing what happens behind the scenes (even if gbp is also a<br>
non-trival wrapper - but it is a generic packaging tool working in all<br>
teams).<br>
<br></blockquote><div>first I used pkgos-reqdiff and then cme. Afterwards, I did 'debuild -us -uc', 'gpg buildpackage', and 'pkgos-bop'. if I remove "override_dh_auto_test" from the rule file,  'debuld -us -uc' and 'gbp buildpackage' will create the package with no more errors. 'pkgos-bop' will create package too, but just it fails in the steps after creating package:</div><div><br></div><div><div><font size="1" face="monospace, monospace">Finished running lintian.</font></div><div><font size="1" face="monospace, monospace">Now signing changes and any dsc files...</font></div><div><font size="1" face="monospace, monospace"> signfile manila_2015.1.0-1~bpo80+1.dsc Malihe Asemani <<a href="mailto:ml.asemani@gmail.com">ml.asemani@gmail.com</a>></font></div><div><font size="1" face="monospace, monospace"><br></font></div><div><font size="1" face="monospace, monospace"> signfile manila_2015.1.0-1~bpo80+1_amd64.changes Malihe Asemani <<a href="mailto:ml.asemani@gmail.com">ml.asemani@gmail.com</a>></font></div><div><font size="1" face="monospace, monospace"><br></font></div><div><font size="1" face="monospace, monospace">Successfully signed dsc and changes files</font></div><div><font size="1" face="monospace, monospace">HEAD is now at df2a176 remove test part</font></div><div><font size="1" face="monospace, monospace">W: python-manila: latest-debian-changelog-entry-without-new-version</font></div><div><font size="1" face="monospace, monospace">P: python-manila: no-homepage-field</font></div><div><font size="1" face="monospace, monospace">W: manila-common: latest-debian-changelog-entry-without-new-version</font></div><div><font size="1" face="monospace, monospace">P: manila-common: no-homepage-field</font></div><div><font size="1" face="monospace, monospace">P: manila-common: maintainer-script-without-set-e postinst</font></div><div><font size="1" face="monospace, monospace">W: manila-scheduler: latest-debian-changelog-entry-without-new-version</font></div><div><font size="1" face="monospace, monospace">P: manila-scheduler: no-homepage-field</font></div><div><font size="1" face="monospace, monospace">W: manila-api: latest-debian-changelog-entry-without-new-version</font></div><div><font size="1" face="monospace, monospace">P: manila-api: no-homepage-field</font></div><div><font size="1" face="monospace, monospace">===> Copying to the FTP repo</font></div><div><font size="1" face="monospace, monospace">===> Scanning /home/ftp for packages in jessie-kilo-backports with arch amd64</font></div><div><font size="1" face="monospace, monospace">dpkg-scanpackages: warning: Packages in archive but missing from override file:</font></div><div><font size="1" face="monospace, monospace">dpkg-scanpackages: warning:   kilo-jessie-archive-keyring manila-api manila-common manila-scheduler python-manila</font></div><div><font size="1" face="monospace, monospace">dpkg-scanpackages: info: Wrote 5 entries to output Packages file.</font></div><div><font size="1" face="monospace, monospace">===> Updating schroot jessie-amd64</font></div><div><font size="1" face="monospace, monospace">jessie-amd64: Performing update. </font></div><div><font size="1" face="monospace, monospace">Hit <a href="http://mirror.xamin.ir">http://mirror.xamin.ir</a> jessie InRelease</font></div><div><font size="1" face="monospace, monospace">Hit <a href="http://mirror.xamin.ir">http://mirror.xamin.ir</a> jessie/main Sources</font></div><div><font size="1" face="monospace, monospace">Hit <a href="http://mirror.xamin.ir">http://mirror.xamin.ir</a> jessie/main amd64 Packages</font></div><div><font size="1" face="monospace, monospace">Hit <a href="http://mirror.xamin.ir">http://mirror.xamin.ir</a> jessie/main Translation-en</font></div><div><font size="1" face="monospace, monospace">Ign <a href="http://kilo-jessie.pkgs.mirantis.com">http://kilo-jessie.pkgs.mirantis.com</a> jessie-kilo-backports-nochange InRelease</font></div><div><font size="1" face="monospace, monospace">Ign <a href="http://kilo-jessie.pkgs.mirantis.com">http://kilo-jessie.pkgs.mirantis.com</a> jessie-kilo-backports InRelease</font></div><div><font size="1" face="monospace, monospace">Get:1 <a href="http://kilo-jessie.pkgs.mirantis.com">http://kilo-jessie.pkgs.mirantis.com</a> jessie-kilo-backports-nochange Release.gpg [819 B]</font></div><div><font size="1" face="monospace, monospace">Get:2 <a href="http://kilo-jessie.pkgs.mirantis.com">http://kilo-jessie.pkgs.mirantis.com</a> jessie-kilo-backports Release.gpg [819 B]</font></div><div><font size="1" face="monospace, monospace">Get:3 <a href="http://kilo-jessie.pkgs.mirantis.com">http://kilo-jessie.pkgs.mirantis.com</a> jessie-kilo-backports-nochange Release [2784 B]</font></div></div><div><div><font size="1" face="monospace, monospace">Ign <a href="http://kilo-jessie.pkgs.mirantis.com">http://kilo-jessie.pkgs.mirantis.com</a> jessie-kilo-backports-nochange Release</font></div><div><font size="1" face="monospace, monospace">Get:4 <a href="http://kilo-jessie.pkgs.mirantis.com">http://kilo-jessie.pkgs.mirantis.com</a> jessie-kilo-backports Release [4135 B]</font></div><div><font size="1" face="monospace, monospace">Ign <a href="http://kilo-jessie.pkgs.mirantis.com">http://kilo-jessie.pkgs.mirantis.com</a> jessie-kilo-backports Release</font></div><div><font size="1" face="monospace, monospace">Get:5 <a href="http://kilo-jessie.pkgs.mirantis.com">http://kilo-jessie.pkgs.mirantis.com</a> jessie-kilo-backports-nochange/main amd64 Packages [7823 B]</font></div><div><font size="1" face="monospace, monospace">Get:6 <a href="http://kilo-jessie.pkgs.mirantis.com">http://kilo-jessie.pkgs.mirantis.com</a> jessie-kilo-backports/main amd64 Packages [111 kB]</font></div><div><font size="1" face="monospace, monospace">Ign <a href="http://kilo-jessie.pkgs.mirantis.com">http://kilo-jessie.pkgs.mirantis.com</a> jessie-kilo-backports-nochange/main Translation-en</font></div><div><font size="1" face="monospace, monospace">Ign <a href="http://kilo-jessie.pkgs.mirantis.com">http://kilo-jessie.pkgs.mirantis.com</a> jessie-kilo-backports/main Translation-en</font></div><div><font size="1" face="monospace, monospace">Fetched 127 kB in 8s (14.7 kB/s) </font></div><div><font size="1" face="monospace, monospace">Reading package lists... Done</font></div><div><font size="1" face="monospace, monospace">W: GPG error: <a href="http://kilo-jessie.pkgs.mirantis.com">http://kilo-jessie.pkgs.mirantis.com</a> jessie-kilo-backports-nochange Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 158D1261FE70FDD8</font></div><div><font size="1" face="monospace, monospace" color="#0000ff">W: GPG error: <a href="http://kilo-jessie.pkgs.mirantis.com">http://kilo-jessie.pkgs.mirantis.com</a> jessie-kilo-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 158D1261FE70FDD8</font></div><div><font size="1" face="monospace, monospace">jessie-amd64: Performing dist-upgrade.</font></div><div><font size="1" face="monospace, monospace">Reading package lists... Done</font></div><div><font size="1" face="monospace, monospace">Building dependency tree</font></div><div><font size="1" face="monospace, monospace">Reading state information... Done</font></div><div><font size="1" face="monospace, monospace">Calculating upgrade... Done</font></div><div><font size="1" face="monospace, monospace">The following NEW packages will be installed:</font></div><div><font size="1" face="monospace, monospace">  python-enum34</font></div><div><font size="1" face="monospace, monospace">The following packages will be upgraded:</font></div><div><font size="1" face="monospace, monospace">  kilo-jessie-archive-keyring python-cryptography python-six</font></div><div><font size="1" face="monospace, monospace">3 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.</font></div><div><font size="1" face="monospace, monospace">Need to get 222 kB of archives.  </font></div><div><font size="1" face="monospace, monospace">After this operation, 359 kB of additional disk space will be used.</font></div><div><font size="1" face="monospace, monospace">WARNING: The following packages cannot be authenticated!</font></div><div><font size="1" face="monospace, monospace">  python-six python-cryptography kilo-jessie-archive-keyring</font></div><div><font size="1" face="monospace, monospace">E: There are problems and -y was used without --force-yes</font></div><div><font size="1" face="monospace, monospace">Exiting from distupgrade with status 100.</font></div><div><font size="1" face="monospace, monospace">mali@buildEnv:/home/mali/manila$</font></div></div><div><br></div><div>I know I have not installed mirantis key on the system. I dont know if this problem is related to that or not. I will installed and test it again, and will inform you about its results. </div><div><br></div><div>building with "override_dh_auto_test" part of rule file, i faced an error :</div><div><br></div><div><div><font size="1" face="monospace, monospace">FAIL: unittest.loader.ModuleImportFailure.manila.tests.network.neutron.test_neutron_plugin</font></div><div><font size="1" face="monospace, monospace">----------------------------------------------------------------------</font></div><div><font size="1" face="monospace, monospace">Traceback (most recent call last):</font></div><div><font size="1" face="monospace, monospace">_StringException: Traceback (most recent call last):</font></div><div><font size="1" face="monospace, monospace">ImportError: Failed to import test module: manila.tests.network.neutron.test_neutron_plugin</font></div></div><div><div><font size="1" face="monospace, monospace"><br></font></div><div><div><font size="1" face="monospace, monospace">FAIL: unittest.loader.ModuleImportFailure.manila.tests.share.drivers.netapp.dataontap.client.test_client_cmode</font></div><div><font size="1" face="monospace, monospace">----------------------------------------------------------------------</font></div><div><font size="1" face="monospace, monospace">Traceback (most recent call last):</font></div><div><font size="1" face="monospace, monospace">_StringException: Traceback (most recent call last):</font></div><div><font size="1" face="monospace, monospace">ImportError: Failed to import test module: manila.tests.share.drivers.netapp.dataontap.client.test_client_cmode</font></div></div><div><font size="1" face="monospace, monospace"><br></font></div><div><font size="1" face="monospace, monospace">FAIL: unittest.loader.ModuleImportFailure.manila.tests.share.drivers.netapp.dataontap.cluster_mode.test_lib_multi_svm</font></div><div><font size="1" face="monospace, monospace">----------------------------------------------------------------------</font></div><div><font size="1" face="monospace, monospace">Traceback (most recent call last):</font></div><div><font size="1" face="monospace, monospace">_StringException: Traceback (most recent call last):</font></div><div><font size="1" face="monospace, monospace">ImportError: Failed to import test module: manila.tests.share.drivers.netapp.dataontap.cluster_mode.test_lib_multi_svm</font></div></div><div><br></div><div><br></div><div>I will send its verbose version later on.</div><div><br></div><div>Warmest  regards,</div><div>Mali </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Just let me know what might happen for the single parts.<br>
<div class=""><div class="h5"><br>
Kind regards<br>
<br>
     Andreas.<br>
<br>
--<br>
<a href="http://fam-tille.de" target="_blank">http://fam-tille.de</a><br>
<br>
_______________________________________________<br>
Openstack-devel mailing list<br>
<a href="mailto:Openstack-devel@lists.alioth.debian.org">Openstack-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/openstack-devel" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/openstack-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">------------<br><div><span style="color:rgb(51,51,51);font-family:Verdana,sans-serif;font-size:12.7272720336914px;line-height:18px">you can't start the next chapter if you keep re-reading the last one</span><br></div><div><span style="color:rgb(51,51,51);font-family:Verdana,sans-serif;font-size:12.7272720336914px;line-height:18px"><br></span></div><div>mali</div></div></div></div></div>
</div></div>