Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update M2 to the 1.1 release #10

Closed
williamstein opened this issue Sep 12, 2006 · 18 comments
Closed

update M2 to the 1.1 release #10

williamstein opened this issue Sep 12, 2006 · 18 comments

Comments

@williamstein
Copy link
Contributor

due to an upcoming release of M2 update to current svn as recommened by the M2 developers.

This used to be:

This is on a minimal Ubuntu install without the system-wide readline-dev package.
SAGE's M2 build script should use SAGE's readline, but it isn't.

configure: error: missing library: readline
{'_': './spkg-install', 'CPPFLAGS': '-I/home/was/s/local/include  ', 'SAGE_LOCAL': '/home/was/s/local', '__sage__': '', 'PYTHONHOME': '/home/was/s/local', 'SSH_CLIENT': '192.168.3.1 51123 22', 'LOGNAME': 'was', 'USER': 'was', 'HOME': '/home/was', 'PATH': '/home/was/s/spkg/build/macaulay2-2006-08-26:/home/was/s:/home/was/s/local/bin:/home/was/s:/home/was/s/local/bin:/home/was/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games', 'LD_LIBRARY_PATH': '/home/was/s/local/lib:/home/was/s/local/lib:', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-color', 'SHELL': '/bin/bash', 'LIBRARY_PATH': '/home/was/s/local/lib:/home/was/s/local/lib:', 'LANGUAGE': 'en', 'LN': 'ln', 'SAGE_STARTUP_FILE': '/home/was/.sage//init.sage', 'UNAME': 'Linux', 'EDITOR': 'vi', 'LDFLAGS': '-L/home/was/s/local/lib/ ', 'GP_DATA_DIR': '/home/was/s/local/share/pari', 'TOUCH': 'touch', 'RM': 'rm', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'SAGE_STARTUP_COMMAND': '\nfrom sage.all import *;import os; os.chdir("/home/was/s");import sage.misc.interpreter;from sage.misc.interpreter import attached_files;_=sage.misc.interpreter.load_startup_file("/home/was/.sage//init.sage");\n', 'CUR': '/home/was/s/spkg/build', 'CC': 'gcc', 'PYTHONPATH': ':/home/was/s/local/lib/python2.4', 'MKDIR': 'mkdir', 'LD': 'ld', 'SAGE_DATA': '/home/was/s/data', 'DYLD_LIBRARY_PATH': '/home/was/s/local/lib:/home/was/s/local/lib::/home/was/s/local/lib::', 'SAGE64': 'no', 'AS': 'as', 'AR': 'ar', 'RANLIB': 'ranlib', 'CP': 'cp', 'SAGE_ROOT': '/home/was/s', 'SSH_CONNECTION': '192.168.3.1 51123 192.168.3.3 22', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'CXX': 'g++', 'SSH_TTY': '/dev/pts/0', 'OLDPWD': '/home/was/s/spkg/build', 'SAGE_SERVER': 'http://modular.math.washington.edu/sage/packages', 'CHMOD': 'chmod', 'HISTCONTROL': 'ignoredups', 'SHLVL': '4', 'PWD': '/home/was/s/spkg/build/macaulay2-2006-08-26', 'MV': 'mv', 'SHAREDFLAGS': '-fPIC', 'DOT_SAGE': '/home/was/.sage/', 'MAIL': '/var/mail/was', 'LS_COLORS': 'no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:', 'MAKE': 'make', 'SAGE_PACKAGES': '/home/was/s/spkg'}
Error configuring M2

real    16m57.258s
user    0m31.322s
sys     2m51.991s
sage: An error occured while installing macaulay2-2006-08-26
Please email William Stein <wstein@gmail.com> explaining the
problem and send him /home/was/s/install.log
If you want to try to fix the problem, *don't* just cd to
/home/was/s/spkg/build/macaulay2-2006-08-26 and type 'make'.
Instead (using bash) type "source local/bin/sage-env" from the directory
/home/was/s
in order to set all environment variables correctly, then cd to
/home/was/s/spkg/build/macaulay2-2006-08-26

Component: packages: experimental

Issue created by migration from https://trac.sagemath.org/ticket/10

@williamstein
Copy link
Contributor Author

comment:2

NOTE: If you just install readline-dev (for ubuntu say), then the M2 build works.

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Sep 5, 2007

comment:5

There is a new Macaulay 2 release coming in a week or two. It is likely that an experimental package will appear before that.

Cheers,

Michael

@sagetrac-mabshoff sagetrac-mabshoff mannequin assigned sagetrac-mabshoff and unassigned williamstein Sep 5, 2007
@sagetrac-mabshoff

This comment has been minimized.

@sagetrac-mabshoff sagetrac-mabshoff mannequin changed the title Error building M2 under Linux without readline update M2 to current svn release Sep 7, 2007
@sagetrac-mabshoff sagetrac-mabshoff mannequin modified the milestones: sage-2.9, sage-2.8.4.2 Sep 9, 2007
@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Sep 13, 2007

comment:10

There are too many problems at the moment, i.e. mostly that the configure script only picks up NTL from $SAGE_LOCAL, but not factory, libcf, BLAS & Lapack, so postpone this until 2.9.

Cheers,

Michael

@sagetrac-mabshoff sagetrac-mabshoff mannequin modified the milestones: sage-2.8.4.2, sage-2.9 Sep 13, 2007
@sagetrac-mabshoff sagetrac-mabshoff mannequin changed the title update M2 to current svn release update M2 to the 1.0.9 or 1.1.0 release Jan 30, 2008
@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Jan 30, 2008

comment:13
Dear Macaulay 2 users,

We've released, as a test release, version 1.0.9test of M2.  Feel free to
download it from http://www.math.uiuc.edu/Macaulay2/Downloads/TestReleases/ and
try it out.  

We hope to release 1.1 within a week, based on this test.

The corresponding subversion (svn) URL is
svn://macaulay2.math.uiuc.edu/Macaulay2/release-branches/1.1, and after release
of 1.1 there will be "stable" URL corresponding to it.

This version fixes a recently detected bug (there since 0.9.95) in computations
with rings where the variables don't all have multi-degree vectors whose first
component is strictly positive.  Answers for total Ext (it computes Ext^n(M,N)
for all n at the same time) came out wrong, because it (necessarily) makes use
of such degree vectors.

This version also introduces good support for arbitrary precision real and
complex numbers.

Dan and Mike

@mwhansen
Copy link
Contributor

comment:14

Bump. What is the status of the 1.1 spkg? Is there anything I can do to help?

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Feb 27, 2008

comment:15

Replying to @mwhansen:

Bump. What is the status of the 1.1 spkg? Is there anything I can do to help?

Hi mhansen: Lack of time. I have some notes that do 99.5% of the work for 1.1. We need to package various bits like boehm's gc either within the optional spkg or add some additional optional spkgs that get automatically installed. I am not sure what I will do during SD8, but maybe I will get to this.

Cheers,

Michael

@garyfurnish
Copy link
Mannequin

garyfurnish mannequin commented Jul 1, 2008

comment:16

SPKG for 1.1 on OSX and Linux available at http://sage.math.washington.edu/home/gfurnish/spkg/macaulay2-1.1.spkg

Credit to Gary Furnish and Daniel Grayson.

@garyfurnish garyfurnish mannequin changed the title update M2 to the 1.0.9 or 1.1.0 release [with spkg needs review] update M2 to the 1.1 release Jul 1, 2008
@williamstein
Copy link
Contributor Author

comment:18

After installing the spkgs at #3531 and #3532 successfully, I get this:

...
configure: creating ./config.status
config.status: error: cannot find input file: GNUmakefile.in

real	0m20.569s
user	0m10.182s
sys	0m6.901s
sage: An error occurred while installing macaulay2-1.1

@williamstein
Copy link
Contributor Author

comment:19

Never mind -- my download was corrupted (by me).

@mwhansen
Copy link
Contributor

mwhansen commented Jul 1, 2008

comment:20

The new spkg builds without errors on my Ubuntu 8.04 Core 2 Duo machine.

@garyfurnish
Copy link
Mannequin

garyfurnish mannequin commented Jul 1, 2008

comment:21

This builds successfully on bsd.sage

@garyfurnish
Copy link
Mannequin

garyfurnish mannequin commented Jul 1, 2008

comment:22

We are still making some changes to clean this up even more on other OS's.

@garyfurnish garyfurnish mannequin changed the title update M2 to the 1.1 release [not ready for review] update M2 to the 1.1 release Jul 1, 2008
@mwhansen
Copy link
Contributor

mwhansen commented Jul 6, 2008

comment:23

The latest spkg built and installed fine for me on Linux.

@mwhansen mwhansen changed the title [not ready for review] update M2 to the 1.1 release update M2 to the 1.1 release Jul 6, 2008
@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Jul 21, 2008

comment:24

The spkg Gary provided has been uploaded to the experimental spkg repo replacing the previous spkg.

Cheers,

Michael

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Jul 21, 2008

comment:25

Finally merged in Sage 3.0.6.rc0 :)

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Jul 21, 2008

