NetBSD Problem Report #48683

From www@NetBSD.org  Wed Mar 26 17:31:00 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C6D50A5801
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 26 Mar 2014 17:31:00 +0000 (UTC)
Message-Id: <20140326173059.4CD39A5802@mollari.NetBSD.org>
Date: Wed, 26 Mar 2014 17:30:59 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: lang/gcc44 build fails on netbsd-5/i386
X-Send-Pr-Version: www-1.0

>Number:         48683
>Category:       pkg
>Synopsis:       lang/gcc44 build fails on netbsd-5/i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    sbd
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 26 17:35:00 +0000 2014
>Closed-Date:    Sun Nov 23 03:44:07 +0000 2014
>Last-Modified:  Sun Nov 23 03:44:07 +0000 2014
>Originator:     John D. Baker
>Release:        NetBSD/i386-5.2_STABLE, pkgsrc-HEAD (pre-pkgsrc-2014Q1)
>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:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/VERTHANDI i386

>Description:
Building lang/gcc44 (a dependency of mulimedia/libvpx and perhaps others) fails on
netbsd-5/i386 (others?) with the following:

[...]
libtool: compile:  /d0/build/pkgsrc/lang/gcc44/work/obj/./gcc/xgcc -shared-libgcc -B/d0/build/pkgsrc/lang/gcc44/work/obj/./gcc -nostdinc++ -L/d0/build/pkgsrc/lang/gcc44/work/obj/i386-unknown-netbsdelf5.2./libstdc++-v3/src -L/d0/build/pkgsrc/lang/gcc44/work/obj/i386-unknown-netbsdelf5.2./libstdc++-v3/src/.libs -B/usr/pkg/gcc44/i386-unknown-netbsdelf5.2./bin/ -B/usr/pkg/gcc44/i386-unknown-netbsdelf5.2./lib/ -isystem /usr/pkg/gcc44/i386-unknown-netbsdelf5.2./include -isystem /usr/pkg/gcc44/i386-unknown-netbsdelf5.2./sys-include -DHAVE_CONFIG_H -I. -I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava -I./include -I./gcj -I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava -Iinclude -I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava/include -I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava/classpath/include -Iclasspath/include -I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava/classpath/native/fdlibm -I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava/../boehm-gc/include -
 I../boehm-gc/include -I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava/libltdl -I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava/libltdl -I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava/.././libjava/../gcc -I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64 -ffloat-store -fomit-frame-pointer -Usun -Wextra -Wall -D_GNU_SOURCE -DPREFIX=\"/usr/pkg/gcc44\" -DTOOLEXECLIBDIR=\"/usr/pkg/gcc44/lib\" -DJAVA_HOME=\"/usr/pkg/gcc44\" -DBOOT_CLASS_PATH=\"/usr/pkg/gcc44/share/java/libgcj-4.4.7.jar\" -DJAVA_EXT_DIRS=\"/usr/pkg/gcc44/share/java/ext\" -DGCJ_ENDORSED_DIRS=\"/usr/pkg/gcc44/share/java/gcj-endorsed\" -DGCJ_VERSIONED_LIBDIR=\"/usr/pkg/gcc44/lib/gcj-4.4.7-10\" -DPATH_SEPARATOR=\":\" -DECJ_JAR_FILE=\"\" -DLIBGCJ_DEFAULT_DATABASE=\"/usr/pkg/gcc44/lib/gcj-4.4.7-10/classmap.db\" -DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=\"gcj-4.4.7-10/classmap.db\" -
 g -O2 -I/d0/build/pkgsrc/lang/gcc44/work/.buildlink/include -I/usr/pkg/include -I/usr/include -MT java/net/natVMInetAddress.lo -MD -MP -MF java/net/.deps/natVMInetAddress.Tpo -c java/net/natVMInetAddress.cc  -fPIC -DPIC -o java/net/.libs/natVMInetAddress.o
java/net/natVMInetAddress.cc: In static member function 'static JArray<JArray<__java_byte>*>* java::net::VMInetAddress::getHostByName(java::lang::String*)':
java/net/natVMInetAddress.cc:220: error: 'gethostbyname_r' was not declared in this scope
Makefile:9667: recipe for target 'java/net/natVMInetAddress.lo' failed
gmake[3]: *** [java/net/natVMInetAddress.lo] Error 1
gmake[3]: Leaving directory '/d0/build/pkgsrc/lang/gcc44/work/obj/i386-unknown-netbsdelf5.2./libjava'
Makefile:9968: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory '/d0/build/pkgsrc/lang/gcc44/work/obj/i386-unknown-netbsdelf5.2./libjava'
Makefile:16957: recipe for target 'all-target-libjava' failed
gmake[1]: *** [all-target-libjava] Error 2
gmake[1]: Leaving directory '/d0/build/pkgsrc/lang/gcc44/work/obj'
Makefile:739: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /x/pkgsrc/lang/gcc44
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Makefile.
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/lang/gcc44

>How-To-Repeat:
Attempt to build lang/gcc44 from pkgsrc-HEAD on netbsd-5/i386 (other arches?)
>Fix:
Perhaps arrange for it not to build the java compiler?

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->sbd
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Tue, 01 Apr 2014 08:30:14 +0000
Responsible-Changed-Why:
Over to maintainer.


From: "Patrick Welche" <prlw1@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48683 CVS commit: pkgsrc/lang/gcc44
Date: Tue, 12 Aug 2014 08:33:31 +0000

 Module Name:	pkgsrc
 Committed By:	prlw1
 Date:		Tue Aug 12 08:33:31 UTC 2014

 Modified Files:
 	pkgsrc/lang/gcc44: Makefile

 Log Message:
 Fix for PR pkg/48683 based on a hint from wiz@.


 To generate a diff of this commit:
 cvs rdiff -u -r1.42 -r1.43 pkgsrc/lang/gcc44/Makefile

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

From: "Matthias Scheler" <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48683 CVS commit: [pkgsrc-2014Q2] pkgsrc/lang/gcc44
Date: Wed, 13 Aug 2014 21:09:06 +0000

 Module Name:	pkgsrc
 Committed By:	tron
 Date:		Wed Aug 13 21:09:06 UTC 2014

 Modified Files:
 	pkgsrc/lang/gcc44 [pkgsrc-2014Q2]: Makefile

 Log Message:
 Pullup ticket #4472 - requested by prlw1
 lang/gcc44: build fix

 Revisions pulled up:
 - lang/gcc44/Makefile                                           1.43

 ---
    Module Name:    pkgsrc
    Committed By:   prlw1
    Date:           Tue Aug 12 08:33:31 UTC 2014

    Modified Files:
            pkgsrc/lang/gcc44: Makefile

    Log Message:
    Fix for PR pkg/48683 based on a hint from wiz@.


 To generate a diff of this commit:
 cvs rdiff -u -r1.42 -r1.42.2.1 pkgsrc/lang/gcc44/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->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 14 Aug 2014 07:22:52 +0000
State-Changed-Why:
how does that look?


From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/48683 (lang/gcc44 build fails on netbsd-5/i386)
Date: Fri, 15 Aug 2014 09:49:57 -0500 (CDT)

 On Thu, 14 Aug 2014, dholland@NetBSD.org wrote:

 > State-Changed-From-To: open->feedback
 > State-Changed-By: dholland@NetBSD.org
 > State-Changed-When: Thu, 14 Aug 2014 07:22:52 +0000
 > State-Changed-Why:
 > how does that look?

 lang/gcc44 builds now.  Thanks.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 23 Nov 2014 03:44:07 +0000
State-Changed-Why:
confirmed fixed, thanks


>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.