Package Details: blktrace 1.3.0-1

Git Clone URL: https://aur.archlinux.org/blktrace.git (read-only, click to copy)
Package Base: blktrace
Description: Userspace utilities for tracing Linux block layer I/O
Upstream URL: http://brick.kernel.dk/snaps/
Licenses: GPL2
Submitter: intgr
Maintainer: 2bluesc
Last Packager: 2bluesc
Votes: 31
Popularity: 0.000539
First Submitted: 2009-10-21 18:46 (UTC)
Last Updated: 2021-10-07 15:13 (UTC)

Dependencies (1)

Required by (1)

Sources (1)

Latest Comments

jamespharvey20 commented on 2019-09-07 01:49 (UTC) (edited on 2019-09-07 02:05 (UTC) by jamespharvey20)

A patch for PKGBUILD for your consideration.

It fixes a race condition building this in parallel, which I ran into. http://lists.openembedded.org/pipermail/openembedded-core/2015-February/220128.html, but http://lists.openembedded.org/pipermail/openembedded-core/2015-February/220186.html and appears that wasn't done, so it never got merged.

It also installs the README file, and builds and installs PDF documentation. The PDF documentation includes critical information the manpages leave out, including some of the column meanings. Sadly, the PDF documentation does not show it has been updated since 2008, so is a bit outdated, but much of it is still relevant.

(NOTE the comments here have an unintended feature/bug, so the index line has the first git commit f92.. replaced with a link to a non-existing commit id on this repo. It's also putting < and > around part of source.)

diff --git a/PKGBUILD b/PKGBUILD
index [`f922da4`](https://aur.archlinux.org/cgit/aur.git/commit/?h=blktrace&id=f922da4)..ffbd562 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,25 @@
 # Contributor: Marti Raudsepp <marti@juffo.org>
 pkgname=blktrace
 pkgver=1.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Userspace utilities for tracing Linux block layer I/O"
 arch=(i686 x86_64)
 license=('GPL2')
 url="<http://brick.kernel.dk/snaps/>"
 depends=('libaio')
+makedepends=('texlive-core' 'texlive-latexextra')
 source=("<http://brick.kernel.dk/snaps/>$pkgname-$pkgver.tar.bz2")
 sha256sums=('26961888f7308f5e1343b16c44a59d2ab190e12ae17b1841e4a4e304bd3a3f45')

 build() {
   cd "$srcdir/$pkgname-$pkgver"
-  make
+  make -j1
+  make docs -j1
 }

 package() {
   cd "$srcdir/$pkgname-$pkgver"
   make prefix=/usr mandir=/usr/share/man DESTDIR=$pkgdir/ install
+  install -Dm644 README "${pkgdir}/usr/share/docs/${pkgname}/README"
+  install -Dm644 doc/blktrace.pdf "${pkgdir}/usr/share/docs/${pkgname}/blktrace.pdf"
 }

bartus commented on 2019-08-12 06:38 (UTC)

sysstat is missing optdep for iowatcher

intgr commented on 2012-11-21 22:34 (UTC)

Updated to 1.0.5

intgr commented on 2011-11-09 19:51 (UTC)

Bumped version to 1.0.3, builds fine here. (PS: It would be helpful to include a brief error message with your report)

lynix commented on 2011-11-09 19:46 (UTC)

Fails to build on x64 for me, will try 1.0.3.