bugGNU Octave - Bugs: bug #41351, pkg install -verbose should pass...


bug #41351: pkg install -verbose should pass --verbose to mkoctfile

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Sun 26 Jan 2014 04:21:44 AM UTC  
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 03 Feb 2014 01:39:32 AM UTC, comment #1: 

This seemed good so I pushed your change here (http://hg.savannah.gnu.org/hgweb/octave/rev/c2d1869a95ee).

Rik <rik5>
Project Administrator
Sun 26 Jan 2014 04:21:44 AM UTC, original submission:  

The pkg commands all accept a -verbose option that prints information about what each command is doing. For pkg install, it shows the unpacking, configure, and make commands, but the compilation commands used for oct-files are still hidden behind mkoctfile.

I propose that pkg install -verbose should add --verbose to the MKOCTFILE environment variable so all compilation commands can be seen as well. This can be very useful for users to debug what's going on or to see the compilation commands in build logs on Debian buildds or other build systems.

I haven't looked at where the pkg improvement project is right now, but perhaps this can be pulled into that effort. I'll hold off pushing this to the main repository because I know there's been work done on pkg in a separate branch. Attaching a diff that worked for me with a test install of a Forge package.

Mike Miller <mtmiller>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #30380:  pkg-install-verbose.diff added by mtmiller (1KiB - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-03 rik5 StatusNone => Fixed
        Open/ClosedOpen => Closed
    2014-01-26 mtmiller Attached File- => Added pkg-install-verbose.diff, #30380

    Back to the top

    Powered by Savane 3.5