Closed gamvrosi closed 8 years ago
Logged In: YES user_id=175776 Originator: NO
Links are defined in pkgmap:
root@ultra filebench$ grep isaexec pkgmap 1 l none filebench/bin/davenet=/usr/lib/isaexec 1 l none filebench/bin/fastsu=/usr/lib/isaexec 1 l none filebench/bin/gnuplot=/usr/lib/isaexec 1 l none filebench/bin/go_filebench=/usr/lib/isaexec 1 l none filebench/bin/statit=/usr/lib/isaexec
root@ultra filebench$ cat pkginfo ARCH=i386
root@ultra filebench$ isalist amd64 pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
On the above system, package installed and linked without a problem.
On the following it failed (Dell 2950):
[ verifying class <none> ] /opt/filebench/bin/davenet <linked pathname> ERROR: attribute verification of </opt/filebench/bin/davenet> failed pathname does not exist unable to create link to </usr/lib/isaexec> /opt/filebench/bin/fastsu <linked pathname> ERROR: attribute verification of </opt/filebench/bin/fastsu> failed pathname does not exist unable to create link to </usr/lib/isaexec> /opt/filebench/bin/gnuplot <linked pathname> ERROR: attribute verification of </opt/filebench/bin/gnuplot> failed pathname does not exist unable to create link to </usr/lib/isaexec> /opt/filebench/bin/go_filebench <linked pathname> ERROR: attribute verification of </opt/filebench/bin/go_filebench> failed pathname does not exist unable to create link to </usr/lib/isaexec> /opt/filebench/bin/statit <linked pathname> ERROR: attribute verification of </opt/filebench/bin/statit> failed pathname does not exist unable to create link to </usr/lib/isaexec>
These are hardlinks...
[dbzone01:/opt/filebench/bin] root# ln /usr/lib/isaexec /opt/filebench/bin/davenet ln: /opt/filebench/bin/davenet is on a different file system
So this is why Filebench installs get munged with Zones or on when /usr and /opt aren't on the same filesystem.
Original comment by: technikolor
Logged In: YES user_id=175776 Originator: NO
$ grep ARC filebench-1.3.3/solaris/pkg/pkginfo.in ARCH=i386
This indeed is hardcoded. Spereate pkginfo's or a transformation during build is required.
Original comment by: technikolor
Original comment by: vass-vass
Starting from version 1.4.9 we do not plan to support binary distributions. Package maintainers should get the sources from here and pack them properly for their distributions.
Original comment by: vass-vass
Original comment by: vass-vass
Installing partially fails onto a Solaris 10/SPARC host.
cat /etc/release
Solaris 10 3/05 s10_74L2a SPARC Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 22 January 2005
pkgadd -d . filebench ...
[ verifying class <none> ] /opt/filebench/bin/davenet <linked pathname> ERROR: attribute verification of </opt/filebench/bin/davenet> failed pathname does not exist unable to create link to </usr/lib/isaexec> /opt/filebench/bin/fastsu <linked pathname> ERROR: attribute verification of </opt/filebench/bin/fastsu> failed pathname does not exist unable to create link to </usr/lib/isaexec> /opt/filebench/bin/gnuplot <linked pathname> ERROR: attribute verification of </opt/filebench/bin/gnuplot> failed pathname does not exist unable to create link to </usr/lib/isaexec> /opt/filebench/bin/go_filebench <linked pathname> ERROR: attribute verification of </opt/filebench/bin/go_filebench> failed pathname does not exist unable to create link to </usr/lib/isaexec> /opt/filebench/bin/statit <linked pathname> ERROR: attribute verification of </opt/filebench/bin/statit> failed pathname does not exist unable to create link to </usr/lib/isaexec>
Installation of <filebench> partially failed.
pkginfo -l filebench
PKGINST: filebench NAME: FileBench CATEGORY: application ARCH: i386 VERSION: 1.3.0 BASEDIR: /opt VENDOR: filebench.org DESC: FileBench PSTAMP: 1.3.0 INSTDATE: May 05 2008 14:14 EMAIL: perf-discuss@opensolaris.org STATUS: partially installed FILES: 259 installed pathnames 5 partially installed pathnames 5 linked files 28 directories 62 executables 1 setuid/setgid executables 21886 blocks used (approx)
"ARCH: i386" should be "ARCH: sparc"
Reported by: spackard