Your message dated Fri, 6 Apr 2012 00:10:26 +0200
with message-id 
<CAMHuwozVWOrFcCEoSYH67vXpoqdXRjduC=3vWN3WY-ap8OU8=q...@mail.gmail.com>
and subject line Closing #667653
has caused the Debian Bug report #667653,
regarding mpg123 FTBFS on armhf
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.)


-- 
667653: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667653
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mpg123
Version: 1.13.7-6
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: armhf

mpg123 FTBFS on armhf with the following errors.

/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../../src -I../../src -I../../src/libmpg123  -DOPT_ARM -DREAL_IS_FIXED 
-D_FORTIFY_SOURCE=2  -O2 -fomit-frame-pointer -funroll-all-loops 
-finline-functions -ffast-math  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c 
-o layer3.lo layer3.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src 
-I../../src/libmpg123 -DOPT_ARM -DREAL_IS_FIXED -D_FORTIFY_SOURCE=2 -O2 
-fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security 
-Werror=format-security -c layer3.c  -fPIC -DPIC -o .libs/layer3.o
/tmp/ccUolZ9g.s: Assembler messages:
/tmp/ccUolZ9g.s:4188: Error: shift must be constant -- `orr r6,r6,r7,lsl ip'
/tmp/ccUolZ9g.s:4233: Error: shift must be constant -- `orr r7,r7,ip,lsl r8'
/tmp/ccUolZ9g.s:4490: Error: shift must be constant -- `orr r6,r6,r7,lsl ip'
/tmp/ccUolZ9g.s:4733: Error: shift must be constant -- `orr fp,fp,r7,lsl ip'
/tmp/ccUolZ9g.s:4763: Error: shift must be constant -- `orr fp,fp,r7,lsl ip'
/tmp/ccUolZ9g.s:4797: Error: shift must be constant -- `orr r6,r6,r7,lsl ip'
/tmp/ccUolZ9g.s:4831: Error: shift must be constant -- `orr r8,r8,r1,lsl r0'
/tmp/ccUolZ9g.s:4866: Error: shift must be constant -- `orr sl,sl,r1,lsl r6'
/tmp/ccUolZ9g.s:7004: Error: shift must be constant -- `orr r7,r7,ip,lsl r8'
/tmp/ccUolZ9g.s:7057: Error: shift must be constant -- `orr r7,r7,ip,lsl r8'
/tmp/ccUolZ9g.s:7328: Error: shift must be constant -- `orr r8,r8,r7,lsl ip'
/tmp/ccUolZ9g.s:7612: Error: shift must be constant -- `orr r8,r8,r6,lsl r7'
/tmp/ccUolZ9g.s:7688: Error: shift must be constant -- `orr r8,r8,r6,lsl r7'
/tmp/ccUolZ9g.s:7726: Error: shift must be constant -- `orr sl,sl,r7,lsl ip'
/tmp/ccUolZ9g.s:7846: Error: shift must be constant -- `orr r8,r8,r1,lsl r0'
/tmp/ccUolZ9g.s:7886: Error: shift must be constant -- `orr r8,r8,r1,lsl r6'
make[4]: *** [layer3.lo] Error 1


The cause seems to be some thumb2 incompatible inline assembler. The
attatched patch adds -marm to the CFLAGs to get arround this.

diff -ur mpg123-1.13.7/debian/rules mpg123-1.13.7.new/debian/rules
--- mpg123-1.13.7/debian/rules	2012-04-01 08:25:34.000000000 +0000
+++ mpg123-1.13.7.new/debian/rules	2012-04-05 15:43:32.000000000 +0000
@@ -31,6 +31,10 @@
 CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
 LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
 
+ifeq ($(ARCH),armhf)
+  CFLAGS += -marm
+endif
+
 LDFLAGS += -Wl,--as-needed
 
 #export DH_VERBOSE=1


--- End Message ---
--- Begin Message ---
Version: 1.13.7-7

Closing as we have fixed this with mpg123 1.13.7-7.
Thanks!

-- 
Alessio Treglia          | www.alessiotreglia.com
Debian Developer         | ales...@debian.org
Ubuntu Core Developer    | quadris...@ubuntu.com
0416 0004 A827 6E40 BB98 90FB E8A4 8AE5 311D 765A


--- 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