NetBSD Problem Report #52531

From hauke@spg.tu-darmstadt.de  Thu Sep  7 10:11:34 2017
Return-Path: <hauke@spg.tu-darmstadt.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id AE7347A274
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  7 Sep 2017 10:11:34 +0000 (UTC)
Message-Id: <201709071011.v87ABIwC011084@Anscharte.nt.e-technik.tu-darmstadt.de>
Date: Thu, 7 Sep 2017 12:11:18 +0200 (CEST)
From: Hauke Fath <hf@spg.tu-darmstadt.de>
Reply-To: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: lang/openjdk7 fails to build on netbsd-8
X-Send-Pr-Version: 3.95

>Number:         52531
>Category:       pkg
>Synopsis:       lang/openjdk7 fails to build on netbsd-8
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ryoon
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 07 10:15:00 +0000 2017
>Last-Modified:  Thu May 03 14:35:01 +0000 2018
>Originator:     Hauke Fath
>Release:        NetBSD 8.0_BETA
>Organization:
Technische Universitaet Darmstadt
>Environment:


System: NetBSD Anscharte.nt.e-technik.tu-darmstadt.de 8.0_BETA NetBSD 8.0_BETA (HP2170P) #0: Mon Sep 4 13:48:38 CEST 2017 hauke@Anscharte.nt.e-technik.tu-darmstadt.de:/var/obj/netbsd-builds/8/amd64/sys/arch/amd64/compile/HP2170P amd64
Architecture: x86_64
Machine: amd64
>Description:

	The lang/openjdk7 build fails with

[...]
g++ -D_ALLBSD_SOURCE -D_GNU_SOURCE -DAMD64 -I/var/obj/pkgsrc/lang/openjdk7/work/openjdk/hotspot/src/share/vm/prims -I/var/obj/pkgsrc/lang/openjdk7/work/openjdk/hotspot/src/share/vm -I/var/obj/pkgsrc/lang/openjdk7/work/openjdk/hotspot/src/share/vm/precompiled -I/var/obj/pkgsrc/lang/openjdk7/work/openjdk/hotspot/src/cpu/x86/vm -I/var/obj/pkgsrc/lang/openjdk7/work/openjdk/hotspot/src/os_cpu/bsd_x86/vm -I/var/obj/pkgsrc/lang/openjdk7/work/openjdk/hotspot/src/os/bsd/vm -I/var/obj/pkgsrc/lang/openjdk7/work/openjdk/hotspot/src/os/posix/vm -I/var/obj/pkgsrc/lang/openjdk7/work/openjdk/hotspot/src/share/vm/adlc -I../generated -DASSERT -O2 -pipe -Wall -Wno-error -D_FORTIFY_SOURCE=2 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -DTARGET_OS_FAMILY_bsd -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_bsd_x86 -DTARGET_OS_ARCH_MODEL_bsd_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1  -f!
 no-rtti -fno-exceptions -pthread -fcheck-new -fvisibility=hidden -m64 -pipe -DDONT_USE_PRECOMPILED_HEADER -DTARGET_OS_FAMILY_bsd -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_bsd_x86 -DTARGET_OS_ARCH_MODEL_bsd_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1  -fno-rtti -fno-exceptions -pthread -fcheck-new -fvisibility=hidden -m64 -pipe -DDONT_USE_PRECOMPILED_HEADER -Werror -g -c -o ../generated/adfiles/archDesc.o /var/obj/pkgsrc/lang/openjdk7/work/openjdk/hotspot/src/share/vm/adlc/archDesc.cpp 
