Date: Mon, 04 Jun 2018 05:20:57 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 228735] dns/kf5-kdnssd: Fix build error when compiled with MDNSRESPONDER option Message-ID: <bug-228735-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228735 Bug ID: 228735 Summary: dns/kf5-kdnssd: Fix build error when compiled with MDNSRESPONDER option Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: ashish@FreeBSD.org Assignee: kde@FreeBSD.org Flags: maintainer-feedback?(kde@FreeBSD.org) Compiling on FreeBSD 11.1 (amd64), I get following error: FAILED: src/CMakeFiles/KF5DNSSD.dir/mdnsd-servicebrowser.cpp.o=20 /usr/bin/c++ -DKF5DNSSD_EXPORTS -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_QSTRINGBUILDER -D_LARGEFILE64_SOURCE -= Isrc -I/wrkdirs/usr/ports/dns/kf5-kdnssd/work/kdnssd-5.46.0/src -Isrc/KF5DNSSD_autogen/include -I. -I/usr/local/include -isystem /usr/local/include/qt5 -isystem /usr/local/include/qt5/QtNetwork -isystem /usr/local/include/qt5/QtCore -isystem /usr/local/lib/qt5/mkspecs/freebsd-c= lang -isystem /usr/local/include/qt5/QtDBus -O2 -pipe -fstack-protector -fno-strict-aliasing -std=3Dc++0x -fno-operator-names -fno-exceptions -Wno-gnu-zero-variadic-macro-arguments -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=3Dreturn-type -Wvla -Wdate-= time -fdiagnostics-color=3Dalways -pedantic -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -fvisibility=3Dhidden -fvisibility-inlines-hidde= n=20=20 -fPIC -std=3Dgnu++11 -MD -MT src/CMakeFiles/KF5DNSSD.dir/mdnsd-servicebrowser.cpp.o -MF src/CMakeFiles/KF5DNSSD.dir/mdnsd-servicebrowser.cpp.o.d -o src/CMakeFiles/KF5DNSSD.dir/mdnsd-servicebrowser.cpp.o -c /wrkdirs/usr/ports/dns/kf5-kdnssd/work/kdnssd-5.46.0/src/mdnsd-servicebrows= er.cpp =20=20=20 /wrkdirs/usr/ports/dns/kf5-kdnssd/work/kdnssd-5.46.0/src/mdnsd-servicebrows= er.cpp:102:9: error: no matching function for call to 'DNSServiceBrowse' if (DNSServiceBrowse(&ref, 0, 0, fullType.toLatin1().constData(), ^~~~~~~~~~~~~~~~ /usr/local/include/dns_sd.h:1488:31: note: candidate function not viabl= e: no known conversion from 'QByteArray' to 'const char *' for 5th argument DNSServiceErrorType DNSSD_API DNSServiceBrowse ^ =20=20=20 /wrkdirs/usr/ports/dns/kf5-kdnssd/work/kdnssd-5.46.0/src/mdnsd-servicebrows= er.cpp:200:61: warning: unused parameter 'hostname' [-Wunused-parameter] QHostAddress ServiceBrowser::resolveHostName(const QString &hostname) ^ 1 warning and 1 error generated. Complete build log at: https://people.freebsd.org/~ashish/logs/kf5-kdnssd-5.46.0-11-amd64-default.= log --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228735-7788>