From: "Alex Bennée" <alex.bennee@linaro.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3] package/zile: add Zile is Lossy Emacs editor
Date: Thu, 24 Apr 2014 09:39:19 +0100 [thread overview]
Message-ID: <87k3afqfyg.fsf@linaro.org> (raw)
In-Reply-To: <20140417221418.5e3939fb@skate>
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> Dear Alex Benn?e,
<snip>
>> +++ b/package/zile/Config.in
>> @@ -0,0 +1,13 @@
>> +config BR2_PACKAGE_ZILE
>> + bool "zile"
>> + select BR2_PACKAGE_LIBGC
>> + depends on BR2_USE_MMU # fork()
>
> You need to replicate the dependencies of BR2_PACKAGE_LIBGC here.
Surely the whole point of dependencies is the LIBGC ones get pulled in
when you select LIBGC, or do you mean I need:
select BR2_PACKAGE_LIBGC
depends on BR2_PACKAGE_LIBGC
depends on BR2_USE_MMU # fork()
> Also, when testing your package, it failed because ncurses was not
> available, so I had to add ncurses as a dependency here.
>
> This actually leads me to wonder if you actually tested this stuff. How
> would it be possible to miss the ncurses dependency?
I have a bunch of benchmarking tools enabled, one of them must of pulled
it in. I have been testing in a qemu-system aarch64 initrd rootfs and it
was working!
>
> Also, some of the configure messages need some investigation:
>
> configure: WARNING: libacl development library was not found or not
> usable. configure: WARNING: Zile will be built without ACL support.
>
> => this probably means that an optional dependency on BR2_PACKAGE_ACL,
> with a --enable-acl / --disable-acl as appropriate
I'll look at that.
>
> checking whether btowc is declared without a macro... yes
> checking whether wctob is declared without a macro... yes
> checking whether mbsinit is declared without a macro... yes
>
> => this smells like a dependency on wide-char support. Can you test
> your package with a toolchain that does not have wide char support,
> such as
> http://autobuild.buildroot.org/toolchains/configs/free-electrons/br-arm-basic.config.
I've got to build some armv7 images so I'll do that then.
>
> checking for emacs... /usr/bin/emacs
> checking Emacs version 24.3.50.1 >= 23.1... yes
>
> => is it normal that it references my host emacs? what is this used
> for?
No idea. Possibly too much autoconf boilerplate. I shall have a look.
>
>
>> diff --git a/package/zile/zile-0001-remove-help2man.patch b/package/zile/zile-0001-remove-help2man.patch
>> new file mode 100644
>> index 0000000..d397543
>> --- /dev/null
>> +++ b/package/zile/zile-0001-remove-help2man.patch
>> @@ -0,0 +1,30 @@
>> +Upstream-Status: Inappropriate [configuration]
>> +
>> +Signed-off-by: Alex Benn?e <alex.bennee@linaro.org>
>
> Since you're passing --without-help2man, why is this patch useful?
IIRC without that patch it still attempted to call the help2man tool
even though it wasn't generating the final output.
>
>> diff --git a/package/zile/zile.mk b/package/zile/zile.mk
>> new file mode 100644
>> index 0000000..07226c6
>> --- /dev/null
>> +++ b/package/zile/zile.mk
>> @@ -0,0 +1,15 @@
>> +################################################################################
>> +#
>> +# Zile
>> +#
>> +################################################################################
>> +
>> +ZILE_VERSION = 2.4.11
>> +ZILE_SITE = $(BR2_GNU_MIRROR)/zile
>> +ZILE_LICENSE = GPLv1+
>
> Have you actually read the COPYING file?
Ahh ok - I shall fix that up.
>
>> +ZILE_LICENSE_FILES = COPYING
>> +ZILE_AUTORECONF = YES
>> +ZILE_CONF_OPT = --without-help2man
>> +ZILE_DEPENDENCIES = libgc
>
> Missing ncurses library.
>
> Also, when I build your package with the toolchain at
> http://autobuild.buildroot.org/toolchains/configs/free-electrons/br-arm-full.config,
> it fails to build with:
>
> /home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/4.7.3/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/thomas/projets/buildroot/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgc.so:
> undefined reference to symbol 'pthread_cancel'
> /home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/4.7.3/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld:
> note: 'pthread_cancel' is defined in DSO /home/thomas/projets/buildroot/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/lib/libpthread.so.0 so try adding it to the linker command line
> /home/thomas/projets/buildroot/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/lib/libpthread.so.0:
> could not read symbols: Invalid operation
>
> Could you work on these remaining issues, and resubmit an updated
> version?
>
> Thanks!
>
> Thomas
--
Alex Benn?e
next prev parent reply other threads:[~2014-04-24 8:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-17 12:19 [Buildroot] [PATCH v3] package/Zile: add Zile is Lossy Emacs editor Alex Bennée
2014-04-17 12:19 ` [Buildroot] [PATCH v3] package/zile: " Alex Bennée
2014-04-17 18:23 ` Jerzy Grzegorek
2014-04-17 20:14 ` Thomas Petazzoni
2014-04-24 8:39 ` Alex Bennée [this message]
2014-04-24 9:03 ` Thomas De Schampheleire
2014-04-24 9:47 ` Alex Bennée
2014-04-24 13:56 ` Alex Bennée
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=87k3afqfyg.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=buildroot@busybox.net \
/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 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.