jordansissel/fpm · error
Some of the dependencies looked like they weren't package na
Error message
Some of the dependencies looked like they weren't package names. Such dependency entries only serve to confuse arch. I am removing them.
What it means
Error "Some of the dependencies looked like they weren't package names. Such dependency entries only serve to confuse arch. I am removing them." thrown in jordansissel/fpm.
Source
Thrown at lib/fpm/package/pacman.rb:70
return @architecture
end
end # def architecture
def iteration
return @iteration || 1
end # def iteration
def config_files
return @config_files || []
end # def config_files
def dependencies
bogus_regex = /[^\sA-Za-z0-9><=+._@-]/
# Actually modifies depencies if they are not right
bogus_dependencies = @dependencies.grep bogus_regex
if bogus_dependencies.any?
@dependencies.reject! { |a| a =~ bogus_regex }
logger.warn("Some of the dependencies looked like they weren't package " \
"names. Such dependency entries only serve to confuse arch. " \
"I am removing them.",
:removed_dependencies => bogus_dependencies,
:fixed_dependencies => @dependencies)
end
return @dependencies
end
# This method is invoked on a package when it has been converted to a new
# package format. The purpose of this method is to do any extra conversion
# steps, like translating dependency conditions, etc.
#def converted_from(origin)
# nothing to do by default. Subclasses may implement this.
# See the RPM package class for an example.
#end # def converted_from
# Add a new source to this package.View on GitHub (pinned to b6d77ba72a)
When it happens
Trigger: Thrown at lib/fpm/package/pacman.rb:70 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of jordansissel/fpm@b6d77ba72a (2026-08-21).
Data as JSON: /api/errors/dd24acd4e6a79ce7.
Report an issue: GitHub.