Your message dated Fri, 14 Nov 2014 21:49:19 +0000
with message-id <[email protected]>
and subject line Bug#768493: fixed in gem 1:0.93.3-8
has caused the Debian Bug report #768493,
regarding gem: FTBFS on ppc64el: fails with altivec
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 [email protected]
immediately.)


-- 
768493: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768493
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gem
Severity: normal
Tags: patch
User: [email protected]
Usertags: ppc64el

Dear Maintainer,

The package gem fails to build from source on ppc64el because it uses altivec, 
which
makes it fail on the platform. 
When using the gcc flag -mcpu=powerpc it consequently disables the usage of 
altivec.
For some reason, though it wouldn't allow the compilation to go on with the 
error:
        -m64 requires a PowerPC64 cpu

Actually adding the flag -m64 will allow it to compile and the package to build.
Of course, this is more a workaround than a solution, since it simply disables
the altivec on the package, instead of fixing its usage, but at least it allows
it to build for now. By the way I also tried disabling it via configure flags 
with
no success.

The patch is attached.

Thanks and 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 gem-0.93.3/debian/changelog gem-0.93.3/debian/changelog
--- gem-0.93.3/debian/changelog	2014-10-06 20:18:08.000000000 +0000
+++ gem-0.93.3/debian/changelog	2014-11-07 18:39:55.000000000 +0000
@@ -1,3 +1,9 @@
+gem (1:0.93.3-7ppc64el1) UNRELEASED; urgency=medium
+
+  * Fix ftbfs on ppc64el. Included powerpc flag to disable altivec usage. 
+
+ -- Fernando Seiti Furusato <[email protected]>  Fri, 07 Nov 2014 18:39:14 +0000
+
 gem (1:0.93.3-7) unstable; urgency=medium
 
   * Changed B-D to libjpeg-dev for libjpeg-turbo transition (Closes: #763472)
diff -Nru gem-0.93.3/debian/rules gem-0.93.3/debian/rules
--- gem-0.93.3/debian/rules	2014-10-06 19:19:18.000000000 +0000
+++ gem-0.93.3/debian/rules	2014-11-07 18:36:22.000000000 +0000
@@ -7,6 +7,8 @@
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
 
+BUILD_ARCH_CPU := $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)
+
 archconfflags := \
 	--prefix=/usr \
 	--with-pd=/usr/include/pd \
@@ -38,7 +40,11 @@
 	dh --with autoreconf $@
 
 override_dh_auto_configure:
+ifeq ($(BUILD_ARCH_CPU), ppc64el)
+	CXXFLAGS="$(CXXFLAGS) -m64 -mcpu=powerpc" CFLAGS="$(CFLAGS) -m64 -mcpu=powerpc" ./configure $(archconfflags)
+else
 	CXXFLAGS="$(CXXFLAGS)" CFLAGS="$(CFLAGS)" ./configure $(archconfflags)
+endif
 
 override_dh_auto_test:
 	# no actual 'make test' target

--- End Message ---
--- Begin Message ---
Source: gem
Source-Version: 1:0.93.3-8

