Lilypond 2.20 on Mac 10.15

classic Classic list List threaded Threaded
26 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Lilypond 2.20 on Mac 10.15

Eric Schissel
Actually, both the latest version and 2.19.84 seem not to launch at all on my iMac (late 2015, dual core, etc running os 10.15.3...) (2.19.84 did but it doesn’t.)
Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

Hans Åberg-2

> On 3 Mar 2020, at 05:14, Eric <[hidden email]> wrote:
>
> Actually, both the latest version and 2.19.84 seem not to launch at all on my iMac (late 2015, dual core, etc running os 10.15.3...) (2.19.84 did but it doesn’t.)

What binary are you using?



Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

Hans Åberg-2
[Please keep the cc to the list so that others can follow the issue.]

With some programs, one may have to OK it in System Preferences > Security & Privacy. But I think it is not needed for the MacPorts installer version.


> On 22 Mar 2020, at 23:17, Eric <[hidden email]> wrote:
>
> Actually, when this came up a few months ago (I think it did) I was sent a link to a .pkg containing a command-line-only version, which may still work. I just reinstalled it, I'm not sure why since now I'm going to have to reset the permissions if i can figure out how!...
>
> On Tue, Mar 3, 2020 at 5:10 AM Hans Åberg <[hidden email]> wrote:
>
> > On 3 Mar 2020, at 05:14, Eric <[hidden email]> wrote:
> >
> > Actually, both the latest version and 2.19.84 seem not to launch at all on my iMac (late 2015, dual core, etc running os 10.15.3...) (2.19.84 did but it doesn’t.)
>
> What binary are you using?
>


Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

mxordn
Dear all,

Thanks for this hint. I’m trying to install 2.20 on macOS Catalina (10.15.3) and get a segmentation fault.

I get this also with the version 2.19.84 mentioned below which might be pointing to a problem on my machine. Does anyone have suggestions what I can try?

Best,
Moritz


> Am 23.03.2020 um 09:59 schrieb Hans Åberg <[hidden email]>:
>
> [Please keep the cc to the list so that others can follow the issue.]
>
> With some programs, one may have to OK it in System Preferences > Security & Privacy. But I think it is not needed for the MacPorts installer version.
>
>
>> On 22 Mar 2020, at 23:17, Eric <[hidden email]> wrote:
>>
>> Actually, when this came up a few months ago (I think it did) I was sent a link to a .pkg containing a command-line-only version, which may still work. I just reinstalled it, I'm not sure why since now I'm going to have to reset the permissions if i can figure out how!...
>>
>> On Tue, Mar 3, 2020 at 5:10 AM Hans Åberg <[hidden email]> wrote:
>>
>>> On 3 Mar 2020, at 05:14, Eric <[hidden email]> wrote:
>>>
>>> Actually, both the latest version and 2.19.84 seem not to launch at all on my iMac (late 2015, dual core, etc running os 10.15.3...) (2.19.84 did but it doesn’t.)
>>
>> What binary are you using?
>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

Hans Åberg-2
What computer model is this?


> On 23 Mar 2020, at 20:25, Moritz Heffter <[hidden email]> wrote:
>
> Thanks for this hint. I’m trying to install 2.20 on macOS Catalina (10.15.3) and get a segmentation fault.
>
> I get this also with the version 2.19.84 mentioned below which might be pointing to a problem on my machine. Does anyone have suggestions what I can try?


Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

mxordn
It’s a new MacBook Pro 13‘ (2019) with 16/512 and an i5 (4 cores) 1,4 GHz

> Am 23.03.2020 um 21:44 schrieb Hans Åberg <[hidden email]>:
>
> What computer model is this?
>
>
>> On 23 Mar 2020, at 20:25, Moritz Heffter <[hidden email]> wrote:
>>
>> Thanks for this hint. I’m trying to install 2.20 on macOS Catalina (10.15.3) and get a segmentation fault.
>>
>> I get this also with the version 2.19.84 mentioned below which might be pointing to a problem on my machine. Does anyone have suggestions what I can try?
>

Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

Hans Åberg-2
The MacPorts 2.19.84 installer was made on essentially the same hardware.


> On 24 Mar 2020, at 09:38, Moritz Heffter <[hidden email]> wrote:
>
> It’s a new MacBook Pro 13‘ (2019) with 16/512 and an i5 (4 cores) 1,4 GHz
>
>> Am 23.03.2020 um 21:44 schrieb Hans Åberg <[hidden email]>:
>>
>> What computer model is this?
>>
>>
>>> On 23 Mar 2020, at 20:25, Moritz Heffter <[hidden email]> wrote:
>>>
>>> Thanks for this hint. I’m trying to install 2.20 on macOS Catalina (10.15.3) and get a segmentation fault.
>>>
>>> I get this also with the version 2.19.84 mentioned below which might be pointing to a problem on my machine. Does anyone have suggestions what I can try?
>>


Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

mxordn
Hum, that mean some configuration on my machine is the problem? I use another package manager (brew). Could it be that there arise some incompatibilities?

Best,
Moritz

> Am 24.03.2020 um 10:18 schrieb Hans Åberg <[hidden email]>:
>
> The MacPorts 2.19.84 installer was made on essentially the same hardware.
>
>
>> On 24 Mar 2020, at 09:38, Moritz Heffter <[hidden email]> wrote:
>>
>> It’s a new MacBook Pro 13‘ (2019) with 16/512 and an i5 (4 cores) 1,4 GHz
>>
>>> Am 23.03.2020 um 21:44 schrieb Hans Åberg <[hidden email]>:
>>>
>>> What computer model is this?
>>>
>>>
>>>> On 23 Mar 2020, at 20:25, Moritz Heffter <[hidden email]> wrote:
>>>>
>>>> Thanks for this hint. I’m trying to install 2.20 on macOS Catalina (10.15.3) and get a segmentation fault.
>>>>
>>>> I get this also with the version 2.19.84 mentioned below which might be pointing to a problem on my machine. Does anyone have suggestions what I can try?
>>>
>


Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

Urs Liska-3
Am Dienstag, den 24.03.2020, 10:43 +0100 schrieb Moritz Heffter:
> Hum, that mean some configuration on my machine is the problem? I use
> another package manager (brew). Could it be that there arise some
> incompatibilities?
>

I'd be intersted to know if there is _any_ correlation to your MkDocs
issues ...

(Hi, BTW)

Urs

> Best,
> Moritz
>
> > Am 24.03.2020 um 10:18 schrieb Hans Åberg <[hidden email]>:
> >
> > The MacPorts 2.19.84 installer was made on essentially the same
> > hardware.
> >
> >
> > > On 24 Mar 2020, at 09:38, Moritz Heffter <[hidden email]>
> > > wrote:
> > >
> > > It’s a new MacBook Pro 13‘ (2019) with 16/512 and an i5 (4 cores)
> > > 1,4 GHz
> > >
> > > > Am 23.03.2020 um 21:44 schrieb Hans Åberg <[hidden email]>:
> > > >
> > > > What computer model is this?
> > > >
> > > >
> > > > > On 23 Mar 2020, at 20:25, Moritz Heffter <[hidden email]>
> > > > > wrote:
> > > > >
> > > > > Thanks for this hint. I’m trying to install 2.20 on macOS
> > > > > Catalina (10.15.3) and get a segmentation fault.
> > > > >
> > > > > I get this also with the version 2.19.84 mentioned below
> > > > > which might be pointing to a problem on my machine. Does
> > > > > anyone have suggestions what I can try?
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

Hans Åberg-2
In reply to this post by mxordn

> On 24 Mar 2020, at 10:43, Moritz Heffter <[hidden email]> wrote:
>
> Hum, that mean some configuration on my machine is the problem? I use another package manager (brew). Could it be that there arise some incompatibilities?

It might, if you have stuff that overrides what lilypond expects to use. Check in Terminal what your PATH is, by the command
  echo $PATH



Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

Hans Åberg-2
[Keep the cc to the list so other can follow the issue.]

