Skip to contentSkip to conversation

Warning Fixes

PATCH New Saul Wold 1 participant 12 messages Mar 15, 2012

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

cover Warning Fixes

This addesses more warnings.

I did a check with buildhistory, before and after the bitbake.conf change and did not see any negative issues.

We can discuss this further and I can send you logs if needed

Sau!

The following changes since commit d4f1ef6b8297826230a68e535098709d07de1f48:

qt4: package static libraries correctly to fix warnings (2012-03-15 13:33:37 +0000)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib sgw/warns
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/warns

Saul Wold (11):
bitbake.conf: Modify PACKAGE list ordering to insert -staticdev file
before PN
dtc: Fix License warning
eee-acpi-scripts: Fix License warning
usbinit: Fix License warning
wget: Fix License warning
watchdog: Fix License warning
libnewt: fix license warnings
glib-networking: Fix packaging warnings
texi2html: fix packages warning
telepathy-glib: remove package warnings
gtk-theme-torturer: Fix license warning

 meta/conf/bitbake.conf                             |    4 ++--
 .../eee-acpi-scripts/eee-acpi-scripts_git.bb       |    2 +-
 meta/recipes-bsp/usbinit/usbinit.bb                |    2 +-
 .../telepathy/telepathy-glib_0.17.4.bb             |    7 ++++++-
 .../glib-networking/glib-networking_2.28.7.bb      |    6 ++++--
 meta/recipes-extended/newt/libnewt_0.52.14.bb      |    2 +-
 meta/recipes-extended/texi2html/texi2html_5.0.bb   |    4 +++-
 meta/recipes-extended/watchdog/watchdog_5.11.bb    |    2 +-
 meta/recipes-extended/wget/wget.inc                |    2 +-
 .../gtk-theme-torturer/gtk-theme-torturer_git.bb   |    2 +-
 meta/recipes-kernel/dtc/dtc.inc                    |    2 +-
 11 files changed, 22 insertions(+), 13 deletions(-)
Signature · 1 line
1.7.7.6
author
#1 lore raw

PATCH 1/11 bitbake.conf: Modify PACKAGE list ordering to insert -staticdev file before PN

---
 meta/conf/bitbake.conf |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/conf/bitbake.conf +2 -2
index 216da75..d4357d1 100644
@@ -253,7 +253,7 @@ SOLIBSDEV_darwin = ".dylib"
 SOLIBSDEV_darwin8 = ".dylib"
 SOLIBSDEV_darwin9 = ".dylib"
 
-PACKAGES = "${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-staticdev ${PN}-locale"
+PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN} ${PN}-doc ${PN}-dev ${PN}-locale"
 PACKAGES_DYNAMIC = "${PN}-locale-*"
 FILES = ""
 
@@ -277,7 +277,7 @@ SECTION_${PN}-dev = "devel"
 ALLOW_EMPTY_${PN}-dev = "1"
 RDEPENDS_${PN}-dev = "${PN} (= ${EXTENDPKGV})"
 
-FILES_${PN}-staticdev = "${libdir}/*.a ${base_libdir}/*.a"
+FILES_${PN}-staticdev = "${libdir}/*.a ${base_libdir}/*.a ${libdir}/${BPN}/*.a"
 SECTION_${PN}-staticdev = "devel"
 RDEPENDS_${PN}-staticdev = "${PN}-dev (= ${EXTENDPKGV})"
 
Signature · 1 line
1.7.7.6
author
#2 lore raw

PATCH 2/11 dtc: Fix License warning

In reply to Saul Wold

WARNING: dtc: No generic license file exists for: GPL2 in any provider

---
 meta/recipes-kernel/dtc/dtc.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-kernel/dtc/dtc.inc +1 -1
index 9b4b768..fab91dc 100644
@@ -1,7 +1,7 @@
 SUMMARY = "Device Tree Compiler"
 DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels."
 SECTION = "bootloader"
-LICENSE = "GPL2 | BSD"
+LICENSE = "GPLv2 | BSD"
 DEPENDS = "flex-native bison-native"
 
 inherit autotools
Signature · 1 line
1.7.7.6
author
#3 lore raw

PATCH 3/11 eee-acpi-scripts: Fix License warning

In reply to Saul Wold

WARNING: eee-acpi-scripts: No generic license file exists for: GPL in any provider

---
 .../eee-acpi-scripts/eee-acpi-scripts_git.bb       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb +1 -1
