[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51764] [octave forge] (interval) building fro
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #51764] [octave forge] (interval) building from hg requires the interval package installed |
Date: |
Tue, 15 Aug 2017 22:54:14 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
URL:
<http://savannah.gnu.org/bugs/?51764>
Summary: [octave forge] (interval) building from hg requires
the interval package installed
Project: GNU Octave
Submitted by: mtmiller
Submitted on: Tue 15 Aug 2017 07:54:13 PM PDT
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: other
Operating System: GNU/Linux
_______________________________________________________
Details:
Building the interval package using the maintainer's makefile from the hg
repository suffers from a bootstrapping problem.
Building the package runs a bunch of test scripts under
build/octave/dictionary/interval-dictionary, all of which call "pkg load
interval" at the start. This requires the interval package to be installed in
the active version of Octave, which may not be the case if someone is
attempting to build the package from scratch.
Not only does it require the interval package to be installed, which shouldn't
be a requirement, but the installed package also overrides the functions in
the interval repo. So if any important changes are made to the package, the
test data will not be generated with the latest functions.
Commenting out the "pkg load interval" lines in each of the generated test
scripts works around these problems, since the top-level maintainer makefile
already sets Octave's path appropriately to use the interval functions in the
repository.
Is there a way to bypass the "pkg load interval" when running these scripts?
Or to somehow override the generator to avoid inserting that line into the
scripts when they are built?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51764>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #51764] [octave forge] (interval) building from hg requires the interval package installed,
Mike Miller <=