I believe both maxima-5.9.1-r5 and 5.11.0-r2 (and possibly all maxima ebuilds in portage) install the maxima info files to /usr/share/info/foo.info.bz2. However, maxima apparently cannot open bz2 files. maxima uses these info files to provide interactive help. So unless maxima is patched to understand bz2 (sounds hard) then maybe the info files for maxima should be extracted during emerge? As it stands now, when a user installs maxima, any attempt to access help from within the software will give a lengthy error message. However, when I did this: cd /usr/share/info; sudo bunzip2 maxima* then maxima commands like "describe(foo);" work fine again. Reproducible: Always Steps to Reproduce: 1.# emerge maxima 2.$ maxima 3.(%i1) describe(help); Actual Results: Could not find `/usr/share/info/maxima-index.lisp' using paths in file_search_lisp,system (combined values: [/home/joe/.maxima/###.{o,lisp,lsp}, /usr/share/maxima/5.11.0/share/###.{o,lisp,lsp} , /usr/share/maxima/5.11.0/share/{affine,algebra,algebra/charsets,algebra/solv\ er,calculus,combinatorics,contrib,contrib/boolsimp,contrib/descriptive,contrib\ /diffequations,contrib/diffequations/tests,contrib/distrib,contrib/dynamics,co\ ntrib/ezunits,contrib/format,contrib/gentran,contrib/gentran/test,contrib/Grob\ ner,contrib/lurkmathml,contrib/maximaMathML,contrib/mcclim,contrib/numericalio\ ,contrib/pdiff,contrib/prim,contrib/rand,contrib/sarag,contrib/simplex,contrib\ /simplex/Tests,contrib/solve_rec,contrib/state,contrib/stats,contrib/stringpro\ c,contrib/unit,contrib/Zeilberger,diff_form,diffequations,lbfgs,linearalgebra,\ integequations,integration,macro,matrix,misc,numeric,orthopoly,physics,simplif\ ication,sym,tensor,tensor/tests,trigonometry,utils,vector}/###.{o,lisp,lsp}, /usr/share/maxima/5.11.0/src/###.{o,lisp,lsp}, /usr/lib/gcl-2.6.7/unixport/../src/foo.{o,lsp,lisp}] ) -- an error. To debug this try debugmode(true); Expected Results: 0: Definitions for Help 1: Introduction to Help Enter space-separated numbers, `all' or `none': Still waiting:
Hi, Thanks for your bug report. The info files are installed and bzipped by portage. In principle, the default of using bzip2 can be changed to gzip by putting PORTAGE_COMPRESS="gzip" into /etc/make.conf. Unfortunately, this can't presently be done on a per ebuild basis. A temporary solution might be a notice at the beginning of the emerge to notify the user. We could also try to fix maxima itself; unfortunately, this will break once users select yet another compression method via PORTAGE_COMPRESS="foo". I'll have to think about what might be the most promising route at this point. For now, the PORTAGE_COMPRESS="gzip" should fix it for you temporarily. Best, Markus
I think that the proposed "docompress" feature (see bug 260118) will provide a nice solution for this.
This has been fixed long ago, though by a kludge. Closing.
The ebuilds are only aware of bz2 compression. Since they are all EAPI 5 now, the old trick can and should be replaced by `docompress -x /usr/share/info', which works for other PORTAGE_COMPRESS options as well.
*maxima-5.34.1 (14 Sep 2014) 14 Sep 2014; Andrey Grozin <grozin@gentoo.org> +maxima-5.34.1.ebuild: Version bump, no einstall (#521650), docompress (#176411)
*** Bug 487726 has been marked as a duplicate of this bug. ***