Hi there everybody, I've been working on ksh93's proposed move out of ON and into userland (CR 7106995) and have managed to bend AT&T's tarball setup and compile to my will (so far), though I have bumped into a few snags that I've managed to iron out... I'm in need of some help on this one though! I'm fairly new to the solaris IPS and userland infrastructure, so may well have misunderstood something, but here goes:

I've hit a problem with pkgdepend which is driving me quietly nuts:

Attached are the manifest and the mangled manifest which shows (to me at
least) sensible expansion of variables into what was desired - it just
seems that for some reason pkgdepend is completely missing the existence of these
files, despite the relative simplicity of the arguments.

Could you possibly cast your eyes over this to see if I've missed
anything that would be obvious to more experienced eyes?

Cheers,
Edwin Beasant
(Apologies to anyone who receives this twice, I was in the process of subscribing to the mailing list)
----
pkgdepend invocation and output (from userland make, same also occurs when executed manually)

/usr/bin/pkgdepend generate -m -d
/pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc/mangled
-d /pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc -d
/pool1/builds/eb243102/gate/components/ksh93/build -d
/pool1/builds/eb243102/gate/components/ksh93 -d INIT.2011-02-08
/pool1/builds/eb243102/gate/components/ksh93/build/manifest-sparc-ksh93.mangled
>/pool1/builds/eb243102/gate/components/ksh93/build/manifest-sparc-ksh93.depend

Couldn't find 'sparcv7/bin/alias' in any of the specified search
directories:
         /pool1/builds/eb243102/gate/components/ksh93
         /pool1/builds/eb243102/gate/components/ksh93/INIT.2011-02-08
         /pool1/builds/eb243102/gate/components/ksh93/build
/pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc

/pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc/mangled
Couldn't find 'sparcv7/bin/ksh' in any of the specified search directories:
         /pool1/builds/eb243102/gate/components/ksh93
         /pool1/builds/eb243102/gate/components/ksh93/INIT.2011-02-08
         /pool1/builds/eb243102/gate/components/ksh93/build
/pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc

/pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc/mangled
Couldn't find 'sparcv7/bin/shcomp' in any of the specified search
directories:
         /pool1/builds/eb243102/gate/components/ksh93
         /pool1/builds/eb243102/gate/components/ksh93/INIT.2011-02-08
         /pool1/builds/eb243102/gate/components/ksh93/build
/pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc

/pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc/mangled
Couldn't find 'sparcv9/bin/alias' in any of the specified search
directories:
         /pool1/builds/eb243102/gate/components/ksh93
         /pool1/builds/eb243102/gate/components/ksh93/INIT.2011-02-08
         /pool1/builds/eb243102/gate/components/ksh93/build
/pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc

/pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc/mangled
Couldn't find 'sparcv9/bin/ksh' in any of the specified search directories:
         /pool1/builds/eb243102/gate/components/ksh93
         /pool1/builds/eb243102/gate/components/ksh93/INIT.2011-02-08
         /pool1/builds/eb243102/gate/components/ksh93/build
/pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc

/pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc/mangled
Couldn't find 'sparcv9/bin/shcomp' in any of the specified search
directories:
         /pool1/builds/eb243102/gate/components/ksh93
         /pool1/builds/eb243102/gate/components/ksh93/INIT.2011-02-08
         /pool1/builds/eb243102/gate/components/ksh93/build
/pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc


/pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc/mangled
gmake: ***
[/pool1/builds/eb243102/gate/components/ksh93/build/manifest-sparc-ksh93.depend]
Error 1

-----

If we look in the directories though:

 -bash-4.1$ find
/pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc -name
alias
/pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc/sparcv7/bin/alias /pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc/sparcv9/bin/alias
-bash-4.1$ find
/pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc -name ksh /pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc/sparcv7/bin/ksh /pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc/sparcv9/bin/ksh
-bash-4.1$ find
/pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc -name
shcomp
/pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc/sparcv7/bin/shcomp /pool1/builds/eb243102/gate/components/ksh93/build/prototype/sparc/sparcv9/bin/shcomp
-bash-4.1$
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
#

