bugGnash - The GNU Flash player - Bugs: bug #21182, configure.ac bugs cause gnash not...

 
 

bug #21182: configure.ac bugs cause gnash not to build (verified with 0.8.1 and CVS 2007/09/28)

Submitted by:  Bernhard Rosenkraenzer <bero>
Submitted on:  Fri 28 Sep 2007 02:04:10 PM UTC  
 
Category: buildSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 28 Nov 2007 04:20:09 PM UTC, comment #3:

I assume it's fixed (2 months inactivity)

Sandro Santilli <strk>
Project MemberIn charge of this item.
Fri 28 Sep 2007 03:11:09 PM UTC, comment #2:

Applied your patch Bernhard, please check.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Fri 28 Sep 2007 02:14:39 PM UTC, comment #1:

I've just noticed the -Wformat -Werror bits, so I take back the statement that all 4 will always compile - nevertheless, two of them do with gcc 4.3svn, glibc 2.6.1, linux 2.6.23rc8.

The patch is correct either way.

Bernhard Rosenkraenzer <bero>
Fri 28 Sep 2007 02:04:10 PM UTC, original submission:

Running gnash's ./configure script fails with:

checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

The cause is:

configure:10794: /lib/cpp conftest.cpp
conftest.cpp:16:1: error: "SIZET_FMT" redefined
conftest.cpp:15:1: error: this is the location of the previous definition
configure:10800: $? = 1
configure: failed program was:
[...]
| #define SIZET_FMT "%d"
| #define SIZET_FMT "%u"

The problem is that several of the AC_TRY_COMPILEs trying to find out the format string for size_t succeed, causing SIZET_FMT to be defined several times. (In fact, I'd argue that all the AC_TRY_COMPILEs succeed all the time because compilers implicitly cast between signed and unsigned and long and long long integers).

Bernhard Rosenkraenzer <bero>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #14040:  gnash-0.8.1-configure-braindamage.patch added by bero (1KiB - text/x-diff - This fixes it by making sure only the first valid format is set)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Updated the item)
  • -unavailable- added by bero
  • -unavailable- added by bero (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 28 Nov 2007 04:20:09 PM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Fri 28 Sep 2007 03:11:09 PM UTCstrkStatusIn Progress=>Ready For Test
    Fri 28 Sep 2007 03:00:52 PM UTCstrkStatusNone=>In Progress
      Assigned toNone=>strk
    Fri 28 Sep 2007 02:11:21 PM UTCberoAttached File-=>Added gnash-0.8.1-configure-braindamage.patch, #14040
    Fri 28 Sep 2007 02:04:10 PM UTCberoCarbon-Copy-=>Added bero

    Back to the top


    Powered by Savane 3.1-cleanup1