comment:26

Finally merged in Sage 3.0.6.rc0 :)

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Jul 21, 2008
This was referenced Jul 16, 2008
vbraun pushed a commit that referenced this issue Mar 26, 2023
    
### 📚 Description

Trac branch `u/gh-collares/gap-gc` from #34701, now migrated to GitHub.
Currently based atop #35093; will rebase once that is merged.

The rest of the description below is copied from #34701:

A refactor in #27946 introduced "unprotected" (not surrounded by
`GAP_Enter`/`GAP_Leave`) `GAP_ValueGlobalVariable` calls. I believe this
might be a GC hazard, because after updating to GAP 4.12.1 I started
seeing aarch64 crashes on NixOS infrastructure such as:

```
#0  0x0000fffff79740e8 in wait4 ()
#1  0x0000fffff5dc6b78 in print_enhanced_backtrace ()
#2  0x0000fffff5dc8190 in sigdie ()
#3  0x0000fffff5dcb1c0 in cysigs_signal_handler ()
#4  0x0000fffff7ffb7cc in __kernel_rt_sigreturn ()
#5  0x0000ffff99a0bf28 in ConvString ()
#6  0x0000000000000000 in ?? ()
#7  0x0000000000000000 in ?? ()
#8  0x0000000000000000 in ?? ()
#9  0x0000ffff99989930 in Pr ()
#10 0x0000ffff9998aa18 in CloseOutput ()
#11 0x0000ffff99884828 in capture_stdout () at /build/sage-
src-9.7/pkgs/sagemath-standard/sage/libs/gap/element.pyx:154
...
```
I also see cases where `capture_stdout` throws errors such as
`sage.libs.gap.util.GAPError: Error, Length: <list> must be a list (not
the integer 255)` and then crashes. Both types of errors are fixed by
this ticket.

Note that I am nesting `GAP_Enter`/`GAP_Leave` calls because I didn't
remove the preexisting calls inside `capture_stdout`. That's because I
feared removing the innermost calls might create a new footgun (and I
believe nested `GAP_Enter`/`GAP_Leave` calls are explicitly supported),
but removing them should cause no problem. Removing them might even be
preferable for performance reasons, I don't know.

Fixes #34701

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->

- [x] I have made sure that the title is self-explanatory and the
description concisely explains the PR.
- [x] I have linked an issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation accordingly.

### ⌛ Dependencies
<!-- List all open pull requests that this PR logically depends on -->
<!--
- #xyz: short description why this is a dependency
- #abc: ...
-->
- #35093: GAP 4.12.2 upgrade, which touches the same function and should
land first.
    
URL: #35114
Reported by: Mauricio Collares
Reviewer(s): Dima Pasechnik
mkoeppe pushed a commit to jsantillan3/sage that referenced this issue Aug 12, 2023
Co-authored-by: J S <javier@javiers-mbp.mynetworksettings.com>
vbraun pushed a commit that referenced this issue Oct 8, 2023
Removed use of "copy" and condensed multiple lines to one
vbraun pushed a commit to vbraun/sage that referenced this issue Oct 28, 2023
* fix_on_label_removal initial

* fix_on_label_removal state -> status

* fix bug in actor valid

* once again

* rewrite authors in actor_valid

* syntax

* replace warning by hint
xuluze pushed a commit to xuluze/sage that referenced this issue Dec 12, 2023
Co-authored-by: J S <javier@javiers-mbp.mynetworksettings.com>
tobiasdiez pushed a commit to tobiasdiez/sage that referenced this issue Feb 22, 2024
* Add OSX to azure

* Remove publishTestResult
xuluze pushed a commit to xuluze/sage that referenced this issue Feb 23, 2024
Co-authored-by: J S <javier@javiers-mbp.mynetworksettings.com>
xuluze pushed a commit to xuluze/sage that referenced this issue Jun 10, 2024
Co-authored-by: J S <javier@javiers-mbp.mynetworksettings.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants