Bug 1858113
| Summary: | xmlstreambuffer fails to build with java-11-openjdk | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | jiri vanek <jvanek> |
| Component: | xmlstreambuffer | Assignee: | Ankur Sinha (FranciscoD) <sanjay.ankur> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | decathorpe, java-maint-sig, java-sig-commits, jvanek, lef, puntogil, sanjay.ankur, sgehwolf |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | xmlstreambuffer-1.5.4-15.fc33 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-08-10 12:46:03 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1825969 | ||
|
Description
jiri vanek
2020-07-16 22:39:14 UTC
highlight: This was rebuild in sidetag f33-java11. Thus --target is really necessary to reproduce failure. please note: This side tag, f33-java11, will be merged to main f33 buildroot in aprox 14 days. Looks like there's a real bug in xmlstreambuffer (when fixing -source and -target flags first): [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project streambuffer: Compilation failure: Compilation failure: [ERROR] /builddir/build/BUILD/xmlstreambuffer-1.5.4/src/com/sun/xml/stream/buffer/stax/StreamWriterBufferCreator.java:[48,24] package javax.activation does not exist [ERROR] /builddir/build/BUILD/xmlstreambuffer-1.5.4/src/com/sun/xml/stream/buffer/stax/StreamWriterBufferCreator.java:[276,29] cannot find symbol [ERROR] symbol: class DataHandler [ERROR] location: class com.sun.xml.stream.buffer.stax.StreamWriterBufferCreator [ERROR] /builddir/build/BUILD/xmlstreambuffer-1.5.4/src/com/sun/xml/stream/buffer/stax/StreamWriterBufferCreator.java:[63,8] com.sun.xml.stream.buffer.stax.StreamWriterBufferCreator is not abstract and does not override abstract method writeBinary(java.lang.String) in org.jvnet.staxex.XMLStreamWriterEx [ERROR] /builddir/build/BUILD/xmlstreambuffer-1.5.4/src/com/sun/xml/stream/buffer/stax/StreamWriterBufferCreator.java:[276,17] writeBinary(DataHandler) in com.sun.xml.stream.buffer.stax.StreamWriterBufferCreator cannot implement writeBinary(java.lang.String) in org.jvnet.staxex.XMLStreamWriterEx [ERROR] return type void is not compatible with java.io.OutputStream [ERROR] /builddir/build/BUILD/xmlstreambuffer-1.5.4/src/com/sun/xml/stream/buffer/stax/StreamWriterBufferCreator.java:[283,25] name clash: class StreamWriterBufferCreator has two methods with the same erasure, yet neither overrides the other [ERROR] first method: writeBinary(DataHandler) in com.sun.xml.stream.buffer.stax.StreamWriterBufferCreator [ERROR] second method: writeBinary(javax.activation.DataHandler) in org.jvnet.staxex.XMLStreamWriterEx [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. Fixed and built by mbooth: https://koji.fedoraproject.org/koji/buildinfo?buildID=1586617 |