[Pkg-alsa-devel] Bug#516585: RFH: alsa-lib
Andreas Metzler
ametzler at downhill.at.eu.org
Sun Feb 22 16:42:06 UTC 2009
On 2009-02-22 Elimar Riesebieter <riesebie at lxtec.de> wrote:
> Package: wnpp
> Severity: normal
> Hi Debian ALSA developers,
> I want to prepare alsa-lib 1.0.19 for upload. Building alsa-lib on i386 and
> amd64 gives:
> ...
> checking for strip... strip
> checking for cross-compiler... i486-i486-pc-linux-gnu-gcc
> checking for i486-linux-gnu-gcc... i486-i486-pc-linux-gnu-gcc
> checking for C compiler default output file name...
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
[...]
> The correct compiler should be: i486-linux-gnu-gcc and not
> i486-i486-pc-linux-gnu-gcc!
> From upstreams changelog:
> "Don't use AC_CANONICAL_SYSTEM, only use AC_CANONICAL_HOST"
Hello,
I am not sure, but I think (see
/usr/share/doc/autotools-dev/README.Debian.gz) you are invoking
./configure the wrong way. This makes it build successfully for me:
-----------------------
--- debian/rules (Revision 2165)
+++ debian/rules (Arbeitskopie)
@@ -56,7 +56,7 @@
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--datadir=\$${prefix}/share \
- --host=$(DEB_BUILD_GNU_TYPE) \
+ --build $(DEB_BUILD_GNU_TYPE) \
--enable-static --disable-maintainer-mode
touch configure-stamp
@@ -72,7 +72,7 @@
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--datadir=\$${prefix}/share \
- --host=$(DEB_HOST_GNU_TYPE) \
+ --build $(DEB_BUILD_GNU_TYPE) \
--enable-static --disable-maintainer-mode \
--disable-python --with-plugindir=/$(bilibdir)/alsa-lib
#ln -sf . include/alsa
-----------------------
And the new buildlog (the gcc invokations) is basically identical to
1.0.18-1.
[...]
> The orig tgz must be loaded from:
> wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.19.tar.bz2
> tar jxf alsa-lib-1.0.19.tar.bz2
> tar zcf alsa-lib-1.0.19.tar.gz alsa-lib-1.0.19
> mv alsa-lib-1.0.19.tar.gz alsa-lib_1.0.19.orig.tar.gz
I prefer this for bz2- only packages:
bzcat alsa-lib-1.0.19.tar.bz2 | gzip -9 --rsyncable >
alsa-lib_1.0.19.orig.tar.gz
* Saves diskspace
* Faster
* mdsum of upstream tarball and repacked one stay identical.
cu andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
More information about the Pkg-alsa-devel
mailing list