bugGnash - The GNU Flash player - Bugs: bug #18447, error during make check

 
 

bug #18447: error during make check

Submitted by:  None
Submitted on:  Mon 04 Dec 2006 08:41:05 AM 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.

 

(Jump to the original submission Jump to the original submission)

Wed 13 Dec 2006 03:26:47 PM UTC, comment #9:

Sandro's latest commit appears to solve the problem; I no longer have Ming-related failures. In fact, I can now run 'gmake check' without any fatal errors.

Ann Barcomb <ann>
Wed 13 Dec 2006 03:15:32 PM UTC, comment #8:

Committed another patch addressing comment #7

Sandro Santilli <strk>
Project MemberIn charge of this item.
Wed 13 Dec 2006 03:11:12 PM UTC, comment #7:

With Sandro's latest revision, I still have a failure on a Ming-less system. Here are the partial results for 'cd testsuite;gmake check':

Dejagnu.c:29:18: ming.h: No such file or directory

Which suggests that it is still attempting to run some tests which require Ming. This isn't the misc-ming.all/ directory, as 'gmake -C testsuite/misc-ming.all check' happily just gives no summary but also no errors.

Ann Barcomb <ann>
Wed 13 Dec 2006 02:45:30 PM UTC, comment #6:

I disabled the attempt of running actionscript.all tests
even w/out Ming installed... that thing is broken anyway,
so better to enable users to run some tests.

We'll fix the 'distribute swf' mechanism later, as it
needs more analisys (Dejagnu.swf dependency being part
of the problem)

Sandro Santilli <strk>
Project MemberIn charge of this item.
Wed 13 Dec 2006 02:26:13 PM UTC, comment #5:

I'm approaching this atm, can the original reporter confirm
that the bug is still the same ? I think that 'make check'
under testsuite/misc-ming.all should do NOTHING, rather
then raise an error.
THe only directory that should fail when Ming is not installed
is actionscript.all and only when running it from CVS (vs. from a release) as the release should include the generated SWF files.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 05 Dec 2006 08:27:01 AM UTC, comment #4:

Right, the summary could be a problem, but since we already
have sub-summaries (one for each subdir) we might as well
mark some dirs as "skipped".
The dirs that NEED ming are actionscript.all and misc-ming.all.

Actually, some of the others also use the Dejagnu.swf module,
which needs Ming to get generated, but we might as well include
Dejagnu.swf in the distributed packages, and IIRC we were already
shipping the generated actionscript testcases in the past.

Anyway, whatever we do, it is nice to run the tests that do not
need Ming (libbase/libgeometry for example).

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 05 Dec 2006 05:15:58 AM UTC, comment #3:

The only problem with this is if somebody doesn't have ming installed, they'll get different totals when running the tests. Isn't this now required for most of the tests now ? If miong.h can
t be found, configure should complain, but I think it would then be ok to run the tests without error. "make check" should probably print a warning that it's desireable to install ming for the best results.

Rob Savoye <rsavoye>
Project Administrator
Tue 05 Dec 2006 04:41:19 AM UTC, comment #2:

Maybe rather then exiting with an error we might still run the tests that do not require ming... I think this was the behaviour for 0.7.2, so I wouldn't tag this bug as invalid. Rob ? What do you think ?

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 05 Dec 2006 03:44:02 AM UTC, comment #1:

Dejagnu.c:29:18: error: ming.h: No such file or directory...

Markus Gothe <nihilus>
Project Member
Mon 04 Dec 2006 08:41:05 AM UTC, original submission:

I am on a FC6, I get this error during make check:
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -O1 -march=pentium3 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -MT Dejagnu.o -MD -MP -MF ".deps/Dejagnu.Tpo" -c -o Dejagnu.o Dejagnu.c; \
then mv -f ".deps/Dejagnu.Tpo" ".deps/Dejagnu.Po"; else rm -f ".deps/Dejagnu.Tpo"; exit 1; fi
Dejagnu.c:29:18: error: ming.h: No such file or directory
In file included from Dejagnu.c:31:
ming_utils.h:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_default_font’
ming_utils.h:44: error: expected ‘)’ before ‘mo’
ming_utils.h:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_dejagnu_clip’
ming_utils.h:84: error: expected ‘)’ before ‘mo’
ming_utils.h:103: error: expected ‘)’ before ‘mo’
ming_utils.h:112: error: expected ‘)’ before ‘mo’
ming_utils.h:123: error: expected ‘)’ before ‘mo’
ming_utils.h:134: error: expected ‘)’ before ‘mc’
ming_utils.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘make_square’
ming_utils.h:145: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘make_fill_square’
Dejagnu.c: In function ‘main’:
Dejagnu.c:39: error: ‘SWFMovie’ undeclared (first use in this function)
Dejagnu.c:39: error: (Each undeclared identifier is reported only once
Dejagnu.c:39: error: for each function it appears in.)
Dejagnu.c:39: error: expected ‘;’ before ‘mo’
Dejagnu.c:40: error: ‘SWFMovieClip’ undeclared (first use in this function)
Dejagnu.c:40: error: expected ‘;’ before ‘dejaclip’
Dejagnu.c:42: error: ‘SWFFont’ undeclared (first use in this function)
Dejagnu.c:42: error: expected ‘;’ before ‘bfont’
Dejagnu.c:60: warning: implicit declaration of function ‘Ming_init’
Dejagnu.c:61: warning: implicit declaration of function ‘Ming_useSWFVersion’
Dejagnu.c:62: warning: implicit declaration of function ‘Ming_setScale’
Dejagnu.c:64: error: ‘mo’ undeclared (first use in this function)
Dejagnu.c:64: warning: implicit declaration of function ‘newSWFMovie’
Dejagnu.c:65: warning: implicit declaration of function ‘SWFMovie_setRate’
Dejagnu.c:66: warning: implicit declaration of function ‘SWFMovie_setDimension’
Dejagnu.c:68: error: ‘bfont’ undeclared (first use in this function)
Dejagnu.c:68: warning: implicit declaration of function ‘get_default_font’
Dejagnu.c:76: error: ‘dejaclip’ undeclared (first use in this function)
Dejagnu.c:76: warning: implicit declaration of function ‘get_dejagnu_clip’
Dejagnu.c:76: error: ‘SWFBlock’ undeclared (first use in this function)
Dejagnu.c:76: error: expected ‘)’ before ‘bfont’
Dejagnu.c:78: warning: implicit declaration of function ‘SWFMovie_add’
Dejagnu.c:78: error: expected ‘)’ before ‘dejaclip’
Dejagnu.c:79: warning: implicit declaration of function ‘SWFMovie_addExport’
Dejagnu.c:79: error: expected ‘)’ before ‘dejaclip’
Dejagnu.c:81: warning: implicit declaration of function ‘SWFMovie_nextFrame’
Dejagnu.c:92: warning: implicit declaration of function ‘SWFMovie_save’
make[4]: *** [Dejagnu.o] Error 1

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ann (Posted a comment)
  • -unavailable- added by rsavoye (Posted a comment)
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by nihilus (Posted a comment)
  •  

    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 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 13 Dec 2006 04:18:55 PM UTCstrkCategoryNone=>build
      StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Wed 13 Dec 2006 02:45:30 PM UTCstrkStatusNeed Info=>Ready For Test
      Assigned toNone=>strk
    Wed 13 Dec 2006 02:26:13 PM UTCstrkStatusConfirmed=>Need Info
    Tue 05 Dec 2006 04:41:19 AM UTCstrkStatusInvalid=>Confirmed
    Tue 05 Dec 2006 03:44:02 AM UTCnihilusStatusNone=>Invalid

    Back to the top


    Powered by Savane 3.1-cleanup1