Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bagas Sanjaya <bagasdotme@gmail.com>
To: Buildroot <buildroot@buildroot.org>
Cc: Michael Fischer <mf@go-sys.de>, Julien Olivain <ju.o@free.fr>,
	Fabrice Fontaine <fontaine.fabrice@gmail.com>
Subject: Re: [Buildroot] (no subject)
Date: Sat, 18 Feb 2023 17:17:56 +0700	[thread overview]
Message-ID: <3692da35-d89d-46a6-524d-590c83f35a0f@gmail.com> (raw)
In-Reply-To: <Y/ClewHezrg+Z3hx@debian.me>

On 2/18/23 17:16, Bagas Sanjaya wrote:
> (resend again with revert patch removed)
> 
> Hi,
> 
> I found that package/gnupg2 (version 2.4.0) fails to build, complaining
> about unsafe search path for cross-compilation. I found this when
> test-building for my git bump at [1].
> 
> The excerpt from the build log was:
> 
> make[4]: Entering directory '/home/bagas/repo/buildroot/output/build/gnupg2-2.4.0/common'
> /home/bagas/repo/buildroot/output/host/bin/aarch64-linux-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -DGNUPG_BINDIR="\"/usr/bin\"" -DGNUPG_LIBEXECDIR="\"/usr/libexec\"" -DGNUPG_LIBDIR="\"/usr/lib/gnupg\"" -DGNUPG_DATADIR="\"/usr/share/gnupg\"" -DGNUPG_SYSCONFDIR="\"/etc/gnupg\"" -DGNUPG_LOCALSTATEDIR="\"/var\""        -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/bagas/repo/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/include -I/usr/include -I/usr/include -I/usr/include -Wall -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os -g0 -D_FORTIFY_SOURCE=1 -c -o t-stringhelp.o t-stringhelp.c
> /home/bagas/repo/buildroot/output/host/bin/aarch64-linux-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -DGNUPG_BINDIR="\"/usr/bin\"" -DGNUPG_LIBEXECDIR="\"/usr/libexec\"" -DGNUPG_LIBDIR="\"/usr/lib/gnupg\"" -DGNUPG_DATADIR="\"/usr/share/gnupg\"" -DGNUPG_SYSCONFDIR="\"/etc/gnupg\"" -DGNUPG_LOCALSTATEDIR="\"/var\""        -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/bagas/repo/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DWITHOUT_NPTH=1 -Wall -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os -g0 -D_FORTIFY_SOURCE=1 -c -o libcommon_a-i18n.o `test -f 'i18n.c' || echo './'`i18n.c
> aarch64-linux-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include'
> make[4]: *** [Makefile:1283: t-stringhelp.o] Error 1
> 
> Reverting 0f868e97f6b4 ("package/gnupg2: bump to version 2.4.0") made the error above
> gone, thus the problem was in upstream code.
> 
> This issue is also confirmed by autobuilder (example log is [2]).
> 
> The full build log is attached.
> 
> If the revert is desired, the patch is at [3].
> 
> Thanks.
> 
> [1]: https://lore.kernel.org/buildroot/20230218085837.350535-1-bagasdotme@gmail.com/
> [2]: http://autobuild.buildroot.net/results/5bf00af86da6e41d1a48abc7304bf339908a0150/build-end.log
> [3]: https://lore.kernel.org/buildroot/20230218101426.630874-1-bagasdotme@gmail.com/
> 

Oops, please ignore (no subject). I will send the report later.

