Hi Dehao,

Please have a try with “build-pkgs” after “ln –sf xxxx yyyy”.

The reason is the build system will search the package from the repodata, and “build-pkgs” will add the new package to the repodata.

 

Best Regards

Shuicheng

 

From: Shang, Dehao [mailto:dehao.shang@intel.com]
Sent: Sunday, September 9, 2018 9:13 PM
To: starlingx-discuss@lists.starlingx.io
Subject: [Starlingx-discuss] building ceph 13.2.0

 

 

Hi:

         I re-setup new building environment, and can successfully build starlingx image.

         Based on this new environments, I directly use ceph 13.2.0 to replace ceph 10.2.0, build-pkgs ceph, then directly run “build-pkgs ceph ”.

 

Build-std.log show the following error:

 

02:01:23 Error: No Package found for CUnit-devel

02:01:23 Error: No Package found for devtoolset-7-gcc-c++

02:01:23 Error: No Package found for jq

02:01:23 Error: No Package found for libbabeltrace-devel

02:01:23 Error: No Package found for liboath-devel

02:01:23 Error: No Package found for lttng-ust-devel

02:01:23 Error: No Package found for lz4-devel >= 1.7

02:01:23 Error: No Package found for python34-Cython

02:01:23 Error: No Package found for python34-devel

02:01:23 Error: No Package found for python34-setuptools

02:01:23 Error: No Package found for sharutils

 

So, when i check ceph.spec file of 13.2.0, find some new BuildRequests, for example:

 

BuildRequires:  CUnit-devel

BuildRequires:  devtoolset-7-gcc-c++

……

……

……

 

 

         My methods is as following:

         Step 1 : wget get corresponding rpm, then put it into mirror’s corresponding folder.

         Step 2: create package link, namely : ln –sf xxxx yyyy

        

Then, when i run build-pkgs ceph again, found that one deps CUnit-devel is resolved, but other package still can’t be found.

 

Build-std.log is as following:

02:01:23 Error: No Package found for devtoolset-7-gcc-c++

02:01:23 Error: No Package found for jq

02:01:23 Error: No Package found for libbabeltrace-devel

02:01:23 Error: No Package found for liboath-devel

02:01:23 Error: No Package found for lttng-ust-devel

02:01:23 Error: No Package found for lz4-devel >= 1.7

02:01:23 Error: No Package found for python34-Cython

02:01:23 Error: No Package found for python34-devel

02:01:23 Error: No Package found for python34-setuptools

02:01:23 Error: No Package found for sharutils

 

 

 

         So, I want to ask whether this method is correct ?  Based on this method, why one package can be resolved and other package can’t be found ?

 

 

Thanks

Dehao