Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

pdns-recursor-4.3.0 build broken on illumos #9025

Closed
jperkin opened this issue Apr 15, 2020 · 4 comments · Fixed by #9031
Closed

pdns-recursor-4.3.0 build broken on illumos #9025

jperkin opened this issue Apr 15, 2020 · 4 comments · Fixed by #9031

Comments

@jperkin
Copy link

jperkin commented Apr 15, 2020

  • Program: Recursor
  • Issue type: Bug report

Short description

portsmplexer.cc: In function 'FDMultiplexer* makePorts()':
portsmplexer.cc:43:33: error: invalid new-expression of abstract class type 'PortsFDMultiplexer'
   return new PortsFDMultiplexer();
                                 ^
portsmplexer.cc:17:7: note:   because the following virtual functions are pure within 'PortsFDMultiplexer':
 class PortsFDMultiplexer : public FDMultiplexer
       ^~~~~~~~~~~~~~~~~~
In file included from portsmplexer.cc:9:0:
mplexer.hh:84:16: note: 	virtual void FDMultiplexer::getAvailableFDs(std::vector<int>&, int)
   virtual void getAvailableFDs(std::vector<int>& fds, int timeout) = 0;
                ^~~~~~~~~~~~~~~
In file included from portsmplexer.cc:9:0:
mplexer.hh:163:23: note: 	virtual std::__cxx11::string FDMultiplexer::getName() const
   virtual std::string getName() const = 0;
                       ^~~~~~~
gmake[2]: *** [Makefile:1522: portsmplexer.o] Error 1

Environment

  • Operating system: SmartOS/illumos, and probably Solaris
  • Software version: 4.3.0
  • Software source: pkgsrc

Steps to reproduce

cd pkgsrc/net/powerdns-recursor
bmake

Expected behaviour

Build works.

Actual behaviour

Build error log available here: https://us-east.manta.joyent.com/pkgsrc/public/reports/upstream-trunk/20200413.2254/powerdns-recursor-4.3.0/build.log

Other information

Sorry, I don't have time to dig into this at the moment, so have just resorted to creating this bug report for now. Hacking the configure script to disable have_solaris makes the build succeed, presumably using a poll backend or similar instead of event ports.

@Habbie
Copy link
Member

Habbie commented Apr 15, 2020

Is it easy for you to kick off a build with a patch, if we give you one?

@jperkin
Copy link
Author

jperkin commented Apr 15, 2020

Yeh, trivial.

@Habbie
Copy link
Member

Habbie commented Apr 15, 2020

Hi Jonathan, @rgacogne fixed this in #9031, and we'll backport that for the next minor, I'm sure. Perhaps you want to take the patch into pkgsrc for now?

@jperkin
Copy link
Author

jperkin commented Apr 16, 2020

Yep looks good, thanks! I've pulled this into pkgsrc in NetBSD/pkgsrc@76dafce.

@jperkin jperkin closed this as completed Apr 16, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants