bug-gnuzilla
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnuzilla] Building Icecat 60.3.0 on macOS Mojave 10.14.1


From: Johannes Marbach
Subject: Re: [Bug-gnuzilla] Building Icecat 60.3.0 on macOS Mojave 10.14.1
Date: Fri, 18 Jan 2019 10:42:05 +0100 (CET)

Ok, I managed to make that error disappear by adding the following to 
security/sandbox/mac/Sandbox.h

(allow file-read* (path "/Library/Preferences/com.apple.ViewBridge.plist"))

However, Icecat still shows an all black window so that wasn't it. Here is the 
full terminal output when I run it, I'm unable to pinpoint anything important 
in there though. :(

$ ./icecat
1547801629032   addons.webextension.<unknown>   WARN    Loading extension 
'null': Reading manifest: Error processing id: An unexpected property was found 
in the WebExtension manifest.
1547801629095   addons.xpi-utils        WARN    addMetadata: Add-on 
address@hidden is invalid: Error: Invalid addon ID: expected addon ID 
address@hidden, found address@hidden in manifest 
(resource://gre/modules/addons/XPIProvider.jsm -> 
resource://gre/modules/addons/XPIProviderUtils.js:1171:15) JS Stack trace: 
address@hidden:1171:15
address@hidden:1523:23
address@hidden:3289:34
address@hidden:2194:25
address@hidden:253:12
address@hidden:728:5
address@hidden:892:9
address@hidden:2976:5
address@hidden:63:9
1547801629096   addons.xpi-utils        WARN    Could not uninstall invalid 
item from locked install location
1547801629546   address@hidden  WARN    Loading extension 'address@hidden': 
Reading manifest: Error processing id: An unexpected property was found in the 
WebExtension manifest.
1547801629553   address@hidden  WARN    Loading extension 'address@hidden': 
Reading manifest: Error processing id: An unexpected property was found in the 
WebExtension manifest.
1547801629558   address@hidden  WARN    Loading extension 'address@hidden': 
Reading manifest: Error processing id: An unexpected property was found in the 
WebExtension manifest.
1547801629559   address@hidden  WARN    Loading extension 'address@hidden': 
Reading manifest: Error processing id: An unexpected property was found in the 
WebExtension manifest.
2019-01-18 08:53:50.282 plugin-container[29303:2259390] *** CFMessagePort: 
bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0xad2f, 
name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2019-01-18 08:53:50.511 plugin-container[29303:2259390] *** CFMessagePort: 
bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0xa7b, 
name = 'com.apple.coredrag'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2019-01-18 08:53:50.575 plugin-container[29304:2259445] *** CFMessagePort: 
bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x883b, 
name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2019-01-18 08:53:50.576 plugin-container[29303:2259391] +[NSXPCSharedListener 
endpointForReply:withListenerName:]: an error occurred while attempting to 
obtain endpoint for listener 'ClientCallsAuxiliary': Connection invalid
JavaScript error: resource://activity-stream/lib/Screenshots.jsm, line 102: 
TypeError: cache is undefined
JavaScript error: resource://activity-stream/lib/Screenshots.jsm, line 102: 
TypeError: cache is undefined
JavaScript error: resource://activity-stream/lib/Screenshots.jsm, line 102: 
TypeError: cache is undefined
JavaScript error: resource://activity-stream/lib/Screenshots.jsm, line 102: 
TypeError: cache is undefined
JavaScript error: resource://activity-stream/lib/Screenshots.jsm, line 102: 
TypeError: cache is undefined
2019-01-18 08:53:50.707 plugin-container[29304:2259445] *** CFMessagePort: 
bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x1277, 
name = 'com.apple.coredrag'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2019-01-18 08:53:50.725 plugin-container[29304:2259454] +[NSXPCSharedListener 
endpointForReply:withListenerName:]: an error occurred while attempting to 
obtain endpoint for listener 'ClientCallsAuxiliary': Connection invalid
1547801630929   address@hidden  WARN    Please specify whether you want 
browser_style or not in your browser_action options.
1547801631357   address@hidden  WARN    Please specify whether you want 
browser_style or not in your browser_action options.
2019-01-18 08:53:51.476 plugin-container[29305:2259508] *** CFMessagePort: 
bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x843b, 
name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2019-01-18 08:53:51.592 plugin-container[29305:2259508] *** CFMessagePort: 
bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x1277, 
name = 'com.apple.coredrag'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2019-01-18 08:53:51.605 plugin-container[29305:2259516] +[NSXPCSharedListener 
endpointForReply:withListenerName:]: an error occurred while attempting to 
obtain endpoint for listener 'ClientCallsAuxiliary': Connection invalid

> On January 18, 2019 at 9:52 AM Johannes Marbach <address@hidden> wrote:
> 
> 
> Forgot to add one important piece needed to make it compile here: After 
> installing the CLI developer tools, I had to manually go to 
> /Library/Developer/CommandLineTools/Packages and install the header package.
> 
> > On January 18, 2019 at 9:36 AM Johannes Marbach <address@hidden> wrote:
> > 
> > 
> > Hi all,
> > 
> > I wanted to follow up on a thread from last week where Brennan and 
> > Jean-Christophe discussed building Icecat 60.3.0 on macOS (I can't reply to 
> > the old thread because I just joined the list and my web mailer doesn't let 
> > me set the In-Reply-To header).
> > 
> > I've been struggling with this on macOS Mojave 10.14.1, too, for some time 
> > now. First I couldn't get configure and make to work because they'd always 
> > fail with missing includes. I finally got it to compile by using
> > 
> > env CXX='/usr/bin/clang++ -stdlib=libc++' ../configure 
> > --with-l10n-base=../l10n --enable-official-branding
> > make
> > 
> > Note that I have to use env because my shell is fish. Afterwards make 
> > package failed with the missing files errors Brennan reported.
> > 
> > Error: 
> > /Users/jmarbach/Code/icecat/icecat-60.3.0/browser/installer/package-manifest.in:593:
> >  Missing file(s): 
> > /IceCat.app/Contents/MacOS/browser/extensions/address@hidden/*
> > Error: 
> > /Users/jmarbach/Code/icecat/icecat-60.3.0/browser/installer/package-manifest.in:594:
> >  Missing file(s): 
> > /IceCat.app/Contents/MacOS/browser/extensions/address@hidden/*
> > ...
> > 
> > I found the files existed but not in IceCat.app/Contents/MacOS but in 
> > IceCat.app/Contents/Resources. So I went into 
> > browser/installer/package-manifest.in and replaced @BINPATH@ with @RESPATH@ 
> > on lines 593 through 604. That finally made make package go through.
> > 
> > However, after installing the .dmg and launching Icecat it just sits there 
> > with an all black window. There's a bit of output on the terminal but the 
> > only important thing to me seems this
> > 
> > 2019-01-18 08:15:45.325 plugin-container[25006:2228360] unable to obtain 
> > configuration from file:///Library/Preferences/com.apple.ViewBridge.plist 
> > due to Error Domain=NSCocoaErrorDomain Code=257 "The file 
> > “com.apple.ViewBridge.plist” couldn’t be opened because you don’t have 
> > permission to view it." 
> > UserInfo={NSFilePath=/Library/Preferences/com.apple.ViewBridge.plist, 
> > NSUnderlyingError=0x10b9ec250 {Error Domain=NSPOSIXErrorDomain Code=1 
> > "Operation not permitted"}}
> > 
> > I found a reference to this in the tor browser project 
> > (https://trac.torproject.org/projects/tor/ticket/20989) and it sounds like 
> > it may be related to app sand boxing being configured too strict. However, 
> > I'm unsure on how to apply their fix to Icecat (or if this is the actual 
> > culprit).
> > 
> > Does anyone have any pointers on what I could do from here?
> > 
> > Thanks,
> > Johannes
> > 
> > --
> > http://gnuzilla.gnu.org
> 
> --
> http://gnuzilla.gnu.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]