Bug#791634: maxima: please package sbcl version

2015-09-16 Thread Atsuhito Kohda
Hi Camm, thanks for your investigation.

On Tue, 15 Sep 2015 12:52:02 -0400, Camm Maguire wrote:

> Looking at these, it appears that some command in maximalocal.mac is
> directing a lookup in a home directory of /root when run as user
> www-data.  I can't find this file anywhere.  If you can send me a copy,
> I'll take a look.  Please note that the underlying gcl uses an algorithm

Okay, the file seems to be of Stack and I can find it
so I attatch it.  Thanks again.

Best regards,   2015-9-16(Wed)

-- 
 **
 Atsuhito Kohda
 Dep. Math., Tokushima Univ.
 atsuhito_k AT tokushima-u.ac.jp
/* ***/
/* This file is automatically generated at installation time.*/
/* The purpose is to transfer configuration settings to Maxima.  */
/* Hence, you should not edit this file.  Edit your configuration.   */
/* This file is regularly overwritten, so your changes will be lost. */
/* ***/

/* File generated on July 6, 2015, 4:00 pm */

/* Add the location to Maxima's search path */
file_search_maxima:append( 
[sconcat("/usr/share/moodle/question/type/stack/stack/maxima/###.{mac,mc}")] , 
file_search_maxima)$
file_search_lisp:append( 
[sconcat("/usr/share/moodle/question/type/stack/stack/maxima/###.{lisp}")] , 
file_search_lisp)$
file_search_maxima:append( [sconcat("/var/lib/moodle/stack/logs/###.{mac,mc}")] 
, file_search_maxima)$
file_search_lisp:append( [sconcat("/var/lib/moodle/stack/logs/###.{lisp}")] , 
file_search_lisp)$

STACK_SETUP(ex):=block(
MAXIMA_VERSION_NUM:36,
MAXIMA_PLATFORM:"unix",
maxima_tempdir:"/var/lib/moodle/stack/tmp/",
IMAGE_DIR:"/var/lib/moodle/stack/plots/",
PLOT_TERMINAL:"png",
PLOT_TERM_OPT:"large transparent size 450,300",
DEL_CMD:"rm",
GNUPLOT_CMD:"gnuplot",
MAXIMA_VERSION:"5.36.0",
URL_BASE:"!ploturl!",
true)$
/* Load the main libraries */
load("stackmaxima.mac")$


Bug#791634: maxima: please package sbcl version

2015-09-16 Thread Camm Maguire
Greetings, and thanks so much!

If you could also send foo.tgz and bar.tgz made as follows:

tar zcvf foo.tgz /usr/share/moodle/question/type/stack/
tar zcvf bar.tgz /var/lib/moodle/stack

I'm assuming stackmaxima.mac is in one of those.

Take care,

Atsuhito Kohda  writes:

> Hi Camm, thanks for your investigation.
>
> On Tue, 15 Sep 2015 12:52:02 -0400, Camm Maguire wrote:
>
>> Looking at these, it appears that some command in maximalocal.mac is
>> directing a lookup in a home directory of /root when run as user
>> www-data.  I can't find this file anywhere.  If you can send me a copy,
>> I'll take a look.  Please note that the underlying gcl uses an algorithm
>
> Okay, the file seems to be of Stack and I can find it
> so I attatch it.  Thanks again.
>
> Best regards, 2015-9-16(Wed)

-- 
Camm Maguirec...@maguirefamily.org
==
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah



Bug#791634: maxima: please package sbcl version

2015-09-16 Thread Atsuhito Kohda
Hi Camm,

On Wed, 16 Sep 2015 12:16:24 -0400, Camm Maguire wrote:

> If you could also send foo.tgz and bar.tgz made as follows:
> 
> tar zcvf foo.tgz /usr/share/moodle/question/type/stack/
> tar zcvf bar.tgz /var/lib/moodle/stack

I send them to you privately because I'm afraid they might
be too big for BTS.

> I'm assuming stackmaxima.mac is in one of those.

Right.  Thanks for your work.

Best regards,   2015-9-17(Thu)

-- 
 **
 Atsuhito Kohda
 Dep. Math., Tokushima Univ.
 atsuhito_k AT tokushima-u.ac.jp



Bug#791634: maxima: please package sbcl version

2015-09-15 Thread Camm Maguire
retitle 791634 support unusual homedir setups
thanks

Greetings!

Atsuhito Kohda  writes:

> You can see the same problem on the net as
> https://moodle.org/mod/forum/discuss.php?d=279248
> and the one where I found the fix "--enable-sbcl"
> https://moodle.org/mod/forum/discuss.php?d=313727
>

Looking at these, it appears that some command in maximalocal.mac is
directing a lookup in a home directory of /root when run as user
www-data.  I can't find this file anywhere.  If you can send me a copy,
I'll take a look.  Please note that the underlying gcl uses an algorithm
making use of the HOME environment variable as well as passwd database
lookups for the standard lisp function #'user-homedir-pathanme.

