* [PATCH 0/3] meta: 3 fixes
@ 2016-01-28 9:46 Robert Yang
2016-01-28 9:46 ` [PATCH 1/3] gdb-common.inc: add PACKAGECONFIG for readline Robert Yang
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Robert Yang @ 2016-01-28 9:46 UTC (permalink / raw)
To: openembedded-core
The following changes since commit 2a6e061712cfe9cb4738806a0c351a64e0d30144:
cmake: update to 3.4.2 (2016-01-26 22:48:57 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/3fixes
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/3fixes
Robert Yang (3):
gdb-common.inc: add PACKAGECONFIG for readline
autotools_stage.bbclass: remove it
perf.bb: add python scripts corresponding packages
meta/classes/autotools_stage.bbclass | 2 --
meta/recipes-devtools/gdb/gdb-common.inc | 8 ++++++--
meta/recipes-kernel/perf/perf.bb | 8 ++++++--
3 files changed, 12 insertions(+), 6 deletions(-)
delete mode 100644 meta/classes/autotools_stage.bbclass
--
1.7.9.5
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] gdb-common.inc: add PACKAGECONFIG for readline
2016-01-28 9:46 [PATCH 0/3] meta: 3 fixes Robert Yang
@ 2016-01-28 9:46 ` Robert Yang
2016-01-28 9:46 ` [PATCH 2/3] autotools_stage.bbclass: remove it Robert Yang
2016-01-28 9:46 ` [PATCH 3/3] perf.bb: add python scripts corresponding packages Robert Yang
2 siblings, 0 replies; 5+ messages in thread
From: Robert Yang @ 2016-01-28 9:46 UTC (permalink / raw)
To: openembedded-core
When compile with readline 5.2:
completer.o: In function `gdb_display_match_list':
completer.c:(.text+0x1c13): undefined reference to `_rl_completion_prefix_display_length'
completer.c:(.text+0x1ce8): undefined reference to `rl_sort_completion_matches'
collect2: ld returned 1 exit status
The --without-system-readline will make it work.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/recipes-devtools/gdb/gdb-common.inc | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index 166ba8e..6baeb0b 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -2,7 +2,7 @@ SUMMARY = "GNU debugger"
HOMEPAGE = "http://www.gnu.org/software/gdb/"
LICENSE = "GPLv3+"
SECTION = "devel"
-DEPENDS = "expat zlib ncurses readline ${LTTNGUST}"
+DEPENDS = "expat zlib ncurses ${LTTNGUST}"
LTTNGUST = "lttng-ust"
LTTNGUST_aarch64 = ""
@@ -40,13 +40,17 @@ EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
EXPAT = "--with-expat --with-libexpat-prefix=${STAGING_DIR_HOST}"
EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x --disable-werror \
- --with-curses --disable-multilib --with-system-readline --disable-sim \
+ --with-curses --disable-multilib --disable-sim \
--without-lzma --without-guile \
${GDBPROPREFIX} ${EXPAT} \
${@bb.utils.contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)} \
--disable-rpath \
"
+PACKAGECONFIG ??= "readline"
+# Use --without-system-readline to compile with readline 5.
+PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline"
+
GDBPROPREFIX = "--program-prefix=''"
do_configure () {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] autotools_stage.bbclass: remove it
2016-01-28 9:46 [PATCH 0/3] meta: 3 fixes Robert Yang
2016-01-28 9:46 ` [PATCH 1/3] gdb-common.inc: add PACKAGECONFIG for readline Robert Yang
@ 2016-01-28 9:46 ` Robert Yang
2016-01-28 9:46 ` [PATCH 3/3] perf.bb: add python scripts corresponding packages Robert Yang
2 siblings, 0 replies; 5+ messages in thread
From: Robert Yang @ 2016-01-28 9:46 UTC (permalink / raw)
To: openembedded-core
Not needed any more, the autotools.bbclass can fully instead of it.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/classes/autotools_stage.bbclass | 2 --
1 file changed, 2 deletions(-)
delete mode 100644 meta/classes/autotools_stage.bbclass
diff --git a/meta/classes/autotools_stage.bbclass b/meta/classes/autotools_stage.bbclass
deleted file mode 100644
index b3c41e4..0000000
--- a/meta/classes/autotools_stage.bbclass
+++ /dev/null
@@ -1,2 +0,0 @@
-inherit autotools
-
--
1.7.9.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] perf.bb: add python scripts corresponding packages
2016-01-28 9:46 [PATCH 0/3] meta: 3 fixes Robert Yang
2016-01-28 9:46 ` [PATCH 1/3] gdb-common.inc: add PACKAGECONFIG for readline Robert Yang
2016-01-28 9:46 ` [PATCH 2/3] autotools_stage.bbclass: remove it Robert Yang
@ 2016-01-28 9:46 ` Robert Yang
2016-01-28 11:03 ` Burton, Ross
2 siblings, 1 reply; 5+ messages in thread
From: Robert Yang @ 2016-01-28 9:46 UTC (permalink / raw)
To: openembedded-core
Fixed:
/usr/libexec/perf-core/tests/attr.py contained in package perf requires /usr/bin/python, but no providers found in RDEPENDS_perf? [file-rdeps]
/usr/libexec/perf-core/scripts/python/sched-migration.py contained in package perf requires /usr/bin/python, but no providers found in RDEPENDS_perf? [file-rdeps]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/recipes-kernel/perf/perf.bb | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 33acb42..dde6046 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -201,8 +201,12 @@ RSUGGESTS_${PN} += "${PN}-archive ${PN}-tests ${RSUGGESTS_SCRIPTING}"
FILES_${PN} += "${libexecdir}/perf-core ${exec_prefix}/libexec/perf-core ${libdir}/traceevent"
FILES_${PN}-archive = "${libdir}/perf/perf-core/perf-archive"
-FILES_${PN}-tests = "${libdir}/perf/perf-core/tests"
-FILES_${PN}-python = "${libdir}/python*/site-packages ${libdir}/perf/perf-core/scripts/python"
+FILES_${PN}-tests = "${libdir}/perf/perf-core/tests \
+ ${libexecdir}/perf-core/tests \
+ "
+FILES_${PN}-python = "${libdir}/python*/site-packages ${libdir}/perf/perf-core/scripts/python \
+ ${libexecdir}/perf-core/scripts/python \
+ "
FILES_${PN}-perl = "${libdir}/perf/perf-core/scripts/perl"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 3/3] perf.bb: add python scripts corresponding packages
2016-01-28 9:46 ` [PATCH 3/3] perf.bb: add python scripts corresponding packages Robert Yang
@ 2016-01-28 11:03 ` Burton, Ross
0 siblings, 0 replies; 5+ messages in thread
From: Burton, Ross @ 2016-01-28 11:03 UTC (permalink / raw)
To: Robert Yang; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 442 bytes --]
On 28 January 2016 at 09:46, Robert Yang <liezhi.yang@windriver.com> wrote:
> +FILES_${PN}-python = "${libdir}/python*/site-packages
> ${libdir}/perf/perf-core/scripts/python \
> + ${libexecdir}/perf-core/scripts/python \
>
Nothing in perf appears to be in $libdir/perf explicitly, it's all in
$libexecdir.
(as verified by building perf with the libexecdir change, and nothing is in
/usr/lib/perf)
Ross
[-- Attachment #2: Type: text/html, Size: 928 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-01-28 11:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-28 9:46 [PATCH 0/3] meta: 3 fixes Robert Yang
2016-01-28 9:46 ` [PATCH 1/3] gdb-common.inc: add PACKAGECONFIG for readline Robert Yang
2016-01-28 9:46 ` [PATCH 2/3] autotools_stage.bbclass: remove it Robert Yang
2016-01-28 9:46 ` [PATCH 3/3] perf.bb: add python scripts corresponding packages Robert Yang
2016-01-28 11:03 ` Burton, Ross
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.