Re: Octave.app 64-bit?

2019-10-11 Thread Richard L. Hamilton
This might explain what's happening:

sh-3.2$ file /Applications/MacPorts/Octave.app/Contents/MacOS/Octave
/Applications/MacPorts/Octave.app/Contents/MacOS/Octave: POSIX shell script 
text executable, ASCII text

What would usually be the application executable is a shell script wrapper; 
maybe that's preventing certain utilities from determining the bit-ness of the 
app, or from doing so correctly.


sh-3.2$ cat /Applications/MacPorts/Octave.app/Contents/MacOS/Octave
#!/bin/sh

/opt/local/bin/octave-5.1.0 --gui "$@"


Examining the executable called by the wrapper:

sh-3.2$ file /opt/local/bin/octave-5.1.0
/opt/local/bin/octave-5.1.0: Mach-O 64-bit executable x86_64


it's 64-bit (at least in the precompiled port for Mojave).  All the rest of the 
executables and dynamic libraries in the package appear to be 64-bit too.  I 
didn't look inside static libraries, but I don't imagine they'd be any 
different.


> On Oct 11, 2019, at 11:14, Murray Eisenberg  wrote:
> 
> I asked the question because EtreCheck Pro reports 
> /Applications/MacPorts/Octave.app to be 32-bit. On the other hand, macOS 
> System
>  Information > Software does not list octave at all, either as 32-bit or as 
> 64-bit!
> 
> Command
> 
> port -v installed octave
> 
> does show archs='x86_64' but it was unclear to me whether that applies to the 
> octave.app front end to the octave engine.
> 
>> On 11 Oct2019, at 8:00 AM, macports-users-requ...@lists.macports.org 
>> <mailto:macports-users-requ...@lists.macports.org> wrote:
>> 
>> Date: Thu, 10 Oct 2019 22:25:03 +0100
>> From: Christopher Jones > <mailto:jon...@hep.phy.cam.ac.uk>>
>> To: MacPorts Users > <mailto:macports-us...@lists.macosforge.org>>
>> Subject: Re: Octave.app 64-bit?
>> 
>> Unless you are installing something universal, or i386, it will be 64 bit 
>> (i.e. x86_64 arch).
>> 
>> ( Also, by construction, if the port finds and runs on macOS 10.15 it will 
>> have to be 64 bit… )
>> 
>>> On 10 Oct 2019, at 10:12 pm, Murray Eisenberg >> <mailto:murrayeisenb...@gmail.com>> wrote:
>>> 
>>> Is the current version of octave.app, installed with octave+app, 64-bit and 
>>> hence compatible with Catalina?
>>> 
>>> if not, what are the prospects?
>>> 
>>> In general, is there any way to tell which macports ports are, or are not, 
>>> 64-bit?
>>> 
>>> ---
>>> Murray Eisenbergmurrayeisenb...@gmail.com 
>>> <mailto:murrayeisenb...@gmail.com>
>> 
>> --
>> 
>> Date: Thu, 10 Oct 2019 17:46:52 -0400
>> From: "Bill Cole" > <mailto:macportsusers-20171...@billmail.scconsult.com>>
>> To: macports-users@lists.macports.org 
>> <mailto:macports-users@lists.macports.org>
>> Subject: Re: Octave.app 64-bit?
>> 
>> On 10 Oct 2019, at 17:25, Christopher Jones wrote:
>> 
>>> Unless you are installing something universal, or i386, it will be 64 
>>> bit (i.e. x86_64 arch).
>> 
>> Also, you can check the architecture of whatever is actually installed 
>> with:
>> 
>>  port -v installed 
> 
> ---
> Murray Eisenberg  murrayeisenb...@gmail.com 
> <mailto:murrayeisenb...@gmail.com>
> 503 King Farm Blvd #101   Home (240)-246-7240
> Rockville, MD 20850-6667  Mobile (413)-427-5334
> 
> 



Re: Octave.app 64-bit?

2019-10-11 Thread Murray Eisenberg
I asked the question because EtreCheck Pro reports 
/Applications/MacPorts/Octave.app to be 32-bit. On the other hand, macOS System
 Information > Software does not list octave at all, either as 32-bit or as 
64-bit!

Command

port -v installed octave

does show archs='x86_64' but it was unclear to me whether that applies to the 
octave.app front end to the octave engine.

