<div dir="ltr"><div><div><div><div><div><div>Hello,<br><br></div>I have a packaging problem with the new share lib recipe I try to make. When I bitbake the recipe I get the correct package split :<br><br># tree<br>.<br>|-- libtime64<br>|  `-- usr<br>|      `-- lib<br>|          |-- libtime64.so.1 -> /home/ ... /libtime64/1.0.1-r0/image/usr/lib/libtime64.so.1.0.1<br>|          `-- libtime64.so.1.0.1<br>|-- libtime64-dbg<br>|  `-- usr<br>|      |-- lib<br>|      `-- src<br>|          `-- debug<br>|              `-- libtime64<br>|                  `-- 1.0.1-r0<br>|                      `-- libtime64-1.0.1<br>|                          |-- inc<br>|                          |  `-- time64.h<br>|                          `-- src<br>|                              `-- time64.c<br>|-- libtime64-dev<br>|  `-- usr<br>|      |-- include<br>|      |  |-- axt_2038.h<br>|      |  `-- time64.h<br>|      `-- lib<br>|          `-- libtime64.so -> /home/ ... /libtime64/1.0.1-r0/image/usr/lib/libtime64.so.1<br>|-- libtime64-doc<br>|-- libtime64-locale<br>|-- libtime64-staticdev<br>`-- libtime64.shlibdeps<br><br><br></div>I include "libtime64" in IMAGE_INSTALL but only the main package and the dbg package are produced and the main package contain the content of the dev package.<br>- libtime64-1-1.0.1-r0.cortexa9hf_vfp_neon.rpm<br>- libtime64-dbg-1.0.1-r0.cortexa9hf_vfp_neon.rpm<br><br></div>I found an error in the spec file for the dev package, the %package and %description <span id="result_box" class="" lang="en"><span>are</span> <span class="">misnamed</span><span class="">.</span></span> Below an extract of the spec file:<br><br>******************************************<br>%package -n libtime64-1<br>Summary: Time64 library (support 2038 patch) - Development files<br>Group: devel<br>Requires: libtime64-1 = 1.0.1-r0<br>Suggests: libc6-dev<br>Provides: libtime64-dev<br><br>%description -n libtime64-1<br>Time64 library (support 2038 patch). This package contains symbolic links,<br>header files, and related items necessary for software development.<br><br>...<br><br>%files -n libtime64-1<br>%defattr(-,-,-,-)<br>%dir "/usr"<br>%dir "/usr/lib"<br>%dir "/usr/include"<br>"/usr/lib/libtime64.so"<br>"/usr/include/axt_2038.h"<br>"/usr/include/time64.h"<br><br>%files -n libtime64-1<br>%defattr(-,-,-,-)<br>%dir "/usr"<br>%dir "/usr/lib"<br>"/usr/lib/libtime64.so.1.0.1"<br>"/usr/lib/libtime64.so.1"<br><br>******************************************<br><br></div><div>I use Yocto Dizzy on a ubuntu 14.04.<br><br></div>Someone already see this problem ? Any idea to solve it ?<br><br></div>thanks<br></div>Jonathan Poulin<br></div>