Your message dated Sun, 6 Aug 2017 14:26:04 +0200
with message-id <20170806122604.u6x4ktkuuybp7...@ramacher.at>
and subject line Re: Bug#870862: directfb FTCBFS: configure: error: Could not 
find a directfb-csource in your PATH
has caused the Debian Bug report #870862,
regarding directfb FTCBFS: configure: error: Could not find a directfb-csource 
in your PATH
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
870862: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870862
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: directfb
Version: 1.2.10.0-9
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

directfb fails to cross build from source:

| checking for directfb-csource... no
| configure: error: Could not find a directfb-csource in your PATH

It seems that for cross builds directfb expects to be able to run a
system-provided directfb-csource. That lives in libdirectfb-bin. So
directfb is missing a cross-specific dependency on libdirectfb-bin.
Since it wants to run directfb-csource, it needs to be installed for the
build architecture. That can be achieved by either marking the
libdirectfb-bin dependency with :native or by marking libdirectfb-bin
Multi-Arch: foreign. I think the latter is appropriate here, because
libdirectfb-bin contains only command line utilities. As far as I
understand their behaviour does not depend on the architecture of the
package. If that statement is wrong, it must not be marked M-A:foreign.
Please consider applying the attached patch after verifying that
M-A:foreign is indeed correct on libdirectfb-bin.

Helmut
diff --minimal -Nru directfb-1.2.10.0/debian/changelog 
directfb-1.2.10.0/debian/changelog
--- directfb-1.2.10.0/debian/changelog  2017-01-30 20:56:58.000000000 +0100
+++ directfb-1.2.10.0/debian/changelog  2017-08-05 22:10:01.000000000 +0200
@@ -1,3 +1,12 @@
+directfb (1.2.10.0-9.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Add missing cross build dependency on libdirectfb-bin.
+    + Mark libdirectfb-bin Multi-Arch: foreign.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 05 Aug 2017 22:10:01 +0200
+
 directfb (1.2.10.0-9) unstable; urgency=medium
 
   * debian/libdirectfb-1.2-9.install: Fix architecture-based filter to
diff --minimal -Nru directfb-1.2.10.0/debian/control 
directfb-1.2.10.0/debian/control
--- directfb-1.2.10.0/debian/control    2017-01-30 20:53:05.000000000 +0100
+++ directfb-1.2.10.0/debian/control    2017-08-05 22:10:01.000000000 +0200
@@ -6,6 +6,7 @@
 Build-Depends:
  debhelper (>= 10),
  dh-exec,
+ libdirectfb-bin <cross>,
  libfreetype6-dev,
  libgl1-mesa-dev,
  libjpeg-dev,
@@ -61,6 +62,7 @@
 
 Package: libdirectfb-bin
 Architecture: any
+Multi-Arch: foreign
 Depends:
  ${misc:Depends},
  ${shlibs:Depends}

--- End Message ---
--- Begin Message ---
Version: 1.7.7-3

On 2017-08-05 22:17:35, Helmut Grohne wrote:
> Source: directfb
> Version: 1.2.10.0-9
> Tags: patch
> User: helm...@debian.org
> Usertags: rebootstrap
> 
> directfb fails to cross build from source:
> 
> | checking for directfb-csource... no
> | configure: error: Could not find a directfb-csource in your PATH
> 
> It seems that for cross builds directfb expects to be able to run a
> system-provided directfb-csource. That lives in libdirectfb-bin. So
> directfb is missing a cross-specific dependency on libdirectfb-bin.
> Since it wants to run directfb-csource, it needs to be installed for the
> build architecture. That can be achieved by either marking the
> libdirectfb-bin dependency with :native or by marking libdirectfb-bin
> Multi-Arch: foreign. I think the latter is appropriate here, because
> libdirectfb-bin contains only command line utilities. As far as I
> understand their behaviour does not depend on the architecture of the
> package. If that statement is wrong, it must not be marked M-A:foreign.
> Please consider applying the attached patch after verifying that
> M-A:foreign is indeed correct on libdirectfb-bin.

The build of 1.7.7-3 no longer runs directfb-csource, so I consider this issue
fixed there.

Cheers

> Helmut

> diff --minimal -Nru directfb-1.2.10.0/debian/changelog 
> directfb-1.2.10.0/debian/changelog
> --- directfb-1.2.10.0/debian/changelog        2017-01-30 20:56:58.000000000 
> +0100
> +++ directfb-1.2.10.0/debian/changelog        2017-08-05 22:10:01.000000000 
> +0200
> @@ -1,3 +1,12 @@
> +directfb (1.2.10.0-9.1) UNRELEASED; urgency=medium
> +
> +  * Non-maintainer upload.
> +  * Fix FTCBFS: (Closes: #-1)
> +    + Add missing cross build dependency on libdirectfb-bin.
> +    + Mark libdirectfb-bin Multi-Arch: foreign.
> +
> + -- Helmut Grohne <hel...@subdivi.de>  Sat, 05 Aug 2017 22:10:01 +0200
> +
>  directfb (1.2.10.0-9) unstable; urgency=medium
>  
>    * debian/libdirectfb-1.2-9.install: Fix architecture-based filter to
> diff --minimal -Nru directfb-1.2.10.0/debian/control 
> directfb-1.2.10.0/debian/control
> --- directfb-1.2.10.0/debian/control  2017-01-30 20:53:05.000000000 +0100
> +++ directfb-1.2.10.0/debian/control  2017-08-05 22:10:01.000000000 +0200
> @@ -6,6 +6,7 @@
>  Build-Depends:
>   debhelper (>= 10),
>   dh-exec,
> + libdirectfb-bin <cross>,
>   libfreetype6-dev,
>   libgl1-mesa-dev,
>   libjpeg-dev,
> @@ -61,6 +62,7 @@
>  
>  Package: libdirectfb-bin
>  Architecture: any
> +Multi-Arch: foreign
>  Depends:
>   ${misc:Depends},
>   ${shlibs:Depends}

> _______________________________________________
> pkg-multimedia-maintainers mailing list
> pkg-multimedia-maintainers@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature


--- End Message ---
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to