Re: make reconfigure status

2019-08-06 Thread Jonathan Gibbons

Alan,

There was a recent change to the build such that you need to do a 
one-time delete of your build directory, and run configure again. After 
that, "make reconfigure" works as expected.


-- Jon

On 8/6/19 9:45 AM, Alan Snyder wrote:

In case this is useful...

I don’t know what the status is of “make reconfigure”, but I suspect it is 
unsupported because I see no mention of it in the build doc.

However:

* It still exists

* It is mentioned in the output of make

* It failed when I tried to use it (on macOS 10.15.5)

The error has something to do with choosing a configuration output directory. 
Somehow it winds up connected to my home directory and then complains about it.

I had no trouble running “bash configure”.


Please rerun configure! Easiest way to do this is by running
'make reconfigure'.


checking where to store configuration... in current directory
configure: Current directory is /Users/alan.
configure: Since this is not the source root, configure will output the 
configuration here
configure: (as opposed to creating a configuration in 
/build/).
configure: However, this directory is not empty. This is not allowed, since it 
could
configure: seriously mess up just about everything.
configure: Try 'cd /Volumes/A/JDK/client2' and restart configure
configure: (or create a new empty directory and cd to it).
configure: error: Will not continue creating configuration in /Users/alan
/Users/alan/configure-support/generated-configure.sh: line 82: 5: Bad file 
descriptor
configure exiting with result code 1
make[1]: *** [reconfigure] Error 1
make: *** [reconfigure] Error 2



Re: make reconfigure fails on idk 10

2017-10-18 Thread Lance Andersen
Hi Erik,

Thank you.  I just brought over an update and you are correct, it looks like 
the fix my Magnus also addressed this issue.

