From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4 1/2] libkrb5: New package
Date: Thu, 23 Nov 2017 21:25:23 +0100 [thread overview]
Message-ID: <20171123212523.2d7ec6dc@windsurf.lan> (raw)
In-Reply-To: <1511213549-1878-1-git-send-email-nerv@dawncrow.de>
Hello,
On Mon, 20 Nov 2017 22:32:28 +0100, Andr? Hentschel wrote:
> Signed-off-by: Andr? Hentschel <nerv@dawncrow.de>
> ---
> DEVELOPERS | 1 +
> package/Config.in | 1 +
> package/libkrb5/Config.in | 11 +++++++++++
> package/libkrb5/libkrb5.hash | 2 ++
> package/libkrb5/libkrb5.mk | 22 ++++++++++++++++++++++
> 5 files changed, 37 insertions(+)
> create mode 100644 package/libkrb5/Config.in
> create mode 100644 package/libkrb5/libkrb5.hash
> create mode 100644 package/libkrb5/libkrb5.mk
I'm sorry but this doesn't build. First, I get:
prof_file.c: In function ?profile_update_file_data_locked?:
prof_file.c:370:16: error: ?f? may be used uninitialized in this function [-Werror=maybe-uninitialized]
retval = profile_parse_file(f, &data->root, ret_modspec);
This is because -Werror=uninitialized. Looking at the code, I believe
gcc is wrong. So either we should initialize f = NULL at the beginning
of the function, or we should remove -Werror=uninitialized from the
build flags. After fixing this, I have a second build failure:
In file included from net-server.c:61:0:
../../include/net-server.h:32:19: fatal error: verto.h: No such file or directory
#include <verto.h>
^
compilation terminated.
You can reproduce by building the following defconfig:
BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2017.11-rc1.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_4_9=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_LIBKRB5=y
# BR2_TARGET_ROOTFS_TAR is not set
Please use the test-pkg script to build test your package for the next
submission (and don't forget to remove AUTORECONF = YES, and to adjust
the comment about CONF_ENV, as we discussed previously).
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
prev parent reply other threads:[~2017-11-23 20:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-20 21:32 [Buildroot] [PATCH v4 1/2] libkrb5: New package André Hentschel
2017-11-20 21:32 ` [Buildroot] [PATCH v4 2/2] squid: Add optional dependency on libkrb5 André Hentschel
2017-11-21 12:56 ` [Buildroot] [PATCH v4 1/2] libkrb5: New package Thomas Petazzoni
2017-11-21 17:21 ` André Hentschel
2017-11-23 20:25 ` Thomas Petazzoni [this message]
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=20171123212523.2d7ec6dc@windsurf.lan \
--to=thomas.petazzoni@free-electrons.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox