Discussion:
pkg/48982: lang/openjdk7 build fails on netbsd-5/i386
j***@mylinuxisp.com
2014-07-10 12:55:00 UTC
Permalink
Number: 48982
Category: pkg
Synopsis: lang/openjdk7 build fails on netbsd-5/i386
Confidential: no
Severity: critical
Priority: high
Responsible: pkg-manager
State: open
Class: sw-bug
Submitter-Id: net
Arrival-Date: Thu Jul 10 12:55:00 +0000 2014
Originator: John D. Baker
Release: NetBSD/i386-5.2_STABLE, pkgsrc-2014Q2
Attempting to build "lang/openjdk7" (1.7.60nb1) from pkgsrc-2014Q2
fails as follows:

[...]
/d0/build/pkgsrc/lang/openjdk7/work/.wrapper/bin/gcc -O3 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -m32 -fno-omit-frame-pointer -D_LITTLE_ENDIAN -DJDK_MAJOR_VERSION='"1"' -DJDK_MINOR_VERSION='"7"' -DJDK_MICRO_VERSION='"0"' -DJDK_BUILD_NUMBER='"b00"' -DDEFAULT_LIBPATH=\"/usr/pkg/lib/jni:/usr/pkg/lib:/lib:/usr/lib\" -DNDEBUG -DARCH='"i586"' -Di586 -D_ALLBSD_SOURCE -DRELEASE='"1.7.0-internal"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/d0/build/pkgsrc/lang/openjdk7/work/openjdk/build/bsd-i586/tmp/java/java.lang/java/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/java/lang/fdlibm/include -I../../../src/share/native/java/io -I../../../src/solaris/native/java/io -I../../../src/solaris/nati
ve/java/util -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/lang -I../../../src/solaris/native/java/lang -DRELEASE='"1.7.0-internal"
' -DARCHPROPNAME='"i386"' -DALT_CODESET_KEY=_NL_CTYPE_CODESET_NAME -c -o /d0/build/pkgsrc/lang/openjdk7/work/openjdk/build/bsd-i586/tmp/java/java.lang/java/obj/UNIXProcess_md.o ../../../src/solaris/native/java/lang/UNIXProcess_md.c
../../../src/solaris/native/java/lang/UNIXProcess_md.c:52:19: error: spawn.h: No such file or directory
../../../src/solaris/native/java/lang/UNIXProcess_md.c: In function 'spawnChild':
../../../src/solaris/native/java/lang/UNIXProcess_md.c:513: warning: implicit declaration of function 'posix_spawn'
/d0/build/pkgsrc/lang/openjdk7/work/openjdk/jdk/make/common/internal/NativeCompileRules.gmk:74: recipe for target '/d0/build/pkgsrc/lang/openjdk7/work/openjdk/build/bsd-i586/tmp/java/java.lang/java/obj/UNIXProcess_md.o' failed
gmake[5]: *** [/d0/build/pkgsrc/lang/openjdk7/work/openjdk/build/bsd-i586/tmp/java/java.lang/java/obj/UNIXProcess_md.o] Error 1
gmake[5]: Leaving directory '/d0/build/pkgsrc/lang/openjdk7/work/openjdk/jdk/make/java/java'
../../common/Library.gmk:123: recipe for target 'library_parallel_compile' failed
gmake[4]: *** [library_parallel_compile] Error 2
gmake[4]: Leaving directory '/d0/build/pkgsrc/lang/openjdk7/work/openjdk/jdk/make/java/java'
Makefile:63: recipe for target 'all' failed
gmake[3]: *** [all] Error 1
gmake[3]: Leaving directory '/d0/build/pkgsrc/lang/openjdk7/work/openjdk/jdk/make/java'
Makefile:253: recipe for target 'all' failed
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory '/d0/build/pkgsrc/lang/openjdk7/work/openjdk/jdk/make'
make/jdk-rules.gmk:88: recipe for target 'jdk-build' failed
gmake[1]: *** [jdk-build] Error 2
gmake[1]: Leaving directory '/d0/build/pkgsrc/lang/openjdk7/work/openjdk'
Makefile:251: recipe for target 'build_product_image' failed
gmake: *** [build_product_image] Error 2
*** Error code 2

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

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


A previous version (1.7.51nb?) built successfully.
Attempt to build "lang/openjdk7" from pkgsrc-2014Q2 on netbsd-5/i386.
r***@NetBSD.org
2014-07-21 00:14:56 UTC
Permalink
Synopsis: lang/openjdk7 build fails on netbsd-5/i386

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: ***@NetBSD.org
Responsible-Changed-When: Mon, 21 Jul 2014 00:14:55 +0000
Responsible-Changed-Why:
I will take this.
Ryo ONODERA
2014-07-21 00:20:01 UTC
Permalink
The following reply was made to PR pkg/48982; it has been noted by GNATS.

