From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: MIME-Version: 1.0 From: Jon Ringle Date: Mon, 11 Mar 2019 22:25:59 -0400 Message-ID: Subject: [ptxdist] qt4.make leaks include/lib path in devpkg 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="===============0110491329==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.com --===============0110491329== Content-Type: multipart/alternative; boundary="0000000000005a23d20583dc69d2" --0000000000005a23d20583dc69d2 Content-Type: text/plain; charset="UTF-8" In rules/qt4.make, there is: ``` ifdef PTXCONF_QT4_EXAMPLES QT4_DEVPKG := NO endif ``` This means that a qt4 dev package will be probably be created. The qt4.extract rule will create some mkspecs files that contain the absolute path for include and lib dirs. These mkspecs files get packaged up in the qt4-*-dev.tar.gz package and does not get fixed up. This caused some very strange errors when building our project because the include path that the project used picked up the include path from the qt4 dev package and pointed to the wrong header file from another platform. Having a qt4 dev package is a real build time saver and I don't really want to mark it with QT4_DEVPKG := NO unconditionally, but I'm not sure what the proper fix for it would be. Thanks, -Jon --0000000000005a23d20583dc69d2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In rules/qt4.make, there is:
```
ifdef PTXCONF_QT4_EXAMPLES
QT4_DEVPKG= =C2=A0 =C2=A0 =C2=A0 :=3D NO
endif
```
= This means that a qt4 dev package will be probably be created.
Th= e qt4.extract rule will create some mkspecs files that contain the absolute= path for include and lib dirs. These mkspecs files get packaged up in the = qt4-*-dev.tar.gz package and does not get fixed up. This caused some very s= trange errors when building our project because the include path that the p= roject used picked up the include path from the qt4 dev package and pointed= to the wrong header file from another platform.

H= aving a qt4 dev package is a real build time saver and I don't really w= ant to mark it with QT4_DEVPKG :=3D NO unconditionally, but I'm not sur= e what the proper fix for it would be.

Thanks,
-Jon
--0000000000005a23d20583dc69d2-- --===============0110491329== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============0110491329==--