Skip to contentSkip to conversation

clear up build warnings

PATCH Applied Kevin Strasser 2 participants 6 messages Sep 28, 2012

lore
Share & tools
lore
#0 lore raw

cover clear up build warnings

This patch set clears up some of the warnings that are generated when building baryon against the tip of the 1.3_M3 branch of poky.

The following changes since commit 500a124831e292d76d864a3c64a57a5007c4553a:

kernel: enable nfsd when using the 3.4 kernel (2012-09-13 10:43:26 -0700)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib strassek/baryon-warnings
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=strassek/baryon-warnings

Kevin Strasser (4):
proftpd: remove unused directories after install
samba: remove unused directories after install
orc: specify the generic licenses being used
talloc: specify the version of LGPL and include the license text

 recipes-connectivity/samba/samba.inc       |    2 ++
 recipes-extended/proftpd/proftpd_1.3.4b.bb |    1 +
 recipes-multimedia/orc/orc.inc             |    2 +-
 recipes-multimedia/orc/orc_0.4.5.bb        |    2 +-
 recipes-support/talloc/talloc_2.0.1.bb     |    6 +++---
 5 files changed, 8 insertions(+), 5 deletions(-)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/4 proftpd: remove unused directories after install

Some of the directories that are created during installation are left empty and not shipped in the image.

Removing them clears up the following QA warning:

"WARNING: QA Issue: proftpd: Files/directories were installed but not shipped
/usr/libexec
/usr/lib/proftpd
/usr/share/locale"

---
 recipes-extended/proftpd/proftpd_1.3.4b.bb |    1 +
 1 file changed, 1 insertion(+)
recipes-extended/proftpd/proftpd_1.3.4b.bb +1 -0
index b7e201b..45e73d9 100644
@@ -35,6 +35,7 @@ do_configure () {
 
 do_install () {
     oe_runmake DESTDIR=${D} install
+    rmdir ${D}${libexecdir} ${D}${libdir}/proftpd ${D}${datadir}/locale
 }
 
 pkg_postinst () {
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 2/4 samba: remove unused directories after install

Some of the directories that are created during installation are left empty and not shipped in the image.

Removing them clears up the following QA warning:

"WARNING: QA Issue: samba: Files/directories were installed but not shipped
/usr/lib/idmap
/usr/lib/nss_info
/usr/lib/perfcount
/usr/lib/pdb
/usr/lib/rpc
/usr/lib/gpext"

---
 recipes-connectivity/samba/samba.inc |    2 ++
 1 file changed, 2 insertions(+)
recipes-connectivity/samba/samba.inc +2 -0
index 4e4f23c..8090656 100644
@@ -70,6 +70,8 @@ do_install_append() {
 	mkdir -p ${D}${base_sbindir}
 	rm -f ${D}${bindir}/*.old
 	rm -f ${D}${sbindir}/*.old
+	rmdir ${D}${libdir}/idmap ${D}${libdir}/nss_info ${D}${libdir}/perfcount
+	rmdir ${D}${libdir}/pdb ${D}${libdir}/rpc ${D}${libdir}/gpext
 	[ -f ${D}${sbindir}/mount.cifs ] && mv ${D}${sbindir}/mount.cifs ${D}${base_sbindir}/
 	[ -f ${D}${sbindir}/umount.cifs ] && mv ${D}${sbindir}/umount.cifs ${D}${base_sbindir}/
 
Signature · 1 line
1.7.9.5
#3 lore raw

PATCH 3/4 orc: specify the generic licenses being used

In reply to Kevin Strasser

With the exception of source that contains the Mersenne Twister algorithm, the majority of orc source code is made available under the BSD 2-Clause license. The source that contains the Mersenne Twister algorithm is made available under the BSD 3-Clause license.

This change fixes the following warning:

"WARNING: orc: No generic license file exists for: orc in any provider"

---
 recipes-multimedia/orc/orc.inc      |    2 +-
 recipes-multimedia/orc/orc_0.4.5.bb |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
recipes-multimedia/orc/orc.inc +1 -1
index e149a9b..971be62 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "orc - The Oil Runtime Compiler"
 HOMEPAGE = "http://code.entropywave.com/projects/orc/"
-LICENSE = "orc"
+LICENSE = "BSD-2-Clause & BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1400bd9d09e8af56b9ec982b3d85797e"
 
 SRC_URI = "http://code.entropywave.com/download/orc/orc-${PV}.tar.gz;name=orc"
recipes-multimedia/orc/orc_0.4.5.bb +1 -1
index 271e55e..cf77efb 100644
@@ -1,6 +1,6 @@
 require orc.inc
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI[orc.md5sum] = "e26e59428b13ec251916f34bea96eee5"
 SRC_URI[orc.sha256sum] = "4e04953643cd8e67f8d9796da9547a606954e3944e42e7ce5a099440fd8e729e"
Signature · 1 line
1.7.9.5
#4 lore raw

PATCH 4/4 talloc: specify the version of LGPL and include the license text

In reply to Kevin Strasser

talloc is made available under version 3 (or later) of the LGPL.

This change fixes the following warning:

"WARNING: talloc: No generic license file exists for: LGPL in any provider"

---
 recipes-support/talloc/talloc_2.0.1.bb |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-support/talloc/talloc_2.0.1.bb +3 -3
index a69bd40..5a3eba2 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "Hierarchical, reference counted memory pool system with destructors"
 HOMEPAGE = "http://talloc.samba.org"
-LICENSE = "LGPL"
-LIC_FILES_CHKSUM = "file://NEWS;md5=5fe776b23a711c9153ee94bc87e47334"
+LICENSE = "LGPL-3.0+"
+LIC_FILES_CHKSUM = "file://talloc.h;beginline=4;endline=25;md5=e437634499a4434b4a24518195ff357d"
 
 inherit autotools pkgconfig
 
@@ -11,7 +11,7 @@ SRC_URI[sha256sum] = "5b810527405f29d54f50efd78bf2c89e318f2cd8bed001f22f2a1412fd
 
 TARGET_CC_ARCH += "${LDFLAGS}"
 
-PR = "r1"
+PR = "r2"
 
 # autoreconf doesn't work well while reconfiguring included libreplace
 do_configure () {
Signature · 1 line
1.7.9.5
#5 lore raw
In reply to Kevin Strasser
Quoted 20 lines · On Thursday 27 September 2012 17:30:48 Kevin Strasser wrote:

This patch set clears up some of the warnings that are generated when building baryon against the tip of the 1.3_M3 branch of poky.

The following changes since commit 500a124831e292d76d864a3c64a57a5007c4553a:

kernel: enable nfsd when using the 3.4 kernel (2012-09-13 10:43:26 -0700)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib strassek/baryon-warnings

http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=strassek/baryon-wa
rnings

Kevin Strasser (4):
proftpd: remove unused directories after install
samba: remove unused directories after install
orc: specify the generic licenses being used
talloc: specify the version of LGPL and include the license text

Quoted 6 lines
 recipes-connectivity/samba/samba.inc       |    2 ++
 recipes-extended/proftpd/proftpd_1.3.4b.bb |    1 +
 recipes-multimedia/orc/orc.inc             |    2 +-
 recipes-multimedia/orc/orc_0.4.5.bb        |    2 +-
 recipes-support/talloc/talloc_2.0.1.bb     |    6 +++---
 5 files changed, 8 insertions(+), 5 deletions(-)

Merged to meta-baryon master, thanks.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre