Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 686294

Summary: sci-libs/libgeodecomp-0.4.0 : main.cpp:
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Kurt Kanzenbach <kurt>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/14855
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sci-libs:libgeodecomp-0.4.0:20190518-233439.log
temp.tbz2

Description Toralf Förster gentoo-dev 2019-05-19 09:06:58 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/ants.dir/main.cpp.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > boost::posix_time::to_simple_string_type<char>(boost::posix_time::ptime)':
main.cpp:(.text._ZN5boost10posix_time21to_simple_string_typeIcEENSt7__cxx1112basic_stringIT_St11char_traitsIS4_ESaIS4_EEENS0_5ptimeE[_ZN5boost10posix_time21to_simple_string_typeIcEENSt7__cxx1112basic_stringIT_St11char_traitsIS4_ESaIS4_EEENS0_5ptimeE]+0x13d): undefined reference to `boost::gregorian::greg_month::as_short_string() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../libgeodecomp.so: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/examples/ants/CMakeFiles/ants.dir/build.make:85: src/examples/ants/ants] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-developer_20190510-230707

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.34.1 *
  [2]   rust-1.34.2
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.12.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO sci-libs/libgeodecomp
[ebuild  N    ] sci-libs/libgeodecomp-0.4.0  USE="-cuda -doc -hpx -mpi -opencl -opencv -silo -visit"
Comment 1 Toralf Förster gentoo-dev 2019-05-19 09:07:01 UTC
Created attachment 577272 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-19 09:07:03 UTC
Created attachment 577274 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-05-19 09:07:06 UTC
Created attachment 577276 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-05-19 09:07:09 UTC
Created attachment 577278 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-05-19 09:07:12 UTC
Created attachment 577280 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-05-19 09:07:15 UTC
Created attachment 577282 [details]
sci-libs:libgeodecomp-0.4.0:20190518-233439.log
Comment 7 Toralf Förster gentoo-dev 2019-05-19 09:07:18 UTC
Created attachment 577284 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-03-15 17:52:01 UTC
The bug has been closed via the following commit(s):

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

commit ac3473874f431d2047da57f71c253146ae8f243c
Author:     Kurt Kanzenbach <kurt@kmk-computers.de>
AuthorDate: 2020-03-08 11:33:31 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-03-15 17:51:49 +0000

    sci-libs/libgeodecomp: Fix boost detection
    
    When hpx is installed libgeodecomp tries to use the boost libraries detected by
    hpx. That doesn't work, because the wrong variables are referenced and hpx uses
    fewer boost libraries than libgeodecomp.
    
    So remove that and use the system boost libraries in all cases.
    
    Closes: https://bugs.gentoo.org/686294
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
    Closes: https://github.com/gentoo/gentoo/pull/14855
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../files/libgeodecomp-0.4.0-boost.patch           | 92 ++++++++++++++++++++++
 sci-libs/libgeodecomp/libgeodecomp-0.4.0-r1.ebuild |  1 +
 2 files changed, 93 insertions(+)