On 03/26/2010 01:44 PM, Pranay Airan wrote:
> i got this error i made changes in file field previous error removed but
> got this error
> 

The files that you copy into the shlibs package are:
lib/libcilk.0.0.0.dylib
lib/libcilk.g.0.0.0.dylib
lib/libcilk.g.p.0.0.0.dylib
lib/libcilk.p.0.0.0.dylib

But in the shlibs field you list:
%p/lib/libcilk.0.dylib
%p/lib/libcilk.g.0.dylib
%p/lib/libcilk.g.p.0.dylib
%p/lib/libcilk.p.0.dylib

Those files don't exist in the -shlibs package because they have not
been copied.

I suggest changing the Files: field for the shlibs splitoff to:
Files: <<
lib/libcilk.0*.dylib
lib/libcilk.g.0*.dylib
lib/libcilk.g.p.0*.dylib
lib/libcilk.p.0*.dylib
<<

Which should also copy the symlinks.

Peter

> 
> Validating .deb dir /sw/src/fink.build/root-cilk-5.4.6-1...
> Package looks good!
> dpkg-deb -b root-cilk-5.4.6-1 /sw/fink/10.5/local/main/binary-darwin-i386
> dpkg-deb: building package `cilk' in
> `/sw/fink/10.5/local/main/binary-darwin-i386/cilk_5.4.6-1_darwin-i386.deb'.
> Reverting ownership of install dir to root
> - Depends line is: darwin (>= 9-1)
> Writing control file...
> Creating shlibs files...
> Validating .deb dir /sw/src/fink.build/root-cilk-shlibs-5.4.6-1...
> Error: Shlibs field specifies file '/sw/lib/libcilk.0.dylib', but it
> does not exist!
> Error: Shlibs field specifies file '/sw/lib/libcilk.g.0.dylib', but it
> does not exist!
> Error: Shlibs field specifies file '/sw/lib/libcilk.g.p.0.dylib', but it
> does not exist!
> Error: Shlibs field specifies file '/sw/lib/libcilk.p.0.dylib', but it
> does not exist!
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-cilk-5.4.6-1
> (Reading database ... 20455 files and directories currently installed.)
> Removing fink-buildlock-cilk-5.4.6-1 ...
> Failed: Please correct the above problems and try again!
> 
> attaching info file with this mail
> 
> On Fri, Mar 26, 2010 at 11:25 PM, Martin Costabel <costa...@wanadoo.fr
> <mailto:costa...@wanadoo.fr>> wrote:
> 
>     Pranay Airan wrote:
> 
>         i removed all %i from file field but got following error
> 
>         Validating .deb dir /sw/src/fink.build/root-cilk-5.4.6-1...
>         Package looks good!
>         dpkg-deb -b root-cilk-5.4.6-1
>         /sw/fink/10.5/local/main/binary-darwin-i386
>         dpkg-deb: building package `cilk' in
>         
> `/sw/fink/10.5/local/main/binary-darwin-i386/cilk_5.4.6-1_darwin-i386.deb'.
>         Reverting ownership of install dir to root
>         - Depends line is: darwin (>= 9-1)
>         Writing control file...
>         Creating shlibs files...
>         Validating .deb dir /sw/src/fink.build/root-cilk-shlibs-5.4.6-1...
>         Error: Files with names less specifically versioned than ones in
>         public Shlibs entries do not belong in this package
>         Offending file: /sw/lib/libcilk.g.dylib
>         Offending file: /sw/lib/libcilk.g.p.dylib
>         Offending file: /sw/lib/libcilk.p.dylib
> 
> 
>     This is explained in the Packaging Manual, section 3.4 "Shared
>     Libraries"
>     <http://www.finkproject.org/doc/packaging/policy.php?#sharedlibs>
> 
>     -- 
>     Martin
> 
> 
> 
> 
> -- 
> Thanks
> Pranay Airan
> Mtech. IIIT-B
> (91) 9036297912
> The hardest work in the world is that which should have been done yesterday.
> 
> 
> 
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> 
> 
> 
> _______________________________________________
> Fink-devel mailing list
> Fink-devel@lists.sourceforge.net
> http://news.gmane.org/gmane.os.apple.fink.devel
> Subscription management:
> https://lists.sourceforge.net/lists/listinfo/fink-devel


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to