Yet another problem building /usr/ports/java/jdk14

Yet another problem building /usr/ports/java/jdk14

Post by Doug Polan » Sat, 31 May 2003 00:45:27



Hi,

I had to remove a working JDK1.4 from a 4-STABLE machine and am now having problems
re-building from the port.

Here's a snip from the build....

Compiling /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/functionAtEnd.cpp
echo Linking vm... ; \
g++ -shared -mimpure-text  -z noversion -o libjvm_g.so functionAtStart.o accessFlags.o
ad_i486.o ad_i486_clone.o

... snip...

vtune_bsd.o workgroup.o functionAtEnd.o   -lm -lc_r

Linking vm...
trainGeneration.o: could not read symbols: Input/output error
gmake[3]: *** [libjvm_g.so] Error 1
gmake[3]: Leaving directory
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
gmake[2]: *** [the_vm] Error 2
gmake[2]: Leaving directory
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
gmake[1]: *** [jvmg] Error 2
gmake[1]: Leaving directory
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp'
gmake: *** [jvmg] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk14.

I've run make clean and tried to build twice with the same result.  CVSup'd a day or two
ago.  Any clues?

--
Regards,
Doug
_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java

 
 
 

1. /usr/ports/java/jdk14 -> LIBC_R TEST FAILED: libc_r update required

p6m7g8# uname -a
FreeBSD p6m7g8.com 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #2: Mon May  5

p6m7g8# pwd
/usr/ports/java/jdk14
p6m7g8# make
mkdir -p /usr/ports/java/jdk14/work ;  rm -f /usr/ports/java/jdk14/work/testos
;  gcc -lc_r -o /usr/ports/java/jdk14/work/testos  
/usr/ports/java/jdk14/files/testos.c
if [ ! -f /usr/ports/java/jdk14/work/testos ] ;  then  /usr/bin/printf "\n You
must have a version of FreeBSD later than 4.7-STABLE\n February 2003 or
5-CURRENT February 2003 to compile and\n use JDK 1.4.1.\n\n" ;  exit 1 ;  fi
/usr/ports/java/jdk14/work/testos
LIBC_R TEST FAILED: libc_r update required
*** Error code 1

just from the uname, this shouldn't be the case.

cvsup to -CURRENT in libc_r ... same thing.

ran /usr/share/examples/FreeBSD_version

with output
Compilation release date: 500043
Execution environment release date: 500043

p6m7g8# gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.2.1 [FreeBSD] 20021119 (release)

ls -l /usr/ports/distfiles/
[some output snipped]
-rw-------  1 philip  wheel  52251762 May  8 14:08 j2sdk-1_4_1-src-scsl.zip
-rw-------  1 philip  wheel  42250657 May  8 15:56
j2sdk-1_4_1_02-linux-i586.bin
-rw-------  1 philip  wheel    572923 May  8 13:57 bsd-jdk14-patches-3.tar.gz

--
END
------------------------------------------------------------------------------
Philip M. Gollucci
Consultant

URL   : http://p6m7g8.net/Resume/resume.shtml
Phone : 301.474.9598

eJournalPress
DBA / Software Engineer / System Administrator

URL   : http://www.ejournalpress.com
Phone : 301.530.6375

$Id: .signature,v 1.4 2003/05/02 23:46:37 philip Exp $

_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java

2. adding ide disk > 1 gb to aix 4.1.5

3. fail to build ports/java/jdk14 on 5-current

4. generic IP proxy

5. ports/java/jdk14 build failure

6. opie only locally ?

7. java/50729: java/jdk14: broken java.net.NetworkInterface calls

8. ftp from subnet

9. /usr/ports/java/jdk12-beta build error

10. Fwd: cvs commit: ports/java/linux-sun-jdk14 Makefile

11. [phantom@FreeBSD.org: cvs commit: ports/java/jdk14/files patch-common::Defs.gmk]