Debian Bug report logs - #455354
FTBFS with GCC 4.3: anonymous variadic macros were introduced in C99

version graph

Package: espeak; Maintainer for espeak is Debian Accessibility Team <debian-accessibility@lists.debian.org>; Source for espeak is src:espeak.

Reported by: Martin Michlmayr <tbm@cyrius.com>

Date: Sun, 9 Dec 2007 20:42:02 UTC

Severity: serious

Found in version espeak/1.29-1

Done: Chris Lamb <chris@chris-lamb.co.uk>

Bug is archived. No further changes may be made.

Forwarded to jonsd@jsd.clara.co.uk

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Mario Lang <mlang@debian.org>:
Bug#455354; Package espeak. Full text and rfc822 format available.

Acknowledgement sent to Martin Michlmayr <tbm@cyrius.com>:
New Bug report received and forwarded. Copy sent to Mario Lang <mlang@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Martin Michlmayr <tbm@cyrius.com>
To: submit@bugs.debian.org
Subject: FTBFS with GCC 4.3: anonymous variadic macros were introduced in C99
Date: Sun, 9 Dec 2007 13:38:00 -0700
Package: espeak
Version: 1.29-1
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  You can find an explanation for
the build failure at
http://crustytoothpaste.ath.cx/~bmc/blog/entries/variadic-macros

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

> Automatic build of espeak_1.29-1 on em64t by sbuild/amd64 0.53
...
> g++ -O2 -Wall -fpic -fvisibility=hidden -pedantic \
> 	-I. -D LIBRARY -c -fno-exceptions speak_lib.cpp  -o x_speak_lib.o
> In file included from speak_lib.cpp:43:
> debug.h:19:21: error: anonymous variadic macros were introduced in C99
> speak_lib.cpp: In function 'void select_output(espeak_AUDIO_OUTPUT)':
> speak_lib.cpp:228: warning: deprecated conversion from string constant to 'char*'

-- 
Martin Michlmayr
http://www.cyrius.com/




Reply sent to Mario Lang <mlang@debian.org>:
You have marked Bug as forwarded. Full text and rfc822 format available.

Message #8 received at 455354-forwarded@bugs.debian.org (full text, mbox):

From: Mario Lang <mlang@debian.org>
To: jonsd@jsd.clara.co.uk
Cc: 455354-forwarded@bugs.debian.org
Subject: [Martin Michlmayr] Bug#455354: FTBFS with GCC 4.3: anonymous variadic macros were introduced in C99
Date: Mon, 10 Dec 2007 14:39:44 +0100
[Message part 1 (text/plain, inline)]
Hi.

I've just received a notice that espeak does not build with GCC 4.3.

This is because of the following piece of code in debug.h:

#define SHOW(format,...)

The compiler says:

> g++ -O2 -Wall -fpic -fvisibility=hidden -pedantic \
> 	-I. -D LIBRARY -c -fno-exceptions speak_lib.cpp  -o x_speak_lib.o
> In file included from speak_lib.cpp:43:
> debug.h:19:21: error: anonymous variadic macros were introduced in C99

I guess (untested) you need to add "-std=c99" to CFLAGS.

[Message part 2 (application/pgp-signature, inline)]
[Message part 3 (message/rfc822, inline)]
From: Martin Michlmayr <tbm@cyrius.com>
To: submit@bugs.debian.org
Subject: Bug#455354: FTBFS with GCC 4.3: anonymous variadic macros were introduced in C99
Date: Sun, 9 Dec 2007 13:38:00 -0700
Package: espeak
Version: 1.29-1
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  You can find an explanation for
the build failure at
http://crustytoothpaste.ath.cx/~bmc/blog/entries/variadic-macros

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

> Automatic build of espeak_1.29-1 on em64t by sbuild/amd64 0.53
...
> g++ -O2 -Wall -fpic -fvisibility=hidden -pedantic \
> 	-I. -D LIBRARY -c -fno-exceptions speak_lib.cpp  -o x_speak_lib.o
> In file included from speak_lib.cpp:43:
> debug.h:19:21: error: anonymous variadic macros were introduced in C99
> speak_lib.cpp: In function 'void select_output(espeak_AUDIO_OUTPUT)':
> speak_lib.cpp:228: warning: deprecated conversion from string constant to 'char*'

-- 
Martin Michlmayr
http://www.cyrius.com/



[Message part 4 (text/plain, inline)]

-- 
CYa,
  Mario | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang@db.debian.org
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>

Severity set to `important' from `normal' Request was from Matthias Klose <doko@cs.tu-berlin.de> to control@bugs.debian.org. (Thu, 24 Jan 2008 00:43:49 GMT) Full text and rfc822 format available.

Severity set to `serious' from `important' Request was from Marc Brockschmidt <marc@marcbrockschmidt.de> to control@bugs.debian.org. (Sat, 05 Apr 2008 12:45:31 GMT) Full text and rfc822 format available.

Reply sent to Chris Lamb <chris@chris-lamb.co.uk>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Martin Michlmayr <tbm@cyrius.com>:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #17 received at 455354-done@bugs.debian.org (full text, mbox):

From: Chris Lamb <chris@chris-lamb.co.uk>
To: 455354-done@bugs.debian.org
Subject: Re: FTBFS with GCC 4.3: anonymous variadic macros were introduced in C99
Date: Sun, 6 Apr 2008 13:34:26 +0100
[Message part 1 (text/plain, inline)]
Martin Michlmayr wrote:

> Your package fails to build with GCC 4.3.

(Building 1.29-1)

% g++ -O2 -Wall -fpic -fvisibility=hidden -pedantic -I. -D LIBRARY -c
     -fno-exceptions speak_lib.cpp  -o x_speak_lib.o
In file included from speak_lib.cpp:43:
debug.h:8:21: warning: anonymous variadic macros were introduced in C99
speak_lib.cpp: In function ‘void select_output(espeak_AUDIO_OUTPUT)’:
speak_lib.cpp:228: warning: deprecated conversion from string constant
 to ‘char*’

% echo $?
0

% g++ -v 2>&1 | grep version
gcc version 4.3.1 20080401 (prerelease) (Debian 4.3.0-3) 

So it seems that gcc-4.3 does not regard the varadic macro issue as an
error, whilst the gcc-snapshot used by Martin does. I can't see
anything else in the package diffs to suggest the difference.

Regardless, the package builds in a clean-but-gcc4.3 chroot, thus
closing this bug.


Regards,

-- 
Chris Lamb, UK                              chris@chris-lamb.co.uk
                                                   GPG: 0x634F9A20
[signature.asc (application/pgp-signature, attachment)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 05 May 2008 07:35:15 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 05:41:40 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.