public inbox for rhug-rhats@sourceware.org
 help / color / mirror / Atom feed
* New failure!
@ 2003-07-29 14:18 Tom Tromey
  2003-07-29 14:27 ` Gary Benson
  0 siblings, 1 reply; 6+ messages in thread
From: Tom Tromey @ 2003-07-29 14:18 UTC (permalink / raw)
  To: rhug-rhats

[-- Attachment #1: Type: text/plain, Size: 211 bytes --]

Lately rhug has been failing with what looks like a compiler failure.
Last night we saw something different; see appended.
This one looks like a Makefile bug of some kind; maybe a missing
$(srcdir) somewhere?



[-- Attachment #2: Type: message/rfc822, Size: 5093 bytes --]

From: tromey@redhat.com (Tom Tromey)
To: tromey@redhat.com
Subject: FAIL: rhug build on Tue Jul 29 03:46:38 MDT 2003
Date: Tue, 29 Jul 2003 03:46:39 -0600 (MDT)
Message-ID: <20030729094639.C8D944F8722@fleche.redhat.com>


file::build/Log.Std

gcj -C --encoding=8859_1 --classpath=upstream/src:../../rhug/xerces/upstream/src -d upstream/src ../../rhug/xerces/upstream/src/org/xml/sax/SAXNotSupportedException.java
gcj -C --encoding=8859_1 --classpath=upstream/src:../../rhug/xerces/upstream/src -d upstream/src ../../rhug/xerces/upstream/src/org/xml/sax/Locator.java
gcj -C --encoding=8859_1 --classpath=upstream/src:../../rhug/xerces/upstream/src -d upstream/src ../../rhug/xerces/upstream/src/org/xml/sax/InputSource.java
gcj -C --encoding=8859_1 --classpath=upstream/src:../../rhug/xerces/upstream/src -d upstream/src ../../rhug/xerces/upstream/src/org/xml/sax/ErrorHandler.java
gcj -C --encoding=8859_1 --classpath=upstream/src:../../rhug/xerces/upstream/src -d upstream/src ../../rhug/xerces/upstream/src/org/xml/sax/EntityResolver.java
gcj -C --encoding=8859_1 --classpath=upstream/src:../../rhug/xerces/upstream/src -d upstream/src ../../rhug/xerces/upstream/src/org/xml/sax/Attributes.java
gcj -C --encoding=8859_1 --classpath=upstream/src:../../rhug/xerces/upstream/src -d upstream/src ../../rhug/xerces/upstream/src/org/xml/sax/DocumentHandler.java
../../rhug/xerces/upstream/src/org/xml/sax/DocumentHandler.java:128: warning: The class `org.xml.sax.AttributeList' has been deprecated.
       public abstract void startElement (String name, AttributeList atts)
                                                       ^
1 warning
gcj -C --encoding=8859_1 --classpath=upstream/src:../../rhug/xerces/upstream/src -d upstream/src ../../rhug/xerces/upstream/src/org/xml/sax/SAXParseException.java
gcj -C --encoding=8859_1 --classpath=upstream/src:../../rhug/xerces/upstream/src -d upstream/src ../../rhug/xerces/upstream/src/org/xml/sax/Parser.java
../../rhug/xerces/upstream/src/org/xml/sax/Parser.java:126: warning: The class `org.xml.sax.DocumentHandler' has been deprecated.
       public abstract void setDocumentHandler (DocumentHandler handler);
                                                ^
1 warning
gcj -C --encoding=8859_1 --classpath=upstream/src:../../rhug/xerces/upstream/src -d upstream/src ../../rhug/xerces/upstream/src/org/xml/sax/AttributeList.java
gcj -C --encoding=8859_1 --classpath=upstream/src:../../rhug/xerces/upstream/src -d upstream/src ../../rhug/xerces/upstream/src/org/xml/sax/DTDHandler.java
gcj -C --encoding=8859_1 --classpath=upstream/src:../../rhug/xerces/upstream/src -d upstream/src ../../rhug/xerces/upstream/src/org/xml/sax/XMLReader.java
(cd upstream/src && \
 (find -name \*.class | sed -e 's:^\./::'; \
  for i in upstream/src/org/apache/xerces/impl/msg/DOMMessages.properties upstream/src/org/apache/xerces/impl/msg/XMLMessages.properties upstream/src/org/apache/xerces/impl/msg/XMLSchemaMessages.properties upstream/src/org/apache/xerces/impl/msg/XMLSerializerMessages.properties upstream/src/org/apache/xerces/impl/xpath/regex/message_fr.properties upstream/src/org/apache/xerces/impl/xpath/regex/message_ja.properties upstream/src/org/apache/xerces/impl/xpath/regex/message.properties; do echo $i; done | \
      sed -e 's:^upstream/src/::') | \
     jar -c@) > xerces2-2.2.1.jar
org/apache/xerces/impl/msg/DOMMessages.properties: No such file or directory
Error adding org/apache/xerces/impl/msg/DOMMessages.properties to jar archive!
make[1]: *** [xerces2-2.2.1.jar] Error 1
make[1]: Leaving directory `/home/tromey/gnu/Nightly/rhug/build/xerces'
make: *** [all-recursive] Error 1


