Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/6] mysql5: prevent using bundled zlib at all costs
@ 2013-07-08  8:41 Martin Jansa
  2013-07-08  8:41 ` [meta-oe][PATCH 2/6] gypsy: add dependency on libxslt-native Martin Jansa
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Martin Jansa @ 2013-07-08  8:41 UTC (permalink / raw)
  To: openembedded-devel

* in some seldom cases mysql's m4 macro decides that system
  zlib (from DEPENDS) is not worthy and decides to use own
  bundled version which prefers stuff like static libz.a and
  stages libz.la again:
  mysql-5.1.40/config/ac-macros/zlib.m4
  NOTE: recipe mysql5-5.1.40-r11: task do_package_setscene: Started
  NOTE: recipe zlib-1.2.7-r0: task do_packagedata_setscene: Succeeded
  WARNING: The recipe zlib is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
  sysroots/om-gta04/usr/lib/libz.a
  Matched in manifest-om-gta04-mysql5
  Please verify which package should provide the above files.
  NOTE: recipe zlib-1.2.7-r0: task do_populate_sysroot_setscene: Succeeded

* this libz.la + libz.a is breaking many packages which are now trying to
  link shared libs against libz.a from mysql which was built without fPIC
  breaking libxml2, glib-2.0, gnutls, libpng, ...
  | ld: sysroots/om-gta04/usr/lib/libz.a(crc32.o): relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
  | sysroots/om-gta04/usr/lib/libz.a: could not read symbols: Bad value
  | collect2: ld returned 1 exit status

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-support/mysql/mysql5_5.1.40.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc b/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc
index 3b3a42d..1a38e9f 100644
--- a/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc
+++ b/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc
@@ -32,7 +32,7 @@ export ac_cv_path_PS="/bin/ps"
 export ac_cv_FIND_PROC="/bin/ps p \$\$PID | grep -v grep | grep mysqld > /dev/null"
 PARALLEL_MAKE = " "
 EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR_NATIVE}/gen_lex_hash'"
-EXTRA_OECONF = " --with-atomic-ops=up --with-embedded-server --prefix=/usr --sysconfdir=/etc/mysql --localstatedir=/var/mysql --disable-dependency-tracking --without-raid --without-debug --with-low-memory --without-query-cache --without-man --without-docs --without-innodb "
+EXTRA_OECONF = " --with-atomic-ops=up --with-embedded-server --prefix=/usr --sysconfdir=/etc/mysql --localstatedir=/var/mysql --disable-dependency-tracking --without-raid --without-debug --with-low-memory --without-query-cache --without-man --without-docs --without-innodb --with-zlib-dir=${STAGING_EXECPREFIXDIR}"
 
 do_configure_append() {
     sed -i /comp_err/d ${S}/sql/share/Makefile
-- 
1.8.2.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [meta-oe][PATCH 2/6] gypsy: add dependency on libxslt-native
  2013-07-08  8:41 [meta-oe][PATCH 1/6] mysql5: prevent using bundled zlib at all costs Martin Jansa
@ 2013-07-08  8:41 ` Martin Jansa
  2013-07-08  8:41 ` [meta-oe][PATCH 3/6] portaudio: inherit pkgconfig Martin Jansa
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Martin Jansa @ 2013-07-08  8:41 UTC (permalink / raw)
  To: openembedded-devel

* it's incorrectly used in build (and just "o" is used instead of xslt
  command):
  | o gypsy-discovery.xml ../docs/tools/spec-strip-docs.xsl gypsy-discovery-full.xml
  | /bin/bash: o: command not found

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-navigation/gypsy/gypsy.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-navigation/gypsy/gypsy.inc b/meta-oe/recipes-navigation/gypsy/gypsy.inc
index 0c1735e..ba54356 100644
--- a/meta-oe/recipes-navigation/gypsy/gypsy.inc
+++ b/meta-oe/recipes-navigation/gypsy/gypsy.inc
@@ -6,7 +6,7 @@ client applications, passing the data as simple values for the clients \
 to use."
 LICENSE = "GPLv2.0 & LGPLv2.1"
 SECTION = "x11"
-DEPENDS = "glib-2.0 dbus bluez4 dbus-glib"
+DEPENDS = "glib-2.0 dbus bluez4 dbus-glib libxslt-native"
 
 inherit autotools pkgconfig gtk-doc
 
-- 
1.8.2.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [meta-oe][PATCH 3/6] portaudio: inherit pkgconfig
  2013-07-08  8:41 [meta-oe][PATCH 1/6] mysql5: prevent using bundled zlib at all costs Martin Jansa
  2013-07-08  8:41 ` [meta-oe][PATCH 2/6] gypsy: add dependency on libxslt-native Martin Jansa
