Discussion:
[Gnash-commit] [bug #46148] Build failure building head (boost-1.59)
anonymous
2015-10-08 00:14:28 UTC
Permalink
URL:
<http://savannah.gnu.org/bugs/?46148>

Summary: Build failure building head (boost-1.59)
Project: Gnash - The GNU Flash player
Submitted by: None
Submitted on: Thu 08 Oct 2015 00:14:27 UTC
Category: build
Severity: 3 - Normal
Release: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any

_______________________________________________________

Details:

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)





_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?46148>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
anonymous
2016-01-09 09:27:05 UTC
Permalink
Follow-up Comment #1, bug #46148 (project gnash):

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)
_______________________________________________________

Additional Item Attachment:

File name: custom2.patch Size:0 KB


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?46148>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Bastiaan Jacques
2016-07-17 19:44:02 UTC
Permalink
Update of bug #46148 (project gnash):

Status: None => Fixed
Assigned to: None => bjacques
Open/Closed: Open => Closed

_______________________________________________________

Follow-up Comment #2:

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

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?46148>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/

Loading...