-- 
An old man doll... just what I always wanted! - Clara

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2023-02-18 10:18 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-18 10:16 [Buildroot] (no subject) Bagas Sanjaya
2023-02-18 10:17 ` Bagas Sanjaya [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-03 13:52 Joseph Zikusooka (ZIK)
2023-03-15  8:51 Luke D. Jones
2023-01-28  9:41 [Buildroot] [PATCH 1/1] package/oatpp:: new package Alessandro Partesotti
2023-01-31 20:00 ` [Buildroot] (no subject) Alessandro Partesotti
2022-04-04 13:03 Edmundo Ferreira
2020-10-26 21:31 Augustin Thiercelin
2020-06-09 22:41 Norbert Lange
2020-06-05 22:27 Kurdenes
2020-06-05 22:26 Kurdenes
2020-05-06 13:11 Norbert Lange
2019-07-04 12:36 Vered Kalef
2019-01-21 14:35 Bedran Atug
2017-03-02 15:27 Benoît Allard
2016-09-28 12:41 Waldemar Brodkorb
2016-09-28 13:48 ` Thomas Petazzoni
2016-02-21  1:58 Ricardo Martincoski
2015-08-13 14:11 [Buildroot] [PATCH] [autobuild] package/libiio: tests need threads Yann E. MORIN
2015-08-13 19:02 ` Baruch Siach
2015-08-13 19:07   ` [Buildroot] (no subject) Yann E. MORIN
2015-05-09 17:13 Florent Valette
2014-11-30 21:19 Ja Bi
2013-11-20 22:09 chris at zankel.net
2013-11-21 22:26 ` Arnout Vandecappelle
2013-11-20 22:09 chris at zankel.net
2013-11-20 22:09 chris at zankel.net
2013-11-20 22:28 ` Chris Zankel
2012-12-29  1:45 Stefan Fröberg
2012-12-29  7:59 ` Thomas Petazzoni
2012-12-29 14:13   ` Stefan Fröberg
2012-12-29 14:32     ` Thomas Petazzoni
2012-12-29 14:56       ` Stefan Fröberg
2012-12-20  3:10 Stefan Fröberg
2012-12-11 14:06 Ted Wood
2012-12-11 14:14 ` Berns
2012-12-11 14:28   ` Ted Wood
2012-07-26 10:56 Zoran Djordjevic
2012-07-26 11:44 ` Thomas Petazzoni
2012-07-16  3:00 Danomi Manchego
2012-07-16  2:59 Danomi Manchego
2012-07-09  9:22 Zoran Djordjevic
2012-07-13 21:06 ` Thomas Petazzoni
2012-05-23 21:02 [Buildroot] [PATCH] New package: freerdp Peter Korsgaard
2012-05-23 21:41 ` [Buildroot] (no subject) Julian Lunz
2012-03-19 19:52 Justin Mark
2012-03-16 10:36 Vellemans, Noel
2012-03-18 15:29 ` Arnout Vandecappelle
2012-03-18 15:56   ` Thomas Petazzoni
2012-03-13 17:02 oilehus at yahoo.com
2012-02-22 12:16 Tobias Arp
2012-02-13 21:05 [Buildroot] Bug/Typo in ffmpeg.mk universeII at gmx.de
2012-02-13 21:28 ` Peter Korsgaard
     [not found]   ` <20120325133208.166570@gmx.net>
2012-03-25 15:04     ` [Buildroot] (no subject) Peter Korsgaard
2011-05-10 14:22 Mike Williams
2011-05-10 14:37 ` Daniel Nyström
2011-05-09 20:14 Mike Williams
2010-12-31 11:38 [Buildroot] [PATCH 0/6] Toolchain rework take 4 Gustavo Zacarias
2010-12-31 11:38 ` [Buildroot] (no subject) Gustavo Zacarias
2010-12-31 11:39 ` Gustavo Zacarias
2010-07-29 22:44 Dwayne Fontenot
2010-07-30  8:16 ` Peter Korsgaard
2010-06-07 13:08 Paul Jones
2010-02-03  9:47 Tony Mozi
2010-01-09 18:22 Clark Rawlins
2010-01-06 22:07 H Hartley Sweeten
2010-01-19 16:12 ` Peter Korsgaard
2010-01-19 16:41   ` H Hartley Sweeten
2009-12-29 19:37 Terry Forrest
2010-01-19 16:11 ` Peter Korsgaard
2009-12-03 22:34 [Buildroot] [PATCH] gst-plugins-bad: make more dependency-less plugins configurable Sven Neumann
2009-12-08 13:52 ` Peter Korsgaard
2009-12-08 14:21   ` [Buildroot] (no subject) Tom Wagner
2009-12-08 14:36     ` Michael S. Zick
2009-06-28 21:10 nfrench at xtale.biz
2009-06-09  3:42 Richard Ebenal
2008-11-24 12:25 rossella battaglia
2008-03-06 19:45 John Voltz
2008-01-11 16:09 Manuel Sahm
2007-08-19  8:13 Gururaja Hebbar K R
2007-08-20 14:49 ` Bernhard Fischer
2007-01-25 22:44 Ulf Samuelsson
2007-01-28 22:18 ` Bernhard Fischer
2006-07-23 23:52 amit bhosale

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=3692da35-d89d-46a6-524d-590c83f35a0f@gmail.com \
    --to=bagasdotme@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    --cc=ju.o@free.fr \
    --cc=mf@go-sys.de \
    /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