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

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



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

> On Wed, Oct 31, 2012 at 9:19 PM, Sébastien Villemot
> <sebastien@debian.org> wrote:
>> Rafael Laboissiere <rafael@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

Attachment: pgpLTts_LmMuD.pgp
Description: PGP signature


Reply to: