Created attachment 191712 [details] Diff for the port I wrote a port for astroid, (homepage: http://astroidmail.github.io/). This is my first attempt at porting, so I'd appreciate any feedback that can be provided. I attempted to follow the handbook as closely as I can. Program seems to compile fine and I believe I caught all of the dependencies / ran through all of the testing steps shown in the handbook. Thanks!
The build fails for me: ===> Building for astroid-0.11.1 [1/4] cd /usr/ports/mail/astroid/work/astroid-0.11.1 && /usr/local/bin/g-ir-scanner --warn-all --namespace=Astroid --nsversion=0.1 --add-include-path=/usr/ports/mail/astroid/work/astroid-0.11.1 --output /usr/ports/mail/astroid/work/astroid-0.11.1/Astroid-0.1.gir --no-libtool --program=/usr/ports/mail/astroid/work/astroid-0.11.1/gir_main --include=GObject-2.0 --include=GMime-2.6 /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/astroid_activatable.c /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/thread_view_activatable.c /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/thread_index_activatable.c /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/astroid_activatable.h /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/thread_view_activatable.h /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/thread_index_activatable.h /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/gir_main.c FAILED: Astroid-0.1.gir cd /usr/ports/mail/astroid/work/astroid-0.11.1 && /usr/local/bin/g-ir-scanner --warn-all --namespace=Astroid --nsversion=0.1 --add-include-path=/usr/ports/mail/astroid/work/astroid-0.11.1 --output /usr/ports/mail/astroid/work/astroid-0.11.1/Astroid-0.1.gir --no-libtool --program=/usr/ports/mail/astroid/work/astroid-0.11.1/gir_main --include=GObject-2.0 --include=GMime-2.6 /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/astroid_activatable.c /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/thread_view_activatable.c /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/thread_index_activatable.c /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/astroid_activatable.h /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/thread_view_activatable.h /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/thread_index_activatable.h /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/gir_main.c Couldn't find include 'GMime-2.6.gir' (search path: '['/usr/ports/mail/astroid/work/astroid-0.11.1', u'/usr/local/share/gir-1.0', u'/usr/share/gir-1.0', u'/usr/local/share/gir-1.0', u'/usr/share/gir-1.0', u'/usr/local/share/gir-1.0']') ninja: build stopped: subcommand failed.
Created attachment 191723 [details] Updated diff, including fix for gmime Thanks for the feedback, I noticed a typo in the Makefile (referenced the wrong version of gmime; my machine already had the correct version of gmime installed, so I did not notice the problem). Attached an updated diff that should resolve this issue.
No, changing the dependency can't fix it. It still fails.
Hmm, okay I will probably have to look at this more, then. It is still successfully building on my machine. I'll do some more research and see what can be done. Thanks.
(In reply to Mylan Connolly from comment #4) You should build in poudriere. It fails there too. You local computer build isn't enough to know it isn't broken.
This looks like an upstream bug: https://github.com/astroidmail/astroid/issues/485
I don't know if this is right or relevant, but it builds with CMAKE_ARGS+= -DDISABLE_PLUGINS:BOOL=true
(In reply to w.schwarzenfeld from comment #7) Yes, thanks, that's what upstream also suggested. This disables some gtk introspection code that breaks, which is in plugins.
ping!
A commit references this bug: Author: yuri Date: Thu Aug 8 07:59:04 UTC 2019 New revision: 508365 URL: https://svnweb.freebsd.org/changeset/ports/508365 Log: New port: mail/astroid: Graphical email client for notmuch, inspired by sup and others PR: 226829 Submitted by: Mylan Connolly <mylan.connolly@gmail.com> Changes: head/mail/Makefile head/mail/astroid/ head/mail/astroid/Makefile head/mail/astroid/distinfo head/mail/astroid/files/ head/mail/astroid/files/patch-CMakeLists.txt head/mail/astroid/pkg-descr head/mail/astroid/pkg-plist
Committed. Thank you for your contribution!