> On 24 Mar 2020, at 11:45, Moritz Heffter <[hidden email]> wrote:
>
> My PATH variable shows the following:
>
> /Users/username/Library/Python/3.7/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin
>
> My python3 lies in /usr/local/bin/python3. Could that be the problem?

My path is

/Users/username/bin:/usr/local/bin:/usr/local/X11R6/bin:/usr/local/texlive/2019/bin/x86_64-darwin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin

Normally, one wants the more up-to-date items earlier in the PATH, so the user directory ~/bin/ before /usr/local/ which is used for installations from sources, which is before /opt/, and in turn before the system paths.

Then, I use a script to run lilypond, see
 https://lists.gnu.org/archive/html/lilypond-user/2020-02/msg00425.html

Likewise, you might replace your custom installation by soft links, say by
 sudo ln -s <program path> /usr/local/bin/<name>
This avoids importing the whole directory into the PATH, as you have done.



Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

mxordn
Hum, I’ve tried out different settings now and also updated the system to the version 10.15.4 but it’s still the same error. I've also deactivated FileVault and gave.

The log file says maybe a bit more precisely:

Error Code:      0x00000004 (no mapping for user data read)
Trap Number:     14

Best,
Moritz


> Am 24.03.2020 um 17:41 schrieb Hans Åberg <[hidden email]>:
>
> [Keep the cc to the list so other can follow the issue.]
>
>> On 24 Mar 2020, at 11:45, Moritz Heffter <[hidden email]> wrote:
>>
>> My PATH variable shows the following:
>>
>> /Users/username/Library/Python/3.7/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin
>>
>> My python3 lies in /usr/local/bin/python3. Could that be the problem?
>
> My path is
>
> /Users/username/bin:/usr/local/bin:/usr/local/X11R6/bin:/usr/local/texlive/2019/bin/x86_64-darwin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin
>
> Normally, one wants the more up-to-date items earlier in the PATH, so the user directory ~/bin/ before /usr/local/ which is used for installations from sources, which is before /opt/, and in turn before the system paths.
>
> Then, I use a script to run lilypond, see
> https://lists.gnu.org/archive/html/lilypond-user/2020-02/msg00425.html
>
> Likewise, you might replace your custom installation by soft links, say by
> sudo ln -s <program path> /usr/local/bin/<name>
> This avoids importing the whole directory into the PATH, as you have done.
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

Hans Åberg-2

> On 26 Mar 2020, at 10:36, Moritz Heffter <[hidden email]> wrote:
>
> Hum, I’ve tried out different settings now and also updated the system to the version 10.15.4 but it’s still the same error. I've also deactivated FileVault and gave.
>
> The log file says maybe a bit more precisely:
>
> Error Code:      0x00000004 (no mapping for user data read)
> Trap Number:     14

Does the error occur when you run lilypond in Terminal?


Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

mxordn
The error is logged for lilypond-bin when I run lilypond from the Terminal:

Process:               lilypond-bin [8616]
Path:                  /opt/lilypond/*/lilypond-bin
Identifier:            lilypond-bin
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        zsh [1205]
Responsible:           Terminal [1141]

The zsh reports me the segmentation fault error.


> Am 26.03.2020 um 10:45 schrieb Hans Åberg <[hidden email]>:
>
>
>> On 26 Mar 2020, at 10:36, Moritz Heffter <[hidden email]> wrote:
>>
>> Hum, I’ve tried out different settings now and also updated the system to the version 10.15.4 but it’s still the same error. I've also deactivated FileVault and gave.
>>
>> The log file says maybe a bit more precisely:
>>
>> Error Code:      0x00000004 (no mapping for user data read)
>> Trap Number:     14
>
> Does the error occur when you run lilypond in Terminal?
>


Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

Ralf Mattes-2
 You are running a brew-installed Lilypond, my dear ;-)
Try the following in a terminal:

$ /Applications/LilyPond.app/Contents/MacOS/LilyPond

Cheers, RalfD

Am Donnerstag, 26. März 2020 10:57 CET, Moritz Heffter <[hidden email]> schrieb:

> The error is logged for lilypond-bin when I run lilypond from the Terminal:
>
> Process:               lilypond-bin [8616]
> Path:                  /opt/lilypond/*/lilypond-bin
> Identifier:            lilypond-bin
> Version:               0
> Code Type:             X86-64 (Native)
> Parent Process:        zsh [1205]
> Responsible:           Terminal [1141]
>
> The zsh reports me the segmentation fault error.
>
>
> > Am 26.03.2020 um 10:45 schrieb Hans Åberg <[hidden email]>:
> >
> >
> >> On 26 Mar 2020, at 10:36, Moritz Heffter <[hidden email]> wrote:
> >>
> >> Hum, I’ve tried out different settings now and also updated the system to the version 10.15.4 but it’s still the same error. I've also deactivated FileVault and gave.
> >>
> >> The log file says maybe a bit more precisely:
> >>
> >> Error Code:      0x00000004 (no mapping for user data read)
> >> Trap Number:     14
> >
> > Does the error occur when you run lilypond in Terminal?
> >
>
>



