NetBSD Problem Report #33430

From root@akaumigame.org  Sun May  7 01:21:49 2006
Return-Path: <root@akaumigame.org>
Received: from www489.sakura.ne.jp (www489.sakura.ne.jp [59.106.13.139])
	by narn.netbsd.org (Postfix) with ESMTP id 0797363B8B4
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  7 May 2006 01:21:47 +0000 (UTC)
Message-Id: <20060507005303.80654133C63@c8.ln.akaumigame.org>
Date: Sun,  7 May 2006 09:53:03 +0900 (JST)
From: ykomatsu@akaumigame.org
Reply-To: ykomatsu@akaumigame.org
To: gnats-bugs@netbsd.org
Subject: lang/python24: "make" fails
X-Send-Pr-Version: 3.95

>Number:         33430
>Category:       pkg
>Synopsis:       lang/python24: "make" failes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tv
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 07 01:25:00 +0000 2006
>Closed-Date:    Sun May 07 15:17:32 +0000 2006
>Last-Modified:  Sun May 07 15:17:32 +0000 2006
>Originator:     Yoshito Komatsu
>Release:        NetBSD 3.99.18
>Organization:
>Environment:
System: NetBSD c8.ln.akaumigame.org 3.99.18 NetBSD 3.99.18 (XENU) #0: Sun Apr 30 20:36:24 JST 2006 root@c8.ln.akaumigame.org:/usr/obj/sys/arch/i386/compile/XENU i386
Architecture: i386
Machine: i386
>Description:
	===> Configuring for python24-2.4.3nb1
	configure: WARNING: If you wanted to set the --build type, don't use --host.
	    If a cross compiler is detected then cross compile mode will be used.
	checking MACHDEP... netbsd3
	checking EXTRAPLATDIR...
	checking for --without-gcc... no
	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 ANSI C... none needed
	checking for --with-cxx-main=<compiler>... no
	checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
	See `config.log' for more details.
	*** Error code 77

	Stop.
	make: stopped in /usr/pkgsrc/lang/python24
	===>
	===> There was an error during the ``configure'' phase.
	===> Please investigate the following for more information:
	===>      * config.log
	===>      * /pkg_comp/obj/pkgsrc/lang/python24/c7/.work.log
	===>
	*** Error code 1

	Stop.
	make: stopped in /usr/pkgsrc/lang/python24
>How-To-Repeat:
	# cd /usr/pkgsrc/lang/python24
	# make
>Fix:
	lang/python24 configure script needs C++ compiler and latest
	mk/compiler.mk requires setting USE_LANGUAGES properly.

	# diff -uNr Makefile.orig Makefile
	--- Makefile.orig	2006-05-07 09:24:53.000000000 +0900
	+++ Makefile	2006-05-07 09:43:43.000000000 +0900
	@@ -17,6 +17,8 @@

	 CONFLICTS+=	python-[0-9]*

	+USE_LANGUAGES=	c c++
	+
	 GNU_CONFIGURE=		yes
	 CONFIGURE_ARGS+=	--with-threads
	 CONFIGURE_ARGS+=	--enable-shared

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->tv
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Sun, 07 May 2006 06:45:24 +0000
Responsible-Changed-Why:
USE_LANGUAGES fallout.


From: Todd Vierling <tv@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/33430 CVS commit: pkgsrc/lang/python24
Date: Sun,  7 May 2006 15:11:44 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	tv
 Date:		Sun May  7 15:11:44 UTC 2006

 Modified Files:
 	pkgsrc/lang/python24: Makefile

 Log Message:
 Allow use of C++ support on all platforms for consistency, by setting
 USE_LANGUAGES.  Fixes PR pkg/33430.


 To generate a diff of this commit:
 cvs rdiff -r1.24 -r1.25 pkgsrc/lang/python24/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: tv@netbsd.org
State-Changed-When: Sun, 07 May 2006 15:17:32 +0000
State-Changed-Why:
Fixed in python24/Makefile.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.