* Emanuele Rocca <[EMAIL PROTECTED]>, [2007-02-24 21:05 +0100]: > Package: helix-player > Version: 1.0.8-2 > Severity: serious > Justification: Fails to build
Update: I've been able to build correctly the video module, it was failing because of a known gcc/binutils regression (see for instance #319162). Patch attached. Now 2 of 109 modules are failing: player/app/gtk and player/installer/archive. ../../../common/util/rel/utillib.a(hxurl.o): In function `CHXURL::GetAltURL(int&)': hxurl.cpp:(.text+0x7c0): undefined reference to `SafeStrCpy' hxurl.cpp:(.text+0x8a0): undefined reference to `SafeSprintf' ../../../common/util/rel/utillib.a(hxurl.o): In function `CHXURL::ParseResource()': hxurl.cpp:(.text+0x980): undefined reference to `SafeSprintf' hxurl.cpp:(.text+0x9e4): undefined reference to `SafeSprintf' ../../../common/util/rel/utillib.a(hxurl.o): In function `CHXURL::CompressURL(char const*, char*&)': hxurl.cpp:(.text+0x1364): undefined reference to `CHXSimpleList::CHXSimpleList()' hxurl.cpp:(.text+0x1374): undefined reference to `CHXSimpleList::CHXSimpleList()' hxurl.cpp:(.text+0x1470): undefined reference to `CHXSimpleList::RemoveNode(CHXSimpleList::CNode*)' hxurl.cpp:(.text+0x155c): undefined reference to `CHXSimpleList::RemoveNode(CHXSimpleList::CNode*)' hxurl.cpp:(.text+0x156c): undefined reference to `SafeStrCat' hxurl.cpp:(.text+0x158c): undefined reference to `SafeStrCat' hxurl.cpp:(.text+0x15d0): undefined reference to `SafeStrCat' hxurl.cpp:(.text+0x15e0): undefined reference to `SafeStrCat' ciao, ema
diff -Nur /var/tmp/helix-player-1.0.8/debian/patches/00list helix-player-1.0.8/debian/patches/00list --- /var/tmp/helix-player-1.0.8/debian/patches/00list 2007-03-10 14:58:32.000000000 +0100 +++ helix-player-1.0.8/debian/patches/00list 2007-03-10 15:05:13.000000000 +0100 @@ -5,3 +5,4 @@ 05-hxplay 06-amd64 07-alpha +08-sparc diff -Nur /var/tmp/helix-player-1.0.8/debian/patches/01-gcc.dpatch helix-player-1.0.8/debian/patches/01-gcc.dpatch --- /var/tmp/helix-player-1.0.8/debian/patches/01-gcc.dpatch 2007-03-10 14:58:32.000000000 +0100 +++ helix-player-1.0.8/debian/patches/01-gcc.dpatch 2007-03-10 16:09:20.000000000 +0100 @@ -29,6 +29,7 @@ self.target_arg = '-o' - self.ldcmd = 'g++' + self.ldcmd = 'g++-3.4' - self.ldargs = '' +- self.ldargs = '' ++ self.ldargs = '-Wl,--allow-multiple-definition' def crti_path(self): diff -Nur /var/tmp/helix-player-1.0.8/debian/patches/08-sparc.dpatch helix-player-1.0.8/debian/patches/08-sparc.dpatch --- /var/tmp/helix-player-1.0.8/debian/patches/08-sparc.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ helix-player-1.0.8/debian/patches/08-sparc.dpatch 2007-03-10 15:12:17.000000000 +0100 @@ -0,0 +1,25 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 08-sparc.dpatch by Emanuele Rocca <[EMAIL PROTECTED]> +## +## DP: Sparc Portability Bugs + [EMAIL PROTECTED]@ + +--- helix-player-1.0.8.orig/audio/device/pub/platform/unix/audlinux_oss.h 2004-07-09 04:02:00.000000000 +0200 ++++ helix-player-1.0.8/audio/device/pub/platform/unix/audlinux_oss.h 2007-02-24 19:53:23.000000000 +0100 +@@ -53,13 +53,13 @@ + //----------------------------------------------- + // System includes. + //----------------------------------------------- +-#if defined( _LINUX ) && !defined( __powerpc__ ) && !defined __alpha && !defined __sparc__ ++#if defined( _LINUX ) && !defined( __powerpc__ ) && !defined __alpha + #include "linux/soundcard.h" + #elif defined(__powerpc__) + #include "sys/soundcard.h" + #elif defined _NETBSD + #include "soundcard.h" +-#elif defined _FREEBSD || defined __alpha || defined __sparc__ ++#elif defined _FREEBSD || defined __alpha + #include "machine/soundcard.h" + #else + #include "machine/soundcard.h"