We believe that the bug you reported is fixed in the latest version of
gem, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
IOhannes m zmölnig (Debian/GNU) <[email protected]> (supplier of updated gem 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 14 Nov 2014 22:22:09 +0100
Source: gem
Binary: gem gem-doc gem-dev gem-extra gem-plugin-gmerlin gem-plugin-lqt 
gem-plugin-mpeg3 gem-plugin-magick gem-plugin-jpeg gem-plugin-tiff 
gem-plugin-sgi gem-plugin-v4l2 gem-plugin-dv4l gem-plugin-dc1394 
gem-plugin-unicap
Architecture: source amd64 all
Version: 1:0.93.3-8
Distribution: unstable
Urgency: medium
Maintainer: Paul Brossier <[email protected]>
Changed-By: IOhannes m zmölnig (Debian/GNU) <[email protected]>
Description:
 gem        - Graphics Environment for Multimedia - Pure Data library
 gem-dev    - Graphics Environment for Multimedia (development files)
 gem-doc    - Graphics Environment for Multimedia (documentation)
 gem-extra  - Graphics Environment for Multimedia - extra objects
 gem-plugin-dc1394 - Graphics Environment for Multimedia - DC1394 support
 gem-plugin-dv4l - Graphics Environment for Multimedia - DV support
 gem-plugin-gmerlin - Graphics Environment for Multimedia - GMERLIN support
 gem-plugin-jpeg - Graphics Environment for Multimedia - JPEG support
 gem-plugin-lqt - Graphics Environment for Multimedia - LQT support
 gem-plugin-magick - Graphics Environment for Multimedia - ImageMagick support
 gem-plugin-mpeg3 - Graphics Environment for Multimedia - MPEG support
 gem-plugin-sgi - Graphics Environment for Multimedia - SGI support
 gem-plugin-tiff - Graphics Environment for Multimedia - TIFF support
 gem-plugin-unicap - Graphics Environment for Multimedia - unicap support
 gem-plugin-v4l2 - Graphics Environment for Multimedia - V4L2 output support
Closes: 768493
Changes:
 gem (1:0.93.3-8) unstable; urgency=medium
 .
   * Disabled altivec on ppc64el (Closes: #768493)
   * Provided short-name for font-license in debian/copyright
   * Bumped standards-version to 3.9.6
Checksums-Sha1:
 9a3c8a474b4c03d978743d440f8fb901e764a549 3249 gem_0.93.3-8.dsc
 0b416957fb7c680f6365fcec240a456fd3ea6a41 20344 gem_0.93.3-8.debian.tar.xz
 02bb5fadda9f447c2231db82e3d2c8e3118f7589 1355238 gem_0.93.3-8_amd64.deb
 d4b1e243187f12bae65c5ba9375d562b0b65fb77 3285722 gem-doc_0.93.3-8_all.deb
 29863b4d8c2247ecc8b33faa13adeed2b5ad74c1 264326 gem-dev_0.93.3-8_all.deb
 180f2bd52a6d13758f8269f82b7746c38d7828c8 183410 gem-extra_0.93.3-8_amd64.deb
 8ce6e1f4d13b6207ede6a082353a490d04a43d5d 142466 
gem-plugin-gmerlin_0.93.3-8_amd64.deb
 4f5af86ead6746c315ea6affadd3141a43f70045 161718 
gem-plugin-lqt_0.93.3-8_amd64.deb
 0464b9db59aac9cf037b345a61d463da51685d54 143448 
gem-plugin-mpeg3_0.93.3-8_amd64.deb
 cd45f6a815ca6ccfe0c1beffbcad3abb89577a1e 148426 
gem-plugin-magick_0.93.3-8_amd64.deb
 e27462c047846729501ee0c520179782fd8e967f 143830 
gem-plugin-jpeg_0.93.3-8_amd64.deb
 10a306dbdf15c02614868ce1b32409001b33570c 142008 
gem-plugin-tiff_0.93.3-8_amd64.deb
 2ff39092a9184b2d49af6643c26acf5ece5ccc47 149880 
gem-plugin-sgi_0.93.3-8_amd64.deb
 facaf662d1111921c6070955e6e7c38e976a2299 172912 
gem-plugin-v4l2_0.93.3-8_amd64.deb
 5c9fdf1e1346730a8d93f3574acf91f680a5533b 153362 
gem-plugin-dv4l_0.93.3-8_amd64.deb
 0026e368fdcb7b31ec8211c41d40ce44c6175875 159722 
gem-plugin-dc1394_0.93.3-8_amd64.deb
 86130b9350b7b08799cd6e091f7c54ce6fa8c8b0 158766 
gem-plugin-unicap_0.93.3-8_amd64.deb
Checksums-Sha256:
 ecff50348b4266c72c452580c477c52889e3ffb324e84903effa6121e5d026a6 3249 
gem_0.93.3-8.dsc
 360c4f01165e5c7c72a55287eab7f15bfc581f7233002871f6fa1e8b8919637b 20344 
gem_0.93.3-8.debian.tar.xz
 3de169230e359ac23f4d3313343aff6cd35cbb3c1fc66b0bf0c84c1e9ec5338c 1355238 
gem_0.93.3-8_amd64.deb
 f33ff769f14d8b57d524a92fd32119a60b4cc0d5eb1fda1ec89f327d2d3126b8 3285722 
gem-doc_0.93.3-8_all.deb
 6cf7c2468eaeeb586259db8311f7c0859f919e923d72eb554be734483d0c65a9 264326 
gem-dev_0.93.3-8_all.deb
 22b454b427514e00a8e54466be2f1e06fc3504a0f1bdbbee0260e99149ddf3ed 183410 
gem-extra_0.93.3-8_amd64.deb
 c841c7a2924a89c869e3ba94faab5a82ccc9ec5ace560756fd01962e475ab771 142466 
gem-plugin-gmerlin_0.93.3-8_amd64.deb
 b3cf90f7a63360a3706de17e698959a72b412df1c4cc0576dd48b3a5320f47e2 161718 
gem-plugin-lqt_0.93.3-8_amd64.deb
 af977ffc335280203fe1474adf335cb20e2d6ddaaeb6f0451d8cb4283565a498 143448 
gem-plugin-mpeg3_0.93.3-8_amd64.deb
 21e4dc3d5d802a33a62e180d5e1b28f75b85bfeee8f9911b46b934a8453c8611 148426 
gem-plugin-magick_0.93.3-8_amd64.deb
 c2938203b86648018968d3e3b992c0c314358c221f72758e71801b00c0bf277d 143830 
gem-plugin-jpeg_0.93.3-8_amd64.deb
 c2244a8caab629805a8343c047cca674b72463ca230347ba7bd9c97a114b9964 142008 
gem-plugin-tiff_0.93.3-8_amd64.deb
 72e192ee08814e161ab2b3a4bbbf0f8819144c9ff12c01937e16f9e8cddf79ef 149880 
gem-plugin-sgi_0.93.3-8_amd64.deb
 c1760c928e087106cc26ce4af5d74c062643092552a3e29589e39c4915cb93ee 172912 
gem-plugin-v4l2_0.93.3-8_amd64.deb
 8513588a5a1ed5208b04afaf10f3bed2f2c66f1700803c49566ef0e3b64549c6 153362 
gem-plugin-dv4l_0.93.3-8_amd64.deb
 f8af6f3f197d5c19b3550be8c8f8611a9315c39e5867c7d64f39f9d6c5fe8fa9 159722 
gem-plugin-dc1394_0.93.3-8_amd64.deb
 7aa796145b0f05559b04e4efa31d66cbaf429924b4b56850a2494b26132a0bbc 158766 
gem-plugin-unicap_0.93.3-8_amd64.deb
Files:
 b483a32152424b7268803a903724636a 3249 graphics optional gem_0.93.3-8.dsc
 a18cef0221e76e7f1fcd49f86706b08c 20344 graphics optional 
gem_0.93.3-8.debian.tar.xz
 98424708138525922ca9becb7ea922bc 1355238 graphics optional 
gem_0.93.3-8_amd64.deb
 1140599430a8df480517eb82eb46ac4b 3285722 doc optional gem-doc_0.93.3-8_all.deb
 dec9378bce79ed9e15942769268f4bdd 264326 libdevel optional 
gem-dev_0.93.3-8_all.deb
 8cb54ff1694ce158a03d9c33d8e9893e 183410 graphics optional 
gem-extra_0.93.3-8_amd64.deb
 29f6607244ab81bb0c1a7a3036bfd1ff 142466 graphics optional 
gem-plugin-gmerlin_0.93.3-8_amd64.deb
 ac94a81debfeb72c1dc40d66b7d26885 161718 graphics optional 
gem-plugin-lqt_0.93.3-8_amd64.deb
 982dc5d1060b2c3cb039a6be2cdcbf20 143448 graphics optional 
gem-plugin-mpeg3_0.93.3-8_amd64.deb
 706eed26974425f36d855af1317ef0ea 148426 graphics optional 
gem-plugin-magick_0.93.3-8_amd64.deb
 55f14c59e7dcf1acb4ac18e11957e707 143830 graphics optional 
gem-plugin-jpeg_0.93.3-8_amd64.deb
 331b39360332382533975935b7992cc1 142008 graphics optional 
gem-plugin-tiff_0.93.3-8_amd64.deb
 eb2b37518d152f28d56342245edce306 149880 graphics optional 
gem-plugin-sgi_0.93.3-8_amd64.deb
 f8a95c4a59fed58f2eb547318162c52f 172912 graphics optional 
gem-plugin-v4l2_0.93.3-8_amd64.deb
 11097bc121d1ecaeb65b8702487442bd 153362 graphics optional 
gem-plugin-dv4l_0.93.3-8_amd64.deb
 f9ba06ace8398b1aaaf257beddd22fc9 159722 graphics optional 
gem-plugin-dc1394_0.93.3-8_amd64.deb
 3dbbb7b427492a59bc1547c68f3be6b1 158766 graphics optional 
gem-plugin-unicap_0.93.3-8_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUZnaEAAoJELZQGcR/ejb4xKUP/AzNNFaB3QWYaoZiZE0QX+ad
p2y1qpHhawmjbBcXlr71egfj9SIiNWM/sfVGjjbHtKvgfq/VziD5zrB0eYTUGDjG
l0soG0e0b+wBzxTe931FKveLmHDVrtA6d/MEK61mUIJYOAbXbeCuaryR0LZ8F2uG
sSttDZTeiQhxlHQVt7pOtXKj5OyiqYPiT8jmIqoB2M4G74lg3jEFfmzP9CWJCQJs
NgTszCFfruaEeMNyOqBBUuuh2TIioZb955vh4ww7oPe/p/ZU02XUl1BDc51eEHUK
uYRaUF/EwOojHu6IB5Na8L620Sb/WSucaQis2Y0VRXmm60fvgxnTbfufhFcAJ0AX
zW/ywktViE6wsZHM823L9UPzhxpE6vfdZIDVu5ZbliRogAE7OXprz70mdYBppi9x
jwDGUKX1poCJzBSpavqczkyf6lQDd5B4jeWC6p4VAOjWcEX5c4pkPUMUqIqqXl0k
vF6/ON+k53hnWZLF/i0JYVHV6BcMGswv2+uYTjULUqheXmzTOzFLxxxHL8L65lz1
pCziWkDKgzn1MJdPx1RUBATULBKRQEhAADkx2XiliWMR3aJf80QRJN1I7TcSXyRV
QHL7WeTfQEefAjfk+bloLnS0irP8pY1BGEmSARahn7It3BD0BpNaYvPY4Wyp+rPc
C4S6Go/Yd3ieLnMMrn3y
=JKME
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to