The Quick Answer
In your prototype file (i.e., the thing created by pkgproto), look for a repeated filename, probably pkginfo.
If you get this error message, you might have, like me, been using the instructions at http://www.sunfreeware.com/pkgadd.html.
If so, the first time you ran through the instructions, everything probably worked great, but the second time, the recipe failed.
What happened? In the instructions, you create a file called prototype with this command:
find . | pkgproto > prototype
The first time you ran it, everything was fine and then you added the line:
to the top of the prototype file. The second time, however, because the pkginfo file existed when you ran the find, it ended up in the prototype file even before you edited it. Then, when you added the i pkginfo=./pkginfo line, you created a second entry for pkginfo in the prototype file.
Get rid of the entry that was added by the find command.
Technorati Tags: Solaris