On 06/ 4/10 11:59 AM, Huie-Ying Lee wrote:
> Hi  PKG experts,
> 
> I modified the "system-library.mf" file to add a new library 
> (libdevcrypto) to the system/library package, but after a few days of 
> struggling,  I still can not get it build cleanly.
> 
> As for now,  the  build log file doesn't have any error message in the 
> "package build errors (DEBUG)" section,  but there are some errors in 
> the "cpio archives build errors" and "Validating manifests against proto 
> area" sections
> 
> ==== cpio archives build errors (DEBUG) ====
> 
> Failed to create generic usr archive: 474470 blocks
> cpiotranslate: usr/lib/engines/llib-ldevcrypto.ln: no packaging info
> cpiotranslate: usr/lib/engines/llib-ldevcrypto: no packaging info
> cpiotranslate: usr/lib/engines/sparcv9/llib-ldevcrypto.ln: no packaging info
> 
> ==== Validating manifests against proto area ====
> 
> Entries present in proto area but not manifests:
>       file usr/lib/engines/llib-ldevcrypto group=group mode=0644 owner=owner 
> path=usr/lib/engines/llib-ldevcrypto
>       file usr/lib/engines/llib-ldevcrypto.ln group=group mode=0644 
> owner=owner path=usr/lib/engines/llib-ldevcrypto.ln
>       file usr/lib/engines/sparcv9/llib-ldevcrypto.ln group=group mode=0644 
> owner=owner path=usr/lib/engines/sparcv9/llib-ldevcrypto.ln
> 
> 
> The error message seems to indicate that I should add "llib-ldevcrypto" 
> and  "llib-ldevcrypto.ln" to the system-library.mf file.

Close.  They tell you that packaging doesn't know what to do with these
files.  You can either tell it "ignore them, they should not be
delivered," or you can tell it how to deliver them.

To ignore them, edit exception_lists/packaging.  To deliver them, figure
out what package they should be in, and add them to the appropriate
manifest.  Some are part of developer-library-lint.mf, and some are part
of individual library packages.

> But I couldn't find any similar entries in the manifest file and   I'm 
> confused why other libraries (for example, /lib/libcryptoutil) do not 
> have the problems.

See above.  The libcryptoutil lint libraries are mentioned in
exception_lists/packaging.

--Mark


> Any sugestions ?
_______________________________________________
on-ips-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/on-ips-dev

Reply via email to