New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency tokens must begin with alpha-numeric, '_' or '/': Requires: rubygem(tilt) != 1.3.0 {:level=>:error} #396

Closed
bigon opened this Issue Apr 4, 2013 · 2 comments

Comments

Projects
None yet
3 participants
@bigon

bigon commented Apr 4, 2013

Hi,

When trying to package the sprockets gem, I get the following error:

error: line 48: Dependency tokens must begin with alpha-numeric, '_' or '/': Requires: rubygem(tilt) != 1.3.0 {:level=>:error}
/usr/lib/ruby/vendor_ruby/fpm/util.rb:42:in `safesystem': rpmbuild failed (exit code 1). Full command was:["rpmbuild", "-bb", "--define", "buildroot /tmp/package-rpm-build20130404-30692-1fkbcw9/BUILD", "--define", "_topdir /tmp/package-rpm-build20130404-30692-1fkbcw9", "--define", "_sourcedir /tmp/package-rpm-build20130404-30692-1fkbcw9", "--define", "_rpmdir /tmp/package-rpm-build20130404-30692-1fkbcw9/RPMS", "/tmp/package-rpm-build20130404-30692-1fkbcw9/SPECS/rubygem-sprockets.spec"] (FPM::Util::ProcessFailed)
    from /usr/lib/ruby/vendor_ruby/fpm/package/rpm.rb:251:in `output'
    from /usr/lib/ruby/vendor_ruby/fpm/command.rb:408:in `execute'
    from /usr/lib/ruby/vendor_ruby/clamp/command.rb:66:in `run'
    from /usr/lib/ruby/vendor_ruby/clamp/command.rb:124:in `run'
    from /usr/bin/fpm:8:in `<main>'

fpm -s gem -t rpm sprockets

@roidelapluie

This comment has been minimized.

roidelapluie commented Apr 5, 2013

EDITOR="sed '50s/!=/>/' -i " fpm -s gem -t rpm -e sprockets

@jordansissel

This comment has been minimized.

Owner

jordansissel commented Apr 5, 2013

Ahh, "!=" dependencies are supposed to get turned into 'Conflicts' in fpm's rpm support. This seems like a bug. Thanks for filing! :)

prof-milki pushed a commit to prof-milki/xpm that referenced this issue Dec 18, 2014

prof-milki pushed a commit to prof-milki/xpm that referenced this issue Dec 18, 2014

jls
Merge pull request jordansissel#404 from r4um/fix_396
Closes jordansissel#396 Convert all != dependencies to Conflicts

prof-milki pushed a commit to prof-milki/xpm that referenced this issue Dec 27, 2014

prof-milki pushed a commit to prof-milki/xpm that referenced this issue Dec 27, 2014

Merge pull request jordansissel#404 from r4um/fix_396
Closes jordansissel#396 Convert all != dependencies to Conflicts

jordansissel added a commit that referenced this issue Apr 24, 2015

Merge pull request #404 from r4um/fix_396
Closes #396 Convert all != dependencies to Conflicts

jordansissel added a commit that referenced this issue Jun 20, 2016

Merge pull request #404 from r4um/fix_396
Closes #396 Convert all != dependencies to Conflicts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment