[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:54:16 CEST 2009


The following issue has been ASSIGNED. 
====================================================================== 
http://www.opencsw.org/bugtrack/view.php?id=3929 
====================================================================== 
Reported By:                alexs77
Assigned To:                dam
====================================================================== 
Project:                    libpq
Issue ID:                   3929
Category:                   packaging
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-09-30 11:16 CEST
Last Modified:              2009-09-30 13:54 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0006784) alexs77 (reporter) - 2009-09-30 13:53
 http://www.opencsw.org/bugtrack/view.php?id=3929#c6784 
---------------------------------------------------------------------- 
Yes, isexec exists:

--($ ~/src)-- ls -la /opt/csw/bin/isaexec
-r-xr-xr-x   24 root     bin         10044 Jan 23  2005
/opt/csw/bin/isaexec

--($ ~/src)-- sudo env LC_ALL=C LANG=C truss -fo /tmp/pkgadd.truss pkgadd
-d libpq-8.3.1\,REV\=2008.05.02-SunOS5.8-sparc-CSW.pkg 
[...]
--($ ~/src)-- grep isaexec /tmp/pkgadd.truss 
17744:  open("/var/sadm/pkg/CSWisaexec/pkginfo", O_RDONLY) = 11
17744:  access("/var/sadm/pkg/.save.CSWisaexec/pkginfo", F_OK) Err#2
ENOENT
17744:  access("/var/sadm/pkg/CSWisaexec/pkginfo", F_OK) = 0
17744:  open("/var/sadm/pkg/CSWisaexec/pkginfo", O_RDONLY) = 11
17744:  access("/var/sadm/pkg/CSWisaexec/!I-Lock!", F_OK) Err#2 ENOENT
17744:  access("/var/sadm/pkg/CSWisaexec/!R-Lock!", F_OK) Err#2 ENOENT
17744:  stat64("/opt/csw/bin/isaexec", 0xFFBFCFC0) = 0
17744:  link("/opt/csw/bin/isaexec", "/opt/csw/postgresql/bin/ecpg")
Err#18 EXDEV
17744:  stat64("/opt/csw/bin/isaexec", 0xFFBFCFC0) = 0
17744:  link("/opt/csw/bin/isaexec", "/opt/csw/postgresql/bin/pg_config")
Err#18 EXDEV

You're trying to create a hardlink?

That won't work:

--($ ~/src)-- zfs list | grep csw
data/zones/race-monitoring/ds/opt/csw                356M   314G  23.0M 
/opt/csw
data/zones/race-monitoring/ds/opt/csw/X11           4.50M   314G  4.50M 
/opt/csw/X11
data/zones/race-monitoring/ds/opt/csw/apache2       7.73M   314G  7.73M 
/opt/csw/apache2
data/zones/race-monitoring/ds/opt/csw/bdb4          38.6K   314G  38.6K 
/opt/csw/bdb4
data/zones/race-monitoring/ds/opt/csw/bdb44         41.3K   314G  41.3K 
/opt/csw/bdb44
data/zones/race-monitoring/ds/opt/csw/bin           41.1M   314G  41.1M 
/opt/csw/bin
data/zones/race-monitoring/ds/opt/csw/etc            430K   314G   430K 
/opt/csw/etc
data/zones/race-monitoring/ds/opt/csw/gcc4          78.9M   314G  78.9M 
/opt/csw/gcc4
data/zones/race-monitoring/ds/opt/csw/include       2.89M   314G  2.89M 
/opt/csw/include
data/zones/race-monitoring/ds/opt/csw/lib           98.2M   314G  98.2M 
/opt/csw/lib
data/zones/race-monitoring/ds/opt/csw/libexec       3.18M   314G  3.18M 
/opt/csw/libexec
data/zones/race-monitoring/ds/opt/csw/sbin          1.11M   314G  1.11M 
/opt/csw/sbin
data/zones/race-monitoring/ds/opt/csw/share         95.3M   314G  95.3M 
/opt/csw/share
data/zones/race-monitoring/ds/opt/csw/ssl           36.0K   314G  36.0K 
/opt/csw/ssl
data/zones/race-monitoring/ds/opt/csw/var           24.0K   314G  24.0K 
/opt/csw/var

IOW: /opt/csw/bin and /opt/csw (and thus /opt/csw/postgresql) are seperate
filesystems.

Does it HAVE TO be a hardlink? Why no symlink?




More information about the bug-notifications mailing list