mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Benjamin Federau <benjamin.federau@basyskom.com>
To: ptxdist@pengutronix.de
Cc: m.olbrich@pengutronix.de
Subject: Re: [ptxdist] Ptxdists use of pkg-config causing issues with Qt-5.9
Date: Fri, 23 Feb 2018 13:09:19 +0100	[thread overview]
Message-ID: <3259282219-9618@mx1.basyskom.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 3390 bytes --]

Hello,

I tried to get Qt 5.9 built with PTXDist and after I have set the PKG_CONFIG_SYSROOT_DIR=/ and have done some minor adjustments to qt5.make regarding configure parameter it builds until it reaches the QtWebengine part.

[2/14208] CXX obj/dbus/dbus/property.o
FAILED: obj/dbus/dbus/property.o
/opt/wsp/s-bsp/platform-abc/sysroot-host/lib/wrapper/arm-v7a-linux-gnueabihf-g++ -MMD -MF obj/dbus/dbus/property.o.d -DDBUS_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_OPENSSL_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DDISABLE_NACL -DENABLE_TASK_MANAGER=1 -DENABLE_THEMES=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -Igen -I../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium -I../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/opt/wsp/s-bsp/platform-abc/sysroot-target/usr/include/dbus-1.0 -I../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/opt/wsp/s-bsp/platform-abc/sysroot-target/usr/lib/dbus-1.0/include -I../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/third_party/icu/source/common -I../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/third_party/icu/source/i18n -I../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -march=armv7-a -mfloat-abi=hard -mtune=generic-armv7-a -mfpu=vfpv3-d16 -mthumb -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-psabi -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvisibility=hidden -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -c ../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/dbus/property.cc -o obj/dbus/dbus/property.o
In file included from ../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/dbus/property.h:20:0,
                 from ../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/dbus/property.cc:5:
../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/dbus/message.h:8:23: fatal error: dbus/dbus.h: No such file or directory
 #include <dbus/dbus.h>
                       ^
compilation terminated.
ninja: build stopped: subcommand failed.

The problem is here that -I../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/opt/wsp/s-bsp/platform-abc/sysroot-target/usr/include/dbus-1.0 isn't a valid include path.

I'm not sure if this is related to the pkg-config issue, but any hints are welcome how to solve this?

Regards
-
Benjamin Federau

[-- Attachment #1.2: Type: text/html, Size: 3635 bytes --]

[-- Attachment #2: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2018-02-23 12:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-23 12:09 Benjamin Federau [this message]
2018-02-23 13:00 ` Michael Olbrich
  -- strict thread matches above, loose matches on Subject: below --
2017-06-23 10:15 Baeuerle, Florian
2017-06-23 15:48 ` Michael Olbrich

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=3259282219-9618@mx1.basyskom.com \
    --to=benjamin.federau@basyskom.com \
    --cc=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.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