NetBSD Problem Report #53426
From martin@duskware.de Fri Jul 6 11:36:30 2018
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 6A3C27A177
for <gnats-bugs@gnats.NetBSD.org>; Fri, 6 Jul 2018 11:36:30 +0000 (UTC)
Message-Id: <20180706113619.5A00C5CC854@emmas.aprisoft.de>
Date: Fri, 6 Jul 2018 13:36:19 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: gnome-calculator 3.24.0nb9 does not work
X-Send-Pr-Version: 3.95
>Number: 53426
>Category: pkg
>Synopsis: gnome-calculator 3.24.0nb9 does not work
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jul 06 11:40:00 +0000 2018
>Closed-Date: Thu Jan 14 12:48:46 +0000 2021
>Last-Modified: Thu Jan 14 12:48:46 +0000 2021
>Originator: Martin Husemann
>Release: NetBSD 8.99.21
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 8.99.21 NetBSD 8.99.21 (NIGHT-OWL) #604: Wed Jul 4 14:30:29 CEST 2018 martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:
Trying to start gnome-calculartor shows the user interface but it dies
imediately (without further interaction).
#0 0x00007f7fe22ae159 in p11_array_push (array=0x7f7ff29640a0,
value=0x7f7ff2964080) at common/array.c:106
__func__ = "p11_array_push"
#1 0x00007f7fe2240de0 in register_callback_unlocked (cb=0x7f7ff2964080,
pin_source=<optimized out>) at p11-kit/pin.c:201
callbacks = 0x7f7ff29640a0
name = 0x0
#2 p11_kit_pin_register_callback (pin_source=<optimized out>,
callback=<optimized out>, callback_data=<optimized out>,
callback_destroy=<optimized out>) at p11-kit/pin.c:248
cb = 0x7f7ff2964080
__func__ = "p11_kit_pin_register_callback"
#3 0x00007f7fe2a0df1f in g_tls_connection_gnutls_init ()
from /usr/pkg/lib/gio/modules/libgiognutls.so
No symbol table info available.
#4 0x00007f7feb62f53c in g_type_create_instance ()
from /usr/pkg/lib/libgobject-2.0.so.0
No symbol table info available.
#5 0x00007f7feb6133d2 in g_object_new_internal ()
from /usr/pkg/lib/libgobject-2.0.so.0
>How-To-Repeat:
s/a
>Fix:
n/a
>Release-Note:
>Audit-Trail:
From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/53426: gnome-calculator 3.24.0nb9 does not work
Date: Fri, 6 Jul 2018 13:05:16 +0100
so calculator -> libsoup -> libgio -> gio/modules/libgiognutls.so -> p11-kit
From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/53426: gnome-calculator 3.24.0nb9 does not work
Date: Fri, 6 Jul 2018 17:32:50 +0100
Workaround:
mv /usr/pkg/lib/gio/modules/libgiognutls.so /somewhereelse
(Updated p11-kit and gnutls hasn't helped)
From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/53426: gnome-calculator 3.24.0nb9 does not work
Date: Fri, 13 Jul 2018 10:47:17 +0100
What is the status of "reallocarray" in NetBSD?
p11-kit's autoconf test finds it, and nm shows it in libc, but in
stdlib.h:
#ifdef _OPENBSD_SOURCE
long long strtonum(const char *, long long, long long, const char **);
void *reallocarray(void *, size_t, size_t);
#endif
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/53426: gnome-calculator 3.24.0nb9 does not work
Date: Fri, 13 Jul 2018 11:51:29 +0200
On Fri, Jul 13, 2018 at 09:50:00AM +0000, Patrick Welche wrote:
> #ifdef _OPENBSD_SOURCE
> long long strtonum(const char *, long long, long long, const char **);
> void *reallocarray(void *, size_t, size_t);
> #endif
Just make p11 kit -D_OPENBSD_SOURCE on NetBSD (I think this has been done
for a few other pkgs already).
Martin
From: "Patrick Welche" <prlw1@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/53426 CVS commit: pkgsrc/security/p11-kit
Date: Fri, 13 Jul 2018 11:21:29 +0000
Module Name: pkgsrc
Committed By: prlw1
Date: Fri Jul 13 11:21:29 UTC 2018
Modified Files:
pkgsrc/security/p11-kit: Makefile
Log Message:
reallocarray exists in NetBSD's libc, so AC_CHECK_LIB will find it.
For some reason it is hidden in stdlib.h by _OPENBSD_SOURCE, so add
that to p11-kit's Makefile to avoid coredumps. Fixes PR pkg/53426.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/security/p11-kit/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: nia@NetBSD.org
State-Changed-When: Thu, 14 Jan 2021 12:42:13 +0000
State-Changed-Why:
Does the new version work for you?
State-Changed-From-To: feedback->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Thu, 14 Jan 2021 12:48:46 +0000
State-Changed-Why:
Yes, it has been working fine since quite some time (forgot
about this PR, but just tested on that machine with 3.24.0nb27
and it worked)
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.