Bug 1495145 - FTBFS in F27: javadoc doclint issues
Summary: FTBFS in F27: javadoc doclint issues
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: stringtemplate
Version: 27
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1495146
TreeView+ depends on / blocked
 
Reported: 2017-09-25 09:52 UTC by Honza Horak
Modified: 2018-01-05 11:05 UTC (History)
3 users (show)

Fixed In Version: 3.2.1-16
Clone Of:
Environment:
Last Closed: 2018-01-05 11:05:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
proposed patch (952 bytes, patch)
2017-09-25 09:55 UTC, Honza Horak
no flags Details | Diff

Description Honza Horak 2017-09-25 09:52:56 UTC
Description of problem:
Package fails to build in F27:

 [mkdir] Created dir: /builddir/build/BUILD/stringtemplate-3.2.1/docs/api
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Loading source files for package org.antlr.stringtemplate...
  [javadoc] Loading source files for package org.antlr.stringtemplate.language...
  [javadoc] Loading source files for package org.antlr.stringtemplate.misc...
  [javadoc] Loading source files for package org.antlr.stringtemplate.test...
  [javadoc] Constructing Javadoc information...
  [javadoc] Standard Doclet version 1.8.0_144
  [javadoc] Building tree for all the packages and classes...
  [javadoc] /builddir/build/BUILD/stringtemplate-3.2.1/build/src/org/antlr/stringtemplate/StringTemplateWriter.java:56: warning: no @param for str
  [javadoc] 	int write(String str) throws IOException;
  [javadoc] 	    ^
  [javadoc] /builddir/build/BUILD/stringtemplate-3.2.1/build/src/org/antlr/stringtemplate/StringTemplateWriter.java:56: warning: no @return
  [javadoc] 	int write(String str) throws IOException;
  [javadoc] 	    ^
  [javadoc] /builddir/build/BUILD/stringtemplate-3.2.1/build/src/org/antlr/stringtemplate/StringTemplateWriter.java:56: warning: no @throws for java.io.IOException
  [javadoc] 	int write(String str) throws IOException;

... and may more

Scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=22070894

Version-Release number of selected component (if applicable):
stringtemplate-3.2.1-14.fc27

How reproducible:
everytime

Steps to Reproduce:
1. build the package in F27

Actual results:
build fails

Expected results:
build succeeds

Additional info:

Comment 1 Honza Horak 2017-09-25 09:55:10 UTC
Created attachment 1330468 [details]
proposed patch

This patch works for the scratch build

Comment 2 Honza Horak 2017-09-25 15:24:26 UTC
Or if you provide me access to the pagure, I can fix it for you :) ...cause it's blocking us when building cassandra module currently :(

Comment 3 Mikolaj Izdebski 2017-10-02 08:39:22 UTC
Fixed in stringtemplate-3.2.1-15

Comment 4 Mikolaj Izdebski 2018-01-05 11:05:46 UTC
I believe that this bug is fixed in stringtemplate-3.2.1-16,
which is available in updates for Fedora 27, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=1009666


Note You need to log in before you can comment on or make changes to this bug.