From: "Ryo ONODERA" <***@netbsd.org>
To: gnats-***@gnats.NetBSD.org
Cc:
Subject: PR/48982 CVS commit: pkgsrc/lang/openjdk7
Date: Mon, 21 Jul 2014 00:15:41 +0000

Module Name: pkgsrc
Committed By: ryoon
Date: Mon Jul 21 00:15:41 UTC 2014

Modified Files:
pkgsrc/lang/openjdk7: Makefile distinfo
Added Files:
pkgsrc/lang/openjdk7/patches:
patch-jdk_src_solaris_classes_java_lang_UNIXProcess.java.bsd
patch-jdk_src_solaris_native_java_lang_UNIXProcess__md.c

Log Message:
Bump PKGREVISION. Fix PR pkg/48982.

* Use fork instead of posix_spawn under NetBSD 5.


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 pkgsrc/lang/openjdk7/Makefile
cvs rdiff -u -r1.49 -r1.50 pkgsrc/lang/openjdk7/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/lang/openjdk7/patches/patch-jdk_src_solaris_classes_java_lang_UNIXProcess.java.bsd \
pkgsrc/lang/openjdk7/patches/patch-jdk_src_solaris_native_java_lang_UNIXProcess__md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
r***@NetBSD.org
2014-07-21 00:22:32 UTC
Permalink
Synopsis: lang/openjdk7 build fails on netbsd-5/i386

State-Changed-From-To: open->feedback
State-Changed-By: ***@NetBSD.org
State-Changed-When: Mon, 21 Jul 2014 00:22:32 +0000
State-Changed-Why:
Please try 1.7.60nb2.
John D. Baker
2014-07-21 19:05:00 UTC
Permalink
The following reply was made to PR pkg/48982; it has been noted by GNATS.

From: "John D. Baker" <***@mylinuxisp.com>
To: gnats-***@NetBSD.org
Cc:
Subject: Re: pkg/48982 (lang/openjdk7 build fails on netbsd-5/i386)
Date: Mon, 21 Jul 2014 13:31:34 -0500 (CDT)
Post by r***@NetBSD.org
Please try 1.7.60nb2.
This builds and installs on netbsd-5 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
d***@NetBSD.org
2014-07-27 05:23:38 UTC
Permalink
Synopsis: lang/openjdk7 build fails on netbsd-5/i386

State-Changed-From-To: feedback->closed
State-Changed-By: ***@NetBSD.org
State-Changed-When: Sun, 27 Jul 2014 05:23:38 +0000
State-Changed-Why:
confirmed fixed, thanks
d***@NetBSD.org
2014-07-27 05:31:17 UTC
Permalink
Synopsis: lang/openjdk7 build fails on netbsd-5/i386

State-Changed-From-To: closed->pending-pullups
State-Changed-By: ***@NetBSD.org
State-Changed-When: Sun, 27 Jul 2014 05:31:17 +0000
State-Changed-Why:
on second thought, pullup-pkgsrc #4465
S.P.Zeidler
2014-07-27 12:40:01 UTC
Permalink
The following reply was made to PR pkg/48982; it has been noted by GNATS.

From: "S.P.Zeidler" <***@netbsd.org>
To: gnats-***@gnats.NetBSD.org
Cc:
Subject: PR/48982 CVS commit: [pkgsrc-2014Q2] pkgsrc/lang/openjdk7
Date: Sun, 27 Jul 2014 12:36:21 +0000

Module Name: pkgsrc
Committed By: spz
Date: Sun Jul 27 12:36:21 UTC 2014

Modified Files:
pkgsrc/lang/openjdk7 [pkgsrc-2014Q2]: Makefile bootstrap.mk distinfo
pkgsrc/lang/openjdk7/patches [pkgsrc-2014Q2]: patch-aa patch-ak
Added Files:
pkgsrc/lang/openjdk7/patches [pkgsrc-2014Q2]:
patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_utilities_PlatformInfo.java
patch-jdk_make_java_net_FILES__c.gmk
patch-jdk_src_solaris_classes_java_lang_UNIXProcess.java.bsd
patch-jdk_src_solaris_native_java_lang_UNIXProcess__md.c
patch-jdk_src_solaris_native_java_lang_java__props__md.c
patch-jdk_src_solaris_native_java_net_net__util__md.h
patch-jdk_test_jprt.config

Log Message:
Pullup ticket #4465 - requested by dholland
lang/openjdk7: fix for netbsd-5

Revisions pulled up:
- lang/openjdk7/Makefile 1.71-1.72
- lang/openjdk7/bootstrap.mk 1.11
- lang/openjdk7/distinfo 1.50-1.51
- lang/openjdk7/patches/patch-aa 1.12
- lang/openjdk7/patches/patch-ak 1.7
- lang/openjdk7/patches/patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_utilities_PlatformInfo.java 1.1
- lang/openjdk7/patches/patch-jdk_make_java_net_FILES__c.gmk 1.1
- lang/openjdk7/patches/patch-jdk_src_solaris_classes_java_lang_UNIXProcess.java.bsd 1.1
- lang/openjdk7/patches/patch-jdk_src_solaris_native_java_lang_UNIXProcess__md.c 1.1
- lang/openjdk7/patches/patch-jdk_src_solaris_native_java_lang_java__props__md.c 1.1
- lang/openjdk7/patches/patch-jdk_src_solaris_native_java_net_net__util__md.h 1.1
- lang/openjdk7/patches/patch-jdk_test_jprt.config 1.1

