From: Peter Korsgaard <peter@korsgaard.com>
To: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
Cc: Wade Berrier <wberrier@gmail.com>,
Fabrice Fontaine <fontaine.fabrice@gmail.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [Buildroot] [PATCH 1/1] package/ngrep: fix build with libnet
Date: Thu, 29 Feb 2024 16:29:47 +0100 [thread overview]
Message-ID: <8734tbgufo.fsf@48ers.dk> (raw)
In-Reply-To: <20240205184839.3f230f02@windsurf> (Thomas Petazzoni via buildroot's message of "Mon, 5 Feb 2024 18:48:39 +0100")
>>>>> "Thomas" == Thomas Petazzoni via buildroot <buildroot@buildroot.org> writes:
> On Tue, 9 Jan 2024 22:18:01 +0100
> Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
>> Use pkg-config to find libnet and avoid the following build failure
>> raised since commit 100ba8351c088fd764effdcaba848cfd92de79dd if
>> libnet-config is found on the host:
>>
>> /home/autobuild/autobuild/instance-4/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc
>> -s -o ngrep ngrep.o tcpkill.o -lpcap -lnet -lpcre -L/usr/lib -lnet
>> mips64el-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-L/usr/lib'
>>
>> While at it, format Upstream tag of other patches
>>
>> Fixes:
>> - http://autobuild.buildroot.org/results/05c916162b9c1027cf53f1699a1f5653151098ed
>>
>> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
>> ---
>> .checkpackageignore | 3 --
>> ...nfigure-in-when-testing-for-use_pcre.patch | 3 +-
>> ...heck-for-libnet_init-in-configure-in.patch | 3 +-
>> package/ngrep/0003-fix-disable-tcpkill.patch | 2 +-
>> ...ure.in-use-pkg-config-to-find-libnet.patch | 38 +++++++++++++++++++
>> package/ngrep/ngrep.mk | 2 +-
>> 6 files changed, 42 insertions(+), 9 deletions(-)
>> create mode 100644 package/ngrep/0004-configure.in-use-pkg-config-to-find-libnet.patch
> Applied to master, thanks.
Committed to 2023.02.x and 2023.11.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2024-02-29 15:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-09 21:18 [Buildroot] [PATCH 1/1] package/ngrep: fix build with libnet Fabrice Fontaine
2024-02-05 17:48 ` Thomas Petazzoni via buildroot
2024-02-29 15:29 ` Peter Korsgaard [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=8734tbgufo.fsf@48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=wberrier@gmail.com \
/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