Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2010 17:26:01 +0200
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Maho NAKATA <chat95@mac.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: java/jdk16 tinderbox build was broken on recent 9-CURRENT
Message-ID:  <4B7C0A89.3010606@icyb.net.ua>
In-Reply-To: <20100217.221616.1024833258536783419.chat95@mac.com>
References:  <20100217.221616.1024833258536783419.chat95@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
on 17/02/2010 15:16 Maho NAKATA said the following:
> Hi
> 
> java/jdk16 tinderbox build was broken on recent 9-CURRENT.
> 
> ----------------
> /usr/bin/gcc      -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses -pipe
>    -Damd64 -DARCH='"amd64"' -DRELEASE='"1.6.0_03-p4"' -DFULL_VERSION='"1.6.0_03-p4-root_17
> _feb_2010_12_27-b00"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_ALLBSD_SOURCE -D_LP64=1
>  -I. -I/work/a/ports/java/jdk16/work/control/build/bsd-amd64/tmp/java/hpi/native_threads/C
> ClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export
>  -I../../../../src/share/javavm/include -I../../../../src/solaris/javavm/include -I../../.
> ./../src/solaris/hpi/native_threads/include -I../../../../src/solaris/hpi/include -I../../
> ../../src/solaris/hpi/export -I../../../../src/share/hpi/include -I../../../../src/share/h
> pi/export -D_REENTRANT -DNATIVE -DUSE_PTHREADS -DMOOT_PRIORITIES    -c -o /work/a/ports/ja
> va/jdk16/work/control/build/bsd-amd64/tmp/java/hpi/native_threads/obj64/mutex_md.o  ../../
> ../../src/solaris/hpi/native_threads/src/mutex_md.c
> ../../../../src/solaris/hpi/native_threads/src/interrupt_md.c:115: error: static declarati
> on of 'sigignore' follows non-static declaration
> /usr/include/signal.h:99: error: previous declaration of 'sigignore' was here
> gmake[5]: *** [/work/a/ports/java/jdk16/work/control/build/bsd-amd64/tmp/java/hpi/native_t
> hreads/obj64/interrupt_md.o] Error 1
> gmake[5]: *** Waiting for unfinished jobs....
> gmake[5]: Leaving directory `/work/a/ports/java/jdk16/work/j2se/make/java/hpi/native'
> gmake[4]: *** [parallel_compile] Error 2
> gmake[4]: Leaving directory `/work/a/ports/java/jdk16/work/j2se/make/java/hpi/native'
> gmake[3]: *** [all] Error 1
> gmake[3]: Leaving directory `/work/a/ports/java/jdk16/work/j2se/make/java/hpi'
> gmake[2]: *** [all] Error 1
> gmake[2]: Leaving directory `/work/a/ports/java/jdk16/work/j2se/make/java'
> gmake[1]: *** [all] Error 1
> gmake[1]: Leaving directory `/work/a/ports/java/jdk16/work/j2se/make'
> gmake: *** [j2se-build] Error 2
> *** Error code 2
> 
> Stop in /a/ports/java/jdk16.
> ================================================================
> build of /usr/ports/java/jdk16 ended at Wed Feb 17 12:35:40 UTC 2010
> 
> I tried to fix http://www.freebsd.org/cgi/query-pr.cgi?pr=142843
> and I setup a 9-CURRENT/amd64 tinderbox userland dated as 2010/2/17.
> java/jdk16 was broken described above.

This tinderbox issue might be caused by how we get OS_RELDATE (sysctl
kern.osreldate) and how tinderbox is configured.
If the tinderbox is, say, a HEAD jail on a, say, 7-STABLE system, then
kern.osreldate would give information for the host system/kernel, not for the jail
environment.

On a real system with kernel and userland in sync the port compiles without any
issues.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B7C0A89.3010606>