Bug 1512883

Summary: scala FTBFS in rawhide and f27
Product: [Fedora] Fedora Reporter: Paulo Andrade <paulo.cesar.pereira.de.andrade>
Component: scalaAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: geoff+fedora, jochen, kdudka, mizdebsk, willb
Target Milestone: ---Keywords: Patch, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.10.6-6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-07 07:37:37 UTC Type: Bug
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: 1516916    
Attachments:
Description Flags
scala-ftbfs-rawhide.patch none

Description Paulo Andrade 2017-11-14 11:55:59 UTC
Created attachment 1351910 [details]
scala-ftbfs-rawhide.patch

While attempting to correct the jacop FTBFS package, that
depends on scala, I believe I found a patch to rebuild scala.

$ dnf repoquery scala
scala-0:2.10.6-3.fc26.noarch
$ rpm -q scala
scala-2.10.6-5.fc28.noarch

  While it did not fix my issue, I believe I should share my
attempt fix, that appears to be correct, and is attached.

Comment 1 Kamil Dudka 2017-12-06 13:07:28 UTC
Not sure if it is directly related to this bug or not ... but I had to add BR for javapackages-local to be able to build scala-2.10.6-3.fc26 in the f27 build root because /usr/bin/abs2rel is no longer installed by javapackages-tools.

Comment 2 Mikolaj Izdebski 2017-12-06 13:15:16 UTC
It is related, but only one of several changes required to fix this FTBFS.

Comment 3 Kamil Dudka 2017-12-06 14:18:41 UTC
When can we expect an f27 build that can be rebuild in Fedora 27 build root?

Comment 5 Mikolaj Izdebski 2017-12-07 07:10:40 UTC
Fixed in scala-2.10.6-6

Comment 6 Mikolaj Izdebski 2017-12-07 07:37:37 UTC
It turned out that adding BR on javapackages-local was enough.

Built in rawhide, https://koji.fedoraproject.org/koji/buildinfo?buildID=1007876

f27 branch is buildable too (but not built), https://koji.fedoraproject.org/koji/taskinfo?taskID=23562032

Comment 7 Kamil Dudka 2017-12-07 08:05:38 UTC
Thanks!

When can we expect an f27 build that can be rebuild in Fedora 27 build root?

Comment 8 Mikolaj Izdebski 2017-12-07 08:09:08 UTC
I've just submitted f27 build to Koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=23562542

Comment 9 Kamil Dudka 2017-12-07 08:16:50 UTC
I am able to rebuild scala-2.10.6-6.fc28 in the Fedora 27 build root, which is
sufficient for me.  Still it can save some time to others if builds tagged f27
are reproducible in up2date Fedora 27 buildroot.

Comment 10 Kamil Dudka 2017-12-07 08:17:09 UTC
(In reply to Mikolaj Izdebski from comment #8)
> I've just submitted f27 build to Koji:
> https://koji.fedoraproject.org/koji/taskinfo?taskID=23562542

Thanks!

Comment 11 Kamil Dudka 2017-12-14 09:28:08 UTC
(In reply to Mikolaj Izdebski from comment #8)
> I've just submitted f27 build to Koji:
> https://koji.fedoraproject.org/koji/taskinfo?taskID=23562542

Unfortunately, the above build failed because of an internal documenter error:

https://koji.fedoraproject.org/koji/getfile?taskID=23562561&volume=DEFAULT&name=build.log&offset=-4000

Comment 12 Mikolaj Izdebski 2017-12-14 10:33:25 UTC
Resubmitted on x86_64, https://koji.fedoraproject.org/koji/taskinfo?taskID=23679796