bug#62645: Failing `guix install gnash`.

2023-04-23 Thread Yuval Langer
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 typename
std::enable_if::value, typename
boost::allocator_pointer::type>::type boost::allocator_allocate(A&,
typename boost::allocator_size_type::type, typename
boost::allocator_const_void_pointer::type)’
  326 | allocator_allocate(A& a, typename allocator_size_type::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 typename std::enable_if<(!
boost::detail::alloc_has_allocate::value), typename
boost::allocator_pointer::type>::type boost::allocator_allocate(A&,
typename boost::allocator_size_type::type, typename
boost::allocator_const_void_pointer::type)’
  335 | allocator_allocate(A& a, typename allocator_size_type::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





bug#62645: Failing `guix install gnash`.

2024-03-28 Thread Vinicius Monego

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