From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from [193.158.222.106] ([193.158.222.106]) (authenticated user bfed@basyskom.com) by mx1.basyskom.com (Kerio Connect 9.2.5 patch 3) with ESMTPSA for ptxdist@pengutronix.de; Fri, 23 Feb 2018 13:09:19 +0100 Date: Fri, 23 Feb 2018 13:09:19 +0100 Message-ID: <3259282219-9618@mx1.basyskom.com> MIME-Version: 1.0 From: Benjamin Federau Subject: Re: [ptxdist] Ptxdists use of pkg-config causing issues with Qt-5.9 List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============0474776801==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: m.olbrich@pengutronix.de --===============0474776801== Content-Type: multipart/alternative; boundary="=-LxzzzrkOKoMWPVhoMxP1" --=-LxzzzrkOKoMWPVhoMxP1 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, I tried to get Qt 5.9 built with PTXDist and after I have set the PKG_CONFI= G_SYSROOT_DIR=3D/ and have done some minor adjustments to qt5.make regardin= g 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-gnueabih= f-g++ -MMD -MF obj/dbus/dbus/property.o.d -DDBUS_IMPLEMENTATION -DV8_DEPREC= ATION_WARNINGS -DUSE_UDEV -DUSE_AURA=3D1 -DUSE_OPENSSL_CERTS=3D1 -DUSE_OZON= E=3D1 -DNO_TCMALLOC -DDISABLE_NACL -DENABLE_TASK_MANAGER=3D1 -DENABLE_THEME= S=3D1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DC= HROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS= =3D64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D= __STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=3D0= -DU_USING_ICU_NAMESPACE=3D0 -DU_ENABLE_DYLOAD=3D0 -DU_STATIC_IMPLEMENTATIO= N -DICU_UTIL_DATA_IMPL=3DICU_UTIL_DATA_FILE -DGOOGLE_PROTOBUF_NO_RTTI -DGOO= GLE_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/chromi= um/opt/wsp/s-bsp/platform-abc/sysroot-target/usr/include/dbus-1.0 -I../../.= ./../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromiu= m/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/chro= mium/third_party/icu/source/common -I../../../../../qt-everywhere-opensourc= e-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=3Dssp-buffe= r-size=3D4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -march=3D= armv7-a -mfloat-abi=3Dhard -mtune=3Dgeneric-armv7-a -mfpu=3Dvfpv3-d16 -mthu= mb -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -Wno-psabi -Wno-unused-loc= al-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-u= nused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvi= sibility=3Dhidden -fno-threadsafe-statics -fvisibility-inlines-hidden -std= =3Dgnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -c ../../../../../qt-ev= erywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/dbus/proper= ty.cc -o obj/dbus/dbus/property.o In file included from ../../../../../qt-everywhere-opensource-src-5.9.4/qtw= ebengine/src/3rdparty/chromium/dbus/property.h:20:0, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 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 dir= ectory =C2=A0#include =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^ 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-targ= et/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 = --=-LxzzzrkOKoMWPVhoMxP1 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello,

I tried to get Qt 5.9 built with PTX= Dist and after I have set the PKG_CONFIG_SYSROOT_DIR=3D/ and have done some= minor adjustments to qt5.make regarding configure parameter it builds unti= l it reaches the QtWebengine part.

[2/14208] CXX obj/dbus/dbus/prope= rty.o
FAILED: obj/dbus/dbus/property.o
/opt/wsp/s-bsp/platform-abc/sy= sroot-host/lib/wrapper/arm-v7a-linux-gnueabihf-g++ -MMD -MF obj/dbus/dbus/p= roperty.o.d -DDBUS_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUS= E_AURA=3D1 -DUSE_OPENSSL_CERTS=3D1 -DUSE_OZONE=3D1 -DNO_TCMALLOC -DDISABLE_= NACL -DENABLE_TASK_MANAGER=3D1 -DENABLE_THEMES=3D1 -DFULL_SAFE_BROWSING -DS= AFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TES= TING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D_L= ARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG = -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=3D0 -DU_USING_ICU_NAMESPACE=3D0 -= DU_ENABLE_DYLOAD=3D0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=3DICU_U= TIL_DATA_FILE -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIAL= IZER -DHAVE_PTHREAD -Igen -I../../../../../qt-everywhere-opensource-src-5.9= .4/qtwebengine/src/3rdparty/chromium -I../../../../../qt-everywhere-opensou= rce-src-5.9.4/qtwebengine/src/3rdparty/chromium/opt/wsp/s-bsp/platform-abc/= sysroot-target/usr/include/dbus-1.0 -I../../../../../qt-everywhere-opensour= ce-src-5.9.4/qtwebengine/src/3rdparty/chromium/opt/wsp/s-bsp/platform-abc/s= ysroot-target/usr/lib/dbus-1.0/include -I../../../../../qt-everywhere-opens= ource-src-5.9.4/qtwebengine/src/3rdparty/chromium/third_party/icu/source/co= mmon -I../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3r= dparty/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=3Dssp-buffer-size=3D4 -fstack-protector -= funwind-tables -fPIC -pipe -pthread -march=3Darmv7-a -mfloat-abi=3Dhard -mt= une=3Dgeneric-armv7-a -mfpu=3Dvfpv3-d16 -mthumb -Wall -U_FORTIFY_SOURCE -D_= FORTIFY_SOURCE=3D2 -Wno-psabi -Wno-unused-local-typedefs -Wno-maybe-uniniti= alized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident= -fdata-sections -ffunction-sections -g0 -fvisibility=3Dhidden -fno-threads= afe-statics -fvisibility-inlines-hidden -std=3Dgnu++11 -Wno-narrowing -fno-= rtti -fno-exceptions -c ../../../../../qt-everywhere-opensource-src-5.9.4/q= twebengine/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,
  &= nbsp;           &nbs= p;  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>
         &n= bsp;            = ; ^
compilation terminated.
ninja: build stopped: subcommand failed.<= br>
The problem is here that -I../../../../../qt-everywhere-opensource-s= rc-5.9.4/qtwebengine/src/3rdparty/chromium/opt/wsp/s-bsp/platform-abc/sysro= ot-target/usr/include/dbus-1.0 isn't a valid include path.

I'm not s= ure if this is related to the pkg-config issue, but any hints are welcome h= ow to solve this?

Regards
-
Benjamin Federau
= --=-LxzzzrkOKoMWPVhoMxP1-- --===============0474776801== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============0474776801==--