[Pkg-octave-devel] [RFU] octave-geometry 1.6.0-1

Sébastien Villemot sebastien at debian.org
Wed Oct 31 22:24:20 UTC 2012


Juan Pablo Carbajal <carbajal at ifi.uzh.ch> writes:

> On Wed, Oct 31, 2012 at 9:19 PM, Sébastien Villemot
> <sebastien at debian.org> wrote:
>> Rafael Laboissiere <rafael at laboissiere.net> writes:
>>
>>> Please upload octave-geometry 1.6.0-1 to experimental.
>>
>> There seems to be a problem. After compiling and installing, I get this
>> warning when running octave from within the source directory:
>>
>> warning: Adding path for testing.
>> octave:1>
>>
>> This is because PKG_ADD tests if there is an inst/ subdir in the current
>> dir, and in that case it does not correctly set the path. I consider
>> this to be a bug. I don't see an obvious workaround. What do you think?
>
> Is that a problem?
>
> Running from source directory is used for testing without installing.
> If the user wants to use the package they should install it. The
> warning shouldn't appear in that case.

The problem is that the "testing" behavior will manifest as soon as
there is an "inst" subdir in the directory from which octave is
launched. This is potentially a more generic situation than testing the
package. Also, this can lead to hard-to-debug problems for users,
because the warning message is not very explicit and the user may not
understand that the problem comes from an "inst" subdir.

I upload it for now, but I think that ideally you should find a more
fine-grained way of checking if the package is in testing mode or
installed.

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://www.dynare.org/sebastien
  `-      GPG Key: 4096R/381A7594
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20121031/17113348/attachment.pgp>


More information about the Pkg-octave-devel mailing list