Hi:

         Based on ceph13.2.0 binary package, now i am re-building python-cephclient.

 

         At building python-cephclient process, lack some packages. The most packages can be resolved by manually adding new packages.

But for py_bcrypt, I can’t resolve package confilect between python2-bcrypt and py-bcrypt.

 

== More details process ==

 

         Based on ceph13.2.0 binary packages, “build-pkgs python-cephclient” will show some error. The most can be manually resolved, but one error is as following:

 

                  Error: Package: 2:ceph-mgr-13.2.0-0.el7.centos.x86_64 (1270018088_localdisk_loadbuild_dehao_starlingx_std_results_dehaostarlingxtisr5pikestd_)

01:51:09            Requires: py-bcrypt

01:51:09  You could try using --skip-broken to work around the problem

01:51:09  You could try running: rpm -Va --nofiles --nodigest

 

         check ceph-mgr-13.2.0-0.el7.centos.x86_64.rpm, and verify this deps.

 

                  [dehao@9f9456a3d92b RPMS]$ rpm -qp --requires ceph-mgr-13.2.0-0.el7.centos.x86_64.rpm | grep py_bcrypt.

                  py_bcrypt

 

         so, when I manually download and add this packages, can successfully build python-cephclient.

         Next step, when run “build-iso”, the conflict between py-bcrypt with python-bcrypt will occur as the below:

 

02:38:55

02:38:57 Warning: Infinite loop detected in dependency resolution.  See /localdisk/loadbuild/dehao/starlingx/export/deps.txt for details -- exiting

02:38:57 These RPMS had problems (likely version conflicts)

02:38:57        py-bcrypt conflicts with python2-bcrypt-3.1.2-3.el7.x86_64

02:38:57 Could not install dependencies

 

         I look up some materials, and find this is a bug, namely it’s not possible to simultaneously install python-bcrybt and py-bcrybt packages dependent.

         Conflict bug:  https://bugzilla.redhat.com/show_bug.cgi?id=1473018

 

         I also check my building environments, and verify that these two packages simultaneously exist.

[root_cluster4: x86_64]# rpm -qp --provides python2-bcrypt-3.1.2-3.el7.x86_64.rpm  < ----------------------- other project need this package.

python-bcrypt = 3.1.2-3.el7

python2-bcrypt = 3.1.2-3.el7

python2-bcrypt(x86-64) = 3.1.2-3.el7

[root_cluster4: x86_64]# rpm -qp --provides py-bcrypt-0.4-4.el7.x86_64.rpm      < --------------------------- the ceph-mgr package of ceph 13.2.0 require this packages

py-bcrypt = 0.4-4.el7

py-bcrypt(x86-64) = 0.4-4.el7

 

        

         can anyone tell me how I can solve this problem.

 

 

Thanks

Dehao