bugGnash - The GNU Flash player - Bugs: bug #46148, Build failure building head...

 
 

bug #46148: Build failure building head (boost-1.59)

Submitter:  None
Submitted:  Thu 08 Oct 2015 12:14:27 AM UTC
   
 
Category:  build Severity:  3 - Normal
Release:  None Status:  Fixed
Privacy:  Public Assigned to:  bjacques
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 17 Jul 2016 07:44:02 PM UTC, comment #2: 

I added the same fix in 1bdf822f69, except unconditionally.

Bastiaan Jacques <bjacques>
Group Member
Sat 09 Jan 2016 09:27:05 AM UTC, comment #1: 

Same here.
For reference, adjacent_tokens_only() is new in boost 1.59, and its value is completely irrelevant since accumulator_type doesn't even accept tokens, but it still has to be defined hereafter lest accumulator_type be abstract.
I'm attaching a quick patch, for anyone who wants to compile in the meanwhile.

(file #35952)

Anonymous
Thu 08 Oct 2015 12:14:27 AM UTC, original submission:  

make[2]: Entering directory '/home/baz/rpmbuild/BUILD/gnash-f0f66ce/librender'
  CXX      libgnashrender_la-Renderer_agg.lo
In file included from /usr/include/agg2/agg_pixfmt_gray.h:38:0,
                 from agg/Renderer_agg.cpp:124:
/usr/include/agg2/agg_color_gray.h: In member function 'const self_type& agg::gray16::demultiply()':
/usr/include/agg2/agg_color_gray.h:347:45: warning: enumeral and non-enumeral type in conditional expression [-Wextra]
             v = value_type((v_ > base_mask) ? base_mask : v_);
                                             ^
In file included from /usr/include/agg2/agg_path_storage.h:32:0,
                 from agg/Renderer_agg.cpp:138:
/usr/include/agg2/agg_bezier_arc.h: In member function 'unsigned int agg::bezier_arc::vertex(double*, double*)':
/usr/include/agg2/agg_bezier_arc.h:75:36: warning: enumeral and non-enumeral type in conditional expression [-Wextra]
             return (m_vertex == 2) ? path_cmd_move_to : m_cmd;
                                    ^
make[2]: Leaving directory '/home/baz/rpmbuild/BUILD/gnash-f0f66ce/librender'
make[2]: Entering directory '/home/baz/rpmbuild/BUILD/gnash-f0f66ce/librender'
  CXXLD    libgnashrender.la
make[2]: Leaving directory '/home/baz/rpmbuild/BUILD/gnash-f0f66ce/librender'
Making all in gui
make[2]: Entering directory '/home/baz/rpmbuild/BUILD/gnash-f0f66ce/gui'
Generating MOC file: Qt4Glue.moc.
make[2]: Leaving directory '/home/baz/rpmbuild/BUILD/gnash-f0f66ce/gui'
make[2]: Entering directory '/home/baz/rpmbuild/BUILD/gnash-f0f66ce/gui'
Generating MOC file: Qt4Gui.moc.
make[2]: Leaving directory '/home/baz/rpmbuild/BUILD/gnash-f0f66ce/gui'
make  all-recursive
Making all in .
make[4]: Entering directory '/home/baz/rpmbuild/BUILD/gnash-f0f66ce/gui'
  CXX      fb_gnash-gnash.o
Makefile:2455: recipe for target 'fb_gnash-gnash.o' failed
In file included from gnash.cpp:52:0:
../libbase/accumulator.h: In instantiation of 'accumulator_type<T>* accumulator() [with T = int]':
gnash.cpp:285:36:   required from here
../libbase/accumulator.h:103:36: error: invalid new-expression of abstract class type 'accumulator_type<int>'
     return new accumulator_type<T>();
                                    ^
../libbase/accumulator.h:31:7: note:   because the following virtual functions are pure within 'accumulator_type<int>':
 class accumulator_type : public boost::program_options::value_semantic
       ^
In file included from /usr/include/boost/program_options/options_description.hpp:13:0,
                 from /usr/include/boost/program_options.hpp:15,
                 from gnash.cpp:30:
/usr/include/boost/program_options/value_semantic.hpp:44:22: note:      virtual bool boost::program_options::value_semantic::adjacent_tokens_only() const
         virtual bool adjacent_tokens_only() const = 0;
                      ^
make[4]: * [fb_gnash-gnash.o] Error 1
make[4]: Leaving directory '/home/baz/rpmbuild/BUILD/gnash-f0f66ce/gui'
make[4]: * Waiting for unfinished jobs....
make[4]: Entering directory '/home/baz/rpmbuild/BUILD/gnash-f0f66ce/gui'
  CXX      fb_gnash-NullGui.o
make[4]: Leaving directory '/home/baz/rpmbuild/BUILD/gnash-f0f66ce/gui'
make[4]: Entering directory '/home/baz/rpmbuild/BUILD/gnash-f0f66ce/gui'
  CXX      fb_gnash-gui.o
make[4]: Leaving directory '/home/baz/rpmbuild/BUILD/gnash-f0f66ce/gui'
make[4]: Entering directory '/home/baz/rpmbuild/BUILD/gnash-f0f66ce/gui'
  CXX      fb_gnash-Player.o
make[4]: Leaving directory '/home/baz/rpmbuild/BUILD/gnash-f0f66ce/gui'
Makefile:3604: recipe for target 'all-recursive' failed
make[3]: * [all-recursive] Error 1
Makefile:1759: recipe for target 'all' failed
make[2]: * [all] Error 2
Makefile:1161: recipe for target 'all-recursive' failed
make[1]: * [all-recursive] Error 1
Makefile:1069: recipe for target 'all' failed
make: * [all] Error 2
error: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.eEved8 (%build)

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #35952:  custom2.patch added by None (746B - application/octet-stream - possible patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bjacques (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-07-17 bjacques StatusNone Fixed
        Assigned toNone bjacques
        Open/ClosedOpen Closed
    2016-01-09 None Attached File- Added custom2.patch, #35952

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code