Opened 11 years ago

Closed 11 years ago

#6626 closed defect (invalid)

can't upgrade to cliquer-1.2.p0 since package name is missing from file deps

Reported by: mvngu Owned by: mabshoff
Priority: critical Milestone: sage-duplicate/invalid/wontfix
Component: packages: standard Keywords: cliquer
Cc: ncohen, rlm Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

As the subject says. This is a follow up to #6355.

Change History (4)

comment:1 follow-up: Changed 11 years ago by mvngu

The SPKG installs OK if doing so from source. But there is a problem when it comes to upgrading from 4.1.1.alpha0 to 4.1.1.alpha1. Here's a relevant snippet:

Machine:
Linux darkstar 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686 GNU/Linux
sage: dsage-1.0.1.p0 is already installed
cd /home/mvngu/usr/bin/sage && . local/bin/sage-env && cd local/bin/ && ./sage-make_relative
Making script relocatable

real	58m23.858s
user	52m19.696s
sys	4m53.842s
Traceback (most recent call last):
  File "/home/mvngu/usr/bin/sage/devel/sage/doc/common/builder.py", line 673, in <module>
    getattr(get_builder(name), type)()
  File "/home/mvngu/usr/bin/sage/devel/sage/doc/common/builder.py", line 259, in _wrapper
    getattr(get_builder(document), name)(*args, **kwds)
  File "/home/mvngu/usr/bin/sage/devel/sage/doc/common/builder.py", line 616, in get_builder
    elif name in get_documents() or name in AllBuilder().get_all_documents():
NameError: global name 'get_documents' is not defined
Double checking that all packages have been installed.
Downloading packages from http://sage.math.washington.edu/home/mvngu/release/sage-4.1.1.alpha1//spkg
http://sage.math.washington.edu/home/mvngu/release/sage-4.1.1.alpha1//spkg/standard
Reading package lists...
Done
The following packages will be upgraded:
  cliquer-1.2.p0
* WARNING: This is a source-based upgrade, which could take hours, fail and render your Sage install useless!!
Do you want to continue [y/N]? y
http://sage.math.washington.edu/home/mvngu/release/sage-4.1.1.alpha1//spkg/standard/cliquer-1.2.p0.spkg --> cliquer-1.2.p0.spkg
[..........]
Deleting old spkg cliquer-1.2.p0.spkg
http://sage.math.washington.edu/home/mvngu/release/sage-4.1.1.alpha1//spkg/install --> install
[.]
http://sage.math.washington.edu/home/mvngu/release/sage-4.1.1.alpha1//spkg/standard/deps --> deps
[..]
http://sage.math.washington.edu/home/mvngu/release/sage-4.1.1.alpha1//spkg/standard/newest_version --> newest_version
[.]
sage-spkg sage-4.1.1.alpha1 
You must set the SAGE_ROOT environment variable or
run this script from the SAGE_ROOT or 
SAGE_ROOT/local/bin/ directory.
sage-4.1.1.alpha1
Machine:
Linux darkstar 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686 GNU/Linux
sage: sage-4.1.1.alpha1 is already installed
cd /home/mvngu/usr/bin/sage && . local/bin/sage-env && cd local/bin/ && ./sage-make_relative
Making script relocatable
sage-spkg gap-4.4.10.p12 2>&1
You must set the SAGE_ROOT environment variable or
run this script from the SAGE_ROOT or 
SAGE_ROOT/local/bin/ directory.
gap-4.4.10.p12
Machine:
Linux darkstar 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686 GNU/Linux
sage: gap-4.4.10.p12 is already installed
sage-spkg dsage-1.0.1.p0 2>&1
You must set the SAGE_ROOT environment variable or
run this script from the SAGE_ROOT or 
SAGE_ROOT/local/bin/ directory.
dsage-1.0.1.p0
Machine:
Linux darkstar 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686 GNU/Linux
sage: dsage-1.0.1.p0 is already installed
cd /home/mvngu/usr/bin/sage && . local/bin/sage-env && cd local/bin/ && ./sage-make_relative
Making script relocatable

real	0m0.414s
user	0m0.156s
sys	0m0.184s
Traceback (most recent call last):
  File "/home/mvngu/usr/bin/sage/devel/sage/doc/common/builder.py", line 673, in <module>
    getattr(get_builder(name), type)()
  File "/home/mvngu/usr/bin/sage/devel/sage/doc/common/builder.py", line 259, in _wrapper
    getattr(get_builder(document), name)(*args, **kwds)
  File "/home/mvngu/usr/bin/sage/devel/sage/doc/common/builder.py", line 616, in get_builder
    elif name in get_documents() or name in AllBuilder().get_all_documents():
NameError: global name 'get_documents' is not defined

Apparently, the package name should have been added to the file

SAGE_ROOT/spkg/standard/deps

comment:2 in reply to: ↑ 1 ; follow-up: Changed 11 years ago by rlm

Replying to mvngu:

Apparently, the package name should have been added to the file

SAGE_ROOT/spkg/standard/deps

This has always been the release manager's job. For example, when I added ratpoints to sage-4.1, I just put the relevant lines into deps myself, since I was managing the release.

comment:3 in reply to: ↑ 2 Changed 11 years ago by mvngu

Replying to rlm:

Replying to mvngu:

Apparently, the package name should have been added to the file

SAGE_ROOT/spkg/standard/deps

This has always been the release manager's job. For example, when I added ratpoints to sage-4.1, I just put the relevant lines into deps myself, since I was managing the release.

Ah... I didn't know about this. The release management wiki page should have some information about updating the deps file, if it's not there already. Looks like this ticket is now invalid, right?

comment:4 Changed 11 years ago by rlm

  • Milestone changed from sage-4.1.1 to sage-duplicate/invalid/wontfix
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.