Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145559 - net-misc/mDNSResponder-107.5 doesnt build on AMD64 with MAKEOPTS="-j2"
Summary: net-misc/mDNSResponder-107.5 doesnt build on AMD64 with MAKEOPTS="-j2"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 137052 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-30 02:02 UTC by mathias stearn
Modified: 2009-08-16 09:24 UTC (History)
1 user (show)

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


Attachments
This patch to mDNSResponder-107.5.ebuild adds -j1 to emake (mDNSResponder-107.5.ebuild.patch,829 bytes, patch)
2006-09-18 07:45 UTC, Richard Fleming
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mathias stearn 2006-08-30 02:02:31 UTC
I had to use MAKEOPTS="" on the command-line for it to build successfully.

this is
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-30 02:05:45 UTC
Reopen with some errors and emerge --info. ;)
Comment 2 mathias stearn 2006-08-30 08:41:05 UTC
Error only shows up on first build so i had un-emerge it to reproduce the message. If it is already installed it works fine with -j2 and it works fine whenever with MAKEOPTS="".

# emerge --info
Portage 2.1.1_rc1-r1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.18-rc4-mm3 x86_64)
=================================================================
System uname: 2.6.18-rc4-mm3 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
Last Sync: Wed, 30 Aug 2006 01:50:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mtune=k8 -O2 -pipe -fomit-frame-pointer -ftracer -fweb -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache digest distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://adelie.polymtl.ca/ http://www.gtlib.gatech.edu/pub/gentoo"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X alsa arts automount avi bash-completion berkdb bitmap-fonts bzip2 cairo caps cli crypt cups dbus dlloader dri eds elibc_glibc emboss encode fam foomaticdb fortran gif glibc-omitfp glitz gnome gpm gstreamer gtk gtk2 hal ieee1394 imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kernel_linux ldap lirc logitech-mouse lzw lzw-tiff mng mp3 mpeg mysql ncurses nls nptl nptlonly nvidia opengl pam pcre pdf pdflib perl png postgres ppds pppd python qt3 qt4 quicktime rdesktop readline reflection samba sdl session snmp spell spl sqlite ssl svg swat tcpd tiff truetype-fonts type1-fonts usb userland_GNU video_cards_nv video_cards_nvidia xcomposite xinerama xorg xpm xscreensaver xv zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS


emerge mDNSResponder 
Calculating dependencies... done!

