[MacPorts] #48137: octave-stk @2.2.0_0: update to 2.3.1
#48137: octave-stk @2.2.0_0: update to 2.3.1 ---------------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: haspatch maintainer | Port: octave-stk ---------------------------------+-------------------------------- octave-stk has been updated to version 2.3.1: ** Bug fixes * stk_optim_hasfmincon.m: Detect fmincon by trying to use it, instead of relying on the result of the exist function. * stk_param_estim.m: Make sure that the bounds that we use for the lnv parameter contain the starting point lnv0 when it is provided. * @stk_dataframe/set.m: Fix stk_error calls (missing mnemonic). * stk_distrib_bivnorm_cdf.m: Fix a bug in the case of mixtures of singular and non-singular cases. * @stk_dataframe/subsasgn.m: Preserve column names when deleting rows, even if the resulting array is empty. ** Minor changes * stk_init.m: Clear persistent variables. As a consequence, stk_init can now be used to restart STK completely. * stk_commonsize.m: Accept empty dimensions, under the condition that all input arguments have the same empty dimensions (in which case the result is empty). * stk_commonsize.m: is now faster when some arguments already have the proper size (unnecessary calls to repmat are avoided). * stk_distrib_normal_cdf.m, stk_distrib_bivnorm_cdf.m: are now slightly faster (unnecessary calls to stk_commonsize are avoided). Hopefully, this update also obsoletes #47478 regarding the installation issues. See http://octave.1599824.n4.nabble.com/On-the-use-of-PKG-ADD-PKG- DEL-directives-in-the-stk-package-td4671049.html -- Ticket URL: <https://trac.macports.org/ticket/48137> MacPorts <https://www.macports.org/> Ports system for OS X
#48137: octave-stk @2.2.0_0: update to 2.3.1 -----------------------------+--------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch maintainer Port: octave-stk | -----------------------------+--------------------------------- Comment (by julien.bect@…): Replying to [ticket:48137 mschamschula@…]:
Hopefully, this update also obsoletes #47478 regarding the installation issues. See http://octave.1599824.n4.nabble.com/On-the-use-of-PKG-ADD-PKG- DEL-directives-in-the-stk-package-td4671049.html
Hello Marius, Unfortunately, I don't think it will... But, if my guess is correct, there is an easy workaround ;-) More information and a workaround: https://savannah.gnu.org/bugs/?45091 See also my answer on ticket #47478: https://trac.macports.org/ticket/47478#comment:12 @++ Julien -- Ticket URL: <https://trac.macports.org/ticket/48137#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48137: octave-stk @2.2.0_0: update to 2.3.1 -----------------------------+--------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch maintainer Port: octave-stk | -----------------------------+--------------------------------- Comment (by mschamschula@…): Replying to [comment:2 julien.bect@…]:
Replying to [ticket:48137 mschamschula@…]:
Hopefully, this update also obsoletes #47478 regarding the installation issues. See http://octave.1599824.n4.nabble.com/On-the-use- of-PKG-ADD-PKG-DEL-directives-in-the-stk-package-td4671049.html
Hello Marius,
Unfortunately, I don't think it will... But, if my guess is correct, there is an easy workaround ;-)
More information and a workaround: https://savannah.gnu.org/bugs/?45091
See also my answer on ticket #47478: https://trac.macports.org/ticket/47478#comment:12
@++ Julien
In the tarball for stk 2.3.1, I only get one instance of PKG_ADD/PKG_DEL, namely in the arch-independent directory: {{{ tar ztvf /opt/local/share/octave/stk.tar.gz | grep PKG_ -rw-r--r-- 0 macports admin 14 Jun 22 09:03 stk/PKG_ADD -rw-r--r-- 0 macports admin 18 Jun 22 09:03 stk/PKG_DEL }}} -- Ticket URL: <https://trac.macports.org/ticket/48137#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48137: octave-stk @2.2.0_0: update to 2.3.1 -----------------------------+--------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch maintainer Port: octave-stk | -----------------------------+--------------------------------- Comment (by julien.bect@…): Replying to [comment:3 mschamschula@…]:
In the tarball for stk 2.3.1, I only get one instance of PKG_ADD/PKG_DEL, namely in the arch-independent directory:
{{{ tar ztvf /opt/local/share/octave/stk.tar.gz | grep PKG_ -rw-r--r-- 0 macports admin 14 Jun 22 09:03 stk/PKG_ADD -rw-r--r-- 0 macports admin 18 Jun 22 09:03 stk/PKG_DEL }}}
Yes, I know. They are the ones that 'pkg install' moves to the arch- independent directory. Delete these two files, and you should be ok. -- Ticket URL: <https://trac.macports.org/ticket/48137#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#48137: octave-stk @2.2.0_0: update to 2.3.1 -----------------------------+--------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch maintainer Port: octave-stk | -----------------------------+--------------------------------- Comment (by mschamschula@…): Replying to [comment:4 julien.bect@…]:
Replying to [comment:3 mschamschula@…]:
In the tarball for stk 2.3.1, I only get one instance of PKG_ADD/PKG_DEL, namely in the arch-independent directory:
{{{ tar ztvf /opt/local/share/octave/stk.tar.gz | grep PKG_ -rw-r--r-- 0 macports admin 14 Jun 22 09:03 stk/PKG_ADD -rw-r--r-- 0 macports admin 18 Jun 22 09:03 stk/PKG_DEL }}}
Yes, I know. They are the ones that 'pkg install' moves to the arch- independent directory.
Delete these two files, and you should be ok.
I see. I've created a patch for octave-1.0.tcl, a.k.a. the octave port group, to delete these files: #48143 -- Ticket URL: <https://trac.macports.org/ticket/48137#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#48137: octave-stk @2.2.0_0: update to 2.3.1 -----------------------------+--------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch maintainer Port: octave-stk | -----------------------------+--------------------------------- Comment (by michaelld@…): has duplicate, #47478, sort of. -- Ticket URL: <https://trac.macports.org/ticket/48137#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#48137: octave-stk @2.2.0_0: update to 2.3.1 -----------------------------+--------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch maintainer Port: octave-stk | -----------------------------+--------------------------------- Comment (by michaelld@…): "mkoctfile" is parsing the file "inst/stk_init.m" & creating the PKG* files automagically. These files are executed when the package is loaded or unloaded, and result in failure at that point. Removing the lines for PKG* keeps mkoctfile from creating those files. I'm committing a patch that removes these lines, thus fixing the PKG* load and unload issues directly at the source. -- Ticket URL: <https://trac.macports.org/ticket/48137#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#48137: octave-stk @2.2.0_0: update to 2.3.1 -----------------------------+--------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: haspatch maintainer Port: octave-stk | -----------------------------+--------------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: Done in r138162. -- Ticket URL: <https://trac.macports.org/ticket/48137#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts