sage compilation: Error running the postinst script for pplpy-0.8.4

55 views
Skip to first unread message

Carlos Rodriguez

unread,
Apr 10, 2020, 6:28:04 PM4/10/20
to sage-support
Running:

crod569@crod569-VirtualBox:~$ uname -a
Linux crod569-VirtualBox 5.3.0-46-generic #38~18.04.1-Ubuntu SMP Tue Mar 31 04:17:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux


pplpy-0.8.4.log

Vincent Delecroix

unread,
Apr 11, 2020, 5:56:01 AM4/11/20
to sage-s...@googlegroups.com
Thanks for your report.

The postinstall script for pplpy just compiles and installs
the documentation. For now, you can use the workaround

$ export SAGE_SPKG_INSTALL_DOCS="no"
$ make

I don't quite understand what is happening. From your log

usage: sphinx-build [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...]
sphinx-build: error: cannot find files ['https://omega0.xyz/omega8008']

Do you have any idea where this url

https://omega0.xyz/omega8008

might come from!?

Best
Vincent

Carlos Rodriguez

unread,
Apr 11, 2020, 6:58:11 AM4/11/20
to sage-s...@googlegroups.com
Hi Vincent,
thanks a lot for your quick response.
omega0.xyz is my site at aws.
I also use git with it so you think that maybe interfering?

I am eager to get this working. I am trying to add my Sim
plificator to the symbolic package. 

--Carlos.

--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/99b2ac34-a7c7-47dc-e276-b506deff4b71%40gmail.com.

Vincent Delecroix

unread,
Apr 11, 2020, 7:06:50 AM4/11/20
to sage-s...@googlegroups.com
Hi Carlos,

There is indeed some interference between sphinx (the
software used to compile the documentation) and your
website. Though, I don't think that git is involved in
any way here.

One possibility is that the some of following environment
variables are set SPHINXBUILD, BUILDDIR, SPHINXOPTS. They
modify the behavior of sphinx. Could you check whether
they are set to something referring to your website url?

Vincent

Carlos Rodriguez

unread,
Apr 11, 2020, 7:15:25 AM4/11/20
to sage-s...@googlegroups.com
No.
I did a "printenv | grep omega0"
and "printenv | grep SPHINX" and nothing showed up.

Vincent Delecroix

unread,
Apr 11, 2020, 7:29:26 AM4/11/20
to sage-s...@googlegroups.com
Could you also check if $MAKE is in the environment?


The log you sent is not verbose enough. It would help if you
would manually run the sphinx command with more verbosity. That
is

1. Switch to the sage environment

$ $SAGE_ROOT/sage -sh

2. Go to the temporary build directory

$ cd /home/crod569/sage/local/var/tmp/sage/build/pplpy-0.8.4/src/docs

3. Then run sphinx with verbose option and save it

$ make clean
$ SPHINXOPTS="-v -v" make html | tee /tmp/sphinx-build.log

then send the file /tmp/sphinx-build.log

4. exit sage environment

$ exit

Vincent

Vincent Delecroix

unread,
Apr 11, 2020, 7:30:49 AM4/11/20
to sage-s...@googlegroups.com
Le 11/04/2020 à 13:28, Vincent Delecroix a écrit :
> Could you also check if $MAKE is in the environment?

and $O as well (this is a shortcut used by sphinx default Makefile)

Carlos Rodriguez

unread,
Apr 11, 2020, 10:02:21 AM4/11/20
to sage-s...@googlegroups.com
after HOURS running....
the compilation failed again!
something about in dochtml.log
(attached)

I'll try what you suggested also...

am I going to be able to compile this beast?


dochtml.log

Vincent Delecroix

unread,
Apr 11, 2020, 10:04:39 AM4/11/20
to sage-s...@googlegroups.com
Because you skipped building pplpy documentation Sage can not
build its documentation... that a bug in the build system!

At the current stage, your sage should just work (except the
documentation which will not be available).

Carlos Rodriguez

unread,
Apr 11, 2020, 10:12:29 AM4/11/20
to sage-s...@googlegroups.com
aha!
I think you are very close now....

########################
(sage-sh) crod569@crod569-VirtualBox:old$ cd pplpy-0.8.4/
(sage-sh) crod569@crod569-VirtualBox:pplpy-0.8.4$ cd src/docs/
(sage-sh) crod569@crod569-VirtualBox:docs$ make clean
(sage-sh) crod569@crod569-VirtualBox:docs$ SPHINXOPTS="-v -v" make html | tee /tmp/sphinx-build.log

usage: sphinx-build [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...]
sphinx-build: error: unrecognized arguments: https://omega0.xyz/omega8008
make: *** [html] Error 2
Makefile:20: recipe for target 'html' failed
(sage-sh) crod569@crod569-VirtualBox:docs$ ^C

########################################################

it's again picking my website!

Carlos Rodriguez

unread,
Apr 11, 2020, 10:15:14 AM4/11/20
to sage-s...@googlegroups.com
that's it: I have $O set to my omega0 !!!!


--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.

Carlos Rodriguez

unread,
Apr 11, 2020, 11:23:42 AM4/11/20
to sage-s...@googlegroups.com
Vincent,
still there is a problem.
Now it has nothing to do with $O.
I include the log
dochtml.log

Vincent Delecroix

unread,
Apr 11, 2020, 11:27:07 AM4/11/20
to sage-s...@googlegroups.com
You still need to install the pplpy documentation. At this stage
the simplest is, after removing $O, do

$ sage -f pplpy
$ make

Carlos Rodriguez

unread,
Apr 11, 2020, 12:12:39 PM4/11/20
to sage-s...@googlegroups.com
ok. Now it seems it worked!
Thank you... btw: are you (or related to) the philosopher ?
(what's the chance?.... why sage?) ;)

Cheers!

Vincent Delecroix

unread,
Apr 11, 2020, 12:20:00 PM4/11/20
to sage-s...@googlegroups.com
I am not, there are two Vincent Delecroix working in universities
in France. I am the other one

https://www.labri.fr/perso/vdelecro/

Beyond working from the same institution we do not have any
relation.

Carlos Rodriguez

unread,
Apr 11, 2020, 12:49:42 PM4/11/20
to sage-s...@googlegroups.com
tres kool.... you were at CMM in CHile!.... I graduated as Math Engeneering from there Looooooong time ago....
If you come to NY. Contact me....
By the way you may like my Sim. 
So very useful. 
That's what I am trying to add to the symbolic package.



Reply all
Reply to author
Forward
0 new messages