From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] libutempter: Add new recipe
Date: Wed, 7 Jan 2015 12:53:22 +0100 [thread overview]
Message-ID: <20150107115322.GL29986@jama> (raw)
In-Reply-To: <1417659220-8645-1-git-send-email-qianl.fnst@cn.fujitsu.com>
[-- Attachment #1: Type: text/plain, Size: 13642 bytes --]
On Thu, Dec 04, 2014 at 10:13:40AM +0800, Qian Lei wrote:
> Libutempter provides interface for terminal emulators such as
> screen and xterm to record user sessions to utmp and wtmp files.
It's failing for all MACHINEs in world builds now.
Please fix it soon, otherwise it will be blacklisted/removed from meta-oe
ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/libutempter/1.1.6-r0/temp/log.do_compile.9839
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 -e MAKEFLAGS= libdir=/usr/lib libexecdir=/usr/lib/libutempter
| arm-oe-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm -O2 -pipe -g -feliminate-unused-debug-types -DLIBEXECDIR=/usr/lib/libutempter -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,now,-stats utempter.c -o utempter
| arm-oe-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm -O2 -pipe -g -feliminate-unused-debug-types -DLIBEXECDIR=/usr/lib/libutempter -c -fPIC iface.c -o iface.os
| arm-oe-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm -O2 -pipe -g -feliminate-unused-debug-types -DLIBEXECDIR=/usr/lib/libutempter -c -o iface.o iface.c
| iface.c: In function 'utempter_add_record':
| <command-line>:0:12: error: expected expression before '/' token
| iface.c:46:35: note: in expansion of macro 'LIBEXECDIR'
| #define UTEMPTER_DEFAULT_PATHNAME LIBEXECDIR "/utempter/utempter"
| ^
| iface.c:144:27: note: in expansion of macro 'UTEMPTER_DEFAULT_PATHNAME'
| { utempter_pathname ? : UTEMPTER_DEFAULT_PATHNAME, "add",
| ^
| iface.c: In function 'utempter_remove_record':
| <command-line>:0:12: error: expected expression before '/' token
| iface.c:46:35: note: in expansion of macro 'LIBEXECDIR'
| #define UTEMPTER_DEFAULT_PATHNAME LIBEXECDIR "/utempter/utempter"
| ^
| iface.c:158:27: note: in expansion of macro 'UTEMPTER_DEFAULT_PATHNAME'
| { utempter_pathname ? : UTEMPTER_DEFAULT_PATHNAME, "del", 0 };
| ^
| iface.c:158:25: warning: pointer type mismatch in conditional expression
| { utempter_pathname ? : UTEMPTER_DEFAULT_PATHNAME, "del", 0 };
| ^
| make: *** [iface.os] Error 1
| make: *** Waiting for unfinished jobs....
| iface.c: In function 'utempter_add_record':
| <command-line>:0:12: error: expected expression before '/' token
| iface.c:46:35: note: in expansion of macro 'LIBEXECDIR'
| #define UTEMPTER_DEFAULT_PATHNAME LIBEXECDIR "/utempter/utempter"
| ^
| iface.c:144:27: note: in expansion of macro 'UTEMPTER_DEFAULT_PATHNAME'
| { utempter_pathname ? : UTEMPTER_DEFAULT_PATHNAME, "add",
| ^
| iface.c: In function 'utempter_remove_record':
| <command-line>:0:12: error: expected expression before '/' token
| iface.c:46:35: note: in expansion of macro 'LIBEXECDIR'
| #define UTEMPTER_DEFAULT_PATHNAME LIBEXECDIR "/utempter/utempter"
| ^
| iface.c:158:27: note: in expansion of macro 'UTEMPTER_DEFAULT_PATHNAME'
| { utempter_pathname ? : UTEMPTER_DEFAULT_PATHNAME, "del", 0 };
| ^
| iface.c:158:25: warning: pointer type mismatch in conditional expression
| { utempter_pathname ? : UTEMPTER_DEFAULT_PATHNAME, "del", 0 };
| ^
| make: *** [iface.o] Error 1
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: initial tasks run time: (user: 0.010000 sys: 0.010000 wall: 0.020000)
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: middle tasks run time: (user: 0.000000 sys: 0.000000 wall: 0.000000)
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: final tasks run time: (user: 0.000000 sys: 0.000000 wall: 0.000000)
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: total run time: (user: 0.010000 sys: 0.010000 wall: 0.020000)
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: total space allocated by malloc: 3207168 bytes
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: total bytes mapped for read: 36264230
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: maximum bytes mapped for read at one time: 36264230
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: archive libraries: 7
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: total archive members: 5668
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: loaded archive members: 1
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: lib groups: 0
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: total lib groups members: 0
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: loaded lib groups members: 0
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: output file size: 18452 bytes
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: symbol table entries: 6765; buckets: 12011
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: symbol table stringpool entries: 3410; buckets: 12011
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: symbol table stringpool Stringdata structures: 47
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: section name pool entries: 41; buckets: 47
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: section name pool Stringdata structures: 1
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: output symbol name pool entries: 62; buckets: 79
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: output symbol name pool Stringdata structures: 1
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: dynamic name pool entries: 25; buckets: 79
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: dynamic name pool Stringdata structures: 1
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: .rodata merged constants size: 4; input: 1; output: 1
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: .rodata merged strings input bytes: 24
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: .rodata merged strings input strings: 2
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: .rodata merged strings entries: 3; buckets: 11
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: .rodata merged strings Stringdata structures: 1
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: .comment merged strings input bytes: 90
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: .comment merged strings input strings: 5
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: .comment merged strings entries: 2; buckets: 11
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: .comment merged strings Stringdata structures: 1
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: .debug_str merged strings input bytes: 2485
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: .debug_str merged strings input strings: 185
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: .debug_str merged strings entries: 168; buckets: 199
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: .debug_str merged strings Stringdata structures: 3
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: total free lists: 0
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: total free list nodes: 0
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: calls to Free_list::remove: 0
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: nodes visited: 0
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: calls to Free_list::allocate: 0
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/ld: nodes visited: 0
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/libutempter/1.1.6-r0/temp/log.do_compile.9839)
NOTE: recipe libutempter-1.1.6-r0: task do_compile: Failed
>
> Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
> ---
> .../libutempter/libutempter_1.1.6.bb | 36 ++++++++++++++++++++++
> 1 file changed, 36 insertions(+)
> create mode 100644 meta-oe/recipes-support/libutempter/libutempter_1.1.6.bb
>
> diff --git a/meta-oe/recipes-support/libutempter/libutempter_1.1.6.bb b/meta-oe/recipes-support/libutempter/libutempter_1.1.6.bb
> new file mode 100644
> index 0000000..e1dccd6
> --- /dev/null
> +++ b/meta-oe/recipes-support/libutempter/libutempter_1.1.6.bb
> @@ -0,0 +1,36 @@
> +SUMMARY = "A privileged helper for utmp/wtmp updates"
> +DESCRIPTION = "\
> +This library provides interface for terminal emulators such as \
> +screen and xterm to record user sessions to utmp and wtmp files."
> +HOMEPAGE = "ftp://ftp.altlinux.org/pub/people/ldv/utempter"
> +SECTION = "System Environment/Libraries"
> +LICENSE = "GPLv2 GPLv2+ LGPLv2 MIT"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
> +
> +SRC_URI = "ftp://ftp.altlinux.org/pub/people/ldv/utempter/${BP}.tar.bz2"
> +SRC_URI[md5sum] = "b43827806923903aba2bc7cd3a2d45b7"
> +SRC_URI[sha256sum] = "b898565f31ced7e5c1fa0a2eaa0f6ff0ed862b5fe375d26375b64bfbdfeac397"
> +
> +CFLAGS += "-DLIBEXECDIR=$(libexecdir)"
> +
> +do_compile() {
> + oe_runmake \
> + libdir=${libdir} \
> + libexecdir=${libexecdir} \
> +}
> +
> +do_install() {
> + oe_runmake install \
> + DESTDIR=${D} \
> + libdir="${libdir}" \
> + libexecdir="${libexecdir}" \
> + includedir=${includedir} \
> + mandir=${mandir}
> +
> + rm -f ${D}${libdir}/*.a
> +}
> +
> +FILES_${PN} = "${libdir}/*.so.*"
> +FILES_${PN} += "${libexecdir}/utempter/utempter"
> +
> +FILES_${PN}-dbg += "${libexecdir}/utempter/.debug/utempter"
> --
> 1.8.3.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
next prev parent reply other threads:[~2015-01-07 11:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-04 2:13 [meta-oe][PATCH] libutempter: Add new recipe Qian Lei
2015-01-07 11:53 ` Martin Jansa [this message]
2015-01-08 9:25 ` [meta-oe][PATCH] libutempter: Fix compile error on arm Qian Lei
2015-01-08 11:17 ` Martin Jansa
2015-01-09 3:01 ` [meta-oe][PATCH v2] libutempter: Fix compile error Qian Lei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150107115322.GL29986@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox