NetBSD Problem Report #43849

From cheusov@tut.by  Tue Sep  7 15:43:43 2010
Return-Path: <cheusov@tut.by>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id D629063BC49
	for <gnats-bugs@gnats.netbsd.org>; Tue,  7 Sep 2010 15:43:42 +0000 (UTC)
Message-Id: <s93bp8936g2.fsf@centos.imb.invention.com>
Date: Tue, 07 Sep 2010 18:43:25 +0300
From: cheusov@tut.by
Reply-To:
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: security/qca2: PLIST issue on Linux CentOS 5.5 [patch]
X-Send-Pr-Version: 3.113.1
X-GNATS-Notify:

>Number:         43849
>Category:       pkg
>Synopsis:       security/qca2: PLIST issue on Linux CentOS 5.5 [patch]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 07 15:45:00 +0000 2010
>Closed-Date:    Fri Sep 10 15:03:35 +0000 2010
>Last-Modified:  Fri Sep 10 15:05:05 +0000 2010
>Originator:     Aleksey Cheusov
>Release:        Linux 2.6.18-194.11.1.el5xen
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: Linux centos.imb.invention.com 2.6.18-194.11.1.el5xen #1 SMP Tue Aug 10 20:27:58 EDT 2010 i686 i686 i386 GNU/Linux
Architecture: i686

>Description:
=> Checking file-check results for qca2-2.0.2nb3
Log is below

   ERROR: ************************************************************
   ERROR: The following files are in the PLIST but not in /usr/pkg:
   ERROR:         /tmp/obj-pkgsrc/security/qca2/work/.destdir/usr/pkg/qt4/share/qca/certs/README
   ERROR:         /tmp/obj-pkgsrc/security/qca2/work/.destdir/usr/pkg/qt4/share/qca/certs/rootcerts.pem
   *** Error code 1

This is because qca2 tries to guess where sertificates lie
and one of its check is true on CentOS Linux and some Fedoras.
Solution is below.

>How-To-Repeat:

>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/qca2/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	13 Jun 2010 22:45:20 -0000	1.11
+++ Makefile	7 Sep 2010 15:39:58 -0000
@@ -26,6 +26,7 @@
 CONFIGURE_ARGS+=	--prefix=${QTDIR}
 CONFIGURE_ARGS+=	--qtdir=${QTDIR}
 CONFIGURE_ARGS+=	--disable-tests
+CONFIGURE_ARGS+=	--certstore-internal

 post-install:
 	${INSTALL_DATA} ${DESTDIR}${QTDIR}/lib/pkgconfig/qca2.pc ${DESTDIR}${PREFIX}/lib/pkgconfig/qca2.pc

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Fri, 10 Sep 2010 15:03:35 +0000
State-Changed-Why:
Committed, thanks.


From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/43849 CVS commit: pkgsrc/security/qca2
Date: Fri, 10 Sep 2010 15:02:49 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Fri Sep 10 15:02:49 UTC 2010

 Modified Files:
 	pkgsrc/security/qca2: Makefile

 Log Message:
 Add --certstore-internal to fix packaging on some Linuces.
 From Aleksey Cheusov in PR 43849.


 To generate a diff of this commit:
 cvs rdiff -u -r1.11 -r1.12 pkgsrc/security/qca2/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.