From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Yb5Q5-0003Nd-BI for ptxdist@pengutronix.de; Thu, 26 Mar 2015 11:53:49 +0100 Received: by wibg7 with SMTP id g7so143534243wib.1 for ; Thu, 26 Mar 2015 03:53:43 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20150326092359.GX3000@pengutronix.de> References: <20150126134428.GA30319@pengutronix.de> <20150326092359.GX3000@pengutronix.de> Date: Thu, 26 Mar 2015 06:53:43 -0400 Message-ID: From: Jon Ringle Subject: Re: [ptxdist] Problems building libnl3 Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" On Thu, Mar 26, 2015 at 5:23 AM, Michael Olbrich wrote: > On Wed, Mar 25, 2015 at 09:21:32AM -0400, Jon Ringle wrote: >> On Tue, Jan 27, 2015 at 11:22 PM, Jon Ringle wrote: >> > On Mon, Jan 26, 2015 at 8:44 AM, Michael Olbrich >> > wrote: >> >> On Wed, Jan 21, 2015 at 02:22:26PM -0500, Jon Ringle wrote: >> >> > After updating to ptxdist-2015-01.0, I am having a problem build libnl3. >> >> > I >> >> > tried rebuilding host-flex, hoping this might do the trick, but it did >> >> > not >> >> > help. >> >> > Any ideas? >> >> > >> >> > Jon >> >> > >> >> > ---------------------- >> >> > target: libnl3.compile >> >> > ---------------------- >> >> > >> >> > make[1]: Entering directory >> >> > >> >> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25' >> >> > Making all in include >> >> > make[2]: Entering directory >> >> > >> >> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include' >> >> > make[2]: Nothing to be done for `all'. >> >> > make[2]: Leaving directory >> >> > >> >> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include' >> >> > Making all in lib >> >> > make[2]: Entering directory >> >> > >> >> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib' >> >> >> >> Is this from a clean build? I see some more stuff here: >> >> >> >> GEN route/cls/ematch_grammar.c >> >> GEN route/cls/ematch_syntax.c >> >> GEN route/pktloc_grammar.c >> >> GEN route/pktloc_syntax.c >> >> >> >> Can you send the output from "ptxdist clean libnl3 ; ptxdist -v compile >> >> libnl3"? Maybe we can see some more stuff there. >> >> $ ptxdist clean libnl3 ; ptxdist -v compile libnl3 > [...] >> ptxdist: executing: >> PATH=/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-cross/bin:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-cross/sbin:\/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib/wrapper:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/bin:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/sbin:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/selected_toolchain:/usr/local/lib/ptxdist-2015.03.0_GP/bin:/home/local/GRIDPOINT/jringle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/OSELAS.Toolchain-2013.12.1/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin:/opt/arm-2009q1/bin > [...] >> make[2]: Entering directory >> `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib' >> /usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route/cls; flex >> --header-file=route/cls/ematch_grammar.h -o >> route/cls/ematch_grammar.c route/cls/ematch_grammar.l >> /usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route/cls; bison -y >> -d -o route/cls/ematch_syntax.c route/cls/ematch_syntax.y >> /usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route; flex >> --header-file=route/pktloc_grammar.h -o route/pktloc_grammar.c >> route/pktloc_grammar.l >> /usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route; bison -y -d >> -o route/pktloc_syntax.c route/pktloc_syntax.y >> flex: fatal internal error, exec failed >> flex: fatal internal error, exec failed > > If I read the code correctly, then flex is trying to execute 'm4' here. > Maybe that's missing? Last night as an experiment, I deleted the host-*-dev.tar.gz and did a clean build. This worked. I will try again later today keeping all the original *-dev.tar.gz and just removing the host-m4-*-dev.tar.gz file. Jon -- ptxdist mailing list ptxdist@pengutronix.de