Bug 276149 - x11-toolkits/gnustep-back: update to 0.30.0
Summary: x11-toolkits/gnustep-back: update to 0.30.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Robert Clausecker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-06 15:22 UTC by joran
Modified: 2024-03-19 20:42 UTC (History)
1 user (show)

See Also:


Attachments
Update to 0.30.0 (3.95 KB, patch)
2024-01-06 15:22 UTC, joran
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description joran 2024-01-06 15:22:07 UTC
Created attachment 247485 [details]
Update to 0.30.0

Update gnustep-back to 0.30.0.

Added patch-no-nfonts to prevent building .nfont files. These are not used by the cairo backend.

Removed ignored configure flags:

--with-tiff-include
--with-jpeg-library
--with-jpeg-include
--with-gif-library
--with-gif-include

Removed unnecessary config flag:

--with-tiff-library
Comment 1 Robert Clausecker freebsd_committer freebsd_triage 2024-03-14 10:15:25 UTC
Same as with your other patches:
Looks good, please submit changelog, and please check if you want to be maintainer.
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2024-03-17 09:12:42 UTC
The build fails on armv7:

cc   -L/usr/local/lib -fstack-protector-strong -fuse-ld=bfd       -fuse-ld=gold -pthread -fexceptions -rdynamic -fobjc-runtime=gnustep-2.0 -fblocks  -o obj/gpbs \
        ./obj/gpbs.obj/xdnd.c.o ./obj/gpbs.obj/gpbs.m.o ./obj/gpbs.obj/xpbs.m.o \
          -L../Source/./obj  -L../Source/./obj  -L../Source/./obj   -L../Source/./obj    -L/wrkdirs/usr/ports/x11-toolkits/gnustep-back/work/GNUstep/Library/Libraries -L/usr/local/GNUstep/Local/Library/Libraries -L/usr/local/GNUstep/System/Library/Libraries  -L/usr/local/lib -L/usr/local/lib -fstack-protector-strong -fuse-ld=bfd  -lgnustep-gui -lGL -L/usr/local/lib -lcairo -lfreetype -lXrender -L/usr/local/lib -lcairo -lX11 -lXext -L/usr/local/lib -lXft -lfontconfig  -L/usr/local/lib -lXcursor -lXfixes -lXmu -lXt -lXext -lX11      -lgnustep-base    -lobjc   -lm
/usr/local/bin/ld.bfd: /usr/local/lib/libobjc.so: undefined reference to `_Unwind_VRS_Get(_Unwind_Context*, _Unwind_VRS_RegClass, unsigned int, _Unwind_VRS_DataRepresentation, void*)'
/usr/local/bin/ld.bfd: /usr/local/lib/libobjc.so: undefined reference to `__gnu_unwind_frame(_Unwind_Exception*, _Unwind_Context*)'
/usr/local/bin/ld.bfd: /usr/local/lib/libobjc.so: undefined reference to `_Unwind_VRS_Set(_Unwind_Context*, _Unwind_VRS_RegClass, unsigned int, _Unwind_VRS_DataRepresentation, void*)'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [/usr/local/GNUstep/System/Library/Makefiles/Instance/tool.make:89: obj/gpbs] Error 1
gmake[3]: *** [/usr/local/GNUstep/System/Library/Makefiles/Instance/tool.make:74: internal-tool-all_] Error 2
gmake[2]: *** [/usr/local/GNUstep/System/Library/Makefiles/Master/rules.make:297: gpbs.all.tool.variables] Error 2
gmake[1]: *** [/usr/local/GNUstep/System/Library/Makefiles/Master/tool.make:71: internal-all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11-toolkits/gnustep-back/work/libs-back-back-0_30_0/Tools'
gmake: *** [/usr/local/GNUstep/System/Library/Makefiles/Master/serial-subdirectories.make:53: internal-all] Error 2


However, this is not a new failure and likely related to libunwind being somewhat broken on armv7.  Let me know if you want to attempt a fix.  Otherwise I would commit this one as is.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-03-19 14:21:35 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5c98ae62a2448aafddbb999f3a089fc719fc8cc6

commit 5c98ae62a2448aafddbb999f3a089fc719fc8cc6
Author:     Joran Rood <joran@rood.me>
AuthorDate: 2024-03-14 10:15:28 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-03-19 14:18:29 +0000

    x11-toolkits/gnustep-back: update to 0.30.0

    Changelog: https://github.com/gnustep/libs-back/releases/tag/back-0_30_0

    PR:             276149

 x11-toolkits/gnustep-back/Makefile                 | 11 ++--------
 x11-toolkits/gnustep-back/distinfo                 |  6 +++---
 .../gnustep-back/files/patch-no-nfonts (new)       | 13 +++++++++++
 x11-toolkits/gnustep-back/pkg-plist                | 25 ----------------------
 4 files changed, 18 insertions(+), 37 deletions(-)
Comment 4 Robert Clausecker freebsd_committer freebsd_triage 2024-03-19 14:24:42 UTC
Thank you for your contribution.
Comment 5 joran 2024-03-19 20:42:17 UTC
(In reply to Robert Clausecker from comment #1)

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276148.

(In reply to Robert Clausecker from comment #2)

I'm not familiar with the libunwind issue you mention. I may look into the error you posted at some point but don't currently have time to do so (would be nice to have it build consistently on all architectures).

(In reply to Robert Clausecker from comment #4)

Thanks for committing this :-)