Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1308001

Summary: rubygem-acts_as_list: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: rubygem-acts_as_listAssignee: Jun Aruga <jaruga>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: jaruga, pvalena, strzibny, vondruch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-acts_as_list-0.7.2-1.fc25 rubygem-acts_as_list-0.7.2-1.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-07 12:06:52 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: 1305208    
Attachments:
Description Flags
build.log
none
root.log
none
state.log
none
Update version to 0.7.2 to test suite for Ruby 2.3 compatibility. none

Description Fedora Release Engineering 2016-02-13 22:16:40 UTC
Your package rubygem-acts_as_list failed to build from source in current rawhide.

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

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

Comment 1 Fedora Release Engineering 2016-02-13 22:16:42 UTC
Created attachment 1126063 [details]
build.log

Comment 2 Fedora Release Engineering 2016-02-13 22:16:44 UTC
Created attachment 1126064 [details]
root.log

Comment 3 Fedora Release Engineering 2016-02-13 22:16:45 UTC
Created attachment 1126065 [details]
state.log

Comment 4 Jan Kurik 2016-02-24 15:06:24 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 5 Jun Aruga 2016-03-23 17:59:40 UTC
Created attachment 1139676 [details]
Update version to 0.7.2 to test suite for Ruby 2.3 compatibility.

Current version 0.4.0 has several issues to pass the test.

So, I updated gem version from 0.4.0 to latest version 0.7.2.
Then all the test was passed.

Also I checked any package does not use this package.

# dnf repoquery --whatrequires 'rubygem(acts_as_list)'

I will attach the patch file.

Comment 6 Vít Ondruch 2016-03-23 18:10:36 UTC
(In reply to Jun Aruga from comment #5)
> # dnf repoquery --whatrequires 'rubygem(acts_as_list)'

This is not enough. You should check:

1) Runtime dependencies:
dnf repoquery --enablerepo=rawhide --whatrequires 'rubygem(acts_as_list)'
dnf repoquery --enablerepo=rawhide --whatrequires 'rubygem-acts_as_list'

2) As well as development dependencies:
dnf repoquery --enablerepo=rawhide-source --arch src --whatrequires 'rubygem(acts_as_list)'
dnf repoquery --enablerepo=rawhide-source --arch src --whatrequires 'rubygem-acts_as_list'

Also, these queries checks against Rawhide, where this fix will go.

Comment 7 Jun Aruga 2016-03-24 12:59:47 UTC
Vit, thanks for the message.

$ dnf repoquery --enablerepo=rawhide --whatrequires 'rubygem(acts_as_list)'
  => no result.

$ dnf repoquery --enablerepo=rawhide --whatrequires 'rubygem-acts_as_list'
rubygem-acts_as_list-doc-0:0.4.0-1.fc22.noarch

$ sudo dnf install fedora-repos-rawhide
Error: Failed to synchronize cache for repo 'rawhide-source' from 'https://mirrors.fedoraproject.org/metalink?repo=rawhide-source&arch=x86_64': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Accessed this URL https://mirrors.fedoraproject.org/metalink?repo=rawhide-source&arch=x86_64 by Firefox. Downloaded metalink file for that.

$ cat ~/Downloads/metalink
<?xml version="1.0" encoding="utf-8"?>
      <resources maxconnections="1">
        <url protocol="ftp" type="ftp" location="DE" preference="100" >ftp://ftp.halifax.rwth-aachen.de/fedora/linux/development/rawhide/source/SRPMS/repodata/repomd.xml</url>
        <url protocol="http" type="http" location="DE" preference="100" >http://ftp.halifax.rwth-aachen.de/fedora/linux/development/rawhide/source/SRPMS/repodata/repomd.xml</url>
...
        <url protocol="http" type="http" location="ES" preference="96" >http://mirror.uv.es/mirror/fedora/linux/development/rawhide/source/SRPMS/repodata/repomd.xml</url>
      </resources>
    </file>
  </files>
</metalink>

$ wget ftp://ftp.halifax.rwth-aachen.de/fedora/linux/development/rawhide/source/SRPMS/repodata/repomd.xml
...
No such file ‘repomd.xml’.

$ wget http://ftp.halifax.rwth-aachen.de/fedora/linux/development/rawhide/source/SRPMS/repodata/repomd.xml
...
2016-03-24 13:57:33 ERROR 404: Not Found.

Something wrong for above servers.

So, I will try above commands after tomorrow again.

Comment 8 Jun Aruga 2016-03-29 08:49:13 UTC
1) Runtime dependencies:
$ dnf repoquery --enablerepo=rawhide --whatrequires 'rubygem(acts_as_list)'
  => no result.
$ dnf repoquery --enablerepo=rawhide --whatrequires 'rubygem-acts_as_list'
rubygem-acts_as_list-doc-0:0.4.0-1.fc22.noarch


2) As well as development dependencies:
$ dnf repoquery --enablerepo=rawhide-source --arch src --whatrequires 'rubygem(acts_as_list)'
  => no result.
$ dnf repoquery --enablerepo=rawhide-source --arch src --whatrequires 'rubygem-acts_as_list'
  => no result.

As a conclusion, below package is using acts-as_list.
- rubygem-acts_as_list-doc-0:0.4.0-1.fc22.noarch


Actually about 2), I changed rawhide-source's mirror server to an active server, and it works.

# vi /etc/yum.repos.d/fedora-rawhide.repo
...
[rawhide-source]
...
# It does not work.
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/source/SRPMS/
# It works
baseurl=http://ftp.uninett.no/linux/fedora/development/rawhide/source/SRPMS/
* It does not work.
#metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-source&arch=$basearch

Comment 9 Jun Aruga 2016-03-31 13:35:01 UTC
> Actually about 2), I changed rawhide-source's mirror server to an active server, and it works.

I asked infra team about above "mirror server of dnf repoquery" issue, and I found that it can be sometimes happened in the date of alpha release, or rawhide not composing. 

See below URL for detail.
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org/thread/FU3BLCY7RWPGGOAMXPL3DG5QISFUZXLD/

Comment 10 Upstream Release Monitoring 2016-04-01 13:25:32 UTC
jaruga's rubygem-acts_as_list-0.7.2-1.fc25 completed http://koji.fedoraproject.org/koji/buildinfo?buildID=750360

Comment 11 Fedora Update System 2016-04-01 13:45:21 UTC
rubygem-acts_as_list-0.7.2-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-330e98b8fc

Comment 12 Fedora Update System 2016-04-02 05:24:36 UTC
rubygem-acts_as_list-0.7.2-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-330e98b8fc

Comment 13 Fedora Update System 2016-04-07 12:06:43 UTC
rubygem-acts_as_list-0.7.2-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.