Bug 220622 - sysutils/rubygem-r10k broken dependencies
Summary: sysutils/rubygem-r10k broken dependencies
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-11 10:04 UTC by bas
Modified: 2017-07-11 17:11 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (ruby)


Attachments
List of installed packages on my system. (24.52 KB, text/plain)
2017-07-11 10:04 UTC, bas
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description bas 2017-07-11 10:04:09 UTC
Created attachment 184250 [details]
List of installed packages on my system.

When running r10k I get the following error:

/usr/local/lib/ruby/site_ruby/2.3/rubygems/specification.rb:1436:in `block in activate_dependencies': can't satisfy 'semantic_puppet (~> 0.1.0)', already activated 'semantic_puppet-1.0.1' (Gem::LoadError)
        from /usr/local/lib/ruby/site_ruby/2.3/rubygems/specification.rb:1428:in `each'
        from /usr/local/lib/ruby/site_ruby/2.3/rubygems/specification.rb:1428:in `activate_dependencies'
        from /usr/local/lib/ruby/site_ruby/2.3/rubygems/specification.rb:1410:in `activate'
        from /usr/local/lib/ruby/site_ruby/2.3/rubygems.rb:300:in `block in activate_bin_path'
        from /usr/local/lib/ruby/site_ruby/2.3/rubygems.rb:300:in `synchronize'
        from /usr/local/lib/ruby/site_ruby/2.3/rubygems.rb:300:in `activate_bin_path'
        from /usr/local/bin/r10k:23:in `<main>'

My system is running 11.0-RELEASE-p9 FreeBSD 11.0-RELEASE-p9 #5 r316829
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2017-07-11 10:27:10 UTC
Could you please try the following steps:

- Uninstall devel/rubygem-semantic_puppet0 and sysutils/rubygem-r10k
- Apply the patch [1]
- Install patched sysutils/rubygem-r10k

[1] https://people.FreeBSD.org/~sunpoet/patch/sysutils-rubygem-r10k
Comment 2 bas 2017-07-11 10:51:43 UTC
Works just fine with the supplied patch. Thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-07-11 17:08:20 UTC
A commit references this bug:

Author: sunpoet
Date: Tue Jul 11 17:07:45 UTC 2017
New revision: 445537
URL: https://svnweb.freebsd.org/changeset/ports/445537

Log:
  Change RUN_DEPENDS back to rubygem-semantic_puppet to avoid mixed versions

  - Bump PORTREVISION for dependency change

  PR:		220622
  Reported by:	<bas@area536.com>

Changes:
  head/sysutils/rubygem-r10k/Makefile
  head/sysutils/rubygem-r10k/files/patch-gemspec
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2017-07-11 17:11:10 UTC
Committed. Thanks!