[DRE-maint] Bug#985799: ruby-licensee 9.14.1-1: no library files in the DEB package
Pirate Praveen
praveen at onenetbeyond.org
Wed Mar 24 15:58:07 GMT 2021
On Wed, 24 Mar 2021 12:44:28 +0530 Pirate Praveen
<praveen at onenetbeyond.org> wrote:
> On Tue, 23 Mar 2021 21:31:28 +0000 Mike Gabriel
<mike.gabriel at das-netzwerkteam.de> wrote:
> > Package: ruby-licensee
> > Version: 9.14.1-1
> > Severity: grave
> > X-Debbugs-Cc: praveen at debian.org
> >
> > The ruby-licensee package as currently found in Debian experimental
> > lacks the entire library folder of the licensee Gem. These files,
at
> > least, are missing from the package:
> >
> > .
> > ├── licensee
> > │ ├── commands
> > │ │ ├── detect.rb
> > │ │ ├── diff.rb
> > │ │ ├── license_path.rb
> > │ │ └── version.rb
> > │ ├── content_helper.rb
> > │ ├── hash_helper.rb
> > │ ├── license_field.rb
> > │ ├── license_meta.rb
> > │ ├── license.rb
> > │ ├── license_rules.rb
> > │ ├── matchers
> > │ │ ├── cabal.rb
> > │ │ ├── cargo.rb
> > │ │ ├── copyright.rb
> > │ │ ├── cran.rb
> > │ │ ├── dice.rb
> > │ │ ├── dist_zilla.rb
> > │ │ ├── exact.rb
> > │ │ ├── gemspec.rb
> > │ │ ├── matcher.rb
> > │ │ ├── npm_bower.rb
> > │ │ ├── nuget.rb
> > │ │ ├── package.rb
> > │ │ ├── reference.rb
> > │ │ └── spdx.rb
> > │ ├── matchers.rb
> > │ ├── project_files
> > │ │ ├── license_file.rb
> > │ │ ├── package_manager_file.rb
> > │ │ ├── project_file.rb
> > │ │ └── readme_file.rb
> > │ ├── project_files.rb
> > │ ├── projects
> > │ │ ├── fs_project.rb
> > │ │ ├── github_project.rb
> > │ │ ├── git_project.rb
> > │ │ └── project.rb
> > │ ├── projects.rb
> > │ ├── rule.rb
> > │ └── version.rb
> > └── licensee.rb
> >
> > I stumbled over this when checking the package content (dpkg -L
> > ruby-licensee) and compared it to the list of files being pulled in
> > using "gem install -v 9.14.1 licensee".
> >
> > Then DEB package only contains the cmdline executable, but lacks
the
They use git command to find list of files to install which fails in
the debian build env with a tarball. Usually this results in build
failure but they have done the git command in a different way so it did
not result in build failure so we did not notice it. This was resulted
in autopkgtest failure, but sometimes autopkgtest fails for different
reasons, we did not dig that deeper.
So the fix would be to patch the gemspec file to not use git command to
find the list of files to install
More information about the Pkg-ruby-extras-maintainers
mailing list