[Pkg-security-team] metasploit-framework - issues building the package
Gianfranco Costamagna
locutusofborg at debian.org
Thu Aug 11 07:11:44 UTC 2016
Hi,
>gem install json --install-dir vendor/bundle/ruby/2.3.0
>ERROR: Could not find a valid gem 'json' (>= 0), here is why:
> Unable to download data from https://rubygems.org/ - no such
>name (https://rubygems.org/specs.4.8.gz)
>debian/rules:14: recipe for target 'override_dh_auto_build' failed
>
>
>@Raphael (or any other),
>
>Can you take a look and see what I am doing wrong?
>https://anonscm.debian.org/cgit/pkg-security/metasploit-framework.git/
I don't know the exact case, but Debian requires the dependencies of a particular
package to be packaged *separately*.
For this reason, running "gem install" is forbidden in Debian.
Please package needed ruby gems separately, and build-depend on them
you can find examples here
https://qa.debian.org/developer.php?login=pkg-ruby-extras-maintainers@lists.alioth.debian.org
or look at some packages written in ruby that are using lots of gems, e.g. gitlab
https://sources.debian.net/src/gitlab/8.9.0%2Bdfsg-8/debian/control/
you don't seem to have a rules file in your source tree
https://anonscm.debian.org/cgit/pkg-security/metasploit-framework.git/tree/debian
G.
More information about the Pkg-security-team
mailing list