Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630094 - dev-libs/libfilezilla-0.9.2 : /.../smart_pointer.cpp:54: undefined reference to CppUnit::SourceLine::SourceLine(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)
Summary: dev-libs/libfilezilla-0.9.2 : /.../smart_pointer.cpp:54: undefined reference ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-06 17:35 UTC by Toralf Förster
Modified: 2017-09-17 10:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.47 KB, text/plain)
2017-09-06 17:35 UTC, Toralf Förster
Details
dev-libs:libfilezilla-0.9.2:20170906-021848.log (dev-libs:libfilezilla-0.9.2:20170906-021848.log,265.73 KB, text/plain)
2017-09-06 17:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,90.08 KB, text/plain)
2017-09-06 17:36 UTC, Toralf Förster
Details
environment (environment,88.36 KB, text/plain)
2017-09-06 17:36 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.43 KB, application/x-bzip)
2017-09-06 17:36 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.99 KB, application/x-bzip)
2017-09-06 17:36 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.21 KB, application/x-bzip)
2017-09-06 17:36 UTC, Toralf Förster
Details
tests.tbz2 (tests.tbz2,20.41 KB, application/x-bzip)
2017-09-06 17:36 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-09-06 17:35:55 UTC
test-smart_pointer.o: In function `smart_pointer_test::test_optional()':
/var/tmp/portage/dev-libs/libfilezilla-0.9.2/work/libfilezilla-0.9.2/tests/smart_pointer.cpp:54: undefined reference to `CppUnit::SourceLine::SourceLine(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
/var/tmp/portage/dev-libs/libfilezilla-0.9.2/work/libfilezilla-0.9.2/tests/smart_pointer.cpp:54: undefined reference to `CppUnit::Message::Message(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/var/tmp/portage/dev-libs/libfilezilla-0.9.2/work/libfilezilla-0.9.2/tests/smart_pointer.cpp:54: undefined reference to `CppUnit::Asserter::failIf(bool, CppUnit::Message const&, CppUnit::SourceLine const&)'
/var/tmp/portage/dev-libs/libfilezilla-0.9.2/work/libfilezilla-0.9.2/tests/smart_pointer.cpp:54: undefined reference to `CppUnit::Message::~Message()'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop_libressl_20170903-100751

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-libs/libfilezilla
[ebuild  N    ] dev-libs/libfilezilla-0.9.2  USE="{-test}"
Comment 1 Toralf Förster gentoo-dev 2017-09-06 17:35:58 UTC
Created attachment 492782 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-06 17:36:02 UTC
Created attachment 492784 [details]
dev-libs:libfilezilla-0.9.2:20170906-021848.log
Comment 3 Toralf Förster gentoo-dev 2017-09-06 17:36:05 UTC
Created attachment 492786 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-09-06 17:36:08 UTC
Created attachment 492788 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-09-06 17:36:12 UTC
Created attachment 492790 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-06 17:36:15 UTC
Created attachment 492792 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-09-06 17:36:18 UTC
Created attachment 492794 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2017-09-06 17:36:21 UTC
Created attachment 492796 [details]
tests.tbz2
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2017-09-16 21:51:24 UTC
looks like underlinking
Comment 10 Sergei Trofimovich (RETIRED) gentoo-dev 2017-09-17 09:12:41 UTC
(In reply to Sergei Trofimovich from comment #9)
> looks like underlinking

I was wrong. It's an API change of dev-util/cppunit:
libfilezilla builds fine against 1.13.2-r2
but fails against 1.14.0.
Comment 11 Sergei Trofimovich (RETIRED) gentoo-dev 2017-09-17 10:13:21 UTC
libfilezilla-0.9.2/m4/cppunit.m4 relies on cppunit-config tool presence.
In 1.14.0 cppunit-config was removed and the only way to setup cppunit
environment is to use pkg-config.
Comment 12 Larry the Git Cow gentoo-dev 2017-09-17 10:24:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=032c84c9d3b226b882e5f4f13552754fe8e38804

commit 032c84c9d3b226b882e5f4f13552754fe8e38804
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2017-09-17 10:22:37 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2017-09-17 10:24:10 +0000

    dev-libs/libfilezilla: backported pkg-config cppunit detection, bug #630094
    
    libfilezilla-0.9.2/m4/cppunit.m4 relies on cppunit-config tool presence.
    In 1.14.0 cppunit-config was removed and the only way to setup cppunit
    environment is to use pkg-config.
    
    Upstream fixed it in revision 8441. I've applied extracted patch as-is:
        svn diff -r 8440:8441
    And not tests link and pass fine against both cppunit 1.13 and 1.14
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/630094
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../libfilezilla-0.9.2-cppunit-pkgconfig.patch     | 428 +++++++++++++++++++++
 dev-libs/libfilezilla/libfilezilla-0.9.2.ebuild    |  11 +-
 2 files changed, 438 insertions(+), 1 deletion(-)