X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 04F65DC0093 for ; Wed, 16 Jul 2014 05:51:23 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id f8so653032wiw.12 for ; Tue, 15 Jul 2014 22:51:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=N5HMEnhCGhXnMbIq8W+eS/L4d0uKNqyYD5mBUuRGI1w=; b=Aw8htRjbN8SLzfelVrYqIqqsjCUaa7cZrlWE1aEm+Fy9oGLvTo3sbYrDUAD36XJEgT ZlG6MpkLMClwrD/1VkqWF5WCMYjjNloBLJFfbCSCL2LRHNfAByAmXfw2vm0Q5wyJazYe dknc60Gywk/d9lFzfdYZkVvitakGHvIs9c/8M7QMtZqMx8OAG6AwBS+6po9hM2nAu8yx zO/dNqx8uEY2duOyHC1gThcMRWdCxHw4J5nD1ye/PFt1ntDZUTNfE0SOlpVfVdDFf/7X XMvZS862QaAKoq+FsbtKJMKG6RCtIf4XP7D8co7CUD9LuEwZf2qZYVSlgNDd5zF/v/pH Z5oQ== X-Gm-Message-State: ALoCoQk4tFICcmWvNNI7zB5ItknsRK3pnWsNWVWiQSBW2I7/I6PcETXSCeKhFDcUTYmtv8yrJJ9i X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 X-Received: by 10.180.21.200 with SMTP id x8mr10867748wie.67.1405489881497; Tue, 15 Jul 2014 22:51:21 -0700 (PDT) Received: by 10.180.37.133 with HTTP; Tue, 15 Jul 2014 22:51:21 -0700 (PDT) In-Reply-To: <20140715162818.0f5adca9@ncopa-desktop.alpinelinux.org> References: <1405457044-3186-1-git-send-email-ibid.ag@gmail.com> <20140715162818.0f5adca9@ncopa-desktop.alpinelinux.org> Date: Wed, 16 Jul 2014 00:51:21 -0500 Message-ID: Subject: Re: [alpine-devel] [PATCH] testing/sword: add new package From: William Pitcock To: Natanael Copa Cc: Isaac Dunham , alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset=UTF-8 Hello! On Tue, Jul 15, 2014 at 9:28 AM, Natanael Copa wrote: > On Tue, 15 Jul 2014 13:44:04 -0700 > Isaac Dunham wrote: > >> Sword is a library for free Bible software. >> It can also be used for other books. > ... > >> +++ b/testing/sword/01-corediatheke.patch >> @@ -0,0 +1,18 @@ >> +diff --git a/utilities/diatheke/corediatheke.cpp b/utilities/diatheke/corediatheke.cpp >> +index 6e05e7c..c2b6efb 100644 >> +--- a/utilities/diatheke/corediatheke.cpp >> ++++ b/utilities/diatheke/corediatheke.cpp >> +@@ -454,7 +454,6 @@ void doquery(unsigned long maxverses = -1, unsigned char outputformat = FMT_PLAI >> + if (font) { *output << "style=\"font:\"" << font << ";\" " ;} >> + if (strcmp(modlocale,locale) !=0 ) { *output << "lang=\"" << modlocale << "\"";} >> + *output << ">"; >> +- } >> + } >> + >> + if (font && (outputformat == FMT_HTML || outputformat == FMT_HTMLHREF || outputformat == FMT_XHTML || outputformat == FMT_THML || outputformat == FMT_CGI)) { >> +@@ -498,4 +497,4 @@ void doquery(unsigned long maxverses = -1, unsigned char outputformat = FMT_PLAI >> + } >> + >> + } >> +- >> ++} > > I saw your work with upstream to get this fixed. What I find > interesting is that they didn't catch an error like this upstream. Why > didn't the problem show up on glibc? > > musl again causes hidden bugs bubble up to the surface. > > Good job! > > Applied. Thanks! > > -nc Since this package was added to testing, there was a discussion on an IRC channel where this software became interesting to test, as I wanted to factcheck some things being claimed on it. Unfortunately, I discovered that after installing sword and sword-utils, and then running: user$ installmgr -init [...] user$ installmgr -r CrossWire user$ installmgr -ri CrossWire KJV Then doing a query using diatheke: user$ diatheke -b KJV -k ... Nothing came up. Running strace(1) on diatheke showed it required the data files to be installed as root before the software would function correctly. With the software configured as root, it functions correctly, however I believe this is a policy violation as software is typically supposed to be accessible to the user without configuration systemwide, and installmgr does *something* with the data it downloads when running as a user. I am not sure about why it is malfunctioning, if you have any feedback let me know. - kaniini --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---