index 244cd94..1ded416 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "eeePC specific ACPI scripts"
 HOMEPAGE = "http://alioth.debian.org/projects/debian-eeepc/"
 SECTION = "base"
 
-LICENSE="GPL"
+LICENSE="GPLv2"
 LIC_FILES_CHKSUM = "file://debian/copyright;md5=77ef83ab5f4af938a93edb61f7b74f2c"
 
 SRCREV = "9d4cdedca25b396405f8587f9c4fbf8229e041c2"
Signature · 1 line
1.7.7.6
author
#4 lore raw

PATCH 4/11 usbinit: Fix License warning

In reply to Saul Wold

WARNING: usbinit: No generic license file exists for: GPL in any provider

---
 meta/recipes-bsp/usbinit/usbinit.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-bsp/usbinit/usbinit.bb +1 -1
index 3ec2329..e2a036e 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "Initscript to manage gadget Ethernet"
 
-LICENSE = "GPL"
+LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
 
 PR = "r2"
Signature · 1 line
1.7.7.6
author
#5 lore raw

PATCH 5/11 wget: Fix License warning

In reply to Saul Wold

WARNING: wget: No generic license file exists for: GPL in any provider

---
 meta/recipes-extended/wget/wget.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-extended/wget/wget.inc +1 -1
index 25f36c8..02ea2b8 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "A console URL download utility featuring HTTP, FTP, and more."
 SECTION = "console/network"
-LICENSE = "GPL"
+LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 DEPENDS = "openssl"
 
Signature · 1 line
1.7.7.6
author
#6 lore raw

PATCH 6/11 watchdog: Fix License warning

In reply to Saul Wold

WARNING: watchdog: No generic license file exists for: GPL in any provider

---
 meta/recipes-extended/watchdog/watchdog_5.11.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-extended/watchdog/watchdog_5.11.bb +1 -1
index 0b88c1f..3c4f77b 100644
@@ -5,7 +5,7 @@ it will reboot the system."
 HOMEPAGE = "http://watchdog.sourceforge.net/"
 BUGTRACKER = "http://sourceforge.net/tracker/?group_id=172030&atid=860194"
 
-LICENSE = "GPLv1+"
+LICENSE = "GPL-1.0+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8a7258c60a71a2f04b67fb01f495889c"
 
 PR = "r0"
Signature · 1 line
1.7.7.6
author
#7 lore raw

PATCH 7/11 libnewt: fix license warnings

In reply to Saul Wold

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

---
 meta/recipes-extended/newt/libnewt_0.52.14.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-extended/newt/libnewt_0.52.14.bb +1 -1
index 5a3cc56..8a89eb7 100644
@@ -11,7 +11,7 @@ slang library."
 HOMEPAGE = "https://fedorahosted.org/newt/"
 SECTION = "libs"
 
-LICENSE = "LGPL"
+LICENSE = "LGPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
 
 # slang needs to be >= 2.2
Signature · 1 line
1.7.7.6
author
#8 lore raw

PATCH 8/11 glib-networking: Fix packaging warnings

In reply to Saul Wold

WARNING: QA Issue: non -staticdev package contains static .a library: glib-networking path '/work/armv5te-poky-linux-gnueabi/glib-networking-2.28.7-r1/packages-split/glib-networking/usr/lib/gio/modules/libgiognutls.a'
WARNING: QA Issue: non -staticdev package contains static .a library: glib-networking path '/work/armv5te-poky-linux-gnueabi/glib-networking-2.28.7-r1/packages-split/glib-networking/usr/lib/gio/modules/libgiolibproxy.a'

---
 .../telepathy/telepathy-glib_0.17.4.bb             |    2 +-
 .../glib-networking/glib-networking_2.28.7.bb      |    6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)
meta/recipes-connectivity/telepathy/telepathy-glib_0.17.4.bb +1 -1
index 64473df..731ab74 100644
@@ -3,7 +3,7 @@ DESCRIPTION = "Telepathy Framework: GLib-based helper library for connection man
 HOMEPAGE = "http://telepathy.freedesktop.org/wiki/"
 DEPENDS = "glib-2.0 dbus python-native-runtime dbus-native dbus-glib"
 LICENSE = "LGPLv2.1+"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${BPN}-${PV}.tar.gz"
 
meta/recipes-core/glib-networking/glib-networking_2.28.7.bb +4 -2
index c8536e8..990fb54 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
 SECTION = "libs"
 DEPENDS = "glib-2.0 gnutls intltool-native"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${GNOME_MIRROR}/${BPN}/2.28/${BPN}-${PV}.tar.bz2"
 