Take care,
-- 
Camm Maguirec...@maguirefamily.org
==
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah



Bug#791634: maxima: please package sbcl version

2015-07-09 Thread Camm Maguire
Greetings!  I cannot find a Stack package for Debian.  Can you give me
step by step instructions to reproduce the communication failure?

Atsuhito Kohda atsuhit...@tokushima-u.ac.jp writes:

 Package: maxima
 Version: 5.36.1-1
 Severity: normal

 Dear Maintainer,

* What led up to the situation?

 I wanted to use Stack, a computer aided assessment package
 of Moodle, which should communicate with maxima.
 But the current maxima of Debian failed to communicate
 with Stack.

 So I searched a fix and found that one must build maxima
 with --enable-sbcl, and in fact it worked fine!

 I'm not sure if --enable-sbcl will cause any problem but
 please consider to package maxima with --enable-sbcl or,
 at least, to convert maxima into multi-packages, one with
 --enable-gcl and the other with --enable-sbcl.

 Thanks for your maintenance.
 Best regards, 2015/07/07

 Atsuhito Kohda

 -- System Information:
 Debian Release: stretch/sid
   APT prefers testing
   APT policy: (500, 'testing')
 Architecture: amd64 (x86_64)

 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
 Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/dash
 Init: systemd (via /run/systemd/system)

 Versions of packages maxima depends on:
 ii  libc6 2.19-18
 ii  libgmp10  2:6.0.0+dfsg-6
 ii  libreadline6  6.3-8+b3
 ii  libx11-6  2:1.6.3-1

 Versions of packages maxima recommends:
 ii  gnuplot-x11   4.6.6-2
 ii  maxima-share  5.36.1-1

 Versions of packages maxima suggests:
 ii  maxima-doc5.36.1-1
 pn  maxima-emacs  none
 ii  texmacs   1:1.0.7.21-0.1
 ii  tk [wish] 8.6.0+8
 ii  xmaxima   5.36.1-1

 -- no debconf information





-- 
Camm Maguirec...@maguirefamily.org
==
The earth is but one country, and mankind its citizens.  --  Baha'u'llah


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#791634: maxima: please package sbcl version

2015-07-09 Thread Atsuhito Kohda
Hi Camm,

On Thu, 9 Jul 2015 13:34:48 -0400, Camm Maguire wrote:

 Greetings!  I cannot find a Stack package for Debian.  Can you give me
 step by step instructions to reproduce the communication failure?

Okay, as I don't speak English so well, istead of explaining
instruction by myself, I'd like to give you some poiters.

In the first place, stack is a moodle plugin so I guess it is
difficult to package for Debian but one should install it from
moodle manually.

Install instruction:
https://github.com/maths/moodle-qtype_stack/blob/master/doc/en/Installation/index.md

Note moodle is packaged, at least in unstable and I can install it
even in stable at present.

At the stage 7. Confirming the installation is successful.
one runs Health-check script and get an error:

failed to load /usr/share/maxima/5.36.1/share/draw/draw.lisp

This is the problem I reported.

You can see the same problem on the net as
https://moodle.org/mod/forum/discuss.php?d=279248
and the one where I found the fix --enable-sbcl
https://moodle.org/mod/forum/discuss.php?d=313727

I'm not sure if you have time to do the installation
to reproduce the problem but I hope the above info
might help you to some extent.

Thanks for your quick reply and maintenace.
Best regards,   2015-7-10(Fri)

-- 
 **
 Atsuhito Kohda
 Dep. Math., Tokushima Univ.
 atsuhito_k AT tokushima-u.ac.jp


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#791634: maxima: please package sbcl version

2015-07-06 Thread Atsuhito Kohda
Package: maxima
Version: 5.36.1-1
Severity: normal

Dear Maintainer,

   * What led up to the situation?

I wanted to use Stack, a computer aided assessment package
of Moodle, which should communicate with maxima.
But the current maxima of Debian failed to communicate
with Stack.

So I searched a fix and found that one must build maxima
with --enable-sbcl, and in fact it worked fine!

I'm not sure if --enable-sbcl will cause any problem but
please consider to package maxima with --enable-sbcl or,
at least, to convert maxima into multi-packages, one with
--enable-gcl and the other with --enable-sbcl.

Thanks for your maintenance.
Best regards,   2015/07/07

Atsuhito Kohda

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages maxima depends on:
ii  libc6 2.19-18
ii  libgmp10  2:6.0.0+dfsg-6
ii  libreadline6  6.3-8+b3
ii  libx11-6  2:1.6.3-1

Versions of packages maxima recommends:
ii  gnuplot-x11   4.6.6-2
ii  maxima-share  5.36.1-1

Versions of packages maxima suggests:
ii  maxima-doc5.36.1-1
pn  maxima-emacs  none
ii  texmacs   1:1.0.7.21-0.1
ii  tk [wish] 8.6.0+8
ii  xmaxima   5.36.1-1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org