Octave
mark brethen
mbrethen at aim.com
Sun Jul 3 13:50:38 PDT 2011
I created the portfile and put it in a local repository.
firedrake:ports marbre$ port search octave-symbolic
octave-symbolic @1.0.9 (math, science)
Symbolic toolbox based on GiNaC and CLN.
firedrake:ports marbre$ sudo port install octave-symbolic
---> Computing dependencies for octave-symbolic
---> Fetching octave-symbolic
---> Attempting to fetch symbolic-1.0.9.tar.gz from http://downloads.sourceforge.net/octave
---> Verifying checksum(s) for octave-symbolic
---> Extracting octave-symbolic
---> Configuring octave-symbolic
---> Building octave-symbolic
---> Staging octave-symbolic into destroot
---> Installing octave-symbolic @1.0.9_0
---> Activating octave-symbolic @1.0.9_0
---> Cleaning octave-symbolic
However, this package causes octave to crash:
octave:1> symbols
octave:2> R1=sym("r1")
octave(47027) malloc: *** error for object 0x7fff709c6500: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
panic: Abort trap -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Abort trap
A search on google found this on Octave-Forge:
"After a bit of debugging-by-mail we were able to determine that the
error happens in line 90 of 'sym-create.cc'. That is at the end of a
block when the 'GiNaC::symbol' destructor is being called. Somehow this
causes a crash; I have been unable to determine why."
This was on GiNaC 1.5.8, so I should file a port update request ticket for GiNaC. Where is this done?
-Mark
On Jul 3, 2011, at 2:05 PM, Brandon Allbery wrote:
> On Sun, Jul 3, 2011 at 14:48, mark brethen <mbrethen at aim.com> wrote:
>> I looked at portfiles of various octave packages already created (e.g. octave-plot, octave-statistics, etc.) and am puzzled why there isn't a download URL listed. How does port know where to find them? Do I need to include one for an octave-symbolic portfile I'm creating?
>
> If you look up toward the top of the Portfiles, you'll see the line
>
> PortGroup octave 1.0
>
> which is a canned recipe for Octave-related ports. You can find these under
>
> mress:10062 Z$ ls
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group
> archcheck-1.0.tcl octave-1.0.tcl qt4-1.0.tcl
> cmake-1.0.tcl perl5-1.0.tcl ruby-1.0.tcl
> crossbinutils-1.0.tcl php5extension-1.0.tcl select-1.0.tcl
> gnustep-1.0.tcl pure-1.0.tcl swigbinding-1.0.tcl
> haskell-1.0.tcl python24-1.0.tcl tests/
> hocbinding-1.0.tcl python25-1.0.tcl texlive-1.0.tcl
> hunspelldict-1.0.tcl python26-1.0.tcl x11font-1.0.tcl
> kde4-1.0.tcl python27-1.0.tcl xcode-1.0.tcl
> kde4-1.1.tcl python31-1.0.tcl xcodeversion-1.0.tcl
> muniversal-1.0.tcl python32-1.0.tcl zope-1.0.tcl
>
>
> --
> brandon s allbery allbery.b at gmail.com
> wandering unix systems administrator (available) (412) 475-9364 vm/sms
More information about the macports-users
mailing list