Bug 1107273 - sblim-cim-client: FTBFS in rawhide
Summary: sblim-cim-client: FTBFS in rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: sblim-cim-client
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vitezslav Crhonek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F21FTBFS
TreeView+ depends on / blocked
 
Reported: 2014-06-09 21:04 UTC by Dennis Gilmore
Modified: 2014-06-16 11:00 UTC (History)
4 users (show)

Fixed In Version: sblim-cim-client-1.3.9.3-8.fc21
Clone Of:
Environment:
Last Closed: 2014-06-16 11:00:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (50.28 KB, text/plain)
2014-06-09 21:04 UTC, Dennis Gilmore
no flags Details
root.log (94.47 KB, text/plain)
2014-06-09 21:04 UTC, Dennis Gilmore
no flags Details
state.log (1.11 KB, text/plain)
2014-06-09 21:04 UTC, Dennis Gilmore
no flags Details

Description Dennis Gilmore 2014-06-09 21:04:06 UTC
Your package sblim-cim-client failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=7004862

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

Comment 1 Dennis Gilmore 2014-06-09 21:04:10 UTC
Created attachment 906539 [details]
build.log

Comment 2 Dennis Gilmore 2014-06-09 21:04:13 UTC
Created attachment 906540 [details]
root.log

Comment 3 Dennis Gilmore 2014-06-09 21:04:14 UTC
Created attachment 906541 [details]
state.log

Comment 4 Vitezslav Crhonek 2014-06-10 10:16:17 UTC
Seems to be an issue with java-1.7.0-openjdk-devel. Builds fine with java-1.7.0-openjdk-devel-1:1.7.0.60-2.4.7.4.fc20, fails with java-1.7.0-openjdk-devel-1:1.7.0.60-2.5.0.22.pre04.fc21:

  [javadoc] java.lang.IllegalStateException: endPosTable already set
  [javadoc] 	at com.sun.tools.javac.util.DiagnosticSource.setEndPosTable(DiagnosticSource.java:136)
  [javadoc] 	at com.sun.tools.javac.util.Log.setEndPosTable(Log.java:350)
  [javadoc] 	at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:670)
  [javadoc] 	at com.sun.tools.javadoc.JavadocTool.parsePackageClasses(JavadocTool.java:243)
  [javadoc] 	at com.sun.tools.javadoc.JavadocTool.getRootDocImpl(JavadocTool.java:180)
  [javadoc] 	at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:346)
  [javadoc] 	at com.sun.tools.javadoc.Start.begin(Start.java:219)
  [javadoc] 	at com.sun.tools.javadoc.Start.begin(Start.java:205)
  [javadoc] 	at com.sun.tools.javadoc.Main.execute(Main.java:64)
  [javadoc] 	at com.sun.tools.javadoc.Main.main(Main.java:54)
  [javadoc] javadoc: error - fatal exception

Adding java-1.7.0-openjdk maintainers to CC, maybe they could help somehow.

Comment 5 Omair Majid 2014-06-10 13:46:22 UTC
Thanks for CC'ing me.

(In reply to Vitezslav Crhonek from comment #4)
> java-1.7.0-openjdk-devel-1:1.7.0.60-2.5.0.22.pre04.fc21:

I have a suspicion this is being built using java-1.8.0-openjdk instead. Can you confirm/deny this?

I see a fix upstream for this: http://hg.openjdk.java.net/jdk9/dev/langtools/rev/4c09a8dd09b3. Let me see what I can do.

Comment 6 Vitezslav Crhonek 2014-06-11 09:50:05 UTC
(In reply to Omair Majid from comment #5)
> Thanks for CC'ing me.
> 
> (In reply to Vitezslav Crhonek from comment #4)
> > java-1.7.0-openjdk-devel-1:1.7.0.60-2.5.0.22.pre04.fc21:
> 
> I have a suspicion this is being built using java-1.8.0-openjdk instead. Can
> you confirm/deny this?
> 

Hello Omair,

I see both java-1.7.0 and java-1.8.0 installed in build root (is that OK?), but I'm not able to read from logs which is actually used.

The sblim-cim-client pacakage build requires just this:
BuildRequires:  java-devel >= 1.4

Many thanks for investigating it!

Comment 7 Omair Majid 2014-06-11 17:46:22 UTC
(In reply to Vitezslav Crhonek from comment #6)
> I see both java-1.7.0 and java-1.8.0 installed in build root (is that OK?),

Yes, it's okay. But only one will be used by default. Currently, that's java-1.8.0-openjdk.

> but I'm not able to read from logs which is actually used.

I am not familiar with the build. Can you instrument it to print that out? I don't see any instructions to use a specific Java version in the build.xml file, so my assumption is that it's using java-1.8.0-openjdk (the defualt).

Comment 8 Omair Majid 2014-06-11 19:41:48 UTC
Never mind.

This is a bug in java-1.8.0-openjdk. The upstream fix is: http://hg.openjdk.java.net/jdk9/dev/langtools/rev/6acecb34d1bc

I will add it to the java-1.8.0-openjdk RPM for now.

Comment 9 Omair Majid 2014-06-13 02:05:41 UTC
I have built a fixed java-1.8.0-openjdk in rawhide. Can you please rebuild this package? It should work now.

Comment 10 Vitezslav Crhonek 2014-06-16 11:00:21 UTC
Thanks, worked fine!


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