> On 11 Oct2019, at 8:00 AM, macports-users-requ...@lists.macports.org wrote:
> 
> Date: Thu, 10 Oct 2019 22:25:03 +0100
> From: Christopher Jones  <mailto:jon...@hep.phy.cam.ac.uk>>
> To: MacPorts Users  <mailto:macports-us...@lists.macosforge.org>>
> Subject: Re: Octave.app 64-bit?
> 
> Unless you are installing something universal, or i386, it will be 64 bit 
> (i.e. x86_64 arch).
> 
> ( Also, by construction, if the port finds and runs on macOS 10.15 it will 
> have to be 64 bit… )
> 
>> On 10 Oct 2019, at 10:12 pm, Murray Eisenberg > <mailto:murrayeisenb...@gmail.com>> wrote:
>> 
>> Is the current version of octave.app, installed with octave+app, 64-bit and 
>> hence compatible with Catalina?
>> 
>> if not, what are the prospects?
>> 
>> In general, is there any way to tell which macports ports are, or are not, 
>> 64-bit?
>> 
>> ---
>> Murray Eisenberg murrayeisenb...@gmail.com 
>> <mailto:murrayeisenb...@gmail.com>
> 
> --
> 
> Date: Thu, 10 Oct 2019 17:46:52 -0400
> From: "Bill Cole"  <mailto:macportsusers-20171...@billmail.scconsult.com>>
> To: macports-users@lists.macports.org 
> <mailto:macports-users@lists.macports.org>
> Subject: Re: Octave.app 64-bit?
> 
> On 10 Oct 2019, at 17:25, Christopher Jones wrote:
> 
>> Unless you are installing something universal, or i386, it will be 64 
>> bit (i.e. x86_64 arch).
> 
> Also, you can check the architecture of whatever is actually installed 
> with:
> 
>  port -v installed 

---
Murray Eisenbergmurrayeisenb...@gmail.com
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667Mobile (413)-427-5334




Re: Octave.app 64-bit?

2019-10-10 Thread Mojca Miklavec
On Thu, 10 Oct 2019 at 23:12, Murray Eisenberg wrote:
>
> Is the current version of octave.app, installed with octave+app, 64-bit and 
> hence compatible with Catalina?
>
> if not, what are the prospects?
>
> In general, is there any way to tell which macports ports are, or are not, 
> 64-bit?

A dirty and maybe not 100% reliable way:
grep -r i386 | grep -v x86_64 | grep supported_archs

This returns 75 results, but some are just bogus, like TeXShop, when
there's a newer TeXShop4 port available, or Qt 3, ...

Probably the most problematic ones are Wine, some other emulators
(dosbox, ...) ... the rest are ancient apps that probably nobody would
notice if they get removed.

Mojca


Re: Octave.app 64-bit?

2019-10-10 Thread Bill Cole

On 10 Oct 2019, at 17:25, Christopher Jones wrote:

Unless you are installing something universal, or i386, it will be 64 
bit (i.e. x86_64 arch).


Also, you can check the architecture of whatever is actually installed 
with:


 port -v installed 

Of course you should reinstall or rebuild from source all of your ports 
after a major system upgrade, because even if some of the installed 
binaries will still run on the new system, the pre-upgrade MacPorts 
won't work at all.



--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire


Re: Octave.app 64-bit?

2019-10-10 Thread Christopher Jones
Unless you are installing something universal, or i386, it will be 64 bit (i.e. 
x86_64 arch).

( Also, by construction, if the port finds and runs on macOS 10.15 it will have 
to be 64 bit… )

> On 10 Oct 2019, at 10:12 pm, Murray Eisenberg  
> wrote:
> 
> Is the current version of octave.app, installed with octave+app, 64-bit and 
> hence compatible with Catalina?
> 
> if not, what are the prospects?
> 
> In general, is there any way to tell which macports ports are, or are not, 
> 64-bit?
> 
> ---
> Murray Eisenberg  murrayeisenb...@gmail.com
> 503 King Farm Blvd #101   Home (240)-246-7240
> Rockville, MD 20850-6667  Mobile (413)-427-5334
> 
> 



smime.p7s
Description: S/MIME cryptographic signature


Octave.app 64-bit?

2019-10-10 Thread Murray Eisenberg
Is the current version of octave.app, installed with octave+app, 64-bit and 
hence compatible with Catalina?

if not, what are the prospects?

In general, is there any way to tell which macports ports are, or are not, 
64-bit?

---
Murray Eisenbergmurrayeisenb...@gmail.com
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667Mobile (413)-427-5334