@ 2013-07-08  8:41 ` Martin Jansa
  2013-07-08  8:41 ` [meta-oe][PATCH 4/6] media-ctl: " Martin Jansa
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Martin Jansa @ 2013-07-08  8:41 UTC (permalink / raw)
  To: openembedded-devel

* without pkgconfig it's failing to expand PKG_CHECK_MODULES macro:
  | portaudio-v19/v19+svnr1387-r0/trunk/configure:
    line 11721: syntax error near unexpected token `JACK,'
  | portaudio-v19/v19+svnr1387-r0/trunk/configure:
    line 11721: `PKG_CHECK_MODULES(JACK, jack, have_jack=yes, have_jack=no)'
  | Configure failed. The contents of all config.log files follows to aid debugging

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-support/portaudio/portaudio-v19_svn.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/portaudio/portaudio-v19_svn.bb b/meta-oe/recipes-support/portaudio/portaudio-v19_svn.bb
index b35d1d8..ced4b6b 100644
--- a/meta-oe/recipes-support/portaudio/portaudio-v19_svn.bb
+++ b/meta-oe/recipes-support/portaudio/portaudio-v19_svn.bb
@@ -4,12 +4,11 @@ LICENSE = "PortAudio"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26107732c2ab637c5710446fcfaf02df"
 SRCREV = "1387"
 PV = "v19+svnr${SRCPV}"
-PR = "r0"
 
 SRC_URI = "svn://subversion.assembla.com/svn/portaudio/portaudio;module=trunk;protocol=http"
 S = "${WORKDIR}/trunk"
 
-inherit autotools
+inherit autotools pkgconfig
 
 TESTS = "  pa_devs patest1      patest_hang patest_many                   patest_prime patest_sine patest_stop     patest_write_sine        \
 pa_fuzz    patest_buffer        patest_in_overflow  patest_maxsines       patest_read_record  patest_sine8         patest_sync              \
-- 
1.8.2.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [meta-oe][PATCH 4/6] media-ctl: inherit pkgconfig
  2013-07-08  8:41 [meta-oe][PATCH 1/6] mysql5: prevent using bundled zlib at all costs Martin Jansa
  2013-07-08  8:41 ` [meta-oe][PATCH 2/6] gypsy: add dependency on libxslt-native Martin Jansa
  2013-07-08  8:41 ` [meta-oe][PATCH 3/6] portaudio: inherit pkgconfig Martin Jansa
@ 2013-07-08  8:41 ` Martin Jansa
  2013-07-08  8:41 ` [meta-oe][PATCH 5/6] rsyslog: " Martin Jansa
  2013-07-08  8:41 ` [meta-oe][PATCH 6/6] portaudio: explicitly disable oss, add PACKAGECONFIG for alsa and jack Martin Jansa
  4 siblings, 0 replies; 6+ messages in thread
From: Martin Jansa @ 2013-07-08  8:41 UTC (permalink / raw)
  To: openembedded-devel

* without pkgconfig it's failing to expand PKG_CHECK_MODULES macro:
  | media-ctl/0.0.1-r3/git/configure:
    line 11700: syntax error near unexpected token `libudev,'
  | media-ctl/0.0.1-r3/git/configure:
    line 11700: `  PKG_CHECK_MODULES(libudev, libudev, have_libudev=yes, have_libudev=no)'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb b/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb
index cb3072b..37d130a 100644
--- a/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb
+++ b/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb
@@ -11,7 +11,7 @@ PV = "0.0.1"
 PR = "r4"
 S = "${WORKDIR}/git"
 
-inherit autotools
+inherit autotools pkgconfig
 
 EXTRA_OECONF = "--with-kernel-headers=${STAGING_EXECPREFIXDIR}"
 
-- 
1.8.2.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [meta-oe][PATCH 5/6] rsyslog: inherit pkgconfig
  2013-07-08  8:41 [meta-oe][PATCH 1/6] mysql5: prevent using bundled zlib at all costs Martin Jansa
                   ` (2 preceding siblings ...)
  2013-07-08  8:41 ` [meta-oe][PATCH 4/6] media-ctl: " Martin Jansa
@ 2013-07-08  8:41 ` Martin Jansa
  2013-07-08  8:41 ` [meta-oe][PATCH 6/6] portaudio: explicitly disable oss, add PACKAGECONFIG for alsa and jack Martin Jansa
  4 siblings, 0 replies; 6+ messages in thread
From: Martin Jansa @ 2013-07-08  8:41 UTC (permalink / raw)
  To: openembedded-devel

* without pkgconfig it's failing to expand PKG_CHECK_MODULES macro:
  | rsyslog-5.8.0/configure: line 16111: syntax error near unexpected token `GNUTLS,'
  | rsyslog-5.8.0/configure: line 16111: `    PKG_CHECK_MODULES(GNUTLS, gnutls >= 1.4.0)'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-extended/rsyslog/rsyslog.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog.inc b/meta-oe/recipes-extended/rsyslog/rsyslog.inc
index 5cfd236..4b2935f 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog.inc
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog.inc
@@ -10,7 +10,7 @@ INC_PR = "r8"
 SRC_URI = "http://www.rsyslog.com/files/download/rsyslog/${PN}-${PV}.tar.gz \
            file://rsyslog.conf"
            
-inherit autotools systemd
+inherit autotools pkgconfig systemd
 
 EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}"
 
-- 
1.8.2.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [meta-oe][PATCH 6/6] portaudio: explicitly disable oss, add PACKAGECONFIG for alsa and jack
  2013-07-08  8:41 [meta-oe][PATCH 1/6] mysql5: prevent using bundled zlib at all costs Martin Jansa
                   ` (3 preceding siblings ...)
  2013-07-08  8:41 ` [meta-oe][PATCH 5/6] rsyslog: " Martin Jansa
@ 2013-07-08  8:41 ` Martin Jansa
  4 siblings, 0 replies; 6+ messages in thread
