tags 510662 + patch
thanks

Am 04.01.2009 um 04:55 schrieb Adrian Bunk:

> Package: xine-lib
> Version: 1.1.14-3
> Severity: serious
>
>
> <--  snip  -->
>
> ....
>  gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../.. -I../../../include 
> -I../../../include -I../../../src -I../../../src/xine-engine 
> -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input 
> -I../../../src/input -I../../../lib -I../../../lib -fvisibility=hidden 
> -I/usr/include/postproc -fomit-frame-pointer -D_REENTRANT 
> -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wformat=2 -Wno-format-zero-length 
> -Wmissing-format-attribute -Werror-implicit-function-declaration 
> -Wstrict-aliasing=2 -O3 -fomit-frame-pointer -fexpensive-optimizations 
> -fschedule-insns2 -ffast-math -finline-functions -Wall -Wpointer-arith 
> -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations 
> -Wmissing-prototypes -g -O2 -g -DNDEBUG -MT xineplug_post_planar_la-noise.lo 
> -MD -MP -MF .deps/xineplug_post_pl
>  anar_la-noise.Tpo -c noise.c  -fPIC -DPIC -o 
> .libs/xineplug_post_planar_la-noise.o
> In file included from ../../../src/xine-engine/xine_internal.h:33,
>                  from noise.c:24:
> .../../../include/xine.h:2230: warning: 'xine_tvsystem' is deprecated
> noise.c: Assembler messages:
> noise.c:155: Error: bad register name `%rax'
> noise.c:161: Error: bad register name `%rax)'
> noise.c:162: Error: bad register name `%rax)'
> noise.c:166: Error: bad register name `%rax)'
> noise.c:167: Error: bad register name `%rax'
> noise.c:182: Error: bad register name `%rax'
> noise.c:188: Error: bad register name `%rax)'
> noise.c:189: Error: bad register name `%rax)'
> noise.c:193: Error: bad register name `%rax)'
> noise.c:194: Error: bad register name `%rax'
> noise.c:224: Error: bad register name `%rax'
> noise.c:227: Error: bad register name `%rax)'
> noise.c:228: Error: bad register name `%rax)'
> noise.c:229: Error: bad register name `%rax)'
> noise.c:230: Error: bad register name `%rax)'
> noise.c:246: Error: bad register name `%rax)'
> noise.c:247: Error: bad register name `%rax'
> make[4]: *** [xineplug_post_planar_la-noise.lo] Error 1
> make[4]: Leaving directory `/tmp/xine-lib-1.1.14/src/post/planar'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/tmp/xine-lib-1.1.14/src/post'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/tmp/xine-lib-1.1.14/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/xine-lib-1.1.14'
> make: *** [build-stamp] Error 2
> $ 
>
> <--  snip  -->

One problem is that the configure script thinks we're running a 64-bit
system:

,----
| checking build system type... x86_64-unknown-linux-gnu
| checking host system type... x86_64-unknown-linux-gnu
| checking build system type... (cached) x86_64-unknown-linux-gnu
`----

This is bad, build and host type should be passed explicitly in
debian/rules.  Here is a patch:

--8<---------------cut here---------------start------------->8---
diff -u xine-lib-1.1.14/debian/rules xine-lib-1.1.14/debian/rules
--- xine-lib-1.1.14/debian/rules
+++ xine-lib-1.1.14/debian/rules
@@ -44,6 +44,8 @@
 
 # set configure flags here
 CONFIGURE_FLAGS := \
+       --build $(DEB_BUILD_GNU_TYPE) \
+       --host $(DEB_HOST_GNU_TYPE) \
        --prefix=/usr \
        --mandir=\$${prefix}/share/man \
        --with-external-libmad \
--8<---------------cut here---------------end--------------->8---

However, this bug should also be reported upstream, since passing
these values should not be necessary in general.

Note that xine-lib may still FTBFS until you add libsamplerate0-dev to
Build-Depends in debian/control (just reported as #510673).

Cheers,
       Sven



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to