This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: build problem


> ygrats@gmx.net writes:
> 
> > If I build kawa-1.6.70 from sources and want to build a
> kawa-1.6.70.jar
> > file, I get an error saying that the src-dir is already configured,
> and
> > kawa-*.jar cannot be built.
> 
> That looks like inconsistent configuration.  I have gotten that when
> I try to configure in a second after I have configured in the source
> firectory.

I'm not really sure about that. I append a shortened session, which will
demonstrate the problem (sorry for all the text, but I think it is
necessary). The "Clock skews" reported should have no impact, since the
same "build
jar" problem occurs on a machine, which does not report the "Clock skews",
too.

Cheers,

Martin


Build session:

/home/atzmuel/local/src/tmp> tar xzf kawa-1.6.70.tar.gz 
/home/atzmuel/local/src/tmp> cd kawa-1.6.70
Directory: /home/atzmuel/local/src/tmp/kawa-1.6.70

/home/atzmuel/local/src/tmp/kawa-1.6.70> ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/ginstall -c 
creating testsuite/Makefile 

[ snip ]

/home/atzmuel/local/src/tmp/kawa-1.6.70> make kawa.jar
make kawa.jar
make: *** Warning: File `Makefile' has modification time in the future
(965890252 > 965890011)
srcdir=`(cd .; /bin/pwd)` \
  && rm -rf tmpdir \
  && mkdir tmpdir \
  && cd tmpdir \
  && $srcdir/configure \
  && make \
  && jar cmf $srcdir/jar-manifest \
    ../kawa-1.6.70.jar \
    `find . -name '*.class' -print` \
  && cd .. && rm -rf tmpdir
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
configure: error: source directory already configured; run make distclean
there first
make: *** [kawa-1.6.70.jar] Error 1

/home/atzmuel/local/src/tmp/kawa-1.6.70> cp Makefile MMakefile

/home/atzmuel/local/src/tmp/kawa-1.6.70> make distclean
make: *** Warning: File `Makefile' has modification time in the future
(965890252 > 965890036)
Making distclean in .

[ snip ]

make[1]: Entering directory `/home/atzmuel/local/src/tmp/kawa-1.6.70' 
rm -f config.status
make: *** Warning:  Clock skew detected.  Your build may be incomplete.

/home/atzmuel/local/src/tmp/kawa-1.6.70> make -f MMakefile kawa.jar
make: *** Warning: File `MMakefile' has modification time in the future
(965890290 > 965890066) MNAD
srcdir=`(cd .; /bin/pwd)` \
  && rm -rf tmpdir \
  && mkdir tmpdir \
  && cd tmpdir \
  && $srcdir/configure \
  && make \
  && jar cmf $srcdir/jar-manifest \
    ../kawa-1.6.70.jar \
    `find . -name '*.class' -print` \
  && cd .. && rm -rf tmpdir
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
updating cache ./config.cache
creating ./config.status

[ snip ]

creating testsuite/Makefile
make[1]: Entering directory
`/home/atzmuel/local/src/tmp/kawa-1.6.70/tmpdir'
make[1]: *** Warning: File `Makefile' has modification time in the future
(965890345 > 965890090)
Making all in doc
make[1]: Leaving directory
`/home/atzmuel/local/src/tmp/kawa-1.6.70/tmpdir'
make: *** Warning:  Clock skew detected.  Your build may be incomplete.
/home/atzmuel/local/src/tmp/kawa-1.6.70> 

-- 
Homepage: http://jove.prohosting.com/~ygrats/
Mail: ygrats@gmx.net

Sent through GMX FreeMail - http://www.gmx.net


-- 
Homepage: http://jove.prohosting.com/~ygrats/
Mail: ygrats@gmx.net

Sent through GMX FreeMail - http://www.gmx.net

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]