[-- Attachment #3: Type: text/plain, Size: 6 bytes --]



Tom

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New failure!
  2003-07-29 14:18 New failure! Tom Tromey
@ 2003-07-29 14:27 ` Gary Benson
  2003-07-29 14:33   ` Tom Tromey
  0 siblings, 1 reply; 6+ messages in thread
From: Gary Benson @ 2003-07-29 14:27 UTC (permalink / raw)
  To: rhug-rhats

Tom Tromey wrote:
> Lately rhug has been failing with what looks like a compiler
> failure.  Last night we saw something different; see appended.  This
> one looks like a Makefile bug of some kind; maybe a missing
> $(srcdir) somewhere?

Yeah, this looks like a builddir != srcdir bug in the stuff I
committed yesterday.  Similar code has been in the tomcat-4 package
for quite some time but I guess the build hasn't been getting that
far.

What is the working directory when srcdir != builddir?  builddir?

Gary

[ gbenson@redhat.com ][ GnuPG 85A8F78B ][ http://inauspicious.org/ ]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New failure!
  2003-07-29 14:27 ` Gary Benson
@ 2003-07-29 14:33   ` Tom Tromey
  2003-07-29 15:06     ` Gary Benson
  0 siblings, 1 reply; 6+ messages in thread
From: Tom Tromey @ 2003-07-29 14:33 UTC (permalink / raw)
  To: Gary Benson; +Cc: rhug-rhats

Gary> What is the working directory when srcdir != builddir?  builddir?

It is just "." -- there's no variable referring to it.
If you need the absolute path you have to run `pwd`.

Tom

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New failure!
  2003-07-29 14:33   ` Tom Tromey
@ 2003-07-29 15:06     ` Gary Benson
  2003-07-29 15:17       ` Tom Tromey
  0 siblings, 1 reply; 6+ messages in thread
From: Gary Benson @ 2003-07-29 15:06 UTC (permalink / raw)
  To: rhug-rhats

Tom Tromey wrote:
> Gary> What is the working directory when srcdir != builddir?  builddir?
> 
> It is just "." -- there's no variable referring to it.
> If you need the absolute path you have to run `pwd`.

Yeah, but does "." correspond to srcdir or to builddir?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New failure!
  2003-07-29 15:06     ` Gary Benson
@ 2003-07-29 15:17       ` Tom Tromey
  2003-07-30 11:05         ` Gary Benson
  0 siblings, 1 reply; 6+ messages in thread
From: Tom Tromey @ 2003-07-29 15:17 UTC (permalink / raw)
  To: Gary Benson; +Cc: rhug-rhats

Gary> Yeah, but does "." correspond to srcdir or to builddir?

Sorry, "." is the build directory, since that is where `make' is run
-- it is the directory containing the Makefile.

$(srcdir) is the corresponding source directory.

$(top_srcdir) is the source directory corresponding to the current top
of tree -- it is the directory where the configure.in corresponding to
this Makefile is located.

Tom

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New failure!
  2003-07-29 15:17       ` Tom Tromey
@ 2003-07-30 11:05         ` Gary Benson
  0 siblings, 0 replies; 6+ messages in thread
From: Gary Benson @ 2003-07-30 11:05 UTC (permalink / raw)
  To: rhug-rhats

Tom Tromey wrote:
> Gary> Yeah, but does "." correspond to srcdir or to builddir?
> 
> Sorry, "." is the build directory, since that is where `make' is run
> -- it is the directory containing the Makefile.
> 
> $(srcdir) is the corresponding source directory.
> 
> $(top_srcdir) is the source directory corresponding to the current
> top of tree -- it is the directory where the configure.in
> corresponding to this Makefile is located.

I committed a fix for xerces -- let me know if it works and I'll apply
it to the other packages that need it...

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-07-30 11:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-29 14:18 New failure! Tom Tromey
2003-07-29 14:27 ` Gary Benson
2003-07-29 14:33   ` Tom Tromey
2003-07-29 15:06     ` Gary Benson
2003-07-29 15:17       ` Tom Tromey
2003-07-30 11:05         ` Gary Benson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).