Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138846 - net-misc/mDNSResponder-107.5 Breaks during linking
Summary: net-misc/mDNSResponder-107.5 Breaks during linking
Status: RESOLVED DUPLICATE of bug 137052
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2006-07-02 06:20 UTC by James Laver
Modified: 2006-07-03 05:31 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Laver 2006-07-02 06:20:08 UTC
Comes up with a bunch of undefined symbols at the linking stage, so I presume it's having a fit over that LD option.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-02 06:28:10 UTC
Reopen w/ exact errors and emerge --info.
Comment 2 James Laver 2006-07-02 07:06:14 UTC
localhost ~ # emerge --info    
Portage 2.1.1_pre1-r5 (default-linux/x86/2006.0, gcc-3.4.4/vanilla, glibc-2.4-r3
, 2.6.17-gentoo i686)
=================================================================
System uname: 2.6.17-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/shar
e/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer sandbox sfperms strict
"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
distributions/gentoo"
LDFLAGS="-Wl,-O1,--strip-debug,--as-needed,--enable-new-dtags,--sort-common"
LINGUAS="uk en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d
istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apache2 apm artworkextras avi bash-completion berkdb bitma
p-fonts cli crypt dri eds emboss encode esd fastcgi foomaticdb fortran gdbm gif 
gnome gpm gstreamer gtk gtk2 imlib isdnlog jpeg kde libg++ libwww mad mikmod mmx
 mmxext mono motif mp3 mpeg mysql ncurses nls nptl nptlonly offensive ogg opengl
 oss pam pango par pcre pdflib perl png pppd python qt qt3 qt4 quicktime readlin
e reflection sdk sdl session skey spell spl sqlite sse sse2 ssl tcpd truetype tr
uetype-fonts type1-fonts udev unicode usb userlocales vorbis xml xmms xorg xv zl
ib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_uk linguas_en_GB userland_GNU video_cards_radeon video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_
EXTRA_OPTS

Here's my ld errors:

LINK -DHAVE_LINUX -Os -DMDNS_DEBUGMSGS=0  -O2 -march=pentium4 -pipe -mno-tls-direct-seg-refs -c -o objects/prod/ProxyResponder.c.o ProxyResponder.c
/var/tmp/portage/portage/mDNSResponder-107.5/temp/ccj2nINC.o: In function `myTimerCallBack':
dns-sd.c:(.text+0xe0f): undefined reference to `DNSServiceAddRecord'
dns-sd.c:(.text+0xe60): undefined reference to `DNSServiceUpdateRecord'
dns-sd.c:(.text+0xe99): undefined reference to `DNSServiceRemoveRecord'
dns-sd.c:(.text+0xf2d): undefined reference to `DNSServiceUpdateRecord'
dns-sd.c:(.text+0xf7b): undefined reference to `DNSServiceAddRecord'
/var/tmp/portage/portage/mDNSResponder-107.5/temp/ccj2nINC.o: In function `HandleEvents':
dns-sd.c:(.text+0x12a6): undefined reference to `DNSServiceRefSockFD'
dns-sd.c:(.text+0x12d7): undefined reference to `DNSServiceRefSockFD'
dns-sd.c:(.text+0x140a): undefined reference to `DNSServiceProcessResult'
dns-sd.c:(.text+0x1445): undefined reference to `DNSServiceProcessResult'
/var/tmp/portage/portage/mDNSResponder-107.5/temp/ccj2nINC.o: In function `RegisterProxyAddressRecord':
dns-sd.c:(.text+0x1646): undefined reference to `DNSServiceCreateConnection'
dns-sd.c:(.text+0x16e3): undefined reference to `DNSServiceRegisterRecord'
/var/tmp/portage/portage/mDNSResponder-107.5/temp/ccj2nINC.o: In function `RegisterService':
dns-sd.c:(.text+0x1957): undefined reference to `DNSServiceRegister'
/var/tmp/portage/portage/mDNSResponder-107.5/temp/ccj2nINC.o: In function `main':
dns-sd.c:(.text+0x1b1a): undefined reference to `DNSServiceEnumerateDomains'
dns-sd.c:(.text+0x1b5b): undefined reference to `DNSServiceEnumerateDomains'
dns-sd.c:(.text+0x1c53): undefined reference to `DNSServiceBrowse'
dns-sd.c:(.text+0x1d4a): undefined reference to `DNSServiceResolve'
dns-sd.c:(.text+0x1fbb): undefined reference to `DNSServiceQueryRecord'
dns-sd.c:(.text+0x2042): undefined reference to `DNSServiceRegister'
dns-sd.c:(.text+0x210f): undefined reference to `DNSServiceRegister'
dns-sd.c:(.text+0x21b2): undefined reference to `DNSServiceRegister'
dns-sd.c:(.text+0x21fc): undefined reference to `DNSServiceAddRecord'
dns-sd.c:(.text+0x229f): undefined reference to `DNSServiceRegister'
dns-sd.c:(.text+0x22dd): undefined reference to `DNSServiceUpdateRecord'
dns-sd.c:(.text+0x2337): undefined reference to `DNSServiceRefDeallocate'
dns-sd.c:(.text+0x234d): undefined reference to `DNSServiceRefDeallocate'
collect2: ld returned 1 exit status
make[1]: *** [build/dns-sd] Error 1
make[1]: Leaving directory `/var/tmp/portage/portage/mDNSResponder-107.5/work/mDNSResponder-107.5/Clients'
make: *** [../Clients/build/dns-sd] Error 2
make: *** Waiting for unfinished jobs....

What's interesting is that it only happens when I'm emerging it as part of amarok, not on it's own.

I honestly can't explain that.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-02 07:11:05 UTC
Reopen.
Comment 4 James Laver 2006-07-02 07:57:57 UTC
Okay, i've messed about somewhat and it's not a bug with the LDFLAGS because I've commented them out in make.conf and remerged.

No idea what's causing it then
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2006-07-03 05:21:36 UTC
Did you remove your portage tmpdir before retrying with your different LD flags?  You probably had some cached object files.
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2006-07-03 05:31:59 UTC

*** This bug has been marked as a duplicate of 137052 ***