NetBSD Problem Report #48120
From www@NetBSD.org Wed Aug 14 01:08:25 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 2E17F7100C
for <gnats-bugs@gnats.NetBSD.org>; Wed, 14 Aug 2013 01:08:25 +0000 (UTC)
Message-Id: <20130814010823.953D57137D@mollari.NetBSD.org>
Date: Wed, 14 Aug 2013 01:08:23 +0000 (UTC)
From: davshao@gmail.com
Reply-To: davshao@gmail.com
To: gnats-bugs@NetBSD.org
Subject: sysutils/strigi DragonFly undefined reference to symbol '_ZN6lucene4util14atomic_threads16atomic_decrementEPj'
X-Send-Pr-Version: www-1.0
>Number: 48120
>Category: pkg
>Synopsis: sysutils/strigi DragonFly undefined reference to symbol '_ZN6lucene4util14atomic_threads16atomic_decrementEPj'
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: markd
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 14 01:10:00 +0000 2013
>Closed-Date: Sun Sep 22 00:30:09 +0000 2013
>Last-Modified: Sun Sep 22 00:30:09 +0000 2013
>Originator: David Shao
>Release: DragonFly 3.5-DEVELOPMENT x86_64 and i386
>Organization:
>Environment:
DragonFly 3.5-DEVELOPMENT x86_64 and i386
>Description:
Using latest cvs pkgsrc through
Subject: CVS commit: pkgsrc/math/py-pytables
Date: Tue, 13 Aug 2013 21:24:37 +0000
and using master on DragonFly 3.5-DEVELOPMENT x86_64 and i386 through
commit 3863e4c79923b765ed05e23769649c5a0f1240d4
Date: Mon Aug 12 22:04:19 2013 +0200
sysctl_add_oid.9: Reduce diffs to Free a bit.
sysutils/strigi fails to build even after textproc/libclucene is rebuilt and even after forced deletion with errors:
=> Adding run-time search paths to pkg-config files.
WARNING: [subst.mk:pkgconfig] Ignoring non-existent file "./src/streamanalyzer/libstreamanalyzer.pc.cmake".
WARNING: [subst.mk:pkgconfig] Ignoring non-existent file "./src/streams/libstreams.pc.cmake".
...
-- The following REQUIRED packages have been found:
* ZLIB , Support for gzip compressed files and data streams , <http://www.zlib.net>
* BZip2 , Support for BZip2 compressed files and data streams , <http://www.bzip.org>
* Iconv
* Threads , The thread library of the system
-- Found LibXml2: /usr/pkg/lib/libxml2.so (found version "2.9.1")
-- Found CLucene library: /usr/pkgsrc/sysutils/strigi/work/.buildlink/lib/libclucene-core.so
-- Found CLucene include dir: /usr/pkgsrc/sysutils/strigi/work/.buildlink/include
-- Found CLucene library dir: /usr/pkgsrc/sysutils/strigi/work/.buildlink/include
-- Found CLucene: /usr/pkgsrc/sysutils/strigi/work/.buildlink/lib/libclucene-core.so
** CLucene is found. Support for CLucene backend is enabled
-- Found PkgConfig: /usr/pkgsrc/sysutils/strigi/work/.tools/bin/pkg-config (found version "0.28")
-- checking for module 'libclucene-core'
-- found libclucene-core, version 2.3.3.4
** CLucene1 is found. Support for CLucene Version 1+ backend is enabled
-- checking for module 'exiv2'
-- found exiv2, version 0.23
-- Found Exiv2: /usr/pkg/lib/libexiv2.so (found version "0.23.0", required is "0.12")
** Exiv2 is found. Support for indexing of EXIF/IPTC metadata is enabled
** FFmpeg is disabled. No support for indexing FFMPEG
--
-- The following OPTIONAL packages have been found:
* CLucene
* CLucene1
* PkgConfig
* Exiv2
-- The following REQUIRED packages have been found:
* ZLIB , Support for gzip compressed files and data streams , <http://www.zlib.net>
* BZip2 , Support for BZip2 compressed files and data streams , <http://www.bzip.org>
* Threads , The thread library of the system
* LibXml2 , <http://xmlsoft.org>
* Iconv
-- The following OPTIONAL packages have not been found:
* XAttr
-- checking for module 'dbus-1'
-- found dbus-1, version 1.6.12
-- Found DBUS: /usr/pkg/lib/libdbus-1.so
** DBus is found. Support for dbus inter-process communication is enabled
-- Please use Gamin instead of FAM if possible
-- Found FAM: /usr/pkgsrc/sysutils/strigi/work/.buildlink/lib/libfam.so
** FAM is found. Support for efficient file change monitoring system is enabled
-- NOT Found log4cxx, disabling it
** Log4cxx not found. Support for advanced logging is disabled
-- Found cppunit: -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lcppunit -ldl
...
gmake[2]: Warning: File `libstreamanalyzer/plugins/lineplugins/CMakeFiles/deb.dir/depend.make' has modification time 0.0018 s in the future
[ 61%] Building CXX object libstreamanalyzer/plugins/lineplugins/CMakeFiles/deb.dir/deblineanalyzer.cpp.o
Linking CXX shared module strigila_deb.so
gmake[2]: warning: Clock skew detected. Your build may be incomplete.
...
[ 66%] Building CXX object libstreamanalyzer/plugins/indexers/clucenengindexer/indexdump/CMakeFiles/index2dump.dir/__/tcharutils.cpp.o
Linking CXX executable index2dump
/usr/libexec/binutils222/elf/ld.bfd: CMakeFiles/index2dump.dir/indexdump.cpp.o: undefined reference to symbol '_ZN6lucene4util14atomic_threads16atomic_decrementEPj'
/usr/libexec/binutils222/elf/ld.bfd: 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
gmake[2]: *** [libstreamanalyzer/plugins/indexers/clucenengindexer/indexdump/index2dump] Error 1
gmake[1]: *** [libstreamanalyzer/plugins/indexers/clucenengindexer/indexdump/CMakeFiles/index2dump.dir/all] Error 2
gmake: *** [all] Error 2
*** Error code 2
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->markd
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Wed, 14 Aug 2013 19:29:11 +0000
Responsible-Changed-Why:
Over to maintainer.
From: Mark Davies <mark@ecs.vuw.ac.nz>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/48120: sysutils/strigi DragonFly undefined reference to symbol '_ZN6lucene4util14atomic_threads16atomic_decrementEPj'
Date: Tue, 20 Aug 2013 08:48:42 +1200
Does adding a
LDFLAGS.DragonFly+= -lclucene-shared
to the Makefile fix it?
cheers
mark
From: David Shao <davshao@gmail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/48120: sysutils/strigi DragonFly undefined reference to
symbol '_ZN6lucene4util14atomic_threads16atomic_decrementEPj'
Date: Tue, 17 Sep 2013 07:46:04 -0700
Sorry for the late reply. Yes, on DragonFly 3.5-DEVELOPMENT both
x86_64 and i386, making the suggested change to the Makefile for
sysutils/strigi enables building and usage in the building of much of
the KDE4 desktop environment. The following patch was tested on
current pkgsrc cvs such as through
Module Name: pkgsrc
Date: Tue Sep 17 01:06:12 UTC 2013
Modified Files:
pkgsrc/doc: CHANGES-2013
Log Message:
Updated filesystems/openafs to 1.6.5
$NetBSD$
--- Makefile.orig 2013-09-16 12:51:38.560183000 +0000
+++ Makefile
@@ -25,6 +25,8 @@ RT_LIB_SCHED= -lrt
RT_LIB_SCHED= # empty
.endif
+LDFLAGS.DragonFly+= -lclucene-shared
+
CFLAGS.SunOS+= -DCMAKE_HAVE_PTHREAD_CREATE
LDFLAGS.SunOS+= -mimpure-text -lrt -lsocket -lclucene-shared
From: "Mark Davies" <markd@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/48120 CVS commit: pkgsrc/sysutils/strigi
Date: Thu, 19 Sep 2013 20:38:50 +0000
Module Name: pkgsrc
Committed By: markd
Date: Thu Sep 19 20:38:50 UTC 2013
Modified Files:
pkgsrc/sysutils/strigi: Makefile
Log Message:
Explicitly link clucene-shared on DragonFly. Fixes PR pkg/48120
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/sysutils/strigi/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: David Shao <davshao@gmail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/48120: sysutils/strigi DragonFly undefined reference to
symbol '_ZN6lucene4util14atomic_threads16atomic_decrementEPj'
Date: Fri, 20 Sep 2013 21:22:33 -0700
sysutils/strigi now builds on DragonFly 3.5-DEVELOPMENT git master src
commit b3845cf03ff49b507005a95ba22ceea6d4fd6a06
Date: Thu Sep 19 21:50:55 2013 +0200
drm: Update drm_pciids.h with Linux 3.8 data
for pkgsrc current cvs through
Module Name: pkgsrc
Date: Fri Sep 20 14:50:49 UTC 2013
Modified Files:
pkgsrc/editors/nvi: distinfo
pkgsrc/editors/nvi/patches: patch-dist_configure.in
Added Files:
pkgsrc/editors/nvi/patches: patch-common_key.h patch-dist_config.h.in
Thanks!
State-Changed-From-To: open->closed
State-Changed-By: markd@NetBSD.org
State-Changed-When: Sun, 22 Sep 2013 00:30:09 +0000
State-Changed-Why:
confirmed fixed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.