/var/obj/pkgsrc/lang/openjdk7/work/openjdk/hotspot/make/bsd/makefiles/adlc.make:214: recipe for target '../generated/adfiles/arena.o' failed
/var/obj/pkgsrc/lang/openjdk7/work/openjdk/hotspot/make/bsd/makefiles/adlc.make:214: recipe for target '../generated/adfiles/dict2.o' failed
/var/obj/pkgsrc/lang/openjdk7/work/openjdk/hotspot/make/bsd/makefiles/adlc.make:214: recipe for target '../generated/adfiles/archDesc.o' failed
/var/obj/pkgsrc/lang/openjdk7/work/openjdk/hotspot/make/bsd/makefiles/adlc.make:214: recipe for target '../generated/adfiles/dfa.o' failed
/var/obj/pkgsrc/lang/openjdk7/work/openjdk/hotspot/make/bsd/makefiles/adlc.make:214: recipe for target '../generated/adfiles/adlparse.o' failed
gmake[6]: Leaving directory '/var/obj/pkgsrc/lang/openjdk7/work/openjdk/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product'
/var/obj/pkgsrc/lang/openjdk7/work/openjdk/hotspot/make/bsd/makefiles/top.make:91: recipe for target 'ad_stuff' failed
gmake[5]: Leaving directory '/var/obj/pkgsrc/lang/openjdk7/work/openjdk/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product'
/var/obj/pkgsrc/lang/openjdk7/work/openjdk/hotspot/make/bsd/Makefile:292: recipe for target 'product' failed
gmake[4]: Leaving directory '/var/obj/pkgsrc/lang/openjdk7/work/openjdk/build/bsd-amd64/hotspot/outputdir'
Makefile:202: recipe for target 'generic_build2' failed
gmake[3]: Leaving directory '/var/obj/pkgsrc/lang/openjdk7/work/openjdk/hotspot/make'
Makefile:158: recipe for target 'product' failed
gmake[2]: Leaving directory '/var/obj/pkgsrc/lang/openjdk7/work/openjdk/hotspot/make'
make/hotspot-rules.gmk:125: recipe for target 'hotspot-build' failed
gmake[1]: Leaving directory '/var/obj/pkgsrc/lang/openjdk7/work/openjdk'
Makefile:251: recipe for target 'build_product_image' failed
*** Error code 2

Stop.
make[1]: stopped in /local/source/pkgsrc/lang/openjdk7
*** Error code 1

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



>How-To-Repeat:

	Build openjdk7 on netbsd-8/amd64.


>Fix:

	Twiddle -Werror?



>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Thu, 07 Sep 2017 10:22:29 +0000
Responsible-Changed-Why:
Over to last updater.


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52531: lang/openjdk7 fails to build on netbsd-8
Date: Sat, 28 Apr 2018 08:37:11 +0000

 On Thu, Sep 07, 2017 at 10:15:00AM +0000, Hauke Fath wrote:
  > 	The lang/openjdk7 build fails with
  > 
  > [...]

 There's no actual error in there... just make unwinding itself

 -- 
 David A. Holland
 dholland@netbsd.org

From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org, ryoon@NetBSD.org, gnats-admin@netbsd.org
Cc: 
Subject: Re: pkg/52531: lang/openjdk7 fails to build on netbsd-8
Date: Thu, 3 May 2018 16:33:42 +0200

 On 04/28/18 10:40, David Holland wrote:
 > The following reply was made to PR pkg/52531; it has been noted by GNATS.
 > 
 > From: David Holland <dholland-pbugs@netbsd.org>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: pkg/52531: lang/openjdk7 fails to build on netbsd-8
 > Date: Sat, 28 Apr 2018 08:37:11 +0000
 > 
 >   On Thu, Sep 07, 2017 at 10:15:00AM +0000, Hauke Fath wrote:
 >    > 	The lang/openjdk7 build fails with
 >    >
 >    > [...]
 >   
 >   There's no actual error in there... just make unwinding itself

 There are tons of lines like

 /var/obj/pkgsrc/lang/openjdk7/work/bootstrap/bin/java 
 -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput 
 -client -Xmx512m -Xms512m -XX:PermSize=32m -XX:MaxPermSize=160m -jar 
 /var/obj/pkgsrc/lang/openjdk7/work/openjdk/build/bsd-i586/btjars/stripproperties.jar 
 -optionsfile 
 /var/obj/pkgsrc/lang/openjdk7/work/openjdk/build/bsd-i586/tmp/sun/com.sun.rowset/strip_prop_options
 sbrk: grow 0xb15ab000 failed, error = 12
 sbrk: grow 0xb1bab000 failed, error = 12
 /var/obj/pkgsrc/lang/openjdk7/work/bootstrap/jre/lib/i386/client/libjvm.so: 
 text relocations

 and finally

 cat: /proc/self/status: No such file or directory

 The package did build fine after mounting procfs to /proc (which I 
 normally don't do). Is this a known requirement of openjdk7, and could 
 it check for the mount?

 hauke

 -- 
       The ASCII Ribbon Campaign                    Hauke Fath
 ()     No HTML/RTF in email	        Institut für Nachrichtentechnik
 /\     No Word docs in email                     TU Darmstadt
       Respect for open standards              Ruf +49-6151-16-21344

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.