set name=pkg.fmri value=pkg:/shell/ksh@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="Ksh93 - The AT&T Korn Shell"
set name=info.classification value=org.opensolaris.category.2008:System/Shells
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.arc-caseid value=PSARC/2011/999
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
file usr/bin/$(MACH32)/alias path=$(MACH32)/bin/alias
file usr/bin/$(MACH32)/ksh93 path=$(MACH32)/bin/ksh
file usr/bin/$(MACH32)/shcomp path=$(MACH32)/bin/shcomp
file usr/bin/$(MACH64)/alias path=$(MACH64)/bin/alias
file usr/bin/$(MACH64)/ksh93 path=$(MACH64)/bin/ksh
file usr/bin/$(MACH64)/shcomp path=$(MACH64)/bin/shcomp
hardlink path=usr/bin/alias target=bg
hardlink path=usr/bin/alias target=cd
hardlink path=usr/bin/alias target=command
hardlink path=usr/bin/alias target=fc
hardlink path=usr/bin/alias target=fg
hardlink path=usr/bin/alias target=getopts
hardlink path=usr/bin/alias target=hash
hardlink path=usr/bin/alias target=jobs
hardlink path=usr/bin/alias target=kill
hardlink path=usr/bin/alias target=print
hardlink path=usr/bin/alias target=read
hardlink path=usr/bin/alias target=test
hardlink path=usr/bin/alias target=type
hardlink path=usr/bin/alias target=ulimit
hardlink path=usr/bin/alias target=umask
hardlink path=usr/bin/alias target=unalias
hardlink path=usr/bin/alias target=wait
hardlink path=usr/bin/ksh target=ksh93
hardlink path=usr/bin/ksh93 target=../lib/isaexec
hardlink path=usr/bin/shcomp target=../lib/isaexec
license ksh93.license license=CPL
depend type=require fmri=pkg:/system/[email protected]
depend type=require fmri=pkg:/system/library/[email protected]
#hardlink path=usr/bin/ksh target=usr/bin/ksh93
set name=org.opensolaris.arc-caseid value=PSARC/2011/999
set name=pkg.fmri value=pkg:/shell/ksh@20110208,5.11-0.176.0.0.0.0.567
set name=info.source-url 
value=http://www2.research.att.com/~gsf/download/tgz/INIT.2011-02-08.tgz
set name=pkg.summary value="Ksh93 - The AT&T Korn Shell"
set name=info.classification value=org.opensolaris.category.2008:System/Shells
set name=info.upstream-url value=http://www2.research.att.com/sw/download/
set name=org.opensolaris.consolidation value=userland
license ksh93.license license=CPL
set name=variant.arch value=sparc
depend fmri=pkg:/system/[email protected] type=require
depend fmri=pkg:/system/library/[email protected] type=require
file usr/bin/sparcv7/alias group=bin mode=0555 owner=root path=sparcv7/bin/alias
file usr/bin/sparcv7/ksh93 group=bin mode=0555 owner=root path=sparcv7/bin/ksh
file usr/bin/sparcv7/shcomp group=bin mode=0555 owner=root 
path=sparcv7/bin/shcomp
file usr/bin/sparcv9/alias group=bin mode=0555 owner=root path=sparcv9/bin/alias
file usr/bin/sparcv9/ksh93 group=bin mode=0555 owner=root path=sparcv9/bin/ksh
file usr/bin/sparcv9/shcomp group=bin mode=0555 owner=root 
path=sparcv9/bin/shcomp
hardlink path=usr/bin/alias target=bg
hardlink path=usr/bin/alias target=cd
hardlink path=usr/bin/alias target=command
hardlink path=usr/bin/alias target=fc
hardlink path=usr/bin/alias target=fg
hardlink path=usr/bin/alias target=getopts
hardlink path=usr/bin/alias target=hash
hardlink path=usr/bin/alias target=jobs
hardlink path=usr/bin/alias target=kill
hardlink path=usr/bin/alias target=print
hardlink path=usr/bin/alias target=read
hardlink path=usr/bin/alias target=test
hardlink path=usr/bin/alias target=type
hardlink path=usr/bin/alias target=ulimit
hardlink path=usr/bin/alias target=umask
hardlink path=usr/bin/alias target=unalias
hardlink path=usr/bin/alias target=wait
hardlink path=usr/bin/ksh target=ksh93
hardlink path=usr/bin/ksh93 target=../lib/isaexec
hardlink path=usr/bin/shcomp target=../lib/isaexec

depend fmri=__TBD pkg.debug.depend.file=command pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/bin/alias pkg.debug.depend.type=hardlink 
type=require
depend fmri=__TBD pkg.debug.depend.file=cd pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/bin/alias pkg.debug.depend.type=hardlink 
type=require
depend fmri=__TBD pkg.debug.depend.file=bg pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/bin/alias pkg.debug.depend.type=hardlink 
type=require
depend fmri=__TBD pkg.debug.depend.file=fc pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/bin/alias pkg.debug.depend.type=hardlink 
type=require
depend fmri=__TBD pkg.debug.depend.file=fg pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/bin/alias pkg.debug.depend.type=hardlink 
type=require
depend fmri=__TBD pkg.debug.depend.file=getopts pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/bin/alias pkg.debug.depend.type=hardlink 
type=require
depend fmri=__TBD pkg.debug.depend.file=hash pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/bin/alias pkg.debug.depend.type=hardlink 
type=require
depend fmri=__TBD pkg.debug.depend.file=jobs pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/bin/alias pkg.debug.depend.type=hardlink 
type=require
depend fmri=__TBD pkg.debug.depend.file=kill pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/bin/alias pkg.debug.depend.type=hardlink 
type=require
depend fmri=__TBD pkg.debug.depend.file=print pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/bin/alias pkg.debug.depend.type=hardlink 
type=require
depend fmri=__TBD pkg.debug.depend.file=read pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/bin/alias pkg.debug.depend.type=hardlink 
type=require
depend fmri=__TBD pkg.debug.depend.file=test pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/bin/alias pkg.debug.depend.type=hardlink 
type=require
depend fmri=__TBD pkg.debug.depend.file=type pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/bin/alias pkg.debug.depend.type=hardlink 
type=require
depend fmri=__TBD pkg.debug.depend.file=ulimit pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/bin/alias pkg.debug.depend.type=hardlink 
type=require
depend fmri=__TBD pkg.debug.depend.file=umask pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/bin/alias pkg.debug.depend.type=hardlink 
type=require
depend fmri=__TBD pkg.debug.depend.file=unalias pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/bin/alias pkg.debug.depend.type=hardlink 
type=require
depend fmri=__TBD pkg.debug.depend.file=wait pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/bin/alias pkg.debug.depend.type=hardlink 
type=require
depend fmri=__TBD pkg.debug.depend.file=ksh93 pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/bin/ksh pkg.debug.depend.type=hardlink type=require
depend fmri=__TBD pkg.debug.depend.file=isaexec pkg.debug.depend.path=usr/lib 
pkg.debug.depend.reason=usr/bin/ksh93 pkg.debug.depend.type=hardlink 
type=require
depend fmri=__TBD pkg.debug.depend.file=isaexec pkg.debug.depend.path=usr/lib 
pkg.debug.depend.reason=usr/bin/shcomp pkg.debug.depend.type=hardlink 
type=require
_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

Reply via email to