Subject: pkg/24290: postgresql doesn't package (patch included)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <netbsd-install@home.nl>
List: netbsd-bugs
Date: 02/01/2004 14:17:44
>Number:         24290
>Category:       pkg
>Synopsis:       postgresql doesn't package (patch included)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 01 14:18:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Noud de Brouwer
>Release:        1.6ZI
>Organization:
none
>Environment:
NetBSD host016.template 1.6ZI NetBSD 1.6ZI (GENERIC.MP) #0: Fri Jan 30 07:22:40 UTC 2004  cyber@tgm.netbsd.org:/autobuild/HEAD/i386/OBJ/autobuild/HEAD/src/sys/arch/i386/compile/GENERIC.MP i386

>Description:
Creating package /usr/pkgsrc/packages/All/postgresql-lib-7.3.4nb1.tgz
Using SrcDir value of /usr/pkg
Registering depends:.
Registering conflicts: postgresql-[0-6]* postgresql-7.0*.
pkg_create: can't stat `/usr/pkg/${LIBPQ}lib/libpq.so.3.0'
tar: Unable to access ${LIBPQ}lib/libpq.so.3.0 (No such file or directory)
tar: WARNING! These file names were not selected:
${LIBPQ}lib/libpq.so.3.0
pkg_create: tar command failed with code 256
*** Error code 1

>How-To-Repeat:
clean install + pkgsrc.tar.gz dated 20040131
cd /usr/pkgsrc/databases/postgresql-lib; make package
>Fix:
--- PLIST       2004-02-01 14:35:47.000000000 +0100
+++ PLIST.new   2004-02-01 14:40:50.000000000 +0100
@@ -339,7 +339,7 @@
 lib/libpq.a
 lib/libpq.so
 lib/libpq.so.3
-${LIBPQ}lib/libpq.so.3.0
+lib/libpq.so.3.0
 lib/postgresql/plpgsql.so
 man/man1/ecpg.1
 @dirrm lib/postgresql

>Release-Note:
>Audit-Trail:
>Unformatted: