[fedora-java] aot-compile-rpm error

Gary Benson gbenson at redhat.com
Wed Sep 3 10:11:39 UTC 2008


Andrew Haley wrote:
> Gary Benson wrote:
> > Orion Poplawski wrote:
> > > Trying to build eclipse-photran:
> > >
> > > http://koji.fedoraproject.org/koji/getfile?taskID=791458&name=build.log
> > >
> > > + aot-compile-rpm
> > > /usr/lib64/gcj-4.3.1/classmap.db
> > > aot-compile-rpm: error: /usr/bin/gcj-dbtool -p: unexpected output
> > >
> > > ?
> > 
> > It looks like gcj-dbtool printed its result on stderr instead of
> > stdout, so aot-compile-rpm read nothing from it.  Did something
> > change in gcj-dbtool?
> 
> No.  If there's a message on stderr, it's an error message.  We
> need to know what that error message is.  I just ptrace'd gcj-dbtool
> in gcj 4.3.1 and got
> 
> [pid 23950] write(1, "/usr/lib64/gcj-4.3.1/classmap.db"..., 33/usr/lib64/gcj-4.3.1/classmap.db
> ) = 33

The only other thing I can think of then is that Python's os.popen()
didn't capture stdout properly.  There's nothing in aot-compile-rpm
itself that would write "/usr/lib64/gcj-4.3.1/classmap.db" to either
stdout or stderr.

Cheers,
Gary

-- 
http://gbenson.net/




More information about the java-devel mailing list