Discussion:
pkg/49308: (cross/freemint-binutils) build error (really configure)
m***@ki.nu
2014-10-23 04:20:00 UTC
Permalink
Number: 49308
Category: pkg
Synopsis: /bin/ksh is required for configure
Confidential: no
Severity: serious
Priority: medium
Responsible: pkg-manager
State: open
Class: sw-bug
Submitter-Id: net
Arrival-Date: Thu Oct 23 04:20:00 +0000 2014
Originator: Makoto Fujiwara
Release: NetBSD 6.1_STABLE
KINU Corporation
System: NetBSD z87 6.1_STABLE NetBSD 6.1_STABLE (GENERIC) amd64
Architecture: x86_64
Machine: amd64
You may find build error on 2014Q3/NetBSD-6.0-x86_64 as:
http://nyftp.netbsd.org/pub/pkgsrc/packages/reports/2014Q3/NetBSD-6.0-x86_64/20141022.0953/cross-freemint-binutils-2.24/build.log
The same thing is true on pkgsrc-current
(cd /usr/pkgsrc/cross/freemint-binutils; make package)
Index: cross/freemint-binutils/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/cross/freemint-binutils/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- cross/freemint-binutils/Makefile 19 Jan 2014 07:23:49 -0000 1.2
+++ cross/freemint-binutils/Makefile 23 Oct 2014 03:42:21 -0000
@@ -58,3 +58,13 @@
done

.include "../../mk/bsd.pkg.mk"
+
+# checking for strverscmp... configure:3124: gcc -o conftest -O2 -Wl,-R/usr/pkg/lib conftest.c >&5
+# ./configure.lineno: 3167: Syntax error: ";" unexpected
+# Makefile:6086: recipe for target 'configure-gprof' failed
+# gmake[1]: *** [configure-gprof] Error 1
+# gmake[1]: *** Waiting for unfinished jobs....
+# checking for a BSD-compatible install... ./configure.lineno: 3281: Syntax error: "(" unexpected (expecting "fi")
+# no
+# checking for tmpnam... Makefile:3432: recipe for target 'configure-binutils' failed
+PKGSRC_MAKE_ENV+= SH=/bin/ksh
Makoto Fujiwara
2014-10-23 10:25:01 UTC
Permalink
The following reply was made to PR pkg/49308; it has been noted by GNATS.

From: Makoto Fujiwara <***@ki.nu>
To: gnats-***@NetBSD.org
Cc:
Subject: Re: pkg/49308: (cross/freemint-binutils) build error (really configure)
Date: Thu, 23 Oct 2014 19:21:48 +0900

Let me revise the diff, thanks wiz@
---
***@NetBSD.org
Makoto Fujiwara,

Index: cross/freemint-binutils/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/cross/freemint-binutils/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- cross/freemint-binutils/Makefile 19 Jan 2014 07:23:49 -0000 1.2
+++ cross/freemint-binutils/Makefile 23 Oct 2014 10:20:11 -0000
@@ -23,6 +23,9 @@
OBJDIR= ../build
CONFIGURE_DIRS= ${OBJDIR}
CONFIGURE_SCRIPT= ${WRKSRC}/configure
+# ./configure.lineno: 3167: Syntax error: ";" unexpected
+# Makefile:6086: recipe for target 'configure-gprof' failed
+CONFIG_SHELL= ksh
GNU_CONFIGURE_PREFIX= ${FREEMINT_PREFIX}

CONFIGURE_ARGS+= --disable-werror --target=m68k-atari-mint

Loading...