On Sun, Aug 07, 2011 at 05:16:14PM +0200, Dominique Dumont wrote:
> Le Sunday 7 August 2011 12:46:48, Alessandro Ghedini a écrit :
> > Full build log at [0]. Could you please add "libffi-dev [i386]" to 
> > libparrot-dev Depends field or disable ffi support on i386?
> 
> If you look at /usr/include/parrot/3.6.0/parrot/parrot.h, you see there's 
> nothing arc specific regarding inclusion of ffi.h:
> 
> #ifdef PARROT_HAS_LIBFFI
> #  include <ffi.h>
> #endif
> 
> Note that parrot was uploaded as a i386 package, so the package for this arch 
> was not built by buildd, but was built on a development machine.

Uh, right. I forgot that the i386 package has been binNMUed.

> My best guess is that parrot/i386 was built in an environment with libffi, 
> but 
> this build dependency was not declared.
> 
> If I'm right, the proper fix is a build-dep on libffi-dev for all arch.

Or just re-upload the i386 package? I don't know what advantages the ffi
library would bring, so I'll just leave this to someone who knows parrot.

Anyway, attached is the updated patch.

Cheers

-- 
perl -E'$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
Description: Add libffi-dev to the Depends field of  libparrot-dev.
Bug: http://bugs.debian.org/636944
Author: Alessandro Ghedini <al3x...@gmail.com>
Last-Update: 2011-08-07

--- a/debian/control
+++ b/debian/control
@@ -39,7 +39,8 @@
 Package: libparrot-dev
 Architecture: any
 Section: libdevel
-Depends: ${misc:Depends}, libparrot3.6.0 (= ${binary:Version}), parrot
+Depends: ${misc:Depends}, libparrot3.6.0 (= ${binary:Version}), parrot,
+ libffi-dev
 Description: Parrot shared library development files
  This package contains header files and a static library, needed to develop
  applications which embed Parrot.

Reply via email to