Re: [patch] Fixes QT build when not signing

From: Dave Page <dpage(at)pgadmin(dot)org>
To: George Gelashvili <ggelashvili(at)pivotal(dot)io>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [patch] Fixes QT build when not signing
Date: 2017-02-14 10:30:05
Message-ID: CA+OCxox1V87-jEd9zmWvfsa=7kB=S=e-xR9S_M92A8yBGXTdTA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

On Mon, Feb 13, 2017 at 7:41 PM, George Gelashvili
<ggelashvili(at)pivotal(dot)io> wrote:
> Hello Hackers!
>
> We were building the QT app locally with QTDIR, PGDIR, PYTHON_HOME, and
> PYTHON_VERSION set, and by running:
> make appbundle
>
> We were seeing the runtime error:
>>
>> Could not find QtWebEngineProcess
>> Abort trap: 6
>
> after a successful python server start.
>
> We found that the setup before signing in codesign-bundle.sh was necessary
> to resolve this, whether or not one is planning on signing the app or dmg.
> The fix requires setting variables appropriately in mac/pkg/framework.conf
>
> We've attached a patch with our changes.

I'm seeing the following in the output:

App completed: /Users/dpage/git/pgadmin4/pkg/mac/../../mac-build/pgAdmin 4.app
usage: chmod [-fhv] [-R [-H | -L | -P]] [-a | +a | =a [i][# [ n]]]
mode|entry file ...
chmod [-fhv] [-R [-H | -L | -P]] [-E | -C | -N | -i | -I] file ...
Reorganising the framework structure

I wonder if there's any point in building if framework.conf isn't
present? It clearly doesn't work, so we should probably just exit if
it's not there (or attempt to run using the default values in
framework.conf.in.

Thoughts?

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-02-14 10:53:00 Re: Autoformatting
Previous Message Juliano 2017-02-14 10:05:04 PgAdmin4 jobs pgagent "run now" option