From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] qt5base: fix postgresql plugin compile
Date: Mon, 23 Feb 2015 19:02:52 +0100 [thread overview]
Message-ID: <20150223190252.22af8a55@free-electrons.com> (raw)
In-Reply-To: <1424383481-8061-1-git-send-email-ps.report@gmx.net>
Dear Peter Seiderer,
On Thu, 19 Feb 2015 23:04:41 +0100, Peter Seiderer wrote:
> Add qt5base '-psql_config' configure option and use it to set
> pg_config path in configure step instead of legacy PSQL_LIBS
> enviornment variable.
>
> Fixes [1]:
>
> PostgreSQL auto-detection... ()
> make[1]: Entering directory `/home/peko/autobuild/instance-0/output/build/qt5base-5.4.0/config.tests/unix/psql'
> /home/peko/autobuild/instance-0/output/host/usr/bin/sh-linux-gnu-g++ -c -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os --sysroot=/home/peko/autobuild/instance-0/output/host/usr/sh4a-buildroot-linux-gnu/sysroot -O2 -O3 -Wall -W -fPIE -I../../../mkspecs/devices/linux-buildroot-g++ -I. -I/usr/include/postgresql -o psql.o psql.cpp
> sh-linux-gnu-g++: ERROR: unsafe header/library path used in cross-compilation: '/usr/include/postgresql'
> make[1]: *** [psql.o] Error 1
> make[1]: Leaving directory `/home/peko/autobuild/instance-0/output/build/qt5base-5.4.0/config.tests/unix/psql'
> PostgreSQL disabled.
> PostgreSQL support cannot be enabled due to functionality tests!
> Turn on verbose messaging (-v) to ./configure to see the final report.
> If you believe this message is in error you may use the continue
> switch (-continue) to ./configure to continue.
> make: *** [/home/peko/autobuild/instance-0/output/build/qt5base-5.4.0/.stamp_configured] Error 101
> make: Leaving directory `/home/peko/autobuild/instance-0/buildroot'
>
> [1] http://autobuild.buildroot.net/results/354/354bae2337703ad8bfb9d33c79538df3017b7fe9/
>
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Applied to master, thanks.
Can you please submit this patch upstream to the Qt developers?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-02-23 18:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-19 22:04 [Buildroot] [PATCH] qt5base: fix postgresql plugin compile Peter Seiderer
2015-02-23 18:02 ` Thomas Petazzoni [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-02-23 20:48 Peter Seiderer
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=20150223190252.22af8a55@free-electrons.com \
--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