Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 724398 - net-dns/pdns-recursor-4.3.1 : /.../webserver.cc:384: undefined reference to YaHTTP::AsyncLoader<YaHTTP::Request>::feed(std::_cxx11
Summary: net-dns/pdns-recursor-4.3.1 : /.../webserver.cc:384: undefined reference to Y...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-21 07:29 UTC by Toralf Förster
Modified: 2020-05-30 09:53 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.74 KB, text/plain)
2020-05-21 07:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,86.01 KB, text/plain)
2020-05-21 07:29 UTC, Toralf Förster
Details
environment (environment,67.84 KB, text/plain)
2020-05-21 07:29 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.15 KB, application/x-bzip)
2020-05-21 07:29 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,18.07 KB, application/x-bzip)
2020-05-21 07:29 UTC, Toralf Förster
Details
net-dns:pdns-recursor-4.3.1:20200521-011603.log (net-dns:pdns-recursor-4.3.1:20200521-011603.log,64.51 KB, text/plain)
2020-05-21 07:30 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.09 KB, application/x-bzip)
2020-05-21 07:30 UTC, Toralf Förster
Details
net-dns/pdns-recursor (fix >=dev-libs/boost-1.73 issue) (boost-173.patch,434 bytes, patch)
2020-05-24 19:59 UTC, Alexandros C. Couloumbis
Details | Diff
net-dns/pdns-recursor (fix gcc-10 issue) (yahttp_gcc10.patch,644 bytes, patch)
2020-05-24 19:59 UTC, Alexandros C. Couloumbis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-05-21 07:29:36 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: webserver.o: in function WebServer::serveConnection(std::shared_ptr<Socket>) const:
/var/tmp/portage/net-dns/pdns-recursor-4.3.1/work/pdns-recursor-4.3.1/webserver.cc:384: undefined reference to YaHTTP::AsyncLoader<YaHTTP::Request>::feed(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ws-recursor.o: in function AsyncWebServer::serveConnection(std::shared_ptr<Socket>) const:
/var/tmp/portage/net-dns/pdns-recursor-4.3.1/work/pdns-recursor-4.3.1/ws-recursor.cc:694: undefined reference to YaHTTP::AsyncLoader<YaHTTP::Request>::feed(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
collect2: error: ld returned 1 exit status

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20200518-220054

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.43.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu 21 May 2020 01:05:26 AM UTC
/var/db/repos/libressl	Sun 10 May 2020 08:35:26 PM UTC

emerge -qpvO net-dns/pdns-recursor
[ebuild  N    ] net-dns/pdns-recursor-4.3.1  USE="libressl -debug -luajit -protobuf -snmp -sodium -systemd"
Comment 1 Toralf Förster gentoo-dev 2020-05-21 07:29:40 UTC
Created attachment 640660 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-21 07:29:45 UTC
Created attachment 640662 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-05-21 07:29:49 UTC
Created attachment 640664 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-05-21 07:29:53 UTC
Created attachment 640666 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-05-21 07:29:57 UTC
Created attachment 640668 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-21 07:30:00 UTC
Created attachment 640670 [details]
net-dns:pdns-recursor-4.3.1:20200521-011603.log
Comment 7 Toralf Förster gentoo-dev 2020-05-21 07:30:03 UTC
Created attachment 640672 [details]
temp.tbz2
Comment 8 Alexandros C. Couloumbis 2020-05-24 19:56:39 UTC
Greetings,

on my 32bit Gentoo system, after a recent emerge sync/world net-dns/pdns-recursor-4.3.1 install kept failing

there are two issues. first is with >=dev-libs/boost-1.73 & second with gcc-10

the following two patches were able to successfully complete the installation on my system
Comment 9 Alexandros C. Couloumbis 2020-05-24 19:59:10 UTC
Created attachment 641470 [details, diff]
net-dns/pdns-recursor (fix >=dev-libs/boost-1.73 issue)
Comment 10 Alexandros C. Couloumbis 2020-05-24 19:59:56 UTC
Created attachment 641472 [details, diff]
net-dns/pdns-recursor (fix gcc-10 issue)
Comment 11 Alexandros C. Couloumbis 2020-05-24 20:01:45 UTC
the above two patches need to be installed under:
/etc/portage/patches/net-dns/pdns-recursor-4.3.1

best regards
Comment 13 Larry the Git Cow gentoo-dev 2020-05-30 09:53:53 UTC
The bug has been closed via the following commit(s):

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

commit 13cb72bb0421f600e12802111db6d05514d763d8
Author:     Sven Wegener <swegener@gentoo.org>
AuthorDate: 2020-05-30 09:50:25 +0000
Commit:     Sven Wegener <swegener@gentoo.org>
CommitDate: 2020-05-30 09:53:24 +0000

    net-dns/pdns-recursor: Fix building with gcc-10, bug #724398
    
    Closes: https://bugs.gentoo.org/724398
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Sven Wegener <swegener@gentoo.org>

 .../files/pdns-recursor-4.3.1-gcc-10.patch         | 61 ++++++++++++++++++++++
 net-dns/pdns-recursor/pdns-recursor-4.3.1.ebuild   |  1 +
 2 files changed, 62 insertions(+)