Failing `guix install gnash`.

  • Open
  • quality assurance status badge
Details
2 participants
  • Vinicius Monego
  • Yuval Langer
Owner
unassigned
Submitted by
Yuval Langer
Severity
normal
Y
Y
Yuval Langer wrote on 3 Apr 2023 16:41
(address . bug-guix@gnu.org)
CAK0OjG2GyuKTzQEiQri-HaD_PgyVQ2f11xpjcoY6aULFwQ2w9w@mail.gmail.com
Running

guix install gnash

failed with this error at the tail of the log file

/var/log/guix/drvs/rr/fhg9ls3zm6cf6ldmnsxyii0g71bk02-gnash-0.8.11-0.583ccbc.drv.bz2

In file included from
/gnu/store/hm6dlgzkqz33fbiba07jjh8yzdikn7pp-boost-1.77.0/include/boost/format/alt_sstream.hpp:19,
from
/gnu/store/hm6dlgzkqz33fbiba07jjh8yzdikn7pp-boost-1.77.0/include/boost/format/internals.hpp:24,
from
/gnu/store/hm6dlgzkqz33fbiba07jjh8yzdikn7pp-boost-1.77.0/include/boost/format.hpp:38,
from ../../libbase/log.h:31,
from URLTest.cpp:25:
/gnu/store/hm6dlgzkqz33fbiba07jjh8yzdikn7pp-boost-1.77.0/include/boost/core/allocator_access.hpp:326:1:
note: candidate: ‘template<class A> typename
std::enable_if<boost::detail::alloc_has_allocate<A>::value, typename
boost::allocator_pointer<A>::type>::type boost::allocator_allocate(A&,
typename boost::allocator_size_type<A>::type, typename
boost::allocator_const_void_pointer<A>::type)’
326 | allocator_allocate(A& a, typename allocator_size_type<A>::type n,
| ^~~~~~~~~~~~~~~~~~
/gnu/store/hm6dlgzkqz33fbiba07jjh8yzdikn7pp-boost-1.77.0/include/boost/core/allocator_access.hpp:326:1:
note: template argument deduction/substitution failed:
/gnu/store/hm6dlgzkqz33fbiba07jjh8yzdikn7pp-boost-1.77.0/include/boost/core/allocator_access.hpp:335:1:
note: candidate: ‘template<class A> typename std::enable_if<(!
boost::detail::alloc_has_allocate<A>::value), typename
boost::allocator_pointer<A>::type>::type boost::allocator_allocate(A&,
typename boost::allocator_size_type<A>::type, typename
boost::allocator_const_void_pointer<A>::type)’
335 | allocator_allocate(A& a, typename allocator_size_type<A>::type n,
| ^~~~~~~~~~~~~~~~~~
/gnu/store/hm6dlgzkqz33fbiba07jjh8yzdikn7pp-boost-1.77.0/include/boost/core/allocator_access.hpp:335:1:
note: template argument deduction/substitution failed:
make[4]: *** [Makefile:907: URLTest-URLTest.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
'/tmp/guix-build-gnash-0.8.11-0.583ccbc.drv-0/source/testsuite/libbase.all'
make[3]: *** [Makefile:1056: check-am] Error 2
make[3]: Leaving directory
'/tmp/guix-build-gnash-0.8.11-0.583ccbc.drv-0/source/testsuite/libbase.all'
make[2]: *** [Makefile:899: check-recursive] Error 1
make[2]: Leaving directory
'/tmp/guix-build-gnash-0.8.11-0.583ccbc.drv-0/source/testsuite'
make[1]: *** [Makefile:1164: check-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-gnash-0.8.11-0.583ccbc.drv-0/source'
make: *** [Makefile:1464: check] Error 2

Test suite failed, dumping logs.
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("check" "-j"
"12") exit-status: 2 term-signal: #f stop-signal: #f>
phase `check' failed after 67.3 seconds
command "make" "check" "-j" "12" failed with status 2
V
V
Vinicius Monego wrote on 28 Mar 21:55 +0100
(address . 62645@debbugs.gnu.org)
aaddc0a6-5631-44dc-9dd8-6d75536841b2@posteo.net
Hi,

Gnash is incompatible with Boost 1.80.0. The latest commit in Gnash,
from 2019, says:

-This is the README file for the Gnash-0.8.8 release (or snapshot).
+Gnash is currently not being actively maintained, as most of the internet
+has moved to using HTML5. There are literally millions of flash files
+that Gnash can play, as well as YouTube videos. As Adobe is letting their
+flash player die on most platforms, Gnash will be critical in the future
+for anyone wanting to play flash files for historical reasons. Gnash's code
+is very portable, and should be compilable for many years, long after
+Adobe flash is dead.

It may not be feasible to support Gnash long-term. You could use
Lightspark instead, which is still actively maintained and up to date in
Guix, or use time-machine to move to a commit where Gnash was building,
prior to the core-updates merge that introduced Boost 1.80.0.

IMO we should remove Gnash from the repository, unless someone wants to
patch it for the latest Boost.

Vinicius
Attachment: file
?