FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 02-22-2009, 01:25 PM
Elimar Riesebieter
 
Default Bug#516585: RFH: alsa-lib

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.
make: *** [configure-biarch-stamp] Error 77
dpkg-buildpackage: failure: debian/rules build gave error exit
status 2
debuild: fatal error at line 1319:
dpkg-buildpackage -rfakeroot -D -us -uc failed
Command /bin/sh -c debuild "-rfakeroot" failed in <unknown>, how to
continue now? [Qri?]: q
Aborting.

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"

Hmmm.

Building on ppc runs fine. Others I can't test. You can co the
version I tried from svn (r 2165):

svn://svn.debian.org/pkg-alsa/trunk/alsa-lib
http://svn.debian.org/wsvn/pkg-alsa/trunk/alsa-lib/

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

Any hints?

Thanks for cooperation

Elimar


-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)

--
Learned men are the cisterns of knowledge,
not the fountainheads ;-)



--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-22-2009, 03:42 PM
Andreas Metzler
 
Default Bug#516585: RFH: alsa-lib

On 2009-02-22 Elimar Riesebieter <riesebie@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'



--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-22-2009, 05:49 PM
Andreas Metzler
 
Default Bug#516585: RFH: alsa-lib

On 2009-02-22 Elimar Riesebieter <riesebie@lxtec.de> wrote:
> * Andreas Metzler [090222 17:42 +0100]
>> On 2009-02-22 Elimar Riesebieter <riesebie@lxtec.de> wrote:
[...]
>>> 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.
[...]

>> 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)
[...]
>> - --host=$(DEB_HOST_GNU_TYPE)
>> + --build $(DEB_BUILD_GNU_TYPE)
>> -----------------------

> Yes, but in that case:
> ....
> checking whether we are cross compiling... no
> ....

> This is what we don't want.


Afaiui multilib and cross-compiling work differently and you wanted
multilib, not cross compiling. But my understanding of this area is
almost non-existing. If you wanted to cross compile for amd64 on
i386 you would set

--build i486-linux-gnu --host x86_64-linux-gnu

and this would cause ./configure to use amd64-pc-linux-gnu-gcc as
compiler.

> Second: Why does it build on ppc ?

No idea. :-(

cu and- not getting the point of 64bit alsa on i486 anyway. - reas
--
`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'



--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 01:30 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org