Created
August 20, 2020 22:00
-
-
Save pvalena/aeda48c6fa786f2f3d41f996c3a6c11a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEBUG: Unpacked gem: '/builddir/build/BUILD/image_processing-1.11.0' | |
DEBUG: + /usr/bin/gem spec /builddir/build/SOURCES/image_processing-1.11.0.gem --ruby | |
DEBUG: + STATUS=0 | |
DEBUG: + '[' 0 -ne 0 ']' | |
DEBUG: + cd image_processing-1.11.0 | |
DEBUG: + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . | |
DEBUG: + read -d '' gemspec_remove_dep_script | |
DEBUG: + : | |
DEBUG: + echo 'gemspec_file = '\''/builddir/build/BUILD/image_processing-1.11.0.gemspec'\'' | |
DEBUG: | |
DEBUG: name = '\''ruby-vips-notreally'\'' | |
DEBUG: requirements = nil | |
DEBUG: | |
DEBUG: type = :runtime | |
DEBUG: | |
DEBUG: spec = Gem::Specification.load(gemspec_file) | |
DEBUG: abort("#{gemspec_file} is not accessible.") unless spec | |
DEBUG: | |
DEBUG: dep = spec.dependencies.detect { |d| d.type == type && d.name == name } | |
DEBUG: if dep | |
DEBUG: if requirements | |
DEBUG: requirements = Gem::Requirement.create(requirements).requirements | |
DEBUG: requirements.each do |r| | |
DEBUG: unless dep.requirement.requirements.reject! { |dependency_requirements| dependency_requirements == r } | |
DEBUG: abort("Requirement '\''#{r.first} #{r.last}'\'' was not possible to remove for dependency '\''#{dep}'\''!") | |
DEBUG: end | |
DEBUG: end | |
DEBUG: spec.dependencies.delete dep if dep.requirement.requirements.empty? | |
DEBUG: else | |
DEBUG: spec.dependencies.delete dep | |
DEBUG: end | |
DEBUG: else | |
DEBUG: abort("Dependency '\''#{name}'\'' was not found!") | |
DEBUG: end | |
DEBUG: File.write gemspec_file, spec.to_ruby' | |
DEBUG: + ruby | |
DEBUG: Dependency 'ruby-vips-notreally' was not found! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment