[Pkg-security-team] metasploit-framework - issues building the package
>>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
It seems to be that ruby-json is already marked as dependency.
It was the only one called independently on the rules file.
I removed most of the overrides. I kept only those that I understood
what they are doing/necessary.
>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/
Thanks for the reference. I took a look. Although I still stuck, it
helped. :)
>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
I am using an ancient version of git that requires a push to send the
local updates. Sorry, committed now. :D
The error now is about the main dh_install target:
dh_install: Cannot find (any matches for) ".bundle" (tried in "." and
"debian/tmp")
dh_install: Cannot find (any matches for) "vendor" (tried in "." and
"debian/tmp")
Any thoughts?
Cheers,
Eder
Reply to: