[bug-notifications] [libpq 0003929]: libpq installs only partially - not checking if postgresql binaries exists

Mantis Bug Tracker noreply at opencsw.org
Wed Sep 30 13:29:19 CEST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/bugtrack/view.php?id=3929 
====================================================================== 
Reported By:                alexs77
Assigned To:                
====================================================================== 
Project:                    libpq
Issue ID:                   3929
Category:                   packaging
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2009-09-30 11:16 CEST
Last Modified:              2009-09-30 13:29 CEST
====================================================================== 
Summary:                    libpq installs only partially - not checking if
postgresql binaries exists
Description: 
While installing libpq-8.3.1,REV=2008.05.02-SunOS5.8-sparc-CSW.pkg with
pkgutil:

/opt/csw/postgresql/bin/ecpg <linked pathname>
ERROR: attribute verification of </opt/csw/postgresql/bin/ecpg> failed
    pathname does not exist
    unable to create link to </opt/csw/bin/isaexec>
/opt/csw/postgresql/bin/pg_config <linked pathname>
ERROR: attribute verification of </opt/csw/postgresql/bin/pg_config>
failed
    pathname does not exist
    unable to create link to </opt/csw/bin/isaexec>

Installation of <CSWlibpq> partially failed.

There's no /opt/csw/postgresql directory on my system. I don't use
postgresql and am not planing to use it.
====================================================================== 

---------------------------------------------------------------------- 
 (0006782) alexs77 (reporter) - 2009-09-30 13:29
 http://www.opencsw.org/bugtrack/view.php?id=3929#c6782 
---------------------------------------------------------------------- 
Oh.

There's of course a /opt/csw/postgresql directory (my mistake, sorry!):

--($ ~/src)-- ls -la /opt/csw/postgresql/
total 10
drwxr-xr-x    5 root     bin             5 Sep 30 13:26 .
drwxr-xr-x   21 root     bin            24 Sep 30 13:26 ..
drwxr-xr-x    4 root     bin             6 Sep 30 13:26 bin
drwxr-xr-x    4 root     bin            18 Sep 30 13:26 include
drwxr-xr-x    3 root     bin            35 Sep 30 13:26 lib

So, it just fails to create the link?


Here's the full output of running pkgadd:

--($ ~/src)-- sudo env LC_ALL=C LANG=C pkgadd -d
libpq-8.3.1\,REV\=2008.05.02-SunOS5.8-sparc-CSW.pkg 

The following packages are available:
  1  CSWlibpq     libpq - libraries needed by postgresql server and
clients
                  (sparc) 8.3.1,REV=2008.05.02

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: 

Processing package instance <CSWlibpq> from
</export/home/webservd/src/libpq-8.3.1,REV=2008.05.02-SunOS5.8-sparc-CSW.pkg>

libpq - libraries needed by postgresql server and clients(sparc)
8.3.1,REV=2008.05.02
PostgreSQL Database Management System
(formerly known as Postgres, then as Postgres95)

Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group

Portions Copyright (c) 1994, The Regents of the University of California

Permission to use, copy, modify, and distribute this software and its
documentation for any purpose, without fee, and without a written
agreement
is hereby granted, provided that the above copyright notice and this
paragraph and the following two paragraphs appear in all copies.

IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
INCLUDING
LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF
THE
POSSIBILITY OF SUCH DAMAGE.

THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS
TO
PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
## Executing checkinstall script.
## Processing package information.
## Processing system information.
   1 package pathname is already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

Installing libpq - libraries needed by postgresql server and clients as
<CSWlibpq>

## Installing part 1 of 1.
/opt/csw/postgresql/bin/pg_config32 <symbolic link>
/opt/csw/postgresql/bin/pg_config64 <symbolic link>
/opt/csw/postgresql/bin/sparcv8/ecpg
/opt/csw/postgresql/bin/sparcv8/pg_config
/opt/csw/postgresql/bin/sparcv9/ecpg
/opt/csw/postgresql/bin/sparcv9/pg_config
/opt/csw/postgresql/include/ecpgerrno.h
/opt/csw/postgresql/include/ecpglib.h
/opt/csw/postgresql/include/ecpgtype.h
/opt/csw/postgresql/include/internal/libpq-int.h
/opt/csw/postgresql/include/internal/pqexpbuffer.h
/opt/csw/postgresql/include/libpq-fe.h
/opt/csw/postgresql/include/libpq/libpq-fs.h
/opt/csw/postgresql/include/pg_config.h
/opt/csw/postgresql/include/pg_config_os.h
/opt/csw/postgresql/include/pgtypes_date.h
/opt/csw/postgresql/include/pgtypes_error.h
/opt/csw/postgresql/include/pgtypes_interval.h
/opt/csw/postgresql/include/pgtypes_numeric.h
/opt/csw/postgresql/include/pgtypes_timestamp.h
/opt/csw/postgresql/include/postgres_ext.h
/opt/csw/postgresql/include/sql3types.h
/opt/csw/postgresql/include/sqlca.h
/opt/csw/postgresql/lib/32 <symbolic link>
/opt/csw/postgresql/lib/64 <symbolic link>
/opt/csw/postgresql/lib/libecpg.a
/opt/csw/postgresql/lib/libecpg.so <symbolic link>
/opt/csw/postgresql/lib/libecpg.so.4 <symbolic link>
/opt/csw/postgresql/lib/libecpg.so.4.2
/opt/csw/postgresql/lib/libecpg.so.5
/opt/csw/postgresql/lib/libecpg.so.5.1
/opt/csw/postgresql/lib/libecpg.so.5.2
/opt/csw/postgresql/lib/libecpg.so.6 <symbolic link>
/opt/csw/postgresql/lib/libecpg.so.6.0
/opt/csw/postgresql/lib/libecpg_compat.so.2
/opt/csw/postgresql/lib/libecpg_compat.so.2.2
/opt/csw/postgresql/lib/libpgtypes.a
/opt/csw/postgresql/lib/libpgtypes.so <symbolic link>
/opt/csw/postgresql/lib/libpgtypes.so.1 <symbolic link>
/opt/csw/postgresql/lib/libpgtypes.so.1.2
/opt/csw/postgresql/lib/libpgtypes.so.2
/opt/csw/postgresql/lib/libpgtypes.so.2.1
/opt/csw/postgresql/lib/libpgtypes.so.2.2
/opt/csw/postgresql/lib/libpgtypes.so.3 <symbolic link>
/opt/csw/postgresql/lib/libpgtypes.so.3.0
/opt/csw/postgresql/lib/libpq.a
/opt/csw/postgresql/lib/libpq.so <symbolic link>
/opt/csw/postgresql/lib/libpq.so.3 <symbolic link>
/opt/csw/postgresql/lib/libpq.so.3.2
/opt/csw/postgresql/lib/libpq.so.4 <symbolic link>
/opt/csw/postgresql/lib/libpq.so.4.1
/opt/csw/postgresql/lib/libpq.so.5 <symbolic link>
/opt/csw/postgresql/lib/libpq.so.5.0
/opt/csw/postgresql/lib/libpq.so.5.1
/opt/csw/postgresql/lib/sparcv8 <symbolic link>
/opt/csw/postgresql/lib/sparcv9/libecpg.a
/opt/csw/postgresql/lib/sparcv9/libecpg.so <symbolic link>
/opt/csw/postgresql/lib/sparcv9/libecpg.so.4 <symbolic link>
/opt/csw/postgresql/lib/sparcv9/libecpg.so.4.2
/opt/csw/postgresql/lib/sparcv9/libecpg.so.5
/opt/csw/postgresql/lib/sparcv9/libecpg.so.5.1
/opt/csw/postgresql/lib/sparcv9/libecpg.so.5.2
/opt/csw/postgresql/lib/sparcv9/libecpg.so.6 <symbolic link>
/opt/csw/postgresql/lib/sparcv9/libecpg.so.6.0
/opt/csw/postgresql/lib/sparcv9/libecpg_compat.so.2
/opt/csw/postgresql/lib/sparcv9/libecpg_compat.so.2.2
/opt/csw/postgresql/lib/sparcv9/libpgtypes.a
/opt/csw/postgresql/lib/sparcv9/libpgtypes.so <symbolic link>
/opt/csw/postgresql/lib/sparcv9/libpgtypes.so.1 <symbolic link>
/opt/csw/postgresql/lib/sparcv9/libpgtypes.so.1.2
/opt/csw/postgresql/lib/sparcv9/libpgtypes.so.2
/opt/csw/postgresql/lib/sparcv9/libpgtypes.so.2.1
/opt/csw/postgresql/lib/sparcv9/libpgtypes.so.2.2
/opt/csw/postgresql/lib/sparcv9/libpgtypes.so.3 <symbolic link>
/opt/csw/postgresql/lib/sparcv9/libpgtypes.so.3.0
/opt/csw/postgresql/lib/sparcv9/libpq.a
/opt/csw/postgresql/lib/sparcv9/libpq.so <symbolic link>
/opt/csw/postgresql/lib/sparcv9/libpq.so.3 <symbolic link>
/opt/csw/postgresql/lib/sparcv9/libpq.so.3.2
/opt/csw/postgresql/lib/sparcv9/libpq.so.4 <symbolic link>
/opt/csw/postgresql/lib/sparcv9/libpq.so.4.1
/opt/csw/postgresql/lib/sparcv9/libpq.so.5 <symbolic link>
/opt/csw/postgresql/lib/sparcv9/libpq.so.5.0
/opt/csw/postgresql/lib/sparcv9/libpq.so.5.1
[ verifying class <none> ]
/opt/csw/postgresql/bin/ecpg <linked pathname>
ERROR: attribute verification of </opt/csw/postgresql/bin/ecpg> failed
    pathname does not exist
    unable to create link to </opt/csw/bin/isaexec>
/opt/csw/postgresql/bin/pg_config <linked pathname>
ERROR: attribute verification of </opt/csw/postgresql/bin/pg_config>
failed
    pathname does not exist
    unable to create link to </opt/csw/bin/isaexec>

Installation of <CSWlibpq> partially failed.




More information about the bug-notifications mailing list