From nobody@FreeBSD.org  Sat Mar  1 11:04:07 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id EEF3EF25
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  1 Mar 2014 11:04:07 +0000 (UTC)
Received: from newred.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id DA2CD1C5F
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  1 Mar 2014 11:04:07 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s21B47ZX014307
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 1 Mar 2014 11:04:07 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s21B47k6014306;
	Sat, 1 Mar 2014 11:04:07 GMT
	(envelope-from nobody)
Message-Id: <201403011104.s21B47k6014306@cgiserv.freebsd.org>
Date: Sat, 1 Mar 2014 11:04:07 GMT
From: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: math/libqalculate: libqalculate.so: undefined reference to `cln::print_integer(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, cln::cl_print_flags const&, cln::cl_I const&)'
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         187169
>Category:       ports
>Synopsis:       math/libqalculate: libqalculate.so: undefined reference to `cln::print_integer(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, cln::cl_print_flags const&, cln::cl_I const&)'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sylvio
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 01 11:10:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Fri Apr 18 08:50:00 UTC 2014
>Originator:     O. Hartmann
>Release:        FreeBSD 11.0-CURRENT
>Organization:
>Environment:
FreeBSD 11.0-CURRENT #0 r262601: Fri Feb 28 14:16:59 CET 2014   amd64
>Description:
Update/installation of port math/libqalculate fails on most recent CURRENT while compiling with the error shown below:

[...]

libtool: link: c++ -O2 -pipe -O3 -march=native -fstack-protector -fno-strict-aliasing -fstack-protector -o .libs/qalc qalc.o -pthread  -L/usr/local/lib -L/usr/lib -lreadline -lhistory -lncurses ../libqalculate/.libs/libqalculate.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libiconv.so /usr/local/lib/libpcre.so /usr/local/lib/libintl.so /usr/local/lib/libxml2.so -lm -lz -llzma /usr/local/lib/libcln.so /usr/local/lib/libgmp.so -pthread -Wl,-rpath -Wl,/usr/local/lib
./libqalculate/.libs/libqalculate.so: undefined reference to `cln::print_integer(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, cln::cl_print_flags const&, cln::cl_I const&)'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [qalc] Error 1
gmake[4]: Leaving directory `/usr/ports/math/libqalculate/work/libqalculate-0.9.7/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/math/libqalculate/work/libqalculate-0.9.7'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/math/libqalculate/work/libqalculate-0.9.7'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sylvio 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Mar 1 11:10:08 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=187169 

From: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To: bug-followup@FreeBSD.org, ohartman@zedat.fu-berlin.de
Cc:  
Subject: Re: ports/187169: math/libqalculate: libqalculate.so: undefined
 reference to `cln::print_integer(std::__1::basic_ostream&lt;char,
 std::__1::char_traits&lt;char&gt; &gt;&amp;, cln::cl_print_flags
 const&amp;, cln::cl_I const&amp;)&#39;
Date: Fri, 18 Apr 2014 10:39:56 +0200

 --Sig_/0Kh2/cxfKmrOdKZ_LPIaW=s
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 
 
 Please close PR. The problem went away after recompiling all prerequisites =
 of port
 math/libqaculate.
 
 --Sig_/0Kh2/cxfKmrOdKZ_LPIaW=s
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Disposition: attachment; filename=signature.asc
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.22 (FreeBSD)
 
 iQEcBAEBAgAGBQJTUOThAAoJEOgBcD7A/5N84m0IAN2gmXJI8hc8EJQdCisskBij
 QIC0gnE5pDC6RMpKJsS103SvrARu4c7VT+HaYSxd7kIdlADvo6mGPpvH37wfVmwB
 9MjizHgB2fliW+W9GPbkxE73nhIHxsAfs2VxyIGAavLUMy8p4OkKO6odsRe+L/SP
 wWd6t73NHqPB0pLAMMdxdS8jSouKjd6bmc9Xb0Z/QT0tPC36izjiJoJGi/Nr6dgc
 VeBZZWU12HiKBApMfyNgEVqhuZW2qhu5/mdyC+ngj57wVXMCqBT18FEapq5Wc7vo
 S9imD+w3VSt6SkD4tjYEPKmYu+wR992b8FHjrLYPuIZCrcSTGgds+ZavaQQZD/s=
 =uEH+
 -----END PGP SIGNATURE-----
 
 --Sig_/0Kh2/cxfKmrOdKZ_LPIaW=s--
>Unformatted:
