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

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

[Octave-bug-tracker] [bug #44548] pkg install defaults to global in Micr


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #44548] pkg install defaults to global in Microsoft Windows
Date: Sat, 22 Feb 2020 12:40:15 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0

Update of bug #44548 (project octave):

                  Status:               Confirmed => Ready For Test         

    _______________________________________________________

Follow-up Comment #15:

I pushed a change here that makes "pkg install" default to "-global" if Octave
is running with elevated privileges on Windows and to "-local" otherwise:
http://hg.savannah.gnu.org/hgweb/octave/rev/baf16e6f498b

I think this is the closest we can get to the behavior on Linux.
With that change, I see the following:

>> pkg install -forge geometry
clipper.cpp: In function 'void ClipperLib::InitEdge(ClipperLib::TEdge*,
ClipperLib::TEdge*, ClipperLib::TEdge*, const ClipperLib::IntPoint&)':
clipper.cpp:750:34: warning: 'void* memset(void*, int, size_t)' clearing an
object of non-trivial type 'struct ClipperLib::TEdge'; use assignment or
 value-initialization instead [-Wclass-memaccess]
  750 |   std::memset(e, 0, sizeof(TEdge));
      |                                  ^
clipper.cpp:95:8: note: 'struct ClipperLib::TEdge' declared here
   95 | struct TEdge {
      |        ^~~~~
warning: doc_cache_create: unusable help text found in file 'clipper'
warning: called from
    doc_cache_create>handle_function at line 98 column 5
    doc_cache_create>create_cache at line 118 column 36
    gen_doc_cache_in_dir>@<anonymous> at line 150 column 18
    doc_cache_create>gen_doc_cache_in_dir at line 151 column 9
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 820 column 5
    install at line 235 column 7
    pkg at line 517 column 9

For information about changes from previous versions of the geometry package,
run 'news geometry'.


After this, the "geometry" package is installed in
%USERPROFILE%\octave\geometry-4.0.0.

Previously, the installation failed due to missing write permissions for the
global packages store.

Marking as ready for test.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?44548>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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