Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On OpenBSD 7.5, Lazarus fails to build #7

Open
TCH68k opened this issue Jun 8, 2024 · 2 comments
Open

On OpenBSD 7.5, Lazarus fails to build #7

TCH68k opened this issue Jun 8, 2024 · 2 comments

Comments

@TCH68k
Copy link

TCH68k commented Jun 8, 2024

After sysupgrade and sysmerge everything was still working, but after pkg_add -u finished, Lazarus died and i cannot build it either:

gmake -C ide ide
gmake[1]: Entering directory '/usr/ports/pobj/lazarus-2.2.0_0/lazarus/ide'
/bin/mkdir -p ../units/x86_64-openbsd/gtk2
../tools/svn2revisioninc .. revision.inc
Created /usr/ports/pobj/lazarus-2.2.0_0/lazarus/ide/revision.inc for revision: Unversioned directory
An unhandled exception occurred at $00000B4CF72602F2:
EAccessViolation: 
  $00000B4CF72602F2 line 177 of /usr/src/lib/libc/stdlib/atexit.c
  $00000B4CF72727E5 line 54 of /usr/src/lib/libc/stdlib/exit.c
  $00000B4A04264983

An unhandled exception occurred at $00000B4A0427FB50:
EAccessViolation: 
  $00000B4A0427FB50
  $00000B4CF72727E5 line 54 of /usr/src/lib/libc/stdlib/exit.c
  $00000B4A04264983

And then this latter error message repeats forever. Full log is here: http://oscomp.hu/depot/lazarus_make_install.log
This time cd /usr/ports/devel/lazarus && make clean='all depends' happened before make install.

@TCH68k
Copy link
Author

TCH68k commented Jun 9, 2024

I've managed to pinpoint which package's update kills Lazarus: it is the update of the package(s?) .libs1-harfbuzz-2.9.1+.libs1-harfbuzz-5.2.0+harfbuzz-8.2.1; when updated to harfbuzz-8.3.0, Lazarus dies with the error message of:

(lazarus:40076): GLib-GObject-CRITICAL **: 15:58:36.054: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
[FORMS.PP] ExceptionOccurred 
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $000008A747750768
  $000008A74774E80E
  $000008A74774F02F
  $000008A7664A56BE
  $000008A74773A44D
  $000008A7664A3B16
  $000008A7663D7572
  $000008A747734410
  $000008A747751052
  $000008A74774E80E
  $000008A74774F02F
  $000008A7664A56BE
  $000008A74773A44D
  $000008A7664A3B16
  $000008A4E5F94652  FREESTYLEOBJECT,  line 7715 of gtk2proc.inc
  $000008A4E5F94777  RELEASEALLSTYLES,  line 7742 of gtk2proc.inc
  $000008A4E5E2BFF1  FREEALLSTYLES,  line 1650 of gtk2widgetset.inc
[FORMS.PP] ExceptionOccurred

The dependencies of this (these?) package(s?) (glib2, lzo2, png, cairo, graphite2) have been ruled out, by pre-installing them before. It's harfbuzz. Also, if i do a full pkg_add -u, (which will update gtk+2 and the rest) then it is the same, so it is not something missing. Another ABI-breakage after 7.2->7.3 i presume, but this time i cannot even rebuild Lazarus... :(

@TCH68k
Copy link
Author

TCH68k commented Jun 12, 2024

Even the freshly compiled Lazarus 3.4 crashes because of harfbuzz 8.3.0:
https://forum.lazarus.freepascal.org/index.php/topic,67536.msg520130.html#msg520130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant