From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ve1eur01olkn081c.outbound.protection.outlook.com ([2a01:111:f400:fe1f::81c] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fBc2W-0000fj-AH for ptxdist@pengutronix.de; Thu, 26 Apr 2018 10:14:04 +0200 From: Jakov Simunic Date: Thu, 26 Apr 2018 08:14:03 +0000 Message-ID: Content-Language: en-US MIME-Version: 1.0 Subject: [ptxdist] ISC DHCP 4.3.6-P1 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="===============0432784615==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: "ptxdist@pengutronix.de" --===============0432784615== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_VI1PR0201MB21104FB077FC66602AAC8EA5BC8E0VI1PR0201MB2110_" --_000_VI1PR0201MB21104FB077FC66602AAC8EA5BC8E0VI1PR0201MB2110_ Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Hello, we are using ISC DHCP in our ptxdist project and I have the task to upgrade= it from the currently used version 4.1-ESV-R10 to the newer 4.3.6-P1 versi= on. Much has changed in the build of the ISC DHCP from the last used versio= n in our project, and since we are cross compiling from our build server (x= 86_64) to the targets (one target is a 32 bit PowerPC architecture and the = other is a 32 bit ARM target) we need the cross compilation to work properl= y. The build always fails due to the improper setting of the BUILD_CC and C= C environment variables which are required to build a rule called gen in th= e dhcp-4.3.6-P1/bind/bind-9.9.11-P1/export/dns/Makefile (that rule builds s= ome stuff using the host compiler set through the BUILD_CC environment vari= able), I have tried to set those variables through the ptxdist/rules/dhcp.m= ake file (adding those environment variables to the DHCP_ENV variable), tha= t doesn't work. Also I have tried to set them through the ptxdist/patches (= tried to patch the dhcp-4.3.6-P1/Makefile.in and the dhcp-4.3.6-P1/bind/Mak= efile.in) the patches get applied and the Makefile prints out the correct c= ompilers, but it still fails in the same gen rule with the same error sayin= g that the BUILD_CC environment variable isn't set. Tried to cross compile = it outside of ptxdist on an Debian machine and it finishes normally, so I t= hink that something inside of ptxdist is causing the error. Could you offer any help/advice/suggestions on this matter, any help would = be greatly appreciated? Thank you -- Lijep pozdrav / Kind Regards Jakov =A9imuni=E6 --_000_VI1PR0201MB21104FB077FC66602AAC8EA5BC8E0VI1PR0201MB2110_ Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable

Hello,

we are using ISC DHCP in our ptxd= ist project and I have the task to upgrade it from the currently used = version 4.1-ESV-R10 to the newer 4.3.6-P1 version. Much has changed in the = build of the ISC DHCP from the last used version in our project, and since we are cross compiling from our build se= rver (x86_64) to the targets (one target is a 32 bit PowerPC arch= itecture and the other is a 32 bit ARM target) we need the cross compi= lation to work properly. The build always fails due to the improper setting of the BUILD_CC and CC environment v= ariables which are required to build a rule called gen in the dhcp-4.3.6-P1/bind/bind-9.9.11-P1/export/dns/= Makefile (that rule builds some stuff using the host compiler set through the BUILD= _CC environment variable), I have tried to set those variables throu= gh the ptxdist/rules/dhcp.make file (adding those environment variables to = the DHCP_ENV variable), that doesn't work. Also I have tried to set them through the ptxdist/patches (tried to = patch the dhcp-4.3.6-P1/Makefile.in and the dhcp-4.3.6-P1/bind/= Makefile.in) the patches get applied and the Makefile prints out the correct compilers, but= it still fails in the same gen rule with the same error saying that the BUILD_CC environment va= riable isn't set. Tried to cross compile it outside of ptxdist on an Debian= machine and it finishes normally, so I think that something inside of ptxd= ist is causing the error.

Could you offer any help/advice/s= uggestions on this matter, any help would be greatly appreciated?

Thank you


--
Lijep pozdrav / Kind Regards
Jakov =A9imuni=E6
--_000_VI1PR0201MB21104FB077FC66602AAC8EA5BC8E0VI1PR0201MB2110_-- --===============0432784615== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============0432784615==--