On 08/30/11 09:07 AM, Norm Jacobs wrote:
When delivering texinfo files, you only need to deliver the info files and not the 'dir' file. That is auto-generated
by the texinfo-update service. The original error indicates that you were trying to package a texinfo 'dir' file
usr/share/info/dir, though it looks like the message needs to be fixed. The path is already delivered by the texinfo
package and in any event, you would want to deliver it as a link similar to how it's done for usr/share/info/dir so
that the texinfo-update service could rebuild the directory when new texinfo files are added or removed.
Finally getting back to this.
I see that there are several Userland components that have
texinfo files:
a2ps/a2ps.p5m:file path=usr/share/info/a2ps.info
a2ps/a2ps.p5m:file path=usr/share/info/ogonkify.info
a2ps/a2ps.p5m:file path=usr/share/info/regex.info
aalib/aalib.p5m:file path=usr/share/info/aalib.info
autoconf/autoconf.p5m:file path=usr/share/info/autoconf.info
autoconf/autoconf.p5m:file path=usr/share/info/standards.info
autogen/autogen.p5m:file path=usr/share/info/autogen.info
bash/bash.p5m:file path=usr/share/info/bash.info
binutils/binutils.p5m:file path=usr/share/info/as.info
binutils/binutils.p5m:file path=usr/share/info/bfd.info
binutils/binutils.p5m:file path=usr/share/info/binutils.info
binutils/binutils.p5m:file path=usr/share/info/configure.info
binutils/binutils.p5m:file path=usr/share/info/gprof.info
binutils/binutils.p5m:file path=usr/share/info/ld.info
bison/bison.p5m:file path=usr/share/info/bison.info
...
but I don't see anything in those .p5m files that deliver
usr/share/info/dir as a link. Can you point me to an
example please?
Thanks.
On 08/30/11 10:23, Rich Burridge wrote:
On 08/30/11 08:11 AM, Rich Burridge wrote:
I'm making progress with this.
I (naively) had:
...
dir path=usr/share/info
...
file path=usr/share/info/dir
file path=usr/share/info/wdiff.info
in my wdiff.p5m manifest file. That's not going to work.
How should I add in a new textinfo info for wdiff?
Is there an SMF service that handles this?
And just to get closure on this (and hopefully to help somebody else if
they look for a similar problem in the userland mailing list archives),
the answer is yes, and it's handled automatically.
The line:
file path=usr/share/info/wdiff.info
in my wdiff.p5m files in mogrified into the action:
file path=usr/share/info/wdiff.info group=bin mode=0444 owner=root \
restart_fmri=svc:/application/texinfo-update:default facet.doc.info=true
in my final package manifest.
-------- Original Message --------
Subject: Error: packaged texinfo directory file (%)"
Date: Tue, 30 Aug 2011 07:25:26 -0700
From: Rich Burridge <[email protected]>
To: Userland-Discuss <[email protected]>
This error is stumping me. I'm trying to integrate wdiff into
Userland, and I'm getting the following error at pkgmogrify time:
...
/usr/bin/pkgmogrify -D PERL_ARCH=i86pc-solaris-64int -D PERL_VERSION=5.12 -D
MACH=i386 -D MACH32=i86 -D MACH64=amd64 -D
PUBLISHER=userland -D CONSOLIDATION=userland -D
BUILD_VERSION=5.11-0.174.0.0.0.0.500 -D SOLARIS_VERSION=2.11 -D
OS_VERSION=5.11 -D IPS_COMPONENT_VERSION=0.6.5 -D COMPONENT_VERSION=0.6.5 -D
COMPONENT_PROJECT_URL=http://www.gnu.org/software/wdiff/ -D
COMPONENT_ARCHIVE_URL=http://ftp.gnu.org/gnu/wdiff/wdiff-0.6.5.tar.gz -D COMPONENT_HG_URL= -D COMPONENT_HG_REV=
wdiff.p5m \
/tank/ws/UL-ws9/transforms/variant-cleanup
/tank/ws/UL-ws9/transforms/autopyc
/tank/ws/UL-ws9/transforms/defaults /tank/ws/UL-ws9/transforms/actuators
/tank/ws/UL-ws9/transforms/devel
/tank/ws/UL-ws9/transforms/docs /tank/ws/UL-ws9/transforms/locale
/tank/ws/UL-ws9/transforms/publish-cleanup | \
sed -e '/^$/d' -e '/^#.*$/d' |
uniq>/tank/ws/UL-ws9/components/wdiff/build/manifest-i386-wdiff.mogrified
"Error: packaged texinfo directory file (%<action.path>)"
...
My workspace is under:
/net/stard.us.oracle.com/tank/ws/UL-ws9/components/wdiff/
Build/publish log is:
/net/stard.us.oracle.com/tank/ws/UL-ws9/components/wdiff/publish-trans.txt
I'm guessing I've got something bogus in my wdiff.p5m files, but it's
hard to tell what. It's confusing because the only file under that directory
with texinfo in the name is:
$ find . -name "*texinfo*"
./wdiff-0.6.5/build-aux/texinfo.tex
Appropriate whacks with the clue stick would be very much appreciated.
Thanks.
_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss
_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss
_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss