[pkg-mad-maintainers] Bug#688848: Bug#688848: Bug#688848: [libmad0] multiarch incompatibility

Guy Roussin guy.roussin at teledetection.fr
Wed Sep 26 13:54:30 UTC 2012


>>>> How can i install libmad0:i386 ?
>>>>     
>>> We haven't applied the patch for multiarch yet.  There is a patch
>>> in http://bugs.debian.org/653676
>>>
>>>
>>> Kurt
>> Kurt,
>>
>> Thank you for your quick response,
>>
>> Can I find the binaries somewhere ?
>> ... or the debian way to patch and compile these two
>> packages (libmad0:i386 and libmad0:amd64).
> 
> You will need to make your own source package with that
> patch applied and build it for both i386 and amd64.
The patch not applied cleanly for the file debian/control :

$ dpkg-source -x libmad_0.15.1b-7.dsc
$ cd libmad-0.15.1b/
$ cat ../libmad_0.15.1b-6ubuntu1.debdiff | patch -p0
patching file debian/control
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file debian/control.rej
patching file debian/libmad0-dev.install
patching file debian/libmad0.install
patching file debian/rules

$ cat debian/control.rej
--- debian/control	2008-03-15 13:51:31 +0000
+++ debian/control	2011-12-30 06:46:41 +0000
@@ -1,14 +1,16 @@
 Source: libmad
 Priority: optional
 Section: sound
-Build-Depends: debhelper (>= 5), gettext, cdbs, autotools-dev, quilt
+Build-Depends: debhelper (>= 8.1.3~), gettext, cdbs (>= 0.4.93~),
autotools-dev, quilt
 Maintainer: Mad Maintainers <pkg-mad-maintainers at lists.alioth.debian.org>
 Uploaders: Kurt Roeckx <kurt at roeckx.be>, Clément Stenac
<zorglub at debian.org>, Sam Clegg <samo at debian.org>
 Standards-Version: 3.7.3

 Package: libmad0
 Architecture: any
+Multi-Arch: same
 Section: libs
+Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}
 Description: MPEG audio decoder library
  MAD is an MPEG audio decoder. It currently only supports the MPEG 1

I understand howto compile amd64 package but how can i do to
compile i386 package on my sid amd64 ?

Thank you,

Guy



More information about the pkg-mad-maintainers mailing list