--
Ralf Mattes

Hochschule für Musik Freiburg
Projektleitung HISinOne
Schwarzwaldstr. 141, D-79102 Freiburg
http://www.mh-freiburg.de




Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

Hans Åberg-2
In reply to this post by mxordn

> On 26 Mar 2020, at 10:57, Moritz Heffter <[hidden email]> wrote:
>
> The error is logged for lilypond-bin when I run lilypond from the Terminal:
>
> Process:               lilypond-bin [8616]
> Path:                  /opt/lilypond/*/lilypond-bin
> Identifier:            lilypond-bin
> Version:               0
> Code Type:             X86-64 (Native)
> Parent Process:        zsh [1205]
> Responsible:           Terminal [1141]
>
> The zsh reports me the segmentation fault error.

The program from the MacPorts installer is
  /opt/lilypond/bin/lilypond

In the standard install of MacPorts, it is
  /opt/local/bin/lilypond

The only difference is the install location, /opt/lilypond/ vs /opt/local/.

There is:
% /opt/local/libexec/lilypond-bin
GNU LilyPond 2.19.84
/opt/local/share/guile/1.8/srfi/srfi-1.scm:223:1: In procedure dynamic-link in expression (load-extension "libguile-srfi-srfi-1-v-3" "scm_init_srfi_1"):
/opt/local/share/guile/1.8/srfi/srfi-1.scm:223:1: file: "libguile-srfi-srfi-1-v-3", message: "file not found"



Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

mxordn
Well this is bringing me one step further. I think the problem is that some libraries are not found. Especially guile.

I’ve now completely removed macports (I’ve installed it only because of Lilypond) and reinstalled the Lilypond package of version 2.19 from Hans again. It installs into /opt/lilypond by default and I can’t prevent this. The result is again a segmentation fault. BTW the problem is the same with the 2.19 oder 2.20 version from macports.

BTW, /opt is in read-only mode. I’m not able to remove it. Maybe I have to switch off the system integrity protection for that but I’m doing this only if I have time.

@Ralf: Same result with the App-Package of version 2.20 from Marnen. The lilypond binary which is in /Applications/LilyPond.app/Contents/Resources/bin/lilypond is canceled with a segmentation error.

The binary in /Applications/LilyPond.app/Contents/MacOS/LilyPond starts the app, but the app doesn’t typeset anything. Maybe due to the problem above.

Best,
Moritz

> Am 26.03.2020 um 11:09 schrieb Hans Åberg <[hidden email]>:
>
>
>> On 26 Mar 2020, at 10:57, Moritz Heffter <[hidden email]> wrote:
>>
>> The error is logged for lilypond-bin when I run lilypond from the Terminal:
>>
>> Process:               lilypond-bin [8616]
>> Path:                  /opt/lilypond/*/lilypond-bin
>> Identifier:            lilypond-bin
>> Version:               0
>> Code Type:             X86-64 (Native)
>> Parent Process:        zsh [1205]
>> Responsible:           Terminal [1141]
>>
>> The zsh reports me the segmentation fault error.
>
> The program from the MacPorts installer is
>  /opt/lilypond/bin/lilypond
>
> In the standard install of MacPorts, it is
>  /opt/local/bin/lilypond
>
> The only difference is the install location, /opt/lilypond/ vs /opt/local/.
>
> There is:
> % /opt/local/libexec/lilypond-bin
> GNU LilyPond 2.19.84
> /opt/local/share/guile/1.8/srfi/srfi-1.scm:223:1: In procedure dynamic-link in expression (load-extension "libguile-srfi-srfi-1-v-3" "scm_init_srfi_1"):
> /opt/local/share/guile/1.8/srfi/srfi-1.scm:223:1: file: "libguile-srfi-srfi-1-v-3", message: "file not found"
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

