NetBSD Problem Report #40047
From www@NetBSD.org Thu Nov 27 14:23:54 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 79CA063BD2D
for <gnats-bugs@gnats.netbsd.org>; Thu, 27 Nov 2008 14:23:54 +0000 (UTC)
Message-Id: <20081127142353.79ABF63B8BD@narn.NetBSD.org>
Date: Thu, 27 Nov 2008 14:23:53 +0000 (UTC)
From: pkgsrc@blackmouse.biz
Reply-To: pkgsrc@blackmouse.biz
To: gnats-bugs@NetBSD.org
Subject: gkrellm plugin problems - could be only Linux problem
X-Send-Pr-Version: www-1.0
>Number: 40047
>Notify-List: dholland@NetBSD.org
>Category: pkg
>Synopsis: gkrellm plugin problems - could be only Linux problem
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 27 14:25:00 +0000 2008
>Closed-Date: Sat Dec 29 15:57:15 +0000 2018
>Last-Modified: Sat Dec 29 16:00:01 +0000 2018
>Originator: Ondrej Tuma
>Release: current
>Organization:
Blackmouse
>Environment:
Linux mike 2.6.25.9 #7 SMP Sat Oct 18 10:03:27 CEST 2008 i686 pentium4 i386 GNU/Linux
>Description:
When plugins are use, their install failed with errors like this:
usr/pkg/lib/gkrellm2/plugins/reminder.so
Error: /usr/pkg/lib/gkrellm2/plugins/reminder.so: undefined symbol: gkrellm_homedir
/usr/pkg/lib/gkrellm2/plugins/gkrellmms.so
Error: /usr/pkg/lib/gkrellm2/plugins/gkrellmms.so: undefined symbol: gkrellm_panel_show
/usr/pkg/lib/gkrellm2/plugins/gkrellmlaunch.so
Error: /usr/pkg/lib/gkrellm2/plugins/gkrellmlaunch.so: undefined symbol: gkrellm_panel_show
/usr/pkg/lib/gkrellm2/plugins/gkleds.la
Error: /usr/pkg/lib/gkrellm2/plugins/gkleds.so: undefined symbol: gkrellm_panel_configure
>How-To-Repeat:
install any plugin and try it to install (use)
>Fix:
Problem is in "-Wl,-export-dynamic" which isn't in linking command. It could be problem in some setting - probably it is.
Here is my dirty patch:
--- src/Makefile.orig 2008-11-27 15:11:23.000000000 +0100
+++ src/Makefile
@@ -100,7 +100,7 @@ all: build
build: gkrellm
gkrellm static: $(OBJS)
- $(CC) $(OBJS) -o gkrellm$(if $(findstring static,$@),.static -static) $(LIBS) $(LINK_FLAGS)
+ $(CC) $(OBJS) -o gkrellm$(if $(findstring static,$@),.static -static) -Wl,-export-dynamic $(LIBS) $(LINK_FLAGS)
install: gkrellm
$(INSTALL_DIR) $(INSTALLDIR)
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->cube
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Tue, 02 Dec 2008 13:08:21 +0000
Responsible-Changed-Why:
Over to maintainer.
Responsible-Changed-From-To: cube->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 01 Nov 2010 00:01:45 +0000
Responsible-Changed-Why:
back to role account.
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 18 Jun 2015 05:13:58 +0000
State-Changed-Why:
Are you still seeing this?
State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 25 Jun 2015 05:44:59 +0000
State-Changed-Why:
Feedback mail bounced.
State-Changed-From-To: open->closed
State-Changed-By: triaxx@NetBSD.org
State-Changed-When: Sat, 29 Dec 2018 15:57:15 +0000
State-Changed-Why:
Tested on Linux 4.19.12-arch1-1-ARCH x86_6, problem confirmed. The dirty hack fixes it.
From: =?UTF-8?B?RnLDqWTDqXJpYyBGYXViZXJ0ZWF1?= <triaxx@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/40047 CVS commit: pkgsrc/sysutils/gkrellm
Date: Sat, 29 Dec 2018 15:55:50 +0000
Module Name: pkgsrc
Committed By: triaxx
Date: Sat Dec 29 15:55:50 UTC 2018
Modified Files:
pkgsrc/sysutils/gkrellm: distinfo
Added Files:
pkgsrc/sysutils/gkrellm/patches: patch-src_Makefile
Log Message:
gkrellm: fix PR pkg/40047
Thanks Ondrej Tuma
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/sysutils/gkrellm/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/gkrellm/patches/patch-src_Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.