Package Details: bible-kjv 4.30-1

Git Clone URL: https://aur.archlinux.org/bible-kjv.git (read-only)
Package Base: bible-kjv
Description: King James Bible, Concordance, and Command-Line Viewer
Upstream URL: http://www.debian.org/
Licenses: GPL
Submitter: None
Maintainer: pdc
Last Packager: pdc
Votes: 6
Popularity: 0.058725
First Submitted: 2008-12-31 05:25
Last Updated: 2018-05-12 20:02

Latest Comments

pdc commented on 2018-05-03 15:58

I've hacked the Makefile to include -O2 in the CFLAGS. It should work now.

divansantana commented on 2018-05-03 14:27

==> Making package: bible-kjv 4.29-2 (Thu May 3 16:22:30 SAST 2018) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading bible-kjv_4.29.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1378k 100 1378k 0 0 458k 0 0:00:03 0:00:03 --:--:-- 458k -> Found makefile.patch ==> Validating source files with md5sums... bible-kjv_4.29.tar.gz ... Passed makefile.patch ... Passed ==> Extracting sources... -> Extracting bible-kjv_4.29.tar.gz with bsdtar ==> Entering fakeroot environment... ==> Starting package()... patching file bible-kjv/Makefile cc -Wall -Wformat -Werror -Wshadow -W -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wbad-function-cast -Wpointer-arith -g2 -ggdb -DDESTLIB=\"/usr/share/bible-kjv\" -D_FORTIFY_SOURCE=2 -c -o bible.o bible.c In file included from /usr/include/ctype.h:25:0, from bible.c:166: /usr/include/features.h:381:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ cc1: all warnings being treated as errors make: *** [<builtin>: bible.o] Error 1 ==> ERROR: A failure occurred in package(). Aborting... 2018-05-03 16:22:34,236 - wrappers - makepkg - ERROR - makepkg query makepkg -cf --noconfirm failed</builtin>

pdc commented on 2016-11-30 16:17

Try again now.

I'd hacked the makefile for a previous version of gcc. With the current gcc, the hack caused problems. I've removed it.

divansantana commented on 2016-11-30 06:51

Trying to install with yaourt gives this, anyone have any ideas?

cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DDESTLIB=\"/usr/share/bible-kjv\" -c -o makeconcfile.o makeconcfile.c
squish.c: In function ‘main’:
squish.c:648:4: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
read(2, response, 2);
^~~~~~~~~~~~~~~~~~~~
make squish
make[1]: Entering directory '/tmp/yaourt-tmp-admin/aur-bible-kjv/src/bible-kjv'
Linking squish ...
squish.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:219: squish] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-admin/aur-bible-kjv/src/bible-kjv'
make: *** [Makefile:246: squish.data] Error 2
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in package().
Aborting...

Lazy commented on 2014-01-16 15:02

Here is the updated PKGBUILD:

pkgname=bible-kjv
pkgver=4.26
pkgrel=1
pkgdesc="King James Bible, Concordance, and Command-Line Viewer"
arch=(i686)
url="http://www.debian.org/"
license=('GPL')
depends=('glibc')
makedepends=('perl')
source=(http://ftp.debian.org/debian/pool/main/b/${pkgname}/${pkgname}_${pkgver}.tar.gz)
#md5sums=(54fbe84b674026663c84c2fb8ef9adde)
md5sums=(ed5f593be5cc3d60edd84c612ba393cf)

build() {
cd "$srcdir/$pkgname"

# upstream ebuild wants "make all", not just "make"
make DEST="$pkgdir/usr" DESTLIB="/usr/share/$pkgname" all || return 1
make DEST="$pkgdir/usr" DESTLIB="$pkgdir/usr/share/$pkgname" install

# copy for user convenience
install -D -m644 bible.rawtext \
$pkgdir/usr/share/$pkgname/kjv-uncompressed.txt
}

# vim:set ts=2 sw=2 et:

Anonymous comment on 2012-06-14 15:30

I had to change four lines in the PKGBUILD in order for this to build succesfully :

pkgver=4.23                                ===>> pkgver=4.26
arch=(i686)                                ===>> arch=('i686' 'x86_64')
md5sums=(54fbe84b674026663c84c2fb8ef9adde) ===>> md5sums=(ed5f593be5cc3d60edd84c612ba393cf)
cd "$srcdir/$pkgname-$pkgver"              ===>> cd "$srcdir/$pkgname"

Anonymous comment on 2012-06-14 15:29

I had to change four lines in the PKGBUILD in order for this to build succesfully :

pkgver=4.23 ===>> pkgver=4.26
arch=(i686) ===>> arch=('i686' 'x86_64')
md5sums=(54fbe84b674026663c84c2fb8ef9adde) ===>> md5sums=(ed5f593be5cc3d60edd84c612ba393cf)
cd "$srcdir/$pkgname-$pkgver" ===>> cd "$srcdir/$pkgname"

jealma commented on 2011-07-15 22:45

Thanks for this package! Could you maybe add x86_64 as architecture to the PKGBUILD?

hauzer commented on 2011-04-30 16:17

Thank you for this.