NetBSD Problem Report #49288

From www@NetBSD.org  Wed Oct 15 00:20:12 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 7FF18A6649
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 15 Oct 2014 00:20:12 +0000 (UTC)
Message-Id: <20141015002011.81E71A669E@mollari.NetBSD.org>
Date: Wed, 15 Oct 2014 00:20:11 +0000 (UTC)
From: pr@i3enedek.neomailbox.net
Reply-To: pr@i3enedek.neomailbox.net
To: gnats-bugs@NetBSD.org
Subject: gnustep-base fails in the configure stage, fails check for gcc producing objc binaries
X-Send-Pr-Version: www-1.0

>Number:         49288
>Category:       pkg
>Synopsis:       gnustep-base fails in the configure stage, fails check for gcc producing objc binaries
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bsiegert
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 15 00:25:00 +0000 2014
>Closed-Date:    Mon Jul 20 16:25:49 +0000 2015
>Last-Modified:  Mon Jul 20 16:25:49 +0000 2015
>Originator:     Ben Gergely
>Release:        pkgsrc-current
>Organization:
>Environment:
NetBSD 7.99.1 i386

>Description:
gnustep-base fails in the configure stage, fails check for gcc producing objc binaries

Could require a depend on gcc48-objc if the base gcc does not work.


checking for C compiler default output file name... 
configure: error: in `/usr/pkgsrc/devel/gnustep-base/work/gnustep-base-1.24.0':
configure: error: C compiler cannot create executables
See `config.log' for more details.
*** Error code 77

Stop.
make: stopped in /usr/pkgsrc/devel/gnustep-base
*** Error code 1

>How-To-Repeat:
cd /usr/pkgsrc/devel/gnustep-base ; cvs update -dP ; make
>Fix:

>Release-Note:

>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/49288: gnustep-base fails in the configure stage, fails
 check for gcc producing objc binaries
Date: Wed, 15 Oct 2014 06:02:48 +0000

 On Wed, Oct 15, 2014 at 12:25:00AM +0000, pr@i3enedek.neomailbox.net wrote:
  > gnustep-base fails in the configure stage, fails check for gcc producing objc binaries
  > 
  > Could require a depend on gcc48-objc if the base gcc does not work.
  > 
  > 
  > checking for C compiler default output file name... 
  > configure: error: in `/usr/pkgsrc/devel/gnustep-base/work/gnustep-base-1.24.0':
  > configure: error: C compiler cannot create executables
  > See `config.log' for more details.
  > *** Error code 77

 Can you look in config.log?

 -- 
 David A. Holland
 dholland@netbsd.org

From: Benedek Gergely <i3enedek@neomailbox.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/49288: gnustep-base fails in the configure stage, fails
 check for gcc producing objc binaries
Date: Wed, 15 Oct 2014 08:37:27 +0000

 cc1obj: error: unrecognized command line option "-fobjc-nonfragile-abi"

 I'll mess about with it later today.

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/49288: gnustep-base fails in the configure stage, fails
 check for gcc producing objc binaries