Best
Lance
> On Oct 18, 2017, at 4:22 AM, Erik Joelsson  wrote:
> 
> Hello Lance,
> 
> I have seen similar problems recently, but I think it was caused by an old 
> configuration created a few days ago and an incompatible build change that 
> came in later. It may also have been that this was failing before Magnus' fix 
> a few days back. Could you "rm -rf build" and "hg pull -u" and see if the 
> problem still exists?
> 
> /Erik
> 
> 
> On 2017-10-17 23:08, Lance Andersen wrote:
>> Hi,
>> 
>> I just tried to run ‘make reconfigure’ in a JDK 10 workspace which was 
>> cloned from an existing workspace it fails:
>> 
>> hg paths
>> default = /Users/ljanders/Documents/hg-workspaces/openjdk10/jdk10-master/open
>> 
>>  make reconfigure
>> Re-running configure using arguments 
>> '--with-freetype-include=/usr/X11/include --with-freetype-lib=/usr/X11/lib 
>> --disable-warnings-as-errors JT_HOME=/Users/ljanders/Dropbox/openjdk/jtreg'
>> Running generated-configure.sh
>> configure: Configuration created at Tue Oct 17 16:39:44 EDT 2017.
>> configure: configure script generated at timestamp 1508136203.
>> checking for basename... /usr/bin/basename
>> checking for bash... /bin/bash
>> checking for cat... /bin/cat
>> checking for chmod... /bin/chmod
>> checking for cmp... /usr/bin/cmp
>> checking for comm... /usr/bin/comm
>> checking for cp... /bin/cp
>> checking for cut... /usr/bin/cut
>> checking for date... /bin/date
>> checking for gdiff... no
>> checking for diff... /usr/bin/diff
>> checking for dirname... /usr/bin/dirname
>> checking for echo... /bin/echo
>> checking for expr... /bin/expr
>> checking for file... /usr/bin/file
>> checking for find... /usr/bin/find
>> checking for head... /usr/bin/head
>> checking for gunzip... /usr/bin/gunzip
>> checking for pigz... no
>> checking for gzip... /usr/bin/gzip
>> checking for ln... /bin/ln
>> checking for ls... /bin/ls
>> checking for mkdir... /bin/mkdir
>> checking for mktemp... /usr/bin/mktemp
>> checking for mv... /bin/mv
>> checking for nawk... no
>> checking for gawk... no
>> checking for awk... /usr/bin/awk
>> checking for printf... /usr/bin/printf
>> checking for rm... /bin/rm
>> checking for rmdir... /bin/rmdir
>> checking for sh... /bin/sh
>> checking for sort... /usr/bin/sort
>> checking for tail... /usr/bin/tail
>> checking for gtar... no
>> checking for tar... /usr/bin/tar
>> checking for tee... /usr/bin/tee
>> checking for touch... /usr/bin/touch
>> checking for tr... /usr/bin/tr
>> checking for uname... /usr/bin/uname
>> checking for uniq... /usr/bin/uniq
>> checking for wc... /usr/bin/wc
>> checking for which... /usr/bin/which
>> checking for xargs... /usr/bin/xargs
>> checking for gawk... no
>> checking for mawk... no
>> checking for nawk... no
>> checking for awk... awk
>> checking for grep that handles long lines and -e... /usr/bin/grep
>> checking for egrep... /usr/bin/grep -E
>> checking for fgrep... /usr/bin/grep -F
>> checking for a sed that does not truncate output... /usr/bin/sed
>> checking for cygpath... no
>> checking for greadlink... no
>> checking for readlink... /usr/bin/readlink
>> checking for df... /bin/df
>> checking for cpio... /usr/bin/cpio
>> checking for nice... /usr/bin/nice
>> checking for pandoc... no
>> checking build system type... x86_64-apple-darwin16.7.0
>> checking host system type... x86_64-apple-darwin16.7.0
>> checking target system type... x86_64-apple-darwin16.7.0
>> checking openjdk-build os-cpu... macosx-x86_64
>> checking openjdk-target os-cpu... macosx-x86_64
>> checking compilation type... native
>> checking for top-level directory... 
>> /Users/ljanders/Documents/hg-workspaces/openjdk10/jdk10-corba/open-corba
>> checking if custom source is suppressed (openjdk-only)... no
>> checking which variant of the JDK to build... normal
>> checking which debug level to use... release
>> checking which variants of the JVM to build... server
>> checking for xcodebuild... /usr/bin/xcodebuild
>> checking for sdk name...
>> checking for sysroot... 
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
>> checking for toolchain path...
>> checking for extra path...
>> checking where to store configuration... in current directory
>> configure: Current directory is /Users/ljanders.
>> configure: Since this is not the source root, configure will output the 
>> configuration here
>> configure: (as opposed to creating a configuration in 
>> /build/).
>> configure: However, this directory is not empty. This is not allowed, since 
>> it could
>> configure: seriously mess up just about everything.
>> configure: Try 'cd 
>> /Users/ljanders/Documents/hg-workspaces/openjdk10/jdk10-corba/open-corba' 
>> and restart configure
>> configure: (or create a new empty directory and cd to it).
>> configure: error: Will not continue 

Re: make reconfigure fails on idk 10

2017-10-18 Thread Erik Joelsson

Hello Lance,

I have seen similar problems recently, but I think it was caused by an 
old configuration created a few days ago and an incompatible build 
change that came in later. It may also have been that this was failing 
before Magnus' fix a few days back. Could you "rm -rf build" and "hg 
pull -u" and see if the problem still exists?


/Erik


On 2017-10-17 23:08, Lance Andersen wrote:

Hi,

I just tried to run ‘make reconfigure’ in a JDK 10 workspace which was cloned 
from an existing workspace it fails:

hg paths
default = /Users/ljanders/Documents/hg-workspaces/openjdk10/jdk10-master/open

  make reconfigure
