It looks like freetype2 picked up a dependency on 
/opt/homebrew/lib/libbrotlidec.dylib even though I started with a new user 
account and insulated the build with 
> 
> cmakeargs = 
> '-DCMAKE_SYSTEM_IGNORE_PATH="/opt/homebrew:/opt/macports:/sw:/usr/local"'
as suggested at 
https://wiki.gnome.org/action/show/Projects/GTK/OSX/Building#Prerequisites


So when harfbuzz-no-cairo tried to configure against freetype2, it was looking 
for libbrotlidec.pc, but that wasn’t built by jhbuild.

I’ll try again tomorrow to see if I can track down exactly how homebrew is 
poisoning the build environment.

Provided I can actual build gnucash, should development questions about 
integrating FQ get_features() take place on this mailing list in a new thread 
or on GitHub under and issue?

Best,

Vince


> On Jan 14, 2023, at 4:44 PM, John Ralls <jra...@ceridwen.us> wrote:
> 
> 
> 
>> On Jan 14, 2023, at 10:22 AM, Vincent Lucarelli 
>> <vincent.lucare...@gmail.com> wrote:
>> 
>> Hi,
>> 
>> I am attempting to setup a new Mac OS X user account on Ventura 13.0.1 to 
>> build gnucash so I can attempt to help integrate a new Finance::Quote 
>> feature into GnuCash. Ran into 2 problems following the instructions at 
>> https://wiki.gnucash.org/wiki/MacOS/Quartz 
>> 
>> First issue - was able to solve - copying /bin/bash to $HOME/.new_local/bin 
>> doesn’t seem to work on Ventura.  The process is immediately killed when the 
>> alternate copy of bash is run.  Some googling suggests it might have 
>> something to do with quarantine or code signing, but a few of the suggested 
>> solutions didn’t work. I have homebrew installed (but not in the path for 
>> the account I’m using to try and build gnucash), so I just installed bash 
>> with brew and then copied that executable into .new_local/bin.
>> 
>> Second issue - not sure how to proceed.  The bootstrap run successfully, but 
>> the jhbuild step failed to find freetype2
>> 
>>> PREFIX=$HOME/opt/gnucash jhbuild build
>> 
>>> ../../src/harfbuzz-4.1.0/meson.build:87:0: ERROR: Dependency 'freetype2' is 
>>> required but not found.
>>> 
>>> A full log can be found at 
>>> /Users/gnucash/opt/gnucash/build/harfbuzz-4.1.0/meson-logs/meson-log.txt
>>> WARNING: Running the setup command as `meson [options]` instead of `meson 
>>> setup [options]` is ambiguous and deprecated.
>>> *** Error during phase configure of harfbuzz-no-cairo: ########## Error 
>>> running meson --prefix /Users/gnucash/opt/gnucash/inst --libdir lib 
>>> -Dcoretext=enabled -Dfreetype=enabled -Ddocs=disabled -Dbenchmark=disabled 
>>> -Dintrospection=disabled --wrap-mode=nofallback 
>>> /Users/gnucash/opt/gnucash/src/harfbuzz-4.1.0 *** [20/76]
>>> 
>>> [1] Rerun phase configure
>>> [2] Ignore error and continue to build
>>> [3] Give up on module
>>> [4] Start shell
>>> [5] Reload configuration
>>> [6] Go to phase "wipe directory and start over"
>>> choice:
>> 
>> Any advice how how to proceed is appreciated.
> 
> harfbuzz-no-cairo depends on freetype-no-harfbuzz. If 
> $PREFIX/lib/pkgconfig/freetype2.pc isn't installed then something went wrong 
> with the latter. Scroll back in your terminal session to see what.
> 
> Regards,
> John Ralls

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to