Your message dated Mon, 1 Dec 2014 22:27:42 +0100
with message-id <20141201212742.GA3090@kronk>
and subject line Re: Bug#770197: mpv: FTBFS on ppc64el: conflict with keyword 
'bool'
has caused the Debian Bug report #770197,
regarding mpv: FTBFS on ppc64el: conflict with keyword 'bool'
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.)


-- 
770197: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770197
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: mpv
Version: 0.6.2-2
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org

Dear Maintainer,

The package mpv fails to build from source on ppc64el, because the keyword
bool is conflicting with altivec's macro with the same keyword.
The solution to that was to disable altivec in d/rules for ppc64el only, which
allowed the package to build without problems.

The patch is attached.

Regards.
Fernando


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.16-trunk-powerpc64le (SMP w/32 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff -Nru mpv-0.6.2/debian/changelog mpv-0.6.2/debian/changelog
--- mpv-0.6.2/debian/changelog	2014-10-25 13:17:04.000000000 +0000
+++ mpv-0.6.2/debian/changelog	2014-11-19 16:17:03.000000000 +0000
@@ -1,3 +1,10 @@
+mpv (0.6.2-2ppc64el1) UNRELEASED; urgency=medium
+
+  * Disable vsx/altivec for ppc64el, because gcc ends up using altivec's macro 'bool' during
+    compilation, which breaks the build.
+
+ -- Fernando Seiti Furusato <ferse...@br.ibm.com>  Wed, 19 Nov 2014 16:15:54 +0000
+
 mpv (0.6.2-2) unstable; urgency=medium
 
   * Re-enable CDDA support via libcdio (Closes: #766725)
diff -Nru mpv-0.6.2/debian/rules mpv-0.6.2/debian/rules
--- mpv-0.6.2/debian/rules	2014-10-25 13:17:04.000000000 +0000
+++ mpv-0.6.2/debian/rules	2014-11-19 16:12:23.000000000 +0000
@@ -2,6 +2,13 @@
 
 export DEB_BUILD_MAINT_OPTIONS:=hardening=+all # #741439
 
+DEB_BUILD_ARCH_CPU := $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)
+
+ifeq ($(DEB_BUILD_ARCH_CPU), ppc64el)
+	CXXFLAGS+=-mno-altivec -mno-vsx
+	CFLAGS+=-mno-altivec -mno-vsx 
+endif
+
 %:
 	dh $@
 

--- End Message ---
--- Begin Message ---
On mer, nov 19, 2014 at 04:24:46 +0000, Fernando Seiti Furusato wrote:
> Source: mpv
> Version: 0.6.2-2
> Severity: normal
> Tags: patch
> User: debian-powe...@lists.debian.org
> 
> Dear Maintainer,
> 
> The package mpv fails to build from source on ppc64el, because the keyword
> bool is conflicting with altivec's macro with the same keyword.
> The solution to that was to disable altivec in d/rules for ppc64el only, which
> allowed the package to build without problems.

This seems to be a side-effect of #770670 [0], which was fixed in libsdl2
itself. I just tried to rebuild mpv in a ppc64el porter box with the newer
libsdl2 and it built fine, so I'm closing this report (feel free to reopen if
you disagree).

Cheers

[0] https://bugs.debian.org/770670

Attachment: signature.asc
Description: Digital 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