Re-running configure using arguments '--with-freetype-include=/usr/X11/include 
--with-freetype-lib=/usr/X11/lib --disable-warnings-as-errors 
JT_HOME=/Users/ljanders/Dropbox/openjdk/jtreg'
Running generated-configure.sh
configure: Configuration created at Tue Oct 17 16:39:44 EDT 2017.
configure: configure script generated at timestamp 1508136203.
checking for basename... /usr/bin/basename
checking for bash... /bin/bash
checking for cat... /bin/cat
checking for chmod... /bin/chmod
checking for cmp... /usr/bin/cmp
checking for comm... /usr/bin/comm
checking for cp... /bin/cp
checking for cut... /usr/bin/cut
checking for date... /bin/date
checking for gdiff... no
checking for diff... /usr/bin/diff
checking for dirname... /usr/bin/dirname
checking for echo... /bin/echo
checking for expr... /bin/expr
checking for file... /usr/bin/file
checking for find... /usr/bin/find
checking for head... /usr/bin/head
checking for gunzip... /usr/bin/gunzip
checking for pigz... no
checking for gzip... /usr/bin/gzip
checking for ln... /bin/ln
checking for ls... /bin/ls
checking for mkdir... /bin/mkdir
checking for mktemp... /usr/bin/mktemp
checking for mv... /bin/mv
checking for nawk... no
checking for gawk... no
checking for awk... /usr/bin/awk
checking for printf... /usr/bin/printf
checking for rm... /bin/rm
checking for rmdir... /bin/rmdir
checking for sh... /bin/sh
checking for sort... /usr/bin/sort
checking for tail... /usr/bin/tail
checking for gtar... no
checking for tar... /usr/bin/tar
checking for tee... /usr/bin/tee
checking for touch... /usr/bin/touch
checking for tr... /usr/bin/tr
checking for uname... /usr/bin/uname
checking for uniq... /usr/bin/uniq
checking for wc... /usr/bin/wc
checking for which... /usr/bin/which
checking for xargs... /usr/bin/xargs
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for a sed that does not truncate output... /usr/bin/sed
checking for cygpath... no
checking for greadlink... no
checking for readlink... /usr/bin/readlink
checking for df... /bin/df
checking for cpio... /usr/bin/cpio
checking for nice... /usr/bin/nice
checking for pandoc... no
checking build system type... x86_64-apple-darwin16.7.0
checking host system type... x86_64-apple-darwin16.7.0
checking target system type... x86_64-apple-darwin16.7.0
checking openjdk-build os-cpu... macosx-x86_64
checking openjdk-target os-cpu... macosx-x86_64
checking compilation type... native
checking for top-level directory... 
/Users/ljanders/Documents/hg-workspaces/openjdk10/jdk10-corba/open-corba
checking if custom source is suppressed (openjdk-only)... no
checking which variant of the JDK to build... normal
checking which debug level to use... release
checking which variants of the JVM to build... server
checking for xcodebuild... /usr/bin/xcodebuild
checking for sdk name...
checking for sysroot... 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
checking for toolchain path...
checking for extra path...
checking where to store configuration... in current directory
configure: Current directory is /Users/ljanders.
configure: Since this is not the source root, configure will output the 
configuration here
configure: (as opposed to creating a configuration in 
/build/).
configure: However, this directory is not empty. This is not allowed, since it 
could
configure: seriously mess up just about everything.
configure: Try 'cd 
/Users/ljanders/Documents/hg-workspaces/openjdk10/jdk10-corba/open-corba' and 
restart configure
configure: (or create a new empty directory and cd to it).
configure: error: Will not continue creating configuration in /Users/ljanders
/Users/ljanders/Documents/hg-workspaces/openjdk10/jdk10-corba/open-corba/make/autoconf/generated-configure.sh:
 line 82: 5: Bad file descriptor
configure exiting with result code 1
make[1]: *** [reconfigure] Error 1
make: *** [reconfigure] Error 2

——

running configure on its own works fine.

Is this a known issue?

Best
Lance


  
   

  