@@ -19,5 +19,7 @@ EXTRA_OECONF = "--without-ca-certificates"
 
 inherit autotools pkgconfig
 
-FILES_${PN} += "${libdir}/gio/modules/libgio* ${datadir}/dbus-1/services/"
+FILES_${PN} += "${libdir}/gio/modules/libgio*.so ${datadir}/dbus-1/services/"
 FILES_${PN}-dbg += "${libdir}/gio/modules/.debug/"
+FILES_${PN}-dev += "${libdir}/gio/modules/libgio*.la"
+FILES_${PN}-staticdev += "${libdir}/gio/modules/libgio*.a"
Signature · 1 line
1.7.7.6
author
#9 lore raw

PATCH 9/11 texi2html: fix packages warning

In reply to Saul Wold

Add documentation to the -docs package

WARNING: For recipe texi2html, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/share/texinfo
WARNING:   /usr/share/texinfo/html
WARNING:   /usr/share/texinfo/init
WARNING:   /usr/share/texinfo/html/texi2html.html
WARNING:   /usr/share/texinfo/init/html32.init
WARNING:   /usr/share/texinfo/init/tex4ht.init
WARNING:   /usr/share/texinfo/init/mediawiki.init
WARNING:   /usr/share/texinfo/init/book.init
WARNING:   /usr/share/texinfo/init/chm.init
---
 meta/recipes-extended/texi2html/texi2html_5.0.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
meta/recipes-extended/texi2html/texi2html_5.0.bb +3 -1
index 02f3fe1..ac83671 100644
@@ -4,7 +4,7 @@ SECTION     = "console/utils"
 LICENSE     = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI     = "http://download.savannah.gnu.org/releases/texi2html/${BPN}-${PV}.tar.bz2 \
                file://fix_gettext_version.patch"
@@ -23,3 +23,5 @@ do_configure_append() {
 	# Clean up the phony po directory
 	rm -rf ${S}/po
 }
+
+FILE_${PN}-doc += "${datadir}/texinfo"
Signature · 1 line
1.7.7.6
author
#10 lore raw

PATCH 10/11 telepathy-glib: remove package warnings

In reply to Saul Wold
WARNING: For recipe telepathy-glib, the following files/directories were installed but not shipped in any package:
WARNING:   /srv
WARNING:   /usr/bin
WARNING:   /usr/libexec
---
 .../telepathy/telepathy-glib_0.17.4.bb             |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
meta/recipes-connectivity/telepathy/telepathy-glib_0.17.4.bb +6 -1
index 731ab74..4ded4e5 100644
@@ -3,7 +3,7 @@ DESCRIPTION = "Telepathy Framework: GLib-based helper library for connection man
 HOMEPAGE = "http://telepathy.freedesktop.org/wiki/"
 DEPENDS = "glib-2.0 dbus python-native-runtime dbus-native dbus-glib"
 LICENSE = "LGPLv2.1+"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${BPN}-${PV}.tar.gz"
 
@@ -17,3 +17,8 @@ inherit autotools pkgconfig gettext
 FILES_${PN} += "${datadir}/telepathy \
                 ${datadir}/dbus-1"
 
+do_install_append() {
+	rmdir ${D}${bindir}
+	rmdir ${D}${libexecdir}
+	rmdir ${D}${serivcedir}
+}
Signature · 1 line
1.7.7.6
author
#11 lore raw

PATCH 11/11 gtk-theme-torturer: Fix license warning

In reply to Saul Wold

WARNING: gtk-theme-torturer: No generic license file exists for: GPL in any provider

Talk with author of code and confirmed licnese, they will be adding COPYING upstream

---
 .../gtk-theme-torturer/gtk-theme-torturer_git.bb   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-gnome/gtk-theme-torturer/gtk-theme-torturer_git.bb +1 -1
index 0643cb6..f5a398a 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "Gtk+ Theme Benchmark Program"
 DEPENDS = "gtk+"
 HOMEPAGE = "http://wiki.laptop.org/go/GTK_for_OLPC"
 SECTION = "devel"
-LICENSE = "GPL"
+LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://appwindow.c;endline=13;md5=8c09920de460c7ea1f64ee56986aabd9"
 
 SRCREV = "99962ae39bb5aadb31929b25c58e1a053f9c9545"
Signature · 1 line
1.7.7.6