Date: Thu, 16 Oct 2014 03:05:24 +0000

 Not sent to gnats.

 (often if replying to yourself you need to explicitly set the
 to-address to gnats-bugs... I trip on this occasionally with mutt)

    ------
 From: Benedek Gergely <i3enedek@neomailbox.net>
 To: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
 	pr@i3enedek.neomailbox.net
 Subject: Re: pkg/49288: gnustep-base fails in the configure stage, fails check
 	for gcc producing objc binaries
 Date: Wed, 15 Oct 2014 20:17:40 +0000

 I've tried building again with PKG_OPTIONS.gnustep+=fragile; breaks in the same place.

 I've noticed that there seem to be built packages for powerpc & x86_64 in places but nothing for i386:

 http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/x86_64/6.0_2013Q2/gnustep/gnustep-base-1.24.0nb2.tgz


 Anyway the errors grep'ed from the config.log are:

 /usr/pkgsrc/devel/gnustep-base/work/.gcc/bin/gcc: error trying to exec '/usr/pkgsrc/devel/gnustep-base/work/.gcc/bin/i486--netbsdelf-gcc--I/usr/pkgsrc/devel/gnustep-base/work/.buildlink/include': execvp: No such file or directory
 configure:3775: error: in `/usr/pkgsrc/devel/gnustep-base/work/gnustep-base-1.24.0':
 configure:3777: error: C compiler cannot create executables


 and verbosely it looks like an issue lies with gcc:


 Configured with: /usr/src2/tools/gcc/../../external/gpl3/gcc/dist/configure --target=i486--netbsdelf --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org
 /Misc/send-pr.html --with-pkgversion='NetBSD nb2 20111202' --enable-__cxa_atexit --with-arch=i486 --with-tune=nocona --with-mpc=/var/obj/mknative/i386/usr/src2/destdir.i386
 /usr --with-mpfr=/var/obj/mknative/i386/usr/src2/destdir.i386/usr --with-gmp=/var/obj/mknative/i386/usr/src2/destdir.i386/usr --enable-tls --disable-multilib --disable-symv
 ers --disable-libstdcxx-pch --build=x86_64-unknown-netbsd5.99.56 --host=i486--netbsdelf
 Thread model: posix
 gcc version 4.5.3 (NetBSD nb2 20110806) 
 configure:3671: $? = 0
 configure:3678: gcc -V >&5
 /usr/pkgsrc/devel/gnustep-base/work/.gcc/bin/gcc: error trying to exec '/usr/pkgsrc/devel/gnustep-base/work/.gcc/bin/i486--netbsdelf-gcc--I/usr/pkgsrc/devel/gnustep-base/work/.buildlink/include': execvp: No such file or directory
 configure:3682: $? = 0
 configure:3705: checking for C compiler default output file name
 configure:3727: gcc -O2 -I/usr/pkg/include -I/usr/pkg/share/GNUstep/include -Wno-import -I/usr/include -I/usr/pkg/include -I/usr/pkg/share/GNUstep/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -L/usr/pkg/share/GNUstep/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/share/GNUstep/lib -L/usr/lib -Wl,-R/usr/lib -lobjc -lpthread -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib conftest.c  >&5
 /usr/pkgsrc/devel/gnustep-base/work/.buildlink/lib/libobjc.so: undefined reference to `__i686.get_pc_thunk.bx'
 configure:3731: $? = 1
 configure:3769: result: 
 configure: failed program was:
 | /* confdefs.h.  */
 | #define PACKAGE_NAME ""
 | #define PACKAGE_TARNAME ""
 | #define PACKAGE_VERSION ""
 | #define PACKAGE_STRING ""
 | #define PACKAGE_BUGREPORT ""
 | #define OPTION_NO_ENVIRONMENT 0
 | #define GNUSTEP_TARGET_MAKEFILES "/usr/pkg/share/GNUstep/Makefiles"
 | #define GNUSTEP_TARGET_USER_DEFAULTS_DIR "GNUstep/Defaults"
 | #define GNUSTEP_TARGET_USER_CONFIG_FILE ".GNUstep.conf"
 | #define GNUSTEP_TARGET_CONFIG_FILE "/usr/pkg/etc/GNUstep.conf"
 | #define GNUSTEP_TARGET_SYSTEM_APPS "/usr/pkg/lib/GNUstep/Applications"
 | #define GNUSTEP_TARGET_SYSTEM_ADMIN_APPS "/usr/pkg/lib/GNUstep/Applications"
 | #define GNUSTEP_TARGET_SYSTEM_WEB_APPS "/usr/pkg/lib/GNUstep/WebApplications"
 | #define GNUSTEP_TARGET_SYSTEM_TOOLS "/usr/pkg/bin"
 | #define GNUSTEP_TARGET_SYSTEM_ADMIN_TOOLS "/usr/pkg/sbin"
 | #define GNUSTEP_TARGET_SYSTEM_LIBRARY "/usr/pkg/lib/GNUstep"
 | #define GNUSTEP_TARGET_SYSTEM_LIBRARIES "/usr/pkg/lib"
 | #define GNUSTEP_TARGET_SYSTEM_HEADERS "/usr/pkg/include"
 | #define GNUSTEP_TARGET_SYSTEM_DOC "/usr/pkg/share/GNUstep/Documentation"
 | #define GNUSTEP_TARGET_SYSTEM_DOC_MAN "/usr/pkg/man"
 | #define GNUSTEP_TARGET_SYSTEM_DOC_INFO "/usr/pkg/info"
 | #define GNUSTEP_TARGET_NETWORK_APPS "/usr/pkg/lib/GNUstep/Applications"
 | #define GNUSTEP_TARGET_NETWORK_ADMIN_APPS "/usr/pkg/lib/GNUstep/Applications"
 | #define GNUSTEP_TARGET_NETWORK_WEB_APPS "/usr/pkg/lib/GNUstep/WebApplications"
 | #define GNUSTEP_TARGET_NETWORK_TOOLS "/usr/pkg/bin"
 | #define GNUSTEP_TARGET_NETWORK_ADMIN_TOOLS "/usr/pkg/sbin"
 | #define GNUSTEP_TARGET_NETWORK_LIBRARY "/usr/pkg/lib/GNUstep"
 | #define GNUSTEP_TARGET_NETWORK_LIBRARIES "/usr/pkg/lib"
 | #define GNUSTEP_TARGET_NETWORK_HEADERS "/usr/pkg/include"
 | #define GNUSTEP_TARGET_NETWORK_DOC "/usr/pkg/share/GNUstep/Documentation"
 | #define GNUSTEP_TARGET_NETWORK_DOC_MAN "/usr/pkg/man"
 | #define GNUSTEP_TARGET_NETWORK_DOC_INFO "/usr/pkg/info"
 | #define GNUSTEP_TARGET_LOCAL_APPS "/usr/pkg/lib/GNUstep/Applications"
 | #define GNUSTEP_TARGET_LOCAL_ADMIN_APPS "/usr/pkg/lib/GNUstep/Applications"
 | #define GNUSTEP_TARGET_LOCAL_WEB_APPS "/usr/pkg/lib/GNUstep/WebApplications"
 | #define GNUSTEP_TARGET_LOCAL_TOOLS "/usr/pkg/bin"
 | #define GNUSTEP_TARGET_LOCAL_ADMIN_TOOLS "/usr/pkg/sbin"
 | #define GNUSTEP_TARGET_LOCAL_LIBRARY "/usr/pkg/lib/GNUstep"
 | #define GNUSTEP_TARGET_LOCAL_LIBRARIES "/usr/pkg/lib"
 | #define GNUSTEP_TARGET_LOCAL_HEADERS "/usr/pkg/include"
 | #define GNUSTEP_TARGET_LOCAL_DOC "/usr/pkg/share/GNUstep/Documentation"
 | #define GNUSTEP_TARGET_LOCAL_DOC_MAN "/usr/pkg/man"
 | #define GNUSTEP_TARGET_LOCAL_DOC_INFO "/usr/pkg/info"
 | #define GNUSTEP_TARGET_USER_DIR_APPS "GNUstep/Applications"
 | #define GNUSTEP_TARGET_USER_DIR_ADMIN_APPS "GNUstep/Applications/Admin"
 | #define GNUSTEP_TARGET_USER_DIR_WEB_APPS "GNUstep/WebApplications"
 | #define GNUSTEP_TARGET_USER_DIR_TOOLS "GNUstep/Tools"
 | #define GNUSTEP_TARGET_USER_DIR_ADMIN_TOOLS "GNUstep/Tools/Admin"
 | #define GNUSTEP_TARGET_USER_DIR_LIBRARY "GNUstep/Library"
 | #define GNUSTEP_TARGET_USER_DIR_LIBRARIES "GNUstep/Library/Libraries"
 | #define GNUSTEP_TARGET_USER_DIR_HEADERS "GNUstep/Library/Headers"
 | #define GNUSTEP_TARGET_USER_DIR_DOC "GNUstep/Library/Documentation"
 | #define GNUSTEP_TARGET_USER_DIR_DOC_MAN "GNUstep/Library/Documentation/man"
 | #define GNUSTEP_TARGET_USER_DIR_DOC_INFO "GNUstep/Library/Documentation/info"
 | #define GNUSTEP_TARGET_SYSTEM_USERS_DIR ""
 | #define GNUSTEP_TARGET_NETWORK_USERS_DIR ""
 | #define GNUSTEP_TARGET_LOCAL_USERS_DIR ""
 | /* end confdefs.h.  */
 | 
 | int
 | main ()
 | {
 | 
 |   ;
 |   return 0;
 | }
 configure:3775: error: in `/usr/pkgsrc/devel/gnustep-base/work/gnustep-base-1.24.0':
 configure:3777: error: C compiler cannot create executables

From: Benedek Gergely <i3enedek@neomailbox.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/49288: gnustep-base fails in the configure stage
Date: Mon, 20 Jul 2015 14:43:44 +0000

 --q9KOos5vDmpwPx9o
 Content-Type: text/plain; charset=utf-8
 Content-Disposition: inline

 Working again. Might as well close this.

 --q9KOos5vDmpwPx9o
 Content-Type: application/pgp-signature

 -----BEGIN PGP SIGNATURE-----

 iQIcBAEBCgAGBQJVrQkfAAoJEER7iyJof72AsjEQAKasy3TJa1ZPSCfTPHz8xxj+
 ij3CglC3LGjgAJunCx6Tam3qvJhC0srAUTIk7Ka9jciZic8pZ13COvsdPmL7zODs
 5taFCCaR0/swih4DumakSrDC4hqAgMIU6s6333N97GtskXAkF9JWjMIxDBTDqfjm
 /vCO5EPsGT6SoythgnIT+Ag9FCFFJJIB/0nl0sg1gsHsQmkIDLf7H1fkP/v85vkW
 YW+IMzntADT3EAa7x2v6xMSCkgohAGtsrw/rNppJax+TAbs76h/6A5eTnR+Efliy
 rNdM+HXM+tYanU7FiexJW8b2Pd482IiH8CiJhLcSbUjEnBl0vkKgv9oA0k7dZTKC
 qaoBY+JCJJ0wL9sCLpYrTLFy5nWVds34wM/ccn4wxBUrMeiYL29HXpD1sBTkYc7Y
 RFkQaHZjSs7g1dcjnc8KS17RSHJyGIqkWmeCFzqtzNcKGmsKEibYToloEkKQStPl
 07XEdi6iNoYa+ttaVAgT4FJF+W06ebZgaCTVfk0vZq7p/Byo43EC5FV0gCFWP/DZ
 5jpH7fPpPD+dFztaykD79YIU/Ic80HPLP23yDiD/4+WoA+PzhU34hUsb57bwSbWR
 7OUu/LYaBQdSSZKCNtO/eBuVR6d2Lt3Y4GREpHb2QtTa21ZOrW2CHOKf/hWrt630
 quemD3ZcUJf34bqVxfO5
 =Zqgo
 -----END PGP SIGNATURE-----

 --q9KOos5vDmpwPx9o--

Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Mon, 20 Jul 2015 16:25:49 +0000
Responsible-Changed-Why:


State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Mon, 20 Jul 2015 16:25:49 +0000
State-Changed-Why:
Closed as per submitter's request. Not reproducible.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.