Re: make reconfigure fails on idk 10

2017-10-17 Thread David Holmes

Sorry I misread what the initial working directory was.

David

On 18/10/2017 7:33 AM, Lance Andersen wrote:

Hi David,

On Oct 17, 2017, at 5:25 PM, David Holmes > wrote:


Hi Lance,

This looks very odd:

checking for top-level directory... 
/Users/ljanders/Documents/hg-workspaces/openjdk10/jdk10-corba/open-corba


Did you clone an existing workspace or copy it? Unclear how this path 
could get in there if you cloned.


This was a clone from:   
/Users/ljanders/Documents/hg-workspaces/openjdk10/jdk10-master/open


That said:

a) I always "cd  && make reconfigure", never tried from the top repo



As a reference, here is the output from configure (I ran this after make 
reconfigure failed):


——
ls
ASSEMBLY_EXCEPTIONREADMEconfiguremake.out
LICENSEbindocsrc
Makefilebuildmaketest
ljanders-mac:open-corba ljanders$ sh ./configure 
--with-freetype-include=/usr/X11/include 
--with-freetype-lib=/usr/X11/lib --disable-warnings-as-errors 
JT_HOME=/Users/ljanders/Dropbox/openjdk/jtreg

Running generated-configure.sh
configure: Configuration created at Tue Oct 17 16:41:03 EDT 2017.
configure: configure script generated at timestamp 1508136203.
checking for basename... /usr/bin/basename
checking for bash... /bin/bash
checking for cat... /bin/cat
checking for chmod... /bin/chmod
checking for cmp... /usr/bin/cmp
checking for comm... /usr/bin/comm
checking for cp... /bin/cp
checking for cut... /usr/bin/cut
checking for date... /bin/date
checking for gdiff... no
checking for diff... /usr/bin/diff
checking for dirname... /usr/bin/dirname
checking for echo... /bin/echo
checking for expr... /bin/expr
checking for file... /usr/bin/file
checking for find... /usr/bin/find
checking for head... /usr/bin/head
checking for gunzip... /usr/bin/gunzip
checking for pigz... no
checking for gzip... /usr/bin/gzip
checking for ln... /bin/ln
checking for ls... /bin/ls
checking for mkdir... /bin/mkdir
checking for mktemp... /usr/bin/mktemp
checking for mv... /bin/mv
checking for nawk... no
checking for gawk... no
checking for awk... /usr/bin/awk
checking for printf... /usr/bin/printf
checking for rm... /bin/rm
checking for rmdir... /bin/rmdir
checking for sh... /bin/sh
checking for sort... /usr/bin/sort
checking for tail... /usr/bin/tail
checking for gtar... no
checking for tar... /usr/bin/tar
checking for tee... /usr/bin/tee
checking for touch... /usr/bin/touch
checking for tr... /usr/bin/tr
checking for uname... /usr/bin/uname
checking for uniq... /usr/bin/uniq
checking for wc... /usr/bin/wc
checking for which... /usr/bin/which
checking for xargs... /usr/bin/xargs
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for a sed that does not truncate output... /usr/bin/sed
checking for cygpath... no
checking for greadlink... no
checking for readlink... /usr/bin/readlink
checking for df... /bin/df
checking for cpio... /usr/bin/cpio
checking for nice... /usr/bin/nice
checking for pandoc... no
checking build system type... x86_64-apple-darwin16.7.0
checking host system type... x86_64-apple-darwin16.7.0
checking target system type... x86_64-apple-darwin16.7.0
checking openjdk-build os-cpu... macosx-x86_64
checking openjdk-target os-cpu... macosx-x86_64
checking compilation type... native
checking for top-level directory... 
/Users/ljanders/Documents/hg-workspaces/openjdk10/jdk10-corba/open-corba

