NetBSD Problem Report #50252
From www@NetBSD.org Fri Sep 18 02:26:20 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 300A7A6531
for <gnats-bugs@gnats.NetBSD.org>; Fri, 18 Sep 2015 02:26:20 +0000 (UTC)
Message-Id: <20150918022618.1BA34A6558@mollari.NetBSD.org>
Date: Fri, 18 Sep 2015 02:26:18 +0000 (UTC)
From: ccatrian@eml.cc
Reply-To: ccatrian@eml.cc
To: gnats-bugs@NetBSD.org
Subject: Problems linking sysutils/strigi
X-Send-Pr-Version: www-1.0
>Number: 50252
>Category: pkg
>Synopsis: Problems linking sysutils/strigi
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bsiegert
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Sep 18 02:30:00 +0000 2015
>Closed-Date: Mon Dec 28 12:42:48 +0000 2015
>Last-Modified: Mon Dec 28 12:42:48 +0000 2015
>Originator: Cesar
>Release: Slackware/pkgsrc-current
>Organization:
>Environment:
Linux sat2 3.10.17-smp #2 SMP Wed Oct 23 17:13:14 CDT 2013 i686 Intel(R) Atom(TM) CPU N2600 @ 1.60GHz GenuineIntel GNU/Linux
>Description:
Problems compiling strigi, patch supplied.
[ 64%] Linking CXX executable index2dump
/usr/lib/gcc/i486-slackware-linux/4.8.2/../../../../i486-slackware-linux/bin/ld: CMakeFiles/index2dump.dir/indexdump.cpp.o: undefined reference to symbol '_ZN6lucene4util14atomic_threads16atomic_decrementEPj'
/usr/lib/gcc/i486-slackware-linux/4.8.2/../../../../i486-slackware-linux/bin/ld: note: '_ZN6lucene4util14atomic_threads16atomic_decrementEPj' is defined in DSO /usr/pkg/lib/libclucene-shared.so.1 so try adding it to the linker command line
/usr/pkg/lib/libclucene-shared.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
>How-To-Repeat:
bmake
>Fix:
>Release-Note:
>Audit-Trail:
From: =?ISO-8859-1?Q?C=E9sar=20Catri=E1n=20C.?= <ccatrian@eml.cc>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/50252: Problems linking sysutils/strigi
Date: Thu, 17 Sep 2015 23:39:37 -0300
On Thu, Sep 17, 2015, at 11:30 PM, gnats-admin@netbsd.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `pkg/50252'.
> The individual assigned to look at your
> report is: pkg-manager.=20
>=20
> >Category: pkg
> >Responsible: pkg-manager
> >Synopsis: Problems linking sysutils/strigi
> >Arrival-Date: Fri Sep 18 02:30:00 +0000 2015
>=20
Solved fixing LDFLAGS for Linux
--- sysutils/strigi/Makefile.orig 2015-09-17 03:17:28.284954156
-0300
+++ sysutils/strigi/Makefile 2015-09-17 03:20:54.159945161 -0300
@@ -29,6 +29,7 @@
LDFLAGS.DragonFly+=3D -lclucene-shared
LDFLAGS.FreeBSD+=3D -lclucene-shared
LDFLAGS.NetBSD+=3D -lclucene-shared
+LDFLAGS.Linux+=3D -lclucene-shared
CFLAGS.SunOS+=3D -DCMAKE_HAVE_PTHREAD_CREATE
LDFLAGS.SunOS+=3D -mimpure-text -lrt -lsocket -lclucene-shared
--=20
C=E9sar Catri=E1n C.
Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Mon, 28 Dec 2015 12:42:48 +0000
Responsible-Changed-Why:
State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Mon, 28 Dec 2015 12:42:48 +0000
State-Changed-Why:
This has been committed in the meantime.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.