Skip to contentSkip to conversation

Fix moving libtcl8.5.so into tcl-lib.

GIT PULL Applied Lu Jingdong 4 participants 6 messages Nov 8, 2010 – Nov 14, 2010

lore
Share & tools
lore
#1 lore raw
Quoted 11 lines · Lu Jingdong

Note:<commit_id> parameter assumed as 'HEAD'

   meta/recipes-devtools/tcltk/tcl_8.5.8.bb                 |    4
   1 files changed, 2 insertions(+), 2 deletions(-)

Jingdong Lu (1):
Fix moving libtcl8.5.so into tcl-lib.

Pull URL:
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jingdonglu/distro

Jingdong:

Can you give some additional rational as to why this change is needed, other recipes use the "so.*" format vs the "so*".

Thanks
Sau!

#2 lore raw

Saul:

tcl provides only one library named "libtcl8.5.so" and it hasn't
libraries named like "libtcl8.5.so.*". So when we use "so.*" in FILES_ ${PN}-lib = "${libdir}/libtcl8.5.so.*", we can't include "libtcl8.5.so" into "tcl-lib" package and we can't get the package "tcl-lib" because it is a empty package.

It doesn't like other libraries. For example, libxcb provides
"libxcb-glx.so.0.0.0", "libxcb-glx.so.0" and "libxcb-glx.so". Among of them, "libxcb-glx.so.0" and "libxcb-glx.so" are symbol links of "libxcb-glx.so.0.0.0", so we can use the "so.*" and it includes the following two files("libxcb-glx.so.0.0.0" and "libxcb-glx.so.0"). The file "libxcb-glx.so" is in the "libxcb-dev" package. I am not sure whether "libxcb-glx.so" should in the "libxcb-dev".

Quoted 23 lines · Saul Wold
Quoted 11 lines · Lu Jingdong

Note:<commit_id> parameter assumed as 'HEAD'

   meta/recipes-devtools/tcltk/tcl_8.5.8.bb                 |    4
   1 files changed, 2 insertions(+), 2 deletions(-)

Jingdong Lu (1):
Fix moving libtcl8.5.so into tcl-lib.

Pull URL:
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jingdonglu/distro

Jingdong:

Can you give some additional rational as to why this change is needed, other recipes use the "so.*" format vs the "so*".

Thanks
Sau!
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky

Signature · 3 lines
Lu Jingdong
[email protected]
China, Wind River
#3 lore raw
Quoted 8 lines · Lu Jingdong

Saul:

tcl provides only one library named "libtcl8.5.so" and it hasn't
libraries named like "libtcl8.5.so.*". So when we use "so.*" in FILES_ ${PN}-lib = "${libdir}/libtcl8.5.so.*", we can't include "libtcl8.5.so" into "tcl-lib" package and we can't get the package "tcl-lib" because it is a empty package.

Quoted 7 lines

It doesn't like other libraries. For example, libxcb provides
"libxcb-glx.so.0.0.0", "libxcb-glx.so.0" and "libxcb-glx.so". Among of them, "libxcb-glx.so.0" and "libxcb-glx.so" are symbol links of "libxcb-glx.so.0.0.0", so we can use the "so.*" and it includes the following two files("libxcb-glx.so.0.0.0" and "libxcb-glx.so.0"). The file "libxcb-glx.so" is in the "libxcb-dev" package. I am not sure whether "libxcb-glx.so" should in the "libxcb-dev".

This is likely a check we may want to add to our QA suite. The rule for which symlinks must be in the run-time package vs a development package is:

Run-time:
The actual dynamic library file (duh)
Symlinks to the dynamic library file with the filename of an SONAME specified by the library file

Development:
Any "other" symlinks to the dynamic library NOT referenced by an SONAME Any static library files
Any symlinks to static library files
Any (related) .la files
Any (related) .pc files
Any (related) headers

It should be fairly simple to validate the run-time, and lack of development components in the run-time package.

Does anyone know if this validation is already part of the sanity checking, or would this be an enhancement?

--Mark

Quoted 25 lines · Saul Wold
Quoted 23 lines · Lu Jingdong
Quoted 11 lines

Note:<commit_id> parameter assumed as 'HEAD'

    meta/recipes-devtools/tcltk/tcl_8.5.8.bb                 |    4
    1 files changed, 2 insertions(+), 2 deletions(-)

Jingdong Lu (1):
Fix moving libtcl8.5.so into tcl-lib.

Pull URL:
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jingdonglu/distro

Jingdong:

Can you give some additional rational as to why this change is needed, other recipes use the "so.*" format vs the "so*".

Thanks
Sau!
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky

#4 lore raw
Quoted 36 lines · Mark Hatle
Quoted 8 lines · Lu Jingdong

Saul:

tcl provides only one library named "libtcl8.5.so" and it hasn't
libraries named like "libtcl8.5.so.*". So when we use "so.*" in FILES_ ${PN}-lib = "${libdir}/libtcl8.5.so.*", we can't include "libtcl8.5.so" into "tcl-lib" package and we can't get the package "tcl-lib" because it is a empty package.

Quoted 7 lines

It doesn't like other libraries. For example, libxcb provides
"libxcb-glx.so.0.0.0", "libxcb-glx.so.0" and "libxcb-glx.so". Among of them, "libxcb-glx.so.0" and "libxcb-glx.so" are symbol links of "libxcb-glx.so.0.0.0", so we can use the "so.*" and it includes the following two files("libxcb-glx.so.0.0.0" and "libxcb-glx.so.0"). The file "libxcb-glx.so" is in the "libxcb-dev" package. I am not sure whether "libxcb-glx.so" should in the "libxcb-dev".

This is likely a check we may want to add to our QA suite. The rule for which symlinks must be in the run-time package vs a development package is:

Run-time:
The actual dynamic library file (duh)
Symlinks to the dynamic library file with the filename of an SONAME specified by the library file

Development:
Any "other" symlinks to the dynamic library NOT referenced by an SONAME Any static library files
Any symlinks to static library files
Any (related) .la files
Any (related) .pc files
Any (related) headers

Quoted 6 lines

It should be fairly simple to validate the run-time, and lack of development components in the run-time package.

Does anyone know if this validation is already part of the sanity checking, or would this be an enhancement?

I think its all already part of the sanity checks...

Cheers,

Richard