checking if custom source is suppressed (openjdk-only)... no
checking which variant of the JDK to build... normal
checking which debug level to use... release
checking which variants of the JVM to build... server
checking for xcodebuild... /usr/bin/xcodebuild
checking for sdk name...
checking for sysroot... 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk

checking for toolchain path...
checking for extra path...
checking where to store configuration... in default location
checking what configuration name to use... 
macosx-x86_64-normal-server-release

checking for apt-get... no
checking for yum... no
checking for brew... brew
checking for gmake... no
checking for make... /usr/bin/make
configure: Testing potential make at /usr/bin/make, found using make in PATH
configure: Using GNU make at /usr/bin/make (version: GNU Make 3.81)
checking if make --output-sync is supported... no
checking if find supports -delete... yes
checking what type of tar was found... bsd
checking that grep (/usr/bin/grep) -Fx handles empty lines in the 
pattern list correctly... yes

checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for ldd... no
checking for otool... /usr/bin/otool
checking for greadelf... no
checking for readelf... no
checking for dot... no
checking for hg... /usr/local/bin/hg
checking for stat... /usr/bin/stat
checking for 

Re: make reconfigure fails on idk 10

2017-10-17 Thread Lance Andersen
Hi David,

> On Oct 17, 2017, at 5:25 PM, David Holmes  wrote:
> 
> Hi Lance,
> 
> This looks very odd:
> 
> checking for top-level directory... 
> /Users/ljanders/Documents/hg-workspaces/openjdk10/jdk10-corba/open-corba
> 
> Did you clone an existing workspace or copy it? Unclear how this path could 
> get in there if you cloned.

This was a clone from:   
/Users/ljanders/Documents/hg-workspaces/openjdk10/jdk10-master/open
> 
> 
> That said:
> 
> a) I always "cd  && make reconfigure", never tried from the top repo


As a reference, here is the output from configure (I ran this after make 
reconfigure failed):

——
ls
ASSEMBLY_EXCEPTION  README  configure   make.out
LICENSE bin doc src
Makefilebuild   maketest
ljanders-mac:open-corba ljanders$ sh ./configure 
--with-freetype-include=/usr/X11/include --with-freetype-lib=/usr/X11/lib 
--disable-warnings-as-errors JT_HOME=/Users/ljanders/Dropbox/openjdk/jtreg
Running generated-configure.sh
configure: Configuration created at Tue Oct 17 16:41:03 EDT 2017.
configure: configure script generated at timestamp 1508136203.
checking for basename... /usr/bin/basename
checking for bash... /bin/bash
checking for cat... /bin/cat
checking for chmod... /bin/chmod
checking for cmp... /usr/bin/cmp
checking for comm... /usr/bin/comm
checking for cp... /bin/cp
checking for cut... /usr/bin/cut
checking for date... /bin/date
checking for gdiff... no
checking for diff... /usr/bin/diff
checking for dirname... /usr/bin/dirname
checking for echo... /bin/echo
checking for expr... /bin/expr
checking for file... /usr/bin/file
checking for find... /usr/bin/find
checking for head... /usr/bin/head
checking for gunzip... /usr/bin/gunzip
checking for pigz... no
checking for gzip... /usr/bin/gzip
checking for ln... /bin/ln
checking for ls... /bin/ls
checking for mkdir... /bin/mkdir
checking for mktemp... /usr/bin/mktemp
checking for mv... /bin/mv
checking for nawk... no
checking for gawk... no
checking for awk... /usr/bin/awk
checking for printf... /usr/bin/printf
checking for rm... /bin/rm
checking for rmdir... /bin/rmdir
checking for sh... /bin/sh
checking for sort... /usr/bin/sort
checking for tail... /usr/bin/tail
checking for gtar... no
checking for tar... /usr/bin/tar
checking for tee... /usr/bin/tee
checking for touch... /usr/bin/touch
checking for tr... /usr/bin/tr
checking for uname... /usr/bin/uname
checking for uniq... /usr/bin/uniq
checking for wc... /usr/bin/wc
checking for which... /usr/bin/which
checking for xargs... /usr/bin/xargs
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for a sed that does not truncate output... /usr/bin/sed
checking for cygpath... no
checking for greadlink... no
checking for readlink... /usr/bin/readlink
checking for df... /bin/df
checking for cpio... /usr/bin/cpio
checking for nice... /usr/bin/nice
checking for pandoc... no
checking build system type... x86_64-apple-darwin16.7.0
checking host system type... x86_64-apple-darwin16.7.0
checking target system type... x86_64-apple-darwin16.7.0
checking openjdk-build os-cpu... macosx-x86_64
checking openjdk-target os-cpu... macosx-x86_64
checking compilation type... native
checking for top-level directory... 
/Users/ljanders/Documents/hg-workspaces/openjdk10/jdk10-corba/open-corba
checking if custom source is suppressed (openjdk-only)... no
checking which variant of the JDK to build... normal
checking which debug level to use... release
checking which variants of the JVM to build... server
checking for xcodebuild... /usr/bin/xcodebuild
checking for sdk name... 
checking for sysroot... 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
checking for toolchain path... 
checking for extra path... 
checking where to store configuration... in default location
checking what configuration name to use... macosx-x86_64-normal-server-release
checking for apt-get... no
checking for yum... no
checking for brew... brew
checking for gmake... no
checking for make... /usr/bin/make
configure: Testing potential make at /usr/bin/make, found using make in PATH
configure: Using GNU make at /usr/bin/make (version: GNU Make 3.81)
checking if make --output-sync is supported... no
checking if find supports -delete... yes
checking what type of tar was found... bsd
checking that grep (/usr/bin/grep) -Fx handles empty lines in the pattern list 
correctly... yes
checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for ldd... no
checking for otool... /usr/bin/otool
checking for greadelf... no
checking for readelf... no
checking for dot... no
checking for hg... /usr/local/bin/hg
checking for stat... 

Re: make reconfigure fails on idk 10

2017-10-17 Thread David Holmes

Hi Lance,

This looks very odd:

checking for top-level directory... 
/Users/ljanders/Documents/hg-workspaces/openjdk10/jdk10-corba/open-corba


Did you clone an existing workspace or copy it? Unclear how this path 
could get in there if you cloned.


That said:

a) I always "cd  && make reconfigure", never tried from the top repo

b) there have been some bugs fixed, but they mainly relate to 
open+closed configurations


Cheers,
David

On 18/10/2017 7:08 AM, Lance Andersen wrote:

Hi,

I just tried to run ‘make reconfigure’ in a JDK 10 workspace which was cloned 
from an existing workspace it fails:

hg paths
default = /Users/ljanders/Documents/hg-workspaces/openjdk10/jdk10-master/open

  make reconfigure
Re-running configure using arguments '--with-freetype-include=/usr/X11/include 
--with-freetype-lib=/usr/X11/lib --disable-warnings-as-errors 
JT_HOME=/Users/ljanders/Dropbox/openjdk/jtreg'
Running generated-configure.sh
configure: Configuration created at Tue Oct 17 16:39:44 EDT 2017.
configure: configure script generated at timestamp 1508136203.
checking for basename... /usr/bin/basename
checking for bash... /bin/bash
checking for cat... /bin/cat
checking for chmod... /bin/chmod
checking for cmp... /usr/bin/cmp
checking for comm... /usr/bin/comm
checking for cp... /bin/cp
checking for cut... /usr/bin/cut
checking for date... /bin/date
checking for gdiff... no
checking for diff... /usr/bin/diff
checking for dirname... /usr/bin/dirname
checking for echo... /bin/echo
checking for expr... /bin/expr
checking for file... /usr/bin/file
checking for find... /usr/bin/find
checking for head... /usr/bin/head
checking for gunzip... /usr/bin/gunzip
checking for pigz... no
checking for gzip... /usr/bin/gzip
checking for ln... /bin/ln
checking for ls... /bin/ls
checking for mkdir... /bin/mkdir
checking for mktemp... /usr/bin/mktemp
checking for mv... /bin/mv
checking for nawk... no
checking for gawk... no
checking for awk... /usr/bin/awk
checking for printf... /usr/bin/printf
checking for rm... /bin/rm
checking for rmdir... /bin/rmdir
checking for sh... /bin/sh
checking for sort... /usr/bin/sort
checking for tail... /usr/bin/tail
checking for gtar... no
checking for tar... /usr/bin/tar
checking for tee... /usr/bin/tee
checking for touch... /usr/bin/touch
checking for tr... /usr/bin/tr
checking for uname... /usr/bin/uname
checking for uniq... /usr/bin/uniq
checking for wc... /usr/bin/wc
checking for which... /usr/bin/which
checking for xargs... /usr/bin/xargs
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for a sed that does not truncate output... /usr/bin/sed
checking for cygpath... no
checking for greadlink... no
checking for readlink... /usr/bin/readlink
checking for df... /bin/df
checking for cpio... /usr/bin/cpio
checking for nice... /usr/bin/nice
checking for pandoc... no
checking build system type... x86_64-apple-darwin16.7.0
checking host system type... x86_64-apple-darwin16.7.0
checking target system type... x86_64-apple-darwin16.7.0
checking openjdk-build os-cpu... macosx-x86_64
checking openjdk-target os-cpu... macosx-x86_64
checking compilation type... native
checking for top-level directory... 
/Users/ljanders/Documents/hg-workspaces/openjdk10/jdk10-corba/open-corba
checking if custom source is suppressed (openjdk-only)... no
checking which variant of the JDK to build... normal
checking which debug level to use... release
checking which variants of the JVM to build... server
checking for xcodebuild... /usr/bin/xcodebuild
checking for sdk name...
checking for sysroot... 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
checking for toolchain path...
checking for extra path...
checking where to store configuration... in current directory
configure: Current directory is /Users/ljanders.
configure: Since this is not the source root, configure will output the 
configuration here
configure: (as opposed to creating a configuration in 
/build/).
configure: However, this directory is not empty. This is not allowed, since it 
could
configure: seriously mess up just about everything.
configure: Try 'cd 
/Users/ljanders/Documents/hg-workspaces/openjdk10/jdk10-corba/open-corba' and 
restart configure
configure: (or create a new empty directory and cd to it).
configure: error: Will not continue creating configuration in /Users/ljanders
/Users/ljanders/Documents/hg-workspaces/openjdk10/jdk10-corba/open-corba/make/autoconf/generated-configure.sh:
 line 82: 5: Bad file descriptor
configure exiting with result code 1
make[1]: *** [reconfigure] Error 1
make: *** [reconfigure] Error 2

——

running configure on its own works fine.

Is this a known issue?

Best
Lance


  
  

Re: make reconfigure?

2014-04-03 Thread Erik Joelsson
I have also experienced this on Solaris. Haven't investigated it yet 
though. Filed https://bugs.openjdk.java.net/browse/JDK-8039145 to track it.


/Erik

On 2014-04-03 11:40, Wang Weijun wrote:

Every now and then, running make asks me to reconfigure so I call configure 
again. Recently it is showing

   ERROR: 
/space/repos/jdk9/dev/build/macosx-x86_64-normal-server-fastdebug/spec.gmk is 
not up to date.
   Please rerun configure! Easiest way to do this is by running
   'make reconfigure'.
   make: *** 
[/space/repos/jdk9/dev/build/macosx-x86_64-normal-server-fastdebug/spec.gmk] 
Error 1

but running 'make reconfigure' shows the exact same words. This is happening on 
both macosx and Windows.

When does it work?

Thanks
Max