{"record":{"id":"dd24acd4e6a79ce7","repo":"jordansissel/fpm","slug":"some-of-the-dependencies-looked-like-they-weren-t","errorCode":null,"errorMessage":"Some of the dependencies looked like they weren't package names. Such dependency entries only serve to confuse arch. I am removing them.","messagePattern":"Some of the dependencies looked like they weren't package names\\. Such dependency entries only serve to confuse arch\\. I am removing them\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/fpm/package/pacman.rb","lineNumber":70,"sourceCode":"        return @architecture\n    end\n  end # def architecture\n\n  def iteration\n    return @iteration || 1\n  end # def iteration\n\n  def config_files\n    return @config_files || []\n  end # def config_files\n\n  def dependencies\n    bogus_regex = /[^\\sA-Za-z0-9><=+._@-]/\n    # Actually modifies depencies if they are not right\n    bogus_dependencies = @dependencies.grep bogus_regex\n    if bogus_dependencies.any?\n      @dependencies.reject! { |a| a =~ bogus_regex }\n      logger.warn(\"Some of the dependencies looked like they weren't package \" \\\n                  \"names. Such dependency entries only serve to confuse arch. \" \\\n                  \"I am removing them.\",\n                  :removed_dependencies => bogus_dependencies,\n                  :fixed_dependencies => @dependencies)\n    end\n    return @dependencies\n  end\n\n\n  # This method is invoked on a package when it has been converted to a new\n  # package format. The purpose of this method is to do any extra conversion\n  # steps, like translating dependency conditions, etc.\n  #def converted_from(origin)\n    # nothing to do by default. Subclasses may implement this.\n    # See the RPM package class for an example.\n  #end # def converted_from\n\n  # Add a new source to this package.","sourceCodeStart":52,"sourceCodeEnd":88,"githubUrl":"https://github.com/jordansissel/fpm/blob/b6d77ba72a560b687723376a0e5115c3a92634ad/lib/fpm/package/pacman.rb#L52-L88","documentation":"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.","triggerScenarios":"Thrown at lib/fpm/package/pacman.rb:70 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b6d77ba72a560b687723376a0e5115c3a92634ad","analyzedAt":"2026-08-21T16:39:02.570Z","schemaVersion":2},"datasetVersion":"2026-08-21T18:17:14.833Z"}