Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287925 - media-sound/murmur-1.2.0_pre20090911: undefined reference to `DNSServiceProcessResult'
Summary: media-sound/murmur-1.2.0_pre20090911: undefined reference to `DNSServiceProce...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Timo Gurr (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-06 17:04 UTC by Dennis Schridde
Modified: 2009-12-08 00:56 UTC (History)
2 users (show)

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


Attachments
build log (build.log,211.18 KB, text/plain)
2009-10-06 17:06 UTC, Dennis Schridde
Details
Ebuild with fix (murmur-1.2.0_pre20090911.ebuild-no-avahi.patch,1.24 KB, patch)
2009-10-21 10:33 UTC, Dennis Schridde
Details | Diff
Source patch (murmur-1.2.0_pre20090911-no-avahi.patch,394 bytes, patch)
2009-10-21 10:34 UTC, Dennis Schridde
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2009-10-06 17:04:11 UTC
ia64-unknown-linux-gnu-g++ -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o ../../release/murmurd Mumble.pb.o ACL.o Group.o Channel.o Connection.o User.o Timer.o CryptState.o OSInfo.o Net.o SSL.o main.o Server.o ServerDB.o Register.o Cert.o Messages.o Meta.o RPC.o UnixMurmur.o bonjourserviceregister.o BonjourServer.o moc_ACL.o moc_Channel.o moc_Connection.o moc_Server.o moc_Meta.o moc_UnixMurmur.o moc_bonjourserviceregister.o moc_BonjourServer.o    -L../../release -L/usr/lib/qt4 -lprotobuf -lcap -lssl -lcrypto -lQtSql -L/usr/lib/mysql -L/usr/lib/qt4 -pthread -pthread -lQtXml -pthread -pthread -lQtNetwork -pthread -pthread -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -lpthread -ldl                                                                                                                             
bonjourserviceregister.o: In function `BonjourServiceRegister::bonjourSocketReadyRead()':                                                                                                                           
bonjourserviceregister.cpp:(.text+0x22): undefined reference to `DNSServiceProcessResult'                                                                                                                           

full log attached

[ebuild   R   ] net-misc/mDNSResponder-107.6-r5  USE="-debug -doc (-java)" 0 kB
[ebuild   R   ] media-sound/murmur-1.2.0_pre20090911  USE="zeroconf* -dbus -debug -ice (-pch)" 0 kB

Reproducible: Always




Portage 2.2_rc43 (hardened/linux/ia64/10.0/server, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.29-hardened ia64)
=================================================================                                          
System uname: Linux-2.6.29-hardened-ia64-31-with-gentoo-2.0.1                                              
Timestamp of tree: Sun, 04 Oct 2009 21:20:01 +0000                                                         
app-shells/bash:     3.2_p39                                                                               
dev-lang/python:     2.6.3, 3.1.1-r1                                                                       
dev-python/pycrypto: 2.0.1-r8                                                                              
dev-util/cmake:      2.6.4                                                                                 
sys-apps/baselayout: 2.0.1                                                                                 
sys-apps/openrc:     0.4.3-r3                                                                              
sys-apps/sandbox:    1.6-r2                                                                                
sys-devel/autoconf:  2.63-r1                                                                               
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2                                                            
sys-devel/binutils:  2.19.1-r1                                                                             
sys-devel/gcc-config: 1.4.1                                                                                
sys-devel/libtool:   2.2.6a                                                                                
virtual/os-headers:  2.6.27-r2                                                                             
ACCEPT_KEYWORDS="ia64"                                                                                     
CBUILD="ia64-unknown-linux-gnu"                                                                            
CFLAGS="-pipe -mtune=mckinley -O2 -ftree-vectorize"                                                        
CHOST="ia64-unknown-linux-gnu"                                                                             
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-pipe -mtune=mckinley -O2 -ftree-vectorize"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="      --include='/sci-libs/' --include='/sci-libs/gsl/' --exclude='/sci-libs/*/'      --include='/x11-libs/'          --include='/x11-libs/qt*/'              --include='/x11-libs/cairo/' --include='/x11-libs/pango/' --include='/x11-libs/pixman/' --exclude='/x11-libs/*/'    --include='/x11-misc/' --include='/x11-misc/util-macros/' --exclude='/x11-misc/*/'      --exclude='/games*/' --exclude='/gnome*/' --exclude='/gnustep*/' --exclude='/gpe*/' --exclude='/kde*/' --exclude='/lxde*/' --exclude='/rox*/' --exclude='/sci*/' --exclude='/x11*/' --exclude='/xfce*/'"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/gentoo"
PORTDIR_OVERLAY="/var/cache/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
[...]
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS_FLAGS
Comment 1 Dennis Schridde 2009-10-06 17:06:34 UTC
Created attachment 206257 [details]
build log
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2009-10-07 18:39:38 UTC
Please try to reemerge w/o as-needed in LDFLAGS
Comment 3 Dennis Schridde 2009-10-18 12:49:04 UTC
Command is now:
ia64-unknown-linux-gnu-g++ -Wl,-z,relro -Wl,-z,now -o ../../release/murmurd Mumble.pb.o ACL.o Group.o Channel.o Connection.o User.o Timer.o CryptState.o OSInfo.o Net.o SSL.o main.o Server.o ServerDB.o Register.o Cert.o Messages.o Meta.o RPC.o UnixMurmur.o bonjourserviceregister.o BonjourServer.o moc_ACL.o moc_Channel.o moc_Connection.o moc_Server.o moc_Meta.o moc_UnixMurmur.o moc_bonjourserviceregister.o moc_BonjourServer.o    -L../../release -L/usr/lib/qt4 -lprotobuf -lcap -lssl -lcrypto -lQtSql -L/usr/lib/mysql -L/usr/lib/qt4 -pthread -pthread -lQtXml -pthread -pthread -lQtNetwork -pthread -pthread -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -lpthread -ldl                                                                                                                                                                          

libdns_sd.so is still missing in the list of to-be-linked libraries.
Comment 4 Dennis Schridde 2009-10-21 10:33:56 UTC
Created attachment 207800 [details, diff]
Ebuild with fix

Attached patches fix the issue by introducing a new config flag "no-avahi" for systems using mDNSResponder instead of Avahi.
Comment 5 Dennis Schridde 2009-10-21 10:34:22 UTC
Created attachment 207801 [details, diff]
Source patch
Comment 6 Timo Gurr (RETIRED) gentoo-dev 2009-11-13 20:44:43 UTC
Please report such bugs upstream and link to the upstream bugtracker in URL, thanks in advance.
Comment 7 Dennis Schridde 2009-11-14 14:31:50 UTC
The issue persists in media-sound/murmur-1.2.0_beta1.
Comment 8 Dennis Schridde 2009-11-14 14:37:52 UTC
The issue has been reported upstream at https://sourceforge.net/tracker/?func=detail&aid=2897704&group_id=147372&atid=768005
Comment 9 Timo Gurr (RETIRED) gentoo-dev 2009-12-08 00:56:43 UTC
(In reply to comment #8)
> The issue has been reported upstream at
> https://sourceforge.net/tracker/?func=detail&aid=2897704&group_id=147372&atid=768005

Thanks for taking this issue upstream Dennis, seems to be fixed in recent releases (beta2), compiled fine against avahi & mDNSResponder here.