-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: ryoon
Date: Mon Jul 21 00:15:41 UTC 2014

Modified Files:
pkgsrc/lang/openjdk7: Makefile distinfo
Added Files:
pkgsrc/lang/openjdk7/patches:
patch-jdk_src_solaris_classes_java_lang_UNIXProcess.java.bsd
patch-jdk_src_solaris_native_java_lang_UNIXProcess__md.c

Log Message:
Bump PKGREVISION. Fix PR pkg/48982.

* Use fork instead of posix_spawn under NetBSD 5.

To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 pkgsrc/lang/openjdk7/Makefile
cvs rdiff -u -r1.49 -r1.50 pkgsrc/lang/openjdk7/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/lang/openjdk7/patches/patch-jdk_src_solaris_classes_java_lang_UNIXProcess.java.bsd \
pkgsrc/lang/openjdk7/patches/patch-jdk_src_solaris_native_java_lang_UNIXProcess__md.c

-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: ryoon
Date: Fri Jul 25 20:35:14 UTC 2014

Modified Files:
pkgsrc/lang/openjdk7: Makefile bootstrap.mk distinfo
pkgsrc/lang/openjdk7/patches: patch-aa patch-ak
Added Files:
pkgsrc/lang/openjdk7/patches:
patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_utilities_PlatformInfo.java
patch-jdk_make_java_net_FILES__c.gmk
patch-jdk_src_solaris_native_java_lang_java__props__md.c
patch-jdk_src_solaris_native_java_net_net__util__md.h
patch-jdk_test_jprt.config

Log Message:
Bump PKGREVISION

* Use working bootstrap kits for DragonFly from DPorts.
* Borrow patches from DragonFly Dports.
Fix build under DragonFly 3.6.2 and 3.8.1.

To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 pkgsrc/lang/openjdk7/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/openjdk7/bootstrap.mk
cvs rdiff -u -r1.50 -r1.51 pkgsrc/lang/openjdk7/distinfo
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/openjdk7/patches/patch-aa
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/openjdk7/patches/patch-ak
cvs rdiff -u -r0 -r1.1 \
pkgsrc/lang/openjdk7/patches/patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_utilities_PlatformInfo.java \
pkgsrc/lang/openjdk7/patches/patch-jdk_make_java_net_FILES__c.gmk \
pkgsrc/lang/openjdk7/patches/patch-jdk_src_solaris_native_java_lang_java__props__md.c \
pkgsrc/lang/openjdk7/patches/patch-jdk_src_solaris_native_java_net_net__util__md.h \
pkgsrc/lang/openjdk7/patches/patch-jdk_test_jprt.config


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.70.2.1 pkgsrc/lang/openjdk7/Makefile
cvs rdiff -u -r1.10 -r1.10.6.1 pkgsrc/lang/openjdk7/bootstrap.mk
cvs rdiff -u -r1.49 -r1.49.2.1 pkgsrc/lang/openjdk7/distinfo
cvs rdiff -u -r1.11 -r1.11.4.1 pkgsrc/lang/openjdk7/patches/patch-aa
cvs rdiff -u -r1.6 -r1.6.10.1 pkgsrc/lang/openjdk7/patches/patch-ak
cvs rdiff -u -r0 -r1.1.2.2 \
pkgsrc/lang/openjdk7/patches/patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_utilities_PlatformInfo.java \
pkgsrc/lang/openjdk7/patches/patch-jdk_make_java_net_FILES__c.gmk \
pkgsrc/lang/openjdk7/patches/patch-jdk_src_solaris_classes_java_lang_UNIXProcess.java.bsd \
pkgsrc/lang/openjdk7/patches/patch-jdk_src_solaris_native_java_lang_UNIXProcess__md.c \
pkgsrc/lang/openjdk7/patches/patch-jdk_src_solaris_native_java_lang_java__props__md.c \
pkgsrc/lang/openjdk7/patches/patch-jdk_src_solaris_native_java_net_net__util__md.h \
pkgsrc/lang/openjdk7/patches/patch-jdk_test_jprt.config

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
d***@NetBSD.org
2014-10-13 04:57:43 UTC
Permalink
Synopsis: lang/openjdk7 build fails on netbsd-5/i386

State-Changed-From-To: pending-pullups->closed
State-Changed-By: ***@NetBSD.org
State-Changed-When: Mon, 13 Oct 2014 04:57:43 +0000
State-Changed-Why:
pullup (to a now-dead branch) was done in july, oops

Loading...