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 GCC

 
 
LinkBack Thread Tools
 
Old 07-19-2012, 12:47 AM
 
Default Bug#682104: control.m4 produces syntax error in control

Package: src:gcc-4.7
Version: 4.7.1-5

I was trying to build a cross-compiler, and it kept failing because of
a syntax error in debian/control at line 41:

> Package: libgcc1-dbg-armel-cross
> Architecture: all
> Section: debug
> Priority: extra
> Depends: gcc-4.7-arm-linux-gnueabi-base (= ${gcc:Version}), libgcc1-armel-cross (= ${gcc:EpochVersion}), ${miscepends}
> dnldnl
> Description: GCC support library (debug symbols)
> Debug symbols for the GCC support library.
> .
> This package contains files for armel architecture, for use in cross-compile
> environment.

Notice the "dnldnl". This is caused by the corresponding part of
debian/control.m4:

> Package: libgcc1-dbg`'LS
> Architecture: ifdef(`TARGET',`all',`any')
> Section: debug
> Priority: extra
> Depends: BASEDEP, libgcc1`'LS (= ${gcc:EpochVersion}), ${miscepends}
> ifdef(`TARGET',`dnl',`dnl
> ifdef(`MULTIARCH',`Multi-Arch: same
> ')dnl
> Provides: libgcc1-dbg-armel [armel], libgcc1-dbg-armhf [armhf]
> ')dnl
> Description: GCC support library (debug symbols)`'ifdef(`TARGET)',` (TARGET)', `')
> Debug symbols for the GCC support library.
> ifdef(`TARGET', `dnl
> .
> This package contains files for TARGET architecture, for use in cross-compile
> environment.
> ')`'dnl

If TARGET is defined, then the part after Depends: turns into

ifdef(`target',`dnl')dnl

Which expands to

dnldnl

The solution is to EITHER delete the first quoted dnl, OR move the
final dnl inside the macro and closing quote. Having them both there
causes problems.


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120719004738.20093.qmail@science.horizon.com">ht tp://lists.debian.org/20120719004738.20093.qmail@science.horizon.com
 

Thread Tools




All times are GMT. The time now is 10:50 PM.

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