>>> Emerging (1 of 1) net-misc/mDNSResponder-107.5 to /
<snip>
x86_64-pc-linux-gnu-gcc -I. -I../mDNSCore -I../mDNSShared -W -Wall -DPID_FILE=\"/var/run/mdnsd.pid\" -DMDNS_UDS_SERVERPATH=\"/var/run/mdnsd\" -DNOT_HAVE_SA_LEN -DUSES_NETLINK -DHAVE_LINUX -Os -DMDNS_DEBUGMSGS=0  -march=athlon64 -mtune=k8 -O2 -pipe -fomit-frame-pointer -ftracer -fweb -ftree-vectorize -c -o objects/prod/Client.c.o Client.c
Client.c: In function 'main':
Client.c:284: warning: format '%ld' expects type 'long int', but argument 4 has type 'mStatus'
x86_64-pc-linux-gnu-gcc -I. -I../mDNSCore -I../mDNSShared -W -Wall -DPID_FILE=\"/var/run/mdnsd.pid\" -DMDNS_UDS_SERVERPATH=\"/var/run/mdnsd\" -DNOT_HAVE_SA_LEN -DUSES_NETLINK -DHAVE_LINUX -Os -DMDNS_DEBUGMSGS=0  -march=athlon64 -mtune=k8 -O2 -pipe -fomit-frame-pointer -ftracer -fweb -ftree-vectorize -c -o objects/prod/Responder.c.o Responder.c
/var/tmp/portage/mDNSResponder-107.5/temp/cciDKlO3.o: In function `myTimerCallBack':
dns-sd.c:(.text+0xe1d): undefined reference to `DNSServiceAddRecord'
dns-sd.c:(.text+0xe5f): undefined reference to `DNSServiceUpdateRecord'
dns-sd.c:(.text+0xe90): undefined reference to `DNSServiceRemoveRecord'
dns-sd.c:(.text+0xf2e): undefined reference to `DNSServiceUpdateRecord'
dns-sd.c:(.text+0xf6b): undefined reference to `DNSServiceAddRecord'
/var/tmp/portage/mDNSResponder-107.5/temp/cciDKlO3.o: In function `HandleEvents':
dns-sd.c:(.text+0x1309): undefined reference to `DNSServiceRefSockFD'
dns-sd.c:(.text+0x133c): undefined reference to `DNSServiceRefSockFD'
dns-sd.c:(.text+0x14a5): undefined reference to `DNSServiceProcessResult'
dns-sd.c:(.text+0x14e3): undefined reference to `DNSServiceProcessResult'
/var/tmp/portage/mDNSResponder-107.5/temp/cciDKlO3.o: In function `RegisterProxyAddressRecord':
dns-sd.c:(.text+0x16ef): undefined reference to `DNSServiceCreateConnection'
dns-sd.c:(.text+0x1780): undefined reference to `DNSServiceRegisterRecord'
/var/tmp/portage/mDNSResponder-107.5/temp/cciDKlO3.o: In function `RegisterService':
dns-sd.c:(.text+0x1a5f): undefined reference to `DNSServiceRegister'
/var/tmp/portage/mDNSResponder-107.5/temp/cciDKlO3.o: In function `main':
dns-sd.c:(.text+0x1c9b): undefined reference to `DNSServiceEnumerateDomains'
dns-sd.c:(.text+0x1ccd): undefined reference to `DNSServiceEnumerateDomains'
dns-sd.c:(.text+0x1dd7): undefined reference to `DNSServiceBrowse'
dns-sd.c:(.text+0x1eed): undefined reference to `DNSServiceResolve'
dns-sd.c:(.text+0x21b1): undefined reference to `DNSServiceQueryRecord'
dns-sd.c:(.text+0x2226): undefined reference to `DNSServiceRegister'
dns-sd.c:(.text+0x22e5): undefined reference to `DNSServiceRegister'
dns-sd.c:(.text+0x2374): undefined reference to `DNSServiceRegister'
dns-sd.c:(.text+0x23af): undefined reference to `DNSServiceAddRecord'
dns-sd.c:(.text+0x243e): undefined reference to `DNSServiceRegister'
dns-sd.c:(.text+0x246e): undefined reference to `DNSServiceUpdateRecord'
dns-sd.c:(.text+0x24cb): undefined reference to `DNSServiceRefDeallocate'
dns-sd.c:(.text+0x24e3): undefined reference to `DNSServiceRefDeallocate'
collect2: ld returned 1 exit status
make[1]: *** [build/dns-sd] Error 1
make[1]: Leaving directory `/var/tmp/portage/mDNSResponder-107.5/work/mDNSResponder-107.5/Clients'
make: *** [../Clients/build/dns-sd] Error 2
make: *** Waiting for unfinished jobs....
Responder.c: In function 'main':
Responder.c:835: warning: format '%ld' expects type 'long int', but argument 4 has type 'mStatus'

!!! ERROR: net-misc/mDNSResponder-107.5 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  mDNSResponder-107.5.ebuild, line 40:   Called die

!!! make mDNSPosix failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 3 John Demme 2006-09-03 20:58:39 UTC
Still an issue.  I used MAKEOPTS="-j1".

See http://forums.gentoo.org/viewtopic-t-449739.html also
Comment 4 Richard Fleming 2006-09-18 07:28:41 UTC
when re-merging my system after upgrading to GCC 4.1.1, I too also had mDNSResponder crap out on me.  I got a completely different error that also was fixed with MAKEOPTS="-j1".  This is what I got.

----
 * Running emake  os=linux CC=x86_64-pc-linux-gnu-gcc LD=x86_64-pc-linux-gnu-gcc -shared JDK=/opt/blackdown-jdk-1.4.2.03 OPT_CFLAGS=-march=k8 -O2 -pipe LIBFLAGS= STRIP=true LOCALBASE=/usr Java
/opt/blackdown-jdk-1.4.2.03/bin/javac -d objects/prod -classpath objects/prod ../mDNSShared/Java/DNSSDService.java
/opt/blackdown-jdk-1.4.2.03/bin/javac -d objects/prod -classpath objects/prod ../mDNSShared/Java/DNSSDException.java
/opt/blackdown-jdk-1.4.2.03/bin/javac -d objects/prod -classpath objects/prod ../mDNSShared/Java/DNSRecord.java
../mDNSShared/Java/DNSRecord.java:62: cannot resolve symbol
symbol  : class DNSSDException
location: interface com.apple.dnssd.DNSRecord
        throws DNSSDException;
               ^
../mDNSShared/Java/DNSRecord.java:67: cannot resolve symbol
symbol  : class DNSSDException
location: interface com.apple.dnssd.DNSRecord
        throws DNSSDException;
               ^
2 errors
/opt/blackdown-jdk-1.4.2.03/bin/javac -d objects/prod -classpath objects/prod ../mDNSShared/Java/TXTRecord.java
/opt/blackdown-jdk-1.4.2.03/bin/javac -d objects/prod -classpath objects/prod ../mDNSShared/Java/DNSSDRegistration.java
make: *** [objects/prod/com/apple/dnssd/DNSRecord.class] Error 1
make: *** Waiting for unfinished jobs....
../mDNSShared/Java/DNSSDRegistration.java:53: cannot resolve symbol
symbol  : class DNSRecord
location: interface com.apple.dnssd.DNSSDRegistration
        DNSRecord               getTXTRecord()
        ^
../mDNSShared/Java/DNSSDRegistration.java:76: cannot resolve symbol
symbol  : class DNSRecord
location: interface com.apple.dnssd.DNSSDRegistration
        DNSRecord               addRecord( int flags, int rrType, byte[] rData, int ttl)
        ^
2 errors
make: *** [objects/prod/com/apple/dnssd/DNSSDRegistration.class] Error 1
 
!!! ERROR: net-misc/mDNSResponder-107.5 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  mDNSResponder-107.5.ebuild, line 43:   Called die
 
!!! make mDNSPosix java failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
---


My emerge --info

---
Portage 2.1.2_pre1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.12.5
Last Sync: Mon, 18 Sep 2006 02:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.6-r1, 2.0.28-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r3
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.60
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.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks fixpackages metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ussg.indiana.edu http://adelie.polymtl.ca/ http://gentoo.osuosl.org/ ftp://cs.ubishops.ca/pub/gentoo ftp://gentoo.risq.qc.ca/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en es"
MAKEOPTS="-j3"
PKGDIR="/mnt/250GB/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acl acpi alsa apache2 arts avi bash-completion bitmap-fonts bzip2 calendar cdr cli crypt cups dlloader dri dvd dvdr eds elibc_glibc emboss encode esd exif flac flash foomaticdb gd gif gmp gnome gpm gstreamer gtk gtk2 idn imlib innodb input_devices_keyboard input_devices_mouse isdnlog java javascript jpeg jpg kde kernel_linux lcms linguas_en linguas_es lzw lzw-tiff mad mng mozilla mp3 mpeg msn mysql ncurses nls nptl nptlonly oav ogg oggvorbis opengl openssl pam pcre pdflib perl php pic png ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl sqlite ssl symlink tcpd tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU userlocales vhosts video_cards_nvidia visualization vorbis win32codec xcomposite xine xml xmms xorg xpm xv zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
---
Comment 5 Richard Fleming 2006-09-18 07:45:09 UTC
Created attachment 97337 [details, diff]
This patch to mDNSResponder-107.5.ebuild adds -j1 to emake
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-19 10:47:44 UTC
Worked around for now.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-03-16 01:13:54 UTC
*** Bug 137052 has been marked as a duplicate of this bug. ***