Hans Åberg-2

> On 26 Mar 2020, at 12:57, Moritz Heffter <[hidden email]> wrote:
>
> Well this is bringing me one step further. I think the problem is that some libraries are not found. Especially guile.
>
> I’ve now completely removed macports (I’ve installed it only because of Lilypond) and reinstalled the Lilypond package of version 2.19 from Hans again. It installs into /opt/lilypond by default and I can’t prevent this. The result is again a segmentation fault. BTW the problem is the same with the 2.19 oder 2.20 version from macports.

Both MacPorts and the installer use full paths, so that cannot be changed. I made the choice with Werner to put the installer in /opt/lilypond/ which is suggested by the FHS.

> BTW, /opt is in read-only mode. I’m not able to remove it.

One should have permissions drwxr-xr-x, as by ls -l, for /opt/, /opt/local/ and /opt/lilypond/.

> Maybe I have to switch off the system integrity protection for that but I’m doing this only if I have time.

'csrutil status’ gives enabled here. So that is not the problem.


Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

Hans Åberg-2
In reply to this post by mxordn

> On 26 Mar 2020, at 12:57, Moritz Heffter <[hidden email]> wrote:
>
> BTW, /opt is in read-only mode. I’m not able to remove it.

One may have to give the Terminal app permissions, which I did in the past, but it is not there now, so it may or may not be required.

https://osxdaily.com/2018/10/09/fix-operation-not-permitted-terminal-error-macos/



Reply | Threaded
Open this post in threaded view
|

Re: Lilypond 2.20 on Mac 10.15

mxordn
In reply to this post by Hans Åberg-2
Thanks for the information. I’ve reinstalled the 2.19 package and put /opt/lilypond/bin in the PATH. I can execute lilypond from the Terminal still getting the segmentation fault. But now with a different reason:

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb

The permissions for /opt and /opt/lilypond are ok. /opt/local doesn’t exist anymore, because I removed the port packages. And it seems that all necessary packages come with the lilypond installer. Is that right?

My PATH now looks the following:
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Library/Apple/usr/bin:/Users/username/Library/Python/3.7/bin:/opt/lilypond/bin

Best and great thanks for taking your time
Moritz


> Am 26.03.2020 um 14:15 schrieb Hans Åberg <[hidden email]>:
>
>
>> On 26 Mar 2020, at 12:57, Moritz Heffter <[hidden email]> wrote:
>>
>> Well this is bringing me one step further. I think the problem is that some libraries are not found. Especially guile.
>>
>> I’ve now completely removed macports (I’ve installed it only because of Lilypond) and reinstalled the Lilypond package of version 2.19 from Hans again. It installs into /opt/lilypond by default and I can’t prevent this. The result is again a segmentation fault. BTW the problem is the same with the 2.19 oder 2.20 version from macports.
>
> Both MacPorts and the installer use full paths, so that cannot be changed. I made the choice with Werner to put the installer in /opt/lilypond/ which is suggested by the FHS.
>
>> BTW, /opt is in read-only mode. I’m not able to remove it.
>
> One should have permissions drwxr-xr-x, as by ls -l, for /opt/, /opt/local/ and /opt/lilypond/.
>
>> Maybe I have to switch off the system integrity protection for that but I’m doing this only if I have time.
>
> 'csrutil status’ gives enabled here. So that is not the problem.
>


12