From: Martin Jansa @ 2013-07-08  8:41 UTC (permalink / raw)
  To: openembedded-devel

* autoenabled dependencies on alsa-lib and jack are breaking espeak
  when it's built against portaudio in sysroot without them
  | ld: warning: libasound.so.2, needed by usr/lib/libportaudio.so, not found (try using -rpath or -rpath-link)
  | ld: warning: libjack.so.0, needed by usr/lib/libportaudio.so, not found (try using -rpath or -rpath-link)
  | usr/lib/libportaudio.so: undefined reference to `snd_pcm_sw_params_sizeof@ALSA_0.9'
  | usr/lib/libportaudio.so: undefined reference to `snd_pcm_hw_params_test_period_size@ALSA_0.9'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-support/portaudio/portaudio-v19_svn.bb | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/portaudio/portaudio-v19_svn.bb b/meta-oe/recipes-support/portaudio/portaudio-v19_svn.bb
index ced4b6b..454bd34 100644
--- a/meta-oe/recipes-support/portaudio/portaudio-v19_svn.bb
+++ b/meta-oe/recipes-support/portaudio/portaudio-v19_svn.bb
@@ -2,14 +2,21 @@ DESCRIPTION = "A portable audio library"
 SECTION = "libs/multimedia"
 LICENSE = "PortAudio"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26107732c2ab637c5710446fcfaf02df"
-SRCREV = "1387"
+
 PV = "v19+svnr${SRCPV}"
 
+SRCREV = "1387"
 SRC_URI = "svn://subversion.assembla.com/svn/portaudio/portaudio;module=trunk;protocol=http"
 S = "${WORKDIR}/trunk"
 
 inherit autotools pkgconfig
 
+PACKAGECONFIG ??= "alsa jack"
+PACKAGECONFIG[alsa] = "--with-alsa, --without-alsa, alsa-lib,"
+PACKAGECONFIG[jack] = "--with-jack, --without-jack, jack,"
+
+EXTRA_OECONF = "--without-oss"
+
 TESTS = "  pa_devs patest1      patest_hang patest_many                   patest_prime patest_sine patest_stop     patest_write_sine        \
 pa_fuzz    patest_buffer        patest_in_overflow  patest_maxsines       patest_read_record  patest_sine8         patest_sync              \
 pa_minlat  patest_callbackstop  patest_latency      patest_multi_sine     patest_record       patest_sine_formats  patest_toomanysines      \
-- 
1.8.2.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-07-08  8:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-08  8:41 [meta-oe][PATCH 1/6] mysql5: prevent using bundled zlib at all costs Martin Jansa
2013-07-08  8:41 ` [meta-oe][PATCH 2/6] gypsy: add dependency on libxslt-native Martin Jansa
2013-07-08  8:41 ` [meta-oe][PATCH 3/6] portaudio: inherit pkgconfig Martin Jansa
2013-07-08  8:41 ` [meta-oe][PATCH 4/6] media-ctl: " Martin Jansa
2013-07-08  8:41 ` [meta-oe][PATCH 5/6] rsyslog: " Martin Jansa
2013-07-08  8:41 ` [meta-oe][PATCH 6/6] portaudio: explicitly disable oss, add PACKAGECONFIG for alsa and jack Martin Jansa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox