octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #36469] pkg load can't deal with circular depe


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #36469] pkg load can't deal with circular dependencies
Date: Mon, 14 May 2012 22:06:21 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.22) Gecko/20110905 Ubuntu/10.04 (lucid) Firefox/3.6.22

URL:
  <http://savannah.gnu.org/bugs/?36469>

                 Summary: pkg load can't deal with circular dependencies
                 Project: GNU Octave
            Submitted by: carandraug
            Submitted on: Mon 14 May 2012 10:06:20 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.1
        Operating System: Any

    _______________________________________________________

Details:

Hi

when there's 2 packages, each of them depending on each other, pkg load will
enter into a recursive loop and give a max_recursion_depth exceeded error. pkg
install does not have that problem (provided both packages are given at the
time of installation).

Basically, if pkg1 and pkg2 depend on one another:

## both fail (missing dependency)
pkg install pkg1.tar.gz
pkg install pkg2.tar.gz
## works fine
pkg install pkg1.tar.gz pkg2.tar.gz
## returns error
pkg load pkg1 pkg2


A temporary workaround for this is to load the packages with the -nodeps
flag.

I'll have to look into this code better when I get time but I was thinking of
looking into whatever pkg install is doing to solve the dependencies, and
adapt it for pkg load.

Carnë




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36469>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]