I can confirm Daniel's analysis:

Exile:/sw/fink/dists/unstable/main/binary-darwin-powerpc/libs/ 
perlmods koen$ fink validate bio-emboss-pm586_4.1.0-1_darwin-powerpc.deb
Validating .deb file bio-emboss-pm586_4.1.0-1_darwin-powerpc.deb...
Package looks good!


Can I go ahead and commit the new info file?

- Koen.



On Apr 29, 2007, at 10:13 AM, Daniel Johnson wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On Apr 28, 2007, at 5:12 PM, Benjamin Reed wrote:
>
>> David R. Morrison wrote:
>>> I guess you are using fink from CVS HEAD?
>>>
>>> There are some extensions to the validator which check on the  
>>> validitiy
>>> of the Shlibs fields and dependencies in fink packages.  These
>>> extensions are still under construction, so error messages might be
>>> misleading.
>>>
>>> Ben, care to comment?
>>
>> hard to say without digging in a little more, I'll see if I can  
>> take a
>> look at it
>
> I see the problem. It only happens when the deb gets validated  
> during building. In PkgVersion::phase_build the validation occurs  
> here:
>
>       if (Fink::Config::get_option("validate")) {
>               my %saved_options = map { $_ => Fink::Config::get_option($_) }  
> qw/ verbosity Pedantic /;
>               Fink::Config::set_options( {
>                       'verbosity' => 3,
>                       'Pedantic'  => 1
>                       } );
>               if(!Fink::Validation::validate_dpkg_unpacked($ddir)) {
>                       if(Fink::Config::get_option("validate") eq "on") {
>                               die "Please correct the above problems and try 
> again!\n";
>                       } else {
>                               warn "Validation of .deb failed.\n";
>                       }
>               }
>               Fink::Config::set_options(\%saved_options);
>       }
>
> "validate_dpkg_unpacked($ddir)" is using $ddir which is equal to  
> "basename $destdir" and so the prefix gets dropped. Use $destdir  
> instead and it works.
>
> Daniel
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (Darwin)
> Comment: http://homepage.mac.com/danielj7/publickey.txt
>
> iD8DBQFGNKf24sDFGYouOqARAhC7AJ9JhNKhHvenZaA+IKykrUq6C82ORwCaA8zs
> dK9dKB7fuhv42tMSLGHd8vE=
> =QQBX
> -----END PGP SIGNATURE-----


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to