pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: qemu with gtk3
Hi,
This patch fixes my build of pkgsrc/emulators/qemu with gtk3 option.
Thank you
Index: emulators/qemu/options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/qemu/options.mk,v
retrieving revision 1.20
diff -u -r1.20 options.mk
--- emulators/qemu/options.mk 6 May 2023 19:22:37 -0000 1.20
+++ emulators/qemu/options.mk 2 Aug 2023 22:11:50 -0000
@@ -42,6 +42,8 @@
.if !empty(PKG_OPTIONS:Mgtk3)
PLIST.gtk= yes
CONFIGURE_ARGS+= --enable-gtk
+USE_TOOLS+= xgettext
+.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-gtk
Ryo ONODERA <ryo%tetera.org@localhost> writes:
> On July 25, 2023 5:27:30 AM GMT+09:00, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>>On Mon, 24 Jul 2023 at 21:16, Robert Swindells <rjs%fdy2.co.uk@localhost> wrote:
>>>
>>>
>>> Trying to build emulators/qemu with the gtk3 option enabled on
>>> NetBSD-current amd64 I get this error:
>>>
>>> [2596/6902] Linking target qemu-system-arm
>>> FAILED: qemu-system-arm
>>> c++ -m64 -mcx16 @qemu-system-arm.rsp
>>> ld: libcommon.fa.p/ui_gtk.c.o: undefined reference to symbol 'gettext'
>>> ld: /usr/lib/libintl.so.1: error adding symbols: DSO missing from command line
>>> [2615/6902] Compiling C object libqemu...mmu.fa.p/target_arm_tcg_sve_helper.c.o
>>> ninja: build stopped: subcommand failed.
>>>
>>> Tried adding devel/gettext-lib bl3 to options.mk to see if made any
>>> difference but it didn't.
>>
>>
>>I get the same. The "solution" for me is to temporarily remove
>>gettext-lib while building it.
>>
>>>
>>
>>
>
> Hi,
>
> I have a patch to include devel/gettext-lib/buildlink3.mk in options.mk
> and it fixes my gtk3 build.
>
> My laptop has broken and it will be sent to
> the factory soon.
> I do not confirm it for a while...
>
> I will take a look at your problem after getting my laptop repaired.
>
> Thank you.
>
> --
> Ryo ONODERA // ryo%tetera.org@localhost
> PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
--
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index