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" 
>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)
NetBSD verthandi.technoskunk.fur 5.2_STABLE NetBSD 5.2_STABLE (VERTHANDI) #13: 
Wed Dec 18 05:44:53 CST 2013  

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

make: stopped in 

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
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

main ()
#ifndef __GNUC__
       choke me

  return 0;
if ac_fn_c_try_compile "3243"; then :
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext

Attempt to build "cross/binutils-mips-current" from pkgsrc-HEAD
(on netbsd-5/i386 if it matters).

Home | Main Index | Thread Index | Old Index