NetBSD Problem Report #46569

From oster@mickey.localdomain  Fri Jun  8 22:41:41 2012
Return-Path: <oster@mickey.localdomain>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 4140C63B882
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  8 Jun 2012 22:41:41 +0000 (UTC)
Message-Id: <20120608224137.2C27A87D1F@mickey.localdomain>
Date: Fri,  8 Jun 2012 16:41:37 -0600 (CST)
From: oster@netbsd.org
Reply-To: oster@netbsd.org
To: gnats-bugs@gnats.NetBSD.org
Subject: lang/openjdk7 fails to build on NetBSD-6.0_BETA2/amd64
X-Send-Pr-Version: 3.95

>Number:         46569
>Category:       pkg
>Synopsis:       lang/openjdk7 fails to build on NetBSD-6.0_BETA2/amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 08 22:45:00 +0000 2012
>Closed-Date:    
>Last-Modified:  Sun Mar 30 20:10:00 +0000 2014
>Originator:     Greg Oster
>Release:        NetBSD 6.0_BETA2
>Organization:
>Environment:


System: NetBSD mickey 6.0_BETA2 NetBSD 6.0_BETA2 (QUAD) #0: Wed Jun 6 08:43:58 CST 2012 oster@quad:/u1/builds/build218/src/obj/amd64/u1/builds/build218/src/sys/arch/amd64/compile/QUAD amd64
Architecture: x86_64
Machine: amd64
>Description:

While trying to build lang/openjdk7 I encountered the following error:

########################################################################
########################################################################
##### Entering hotspot for target(s) all_product                   #####
########################################################################

cd  ./hotspot/make && \
    /usr/pkg/bin/gmake JDK_TOPDIR=/usr/pkgsrc/lang/openjdk7/work.mickey/openjdk/jdk JDK_MAKE_SHARED_DIR=/usr/pkgsrc/lang/openjdk7/work.mickey/openjdk/jdk/make/common/shared EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 TARGET_CLASS_VERSION=7 MILESTONE=internal BUILD_NUMBER=b00 JDK_BUILD_NUMBER=b00 FULL_VERSION=1.7.0-internal-pkgsrc_2012_06_08_22_38-b00 PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0 JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0 PREVIOUS_MAJOR_VERSION=1 PREVIOUS_MINOR_VERSION=6 PREVIOUS_MICRO_VERSION=0 ARCH_DATA_MODEL=64 COOKED_BUILD_NUMBER=0 ALT_OUTPUTDIR=/usr/pkgsrc/lang/openjdk7/work.mickey/openjdk/build/bsd-amd64/hotspot/outputdir ALT_EXPORT_PATH=/usr/pkgsrc/lang/openjdk7/work.mickey/openjdk/build/bsd-amd64/hotspot/import ALT_SLASH_JAVA=/NOT-SET ALT_BOOTDIR=/usr/pkgsrc/lang/openjdk7/work.mickey/bootstrap ALT_LANGTOOLS_DIST=/usr/pkgsrc/lang/openjdk7/work.mickey/openjdk/build/bsd-amd64/langtools/dist all_product
gmake[2]: Entering directory `/usr/pkgsrc/lang/openjdk7/work.mickey/openjdk/hotspot/make'
Makefile:378: target `/Xusage.txt' given more than once in the same rule.
cd /usr/pkgsrc/lang/openjdk7/work.mickey/openjdk/hotspot/make; \
/usr/pkg/bin/gmake VM_TARGET=product generic_build2 ALT_OUTPUTDIR=/usr/pkgsrc/lang/openjdk7/work.mickey/openjdk/build/bsd-amd64/hotspot/outputdir
gmake[3]: Entering directory `/usr/pkgsrc/lang/openjdk7/work.mickey/openjdk/hotspot/make'
Makefile:378: target `/Xusage.txt' given more than once in the same rule.
mkdir -p /usr/pkgsrc/lang/openjdk7/work.mickey/openjdk/build/bsd-amd64/hotspot/outputdir
cd /usr/pkgsrc/lang/openjdk7/work.mickey/openjdk/build/bsd-amd64/hotspot/outputdir; \
    MAKEFLAGS= MFLAGS= nmake /NOLOGO -f \\usr\\pkgsrc\\lang\\openjdk7\\work.mickey\\openjdk\\hotspot\\make\\windows\\build.make \
              Variant=compiler2 \
                      WorkSpace=\\usr\\pkgsrc\\lang\\openjdk7\\work.mickey\\openjdk\\hotspot \
              BootStrapDir=\\usr\\pkgsrc\\lang\\openjdk7\\work.mickey\\bootstrap \
                      BuildUser= \
               JDK_MKTG_VERSION=7 JDK_MAJOR_VER=1 JDK_MINOR_VER=7 JDK_MICRO_VER=0 JDK_BUILD_NUMBER=0 BUILD_WIN_SA=1 JAVA_HOME=\\usr\\pkgsrc\\lang\\openjdk7\\work.mickey\\bootstrap OUTPUTDIR=\\usr\\pkgsrc\\lang\\openjdk7\\work.mickey\\openjdk\\build\\bsd-amd64\\hotspot\\outputdir GAMMADIR=\\usr\\pkgsrc\\lang\\openjdk7\\work.mickey\\openjdk\\hotspot MAKE_VERBOSE=y HOTSPOT_RELEASE_VERSION=21.0-b17 JRE_RELEASE_VERSION=1.7.0-internal-pkgsrc_2012_06_08_22_38-b00 HOTSPOT_BUILD_VERSION= product
nmake: not found
gmake[3]: *** [generic_build2] Error 127
gmake[3]: Leaving directory `/usr/pkgsrc/lang/openjdk7/work.mickey/openjdk/hotspot/make'
gmake[2]: *** [product] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/lang/openjdk7/work.mickey/openjdk/hotspot/make'
gmake[1]: *** [hotspot-build] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/lang/openjdk7/work.mickey/openjdk'
gmake: *** [build_product_image] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/lang/openjdk7
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/openjdk7

I have no idea why it wants nmake, or where nmake might be found.

>How-To-Repeat:

	cd /usr/pkgsrc/lang/openjdk7
	make install clean

>Fix:
	please.


>Release-Note:

>Audit-Trail:
From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/46569 lang/openjdk7 fails to build on
 NetBSD-6.0_BETA2/amd64
Date: Sun, 03 Nov 2013 15:21:13 +0900 (JST)

 Hi,

 A Japanese user tells me when OS variable is defined, openjdk7 build fails
 like you had reported.

 Do you have OS or other Java related environmental variables?

 Thank you.

 --
 Ryo ONODERA // ryo_on@yk.rim.or.jp
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

State-Changed-From-To: open->feedback
State-Changed-By: ryoon@NetBSD.org
State-Changed-When: Sun, 30 Mar 2014 18:08:41 +0000
State-Changed-Why:
feedback request


From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/46569: lang/openjdk7 fails to build on
 NetBSD-6.0_BETA2/amd64
Date: Mon, 31 Mar 2014 03:51:12 +0900 (JST)

 From: Ryo ONODERA <ryo_on@yk.rim.or.jp>, Date: Mon, 31 Mar 2014 03:06:03 +0900 (JST)

 > Hi,
 > 
 > I believe this problem is caused from user-defined environmental variable(s).
 > So it should be local problem.
 > O.K. to close this PR?

 Sorry I have wrong subject and my comment is not sent to you.

 --
 Ryo ONODERA // ryo_on@yk.rim.or.jp
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

>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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.