Package Details: fpm 1.15.1-2

Git Clone URL: https://aur.archlinux.org/fpm.git (read-only, click to copy)
Package Base: fpm
Description: Effing package management! Build packages for multiple platforms (deb, rpm, etc) with great ease and sanity.
Upstream URL: https://github.com/jordansissel/fpm
Keywords: deb packaging rpm ruby
Licenses: MIT
Submitter: markzz
Maintainer: barbuk
Last Packager: barbuk
Votes: 13
Popularity: 0.153060
First Submitted: 2015-12-06 19:48 (UTC)
Last Updated: 2023-09-08 16:53 (UTC)

Required by (2)

Sources (1)

Latest Comments

1 2 3 Next › Last »

Flammkuchen commented on 2023-09-08 09:44 (UTC)

Please add squashfs-tools as optdepend for snaps.

fosskers commented on 2021-03-18 23:06 (UTC)

Here's a patch that gets it building again:

diff --git a/.SRCINFO b/.SRCINFO
index 1c88afe..062800c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Mon Feb 18 01:16:17 UTC 2019
 pkgbase = fpm
    pkgdesc = Effing package management! Build packages for multiple platforms (deb, rpm, etc) with great ease and sanity.
-   pkgver = 1.11.0
+   pkgver = 1.12.0
    pkgrel = 1
    url = https://github.com/jordansissel/fpm
    arch = any
@@ -14,13 +12,15 @@ pkgbase = fpm
    depends = ruby-arr-pm
    depends = ruby-clamp
    depends = ruby-childprocess
+   depends = ruby-git
+   depends = ruby-rchardet
    depends = ruby-ffi
    depends = ruby-xz
    depends = ruby-pleaserun
    depends = ruby-stud
    options = !emptydirs
-   source = https://github.com/jordansissel/fpm/archive/v1.11.0.tar.gz
-   sha256sums = db9474ad6e3f119e4fb6cf32de34e982cda3950f6d930c29d4950af2875ffa07
+   source = https://github.com/jordansissel/fpm/archive/v1.12.0.tar.gz
+   sha256sums = 3aa5b5d9d24e86601918b25e48dd038ee4cf7451c27009b775c36f59cd017123

 pkgname = fpm

diff --git a/PKGBUILD b/PKGBUILD
index 4508e4a..21dc86a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 _gemname=fpm
 pkgname=$_gemname
-pkgver=1.11.0
+pkgver=1.12.0
 pkgrel=1
 pkgdesc='Effing package management! Build packages for multiple platforms (deb, rpm, etc) with great ease and sanity.'
 arch=(any)
@@ -15,6 +15,8 @@ depends=(ruby
          ruby-arr-pm
          ruby-clamp
          ruby-childprocess
+         ruby-git
+         ruby-rchardet
          ruby-ffi
          ruby-xz
          ruby-pleaserun
@@ -23,12 +25,13 @@ depends=(ruby
 #              ruby-insist)
 options=(!emptydirs)
 source=("https://github.com/jordansissel/fpm/archive/v${pkgver}.tar.gz")
-sha256sums=('db9474ad6e3f119e4fb6cf32de34e982cda3950f6d930c29d4950af2875ffa07')
+sha256sums=('3aa5b5d9d24e86601918b25e48dd038ee4cf7451c27009b775c36f59cd017123')

 build() {
   cd $srcdir/$_gemname-$pkgver
   sed -i 's/"clamp", "~> 1.0.0"/"clamp", ">= 1.0.0"/' fpm.gemspec
   sed -i 's/"childprocess", "0.9.0"/"childprocess", "< 1.0.0"/' fpm.gemspec
+  sed -i 's/"ffi", "~> 1.12.0"/"ffi", ">= 1.15.0"/' fpm.gemspec
   make gem
 }

markzz commented on 2018-07-04 05:30 (UTC)

rpi2: "arch=(any)"

Yes, it supports armv7 as long as you have all the dependencies installed.

As for your other problem, check the architectures of the package and the operating system. They must match letter by letter.

rpi2 commented on 2018-07-04 02:00 (UTC)

covert deb to pacman success, pacman -U got this error: error: failed to prepare transaction (package architecture is not valid)

does fpm support armv7 architecture? btw, convert on Alarm.

RX14 commented on 2018-04-12 13:02 (UTC)

@Twiki it offers you all the benefits of using the pacman package manager to manage your gems, instead of having to use gem itself. The benefit is that fpm is installed system-wide without having to run gem as root, which I strongly dislike doing.

Twiki commented on 2018-04-11 14:37 (UTC)

What does this offer beyond installing with "gem install --no-ri --no-rdoc fpm" ?

RX14 commented on 2018-01-31 22:43 (UTC)

@pd5rm this seems like a bug in the ruby-archive-tar-minitar package, please report this bug to the correct package!

pd5rm commented on 2018-01-31 22:33 (UTC) (edited on 2018-01-31 22:59 (UTC) by pd5rm)

Sorry for comment spam, dealing with MD comment formatting issues. ;-)

1) Seems to requires 'ruby-rdoc' to be installed for the ruby-archive-tar-minitar package to build.

@RX14 Thanks I'll report to that package.

2) ruby-insist (a package dep) appears to be packaged incorrectly. Follow the workaround provided by user Salamandar on that package.

Traceback (most recent call last): 12: from /usr/bin/fpm:23:in <main>' 11: from /usr/lib/ruby/2.5.0/rubygems.rb:309:inactivate_bin_path' 10: from /usr/lib/ruby/2.5.0/rubygems.rb:309:in synchronize' 9: from /usr/lib/ruby/2.5.0/rubygems.rb:310:inblock in activate_bin_path' 8: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1439:in activate' 7: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1457:inactivate_dependencies' 6: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1457:in each' 5: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1471:inblock in activate_dependencies' 4: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1439:in activate' 3: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1457:inactivate_dependencies' 2: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1457:in each' 1: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1468:inblock in activate_dependencies' /usr/lib/ruby/2.5.0/rubygems/dependency.rb:310:in to_specs': Could not find 'insist' (>= 0) among 48 total gem(s) (Gem::MissingSpecError) Checked in 'GEM_PATH=/home/pedrum/.gem/ruby/2.5.0:/usr/lib/ruby/gems/2.5.0', executegem env` for more information

3) Package seems to run, but getting warnings (not a ruby expert so not sure if important).

/usr/lib/ruby/gems/2.5.0/gems/backports-3.6.7/lib/backports/1.8.7/fixnum/div.rb:1: warning: constant ::Fixnum is >deprecated /usr/lib/ruby/gems/2.5.0/gems/backports-3.6.7/lib/backports/1.8.7/fixnum/fdiv.rb:1: warning: constant ::Fixnum is deprecated /usr/lib/ruby/gems/2.5.0/gems/backports-3.6.7/lib/backports/2.1.0/bignum/bit_length.rb:1: warning: constant ::Bignum is deprecated /usr/lib/ruby/gems/2.5.0/gems/backports-3.6.7/lib/backports/2.1.0/fixnum/bit_length.rb:1: warning: constant ::Fixnum is deprecated

RX14 commented on 2017-11-11 15:01 (UTC)

I've updated the package to 1.9.3 and fixed the clamp dependency.