NetBSD Problem Report #58574

From www@netbsd.org  Sat Aug 10 19:49:12 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 1E50D1A9242
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 10 Aug 2024 19:49:12 +0000 (UTC)
Message-Id: <20240810194910.C15F91A9243@mollari.NetBSD.org>
Date: Sat, 10 Aug 2024 19:49:10 +0000 (UTC)
From: daleree@gmail.com
Reply-To: daleree@gmail.com
To: gnats-bugs@NetBSD.org
Subject: inputmethod/ibus-hangul is missing a dependency (graphics/librsvg)
X-Send-Pr-Version: www-1.0

>Number:         58574
>Category:       pkg
>Synopsis:       inputmethod/ibus-hangul is missing a dependency (graphics/librsvg)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 10 19:50:00 +0000 2024
>Originator:     Daeil Lee
>Release:        pkgsrc-2024Q2
>Organization:
>Environment:
NetBSD vmbsd.localdomain 10.0 NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
The package inputmethod/ibus-hangul requires graphics/librsvg, but graphics/librsvg (or graphics/libsrvg-c) is not specified as a dependency in the Makefile.

As a result, running 'ibus-setup-hangul' fails to open a ibus-setup-hangul window. Instead, it gives the following error message:

Traceback (most recent call last):
  File "/usr/pkg/share/ibus-hangul/setup/main.py", line 295, in <module>
    Setup(bus).run()
    ^^^^^^^^^^
  File "/usr/pkg/share/ibus-hangul/setup/main.py", line 155, in __init__
    self.__window.set_icon_from_file(icon_file)
gi.repository.GLib.GError: gdk-pixbuf-error-quark: Couldn't recognize the image file format for file "/usr/pkg/share/ibus-hangul/icons/ibus-hangul.svg" (3)
>How-To-Repeat:
Install inputmethod/ibus-hangul without installing graphics/librsvg or graphics/librsvg-c. Then execute 'ibus-setup-hangul'.
>Fix:
By installing the librsvg or librsvg-c package, the problem is resolved. I'm not sure which one is better.

To fix this problem, add the following line to the Makefile in inputmethod/ibus-hangul:

DEPENDS+= librsvg-[0-9]*:../../graphics/librsvg

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.