Bug 1176450 - some rubygem based rpms does not install gem.build_complete file
Summary: some rubygem based rpms does not install gem.build_complete file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-pam
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:414dd2957452fcb8db4964f6296...
: 1176726 1176728 1177027 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-21 22:51 UTC by JC
Modified: 2015-01-05 07:36 UTC (History)
5 users (show)

Fixed In Version: ruby-ldap-0.9.16-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-03 19:08:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (3.00 KB, text/plain)
2014-12-21 22:51 UTC, JC
no flags Details

Description JC 2014-12-21 22:51:34 UTC
Version-Release number of selected component:
rubygem-rabbit-2.1.3-3.fc21

Additional info:
reporter:       libreport-2.3.0
cmdline:        /usr/bin/ruby-mri /bin//rabbit
executable:     /bin//rabbit
kernel:         3.17.7-300.fc21.x86_64
runlevel:       N 5
type:           Ruby
uid:            1000

Truncated backtrace:
/usr/share/rubygems/rubygems/ext/builder.rb:212:in `initialize': Permission denied @ rb_sysopen - /usr/lib64/gems/ruby/pam-1.5.4/gem_make.out (Errno::EACCES)
	from /usr/share/rubygems/rubygems/ext/builder.rb:212:in `open'
	from /usr/share/rubygems/rubygems/ext/builder.rb:212:in `write_gem_make_out'
	from /usr/share/rubygems/rubygems/ext/builder.rb:132:in `build_error'
	from /usr/share/rubygems/rubygems/ext/builder.rb:171:in `rescue in build_extension'
	from /usr/share/rubygems/rubygems/ext/builder.rb:156:in `build_extension'
	from /usr/share/rubygems/rubygems/ext/builder.rb:198:in `block in build_extensions'
	from /usr/share/rubygems/rubygems/ext/builder.rb:195:in `each'
	from /usr/share/rubygems/rubygems/ext/builder.rb:195:in `build_extensions'
	from /usr/share/rubygems/rubygems/specification.rb:1436:in `block in build_extensions'
	from /usr/share/rubygems/rubygems/user_interaction.rb:45:in `use_ui'
	from /usr/share/rubygems/rubygems/specification.rb:1434:in `build_extensions'
	from /usr/share/rubygems/rubygems/stub_specification.rb:60:in `build_extensions'
	from /usr/share/rubygems/rubygems/basic_specification.rb:56:in `contains_requirable_file?'
	from /usr/share/rubygems/rubygems/specification.rb:925:in `block in find_inactive_by_path'
	from /usr/share/rubygems/rubygems/specification.rb:924:in `each'
	from /usr/share/rubygems/rubygems/specification.rb:924:in `find'
	from /usr/share/rubygems/rubygems/specification.rb:924:in `find_inactive_by_path'
	from /usr/share/rubygems/rubygems.rb:185:in `try_activate'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:132:in `rescue in require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:144:in `require'
	from /usr/share/gems/gems/glib2-2.2.3/lib/glib2.rb:103:in `<top (required)>'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/gems/gems/rabbit-2.1.3/lib/rabbit/logger/stderr.rb:1:in `<top (required)>'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/gems/gems/rabbit-2.1.3/lib/rabbit/logger.rb:19:in `<top (required)>'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/gems/gems/rabbit-2.1.3/lib/rabbit/slide-configuration.rb:22:in `<top (required)>'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/gems/gems/rabbit-2.1.3/lib/rabbit/command/rabbit.rb:20:in `<top (required)>'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/gems/gems/rabbit-2.1.3/bin/rabbit:20:in `<top (required)>'
	from /bin//rabbit:23:in `load'
	from /bin//rabbit:23:in `<main>'

Comment 1 JC 2014-12-21 22:51:35 UTC
Created attachment 971823 [details]
File: backtrace

Comment 2 Mamoru TASAKA 2014-12-21 23:28:29 UTC
Would you write the detailed procedure how to reproduce this issue?

Comment 3 Mamoru TASAKA 2014-12-22 02:12:34 UTC
Ah, installing rubygem-pam and executing $ rabbit immediately shows this issue.

So this is rubygem-pam not installing /usr/lib/gems/ruby/pam-1.5.4/gem.build_complete .

Comment 4 JC 2014-12-23 03:32:08 UTC
I ran rabbit from the command line which may or may not be the correct way. I was not sure what it was.

Comment 5 Mamoru TASAKA 2014-12-23 06:01:12 UTC
*** Bug 1176728 has been marked as a duplicate of this bug. ***

Comment 6 Mamoru TASAKA 2014-12-23 06:01:23 UTC
*** Bug 1176726 has been marked as a duplicate of this bug. ***

Comment 7 Mamoru TASAKA 2014-12-23 06:07:09 UTC
As Red Hat people may be on Christmas, I take care of this for now.

Comment 8 Fedora Update System 2014-12-23 06:29:15 UTC
rubygem-pam-1.5.4-20.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/rubygem-pam-1.5.4-20.fc21

Comment 9 JC 2014-12-24 18:45:18 UTC
I ran gem update --system and it gave this error

gem pristine ruby-ldap --version 0.9.16
Ignoring ruby-ldap-0.9.16 because its extensions are not built.  Try: gem pristine ruby-ldap --version 0.9.16
Ignoring rugged-0.21.0 because its extensions are not built.  Try: gem pristine rugged --version 0.21.0
Ignoring ruby-ldap-0.9.16 because its extensions are not built.  Try: gem pristine ruby-ldap --version 0.9.16
Ignoring rugged-0.21.0 because its extensions are not built.  Try: gem pristine rugged --version 0.21.0

Running the commands below allow rabbit to run 

Restoring gems to pristine condition...
Cached gem for ruby-ldap-0.9.16 not found, attempting to fetch...
Fetching: ruby-ldap-0.9.16.gem (100%)
Building native extensions.  This could take a while...
Restored ruby-ldap-0.9.16
[root@tower jcaldwel]# gem pristine rugged --version 0.21.0
Ignoring rugged-0.21.0 because its extensions are not built.  Try: gem pristine rugged --version 0.21.0
Ignoring rugged-0.21.0 because its extensions are not built.  Try: gem pristine rugged --version 0.21.0
Restoring gems to pristine condition...
Cached gem for rugged-0.21.0 not found, attempting to fetch...
Fetching: rugged-0.21.0.gem (100%)
Building native extensions.  This could take a while...
Restored rugged-0.21.0
[root@tower jcaldwel]#

Comment 10 Fedora Update System 2014-12-25 05:30:27 UTC
Package rubygem-pam-1.5.4-20.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing rubygem-pam-1.5.4-20.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-17554/rubygem-pam-1.5.4-20.fc21
then log in and leave karma (feedback).

Comment 11 Mamoru TASAKA 2014-12-26 02:17:30 UTC
Adding ruby-ldap, rubygem-rugged maintainer

Comment 12 Mamoru TASAKA 2014-12-26 03:58:37 UTC
*** Bug 1177027 has been marked as a duplicate of this bug. ***

Comment 13 Fedora Update System 2014-12-26 05:08:33 UTC
ruby-ldap-0.9.16-2.fc21,rubygem-rugged-0.21.0-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/ruby-ldap-0.9.16-2.fc21,rubygem-rugged-0.21.0-3.fc21

Comment 14 Fedora Update System 2014-12-27 09:20:40 UTC
Package ruby-ldap-0.9.16-2.fc21, rubygem-rugged-0.21.0-3.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ruby-ldap-0.9.16-2.fc21 rubygem-rugged-0.21.0-3.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-17621/ruby-ldap-0.9.16-2.fc21,rubygem-rugged-0.21.0-3.fc21
then log in and leave karma (feedback).

Comment 15 Fedora Update System 2015-01-03 19:08:04 UTC
rubygem-pam-1.5.4-20.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2015-01-05 07:36:48 UTC
ruby-ldap-0.9.16-2.fc21, rubygem-rugged-0.21.0-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


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