pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/48695: cross/binutils-mips-current fails configuring in "opcodes" subdirectory
>Number: 48695
>Category: pkg
>Synopsis: cross/binutils-mips-current fails configuring in "opcodes"
>subdirectory
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Apr 01 03:55:01 +0000 2014
>Originator: John D. Baker
>Release: NetBSD/i386-5.2_STABLE, pkgsrc-2014Q1 (plus
>cross/binutils/mips-current from pkgsrc-HEAD)
>Organization:
>Environment:
NetBSD verthandi.technoskunk.fur 5.2_STABLE NetBSD 5.2_STABLE (VERTHANDI) #13:
Wed Dec 18 05:44:53 CST 2013
sysop%verthandi.technoskunk.fur@localhost:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/VERTHANDI
i386
>Description:
Building "cross/binutils-mips-current" (to support building
port-playstation2) fails while configuring in the "opcodes" subdirectory
as follows:
[...]
Configuring in ./opcodes
configure: creating cache ./config.cache
checking build system type... i386--netbsdelf
checking host system type... i386--netbsdelf
checking target system type... mips--netbsdelf
checking for i386--netbsdelf-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for library containing strerror... none required
./configure.lineno: 3236: Syntax error: Bad substitution
*** Error code 1
Stop.
make: stopped in
/d0/build/pkgsrc/cross/binutils-mips-current/work/binutils-2.23.91
[...]
The failing line reported is:
[...]
choke me
[...]
which is part of a here-document test program embedded in the fragment:
[...]
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
#ifndef __GNUC__
choke me
#endif
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "3243"; then :
ac_compiler_gnu=yes
else
ac_compiler_gnu=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu
fi
[...]
>How-To-Repeat:
Attempt to build "cross/binutils-mips-current" from pkgsrc-HEAD
(on netbsd-5/i386 if it matters).
>Fix:
Home |
Main Index |
Thread Index |
Old Index