Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209018 - net-dns/host fails to build with sys-libs/uclibc due to missing symbols in -lresolv
Summary: net-dns/host fails to build with sys-libs/uclibc due to missing symbols in -l...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-05 16:46 UTC by Tom Lloyd
Modified: 2016-02-20 18:25 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 Tom Lloyd 2008-02-05 16:46:25 UTC
net-dns/host-991529 emerge dies halfway through the build.

Reproducible: Always

Steps to Reproduce:
1. emerge net-dns/host
2. fail
3.

Actual Results:  
>>> Emerging (1 of 1) net-dns/host-991529 to /
 * host.tar.Z RMD160 SHA1 SHA256 size ;-) ...                                                                                         [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                [ ok ]
 * checking host.tar.Z ;-) ...                                                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking host.tar.Z to /var/tmp/portage/net-dns/host-991529/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-dns/host-991529/work ...
powerpc-gentoo-linux-uclibc-gcc -O2 -mcpu=603e -pipe -DHOST_RES_SEND  -I. -I.   -c -o main.o main.c
powerpc-gentoo-linux-uclibc-gcc -O2 -mcpu=603e -pipe -DHOST_RES_SEND  -I. -I.   -c -o info.o info.c
powerpc-gentoo-linux-uclibc-gcc -O2 -mcpu=603e -pipe -DHOST_RES_SEND  -I. -I.   -c -o list.o list.c
powerpc-gentoo-linux-uclibc-gcc -O2 -mcpu=603e -pipe -DHOST_RES_SEND  -I. -I.   -c -o addr.o addr.c
powerpc-gentoo-linux-uclibc-gcc -O2 -mcpu=603e -pipe -DHOST_RES_SEND  -I. -I.   -c -o geth.o geth.c
powerpc-gentoo-linux-uclibc-gcc -O2 -mcpu=603e -pipe -DHOST_RES_SEND  -I. -I.   -c -o util.o util.c
powerpc-gentoo-linux-uclibc-gcc -O2 -mcpu=603e -pipe -DHOST_RES_SEND  -I. -I.   -c -o misc.o misc.c
powerpc-gentoo-linux-uclibc-gcc -O2 -mcpu=603e -pipe -DHOST_RES_SEND  -I. -I.   -c -o test.o test.c
powerpc-gentoo-linux-uclibc-gcc -O2 -mcpu=603e -pipe -DHOST_RES_SEND  -I. -I.   -c -o file.o file.c
powerpc-gentoo-linux-uclibc-gcc -O2 -mcpu=603e -pipe -DHOST_RES_SEND  -I. -I.   -c -o send.o send.c
powerpc-gentoo-linux-uclibc-gcc -O2 -mcpu=603e -pipe -DHOST_RES_SEND  -I. -I.   -c -o vers.o vers.c
In file included from send.c:129:
send.c: In function `__res_send':
send.c:281: warning: passing arg 2 of `send_stream' discards qualifiers from pointer target type
In file included from send.c:141:
send.c:382: warning: passing arg 2 of `send_dgram' discards qualifiers from pointer target type
powerpc-gentoo-linux-uclibc-gcc  -o host main.o info.o list.o addr.o geth.o util.o misc.o test.o file.o send.o vers.o -lresolv
info.o: In function `get_info':
info.c:(.text+0x9c): undefined reference to `__res_mkquery'
info.o: In function `skip_qrec':
info.c:(.text+0x4e8): undefined reference to `_getshort'
info.c:(.text+0x4fc): undefined reference to `_getshort'
info.o: In function `print_rrec':
info.c:(.text+0x978): undefined reference to `_getshort'
info.c:(.text+0x98c): undefined reference to `_getshort'
info.c:(.text+0x9a0): undefined reference to `_getlong'
info.c:(.text+0x9b4): undefined reference to `_getshort'
info.c:(.text+0x10f0): undefined reference to `_getshort'
info.c:(.text+0x15d4): undefined reference to `_getlong'
info.c:(.text+0x15f8): undefined reference to `_getlong'
info.c:(.text+0x1620): undefined reference to `_getlong'
info.c:(.text+0x1648): undefined reference to `_getlong'
info.c:(.text+0x1670): undefined reference to `_getlong'
info.c:(.text+0x1988): undefined reference to `_getshort'
info.c:(.text+0x19d0): undefined reference to `_getshort'
info.c:(.text+0x1a14): undefined reference to `_getshort'
info.c:(.text+0x1a74): undefined reference to `_getshort'
info.c:(.text+0x1abc): undefined reference to `_getshort'
info.o:info.c:(.text+0x1bc4): more undefined references to `_getshort' follow
info.o: In function `print_rrec':
info.c:(.text+0x1efc): undefined reference to `_getlong'
info.c:(.text+0x1f20): undefined reference to `_getlong'
info.c:(.text+0x1f44): undefined reference to `_getlong'
info.c:(.text+0x1f68): undefined reference to `_getshort'
info.c:(.text+0x1fe8): undefined reference to `_getlong'
info.c:(.text+0x2034): undefined reference to `_getshort'
info.c:(.text+0x2600): undefined reference to `_getlong'
info.c:(.text+0x2614): undefined reference to `_getlong'
info.c:(.text+0x2634): undefined reference to `_getlong'
info.c:(.text+0x2650): undefined reference to `_getlong'
info.o: In function `get_hostinfo':
info.c:(.text+0x37a4): undefined reference to `__hostalias'
list.o: In function `get_nsinfo':
list.c:(.text+0x25c): undefined reference to `_getshort'
list.c:(.text+0x274): undefined reference to `_getshort'
list.c:(.text+0x284): undefined reference to `_getlong'
list.c:(.text+0x290): undefined reference to `_getshort'
list.o: In function `get_soainfo':
list.c:(.text+0x1224): undefined reference to `_getshort'
list.c:(.text+0x123c): undefined reference to `_getshort'
list.c:(.text+0x124c): undefined reference to `_getlong'
list.c:(.text+0x1258): undefined reference to `_getshort'
list.c:(.text+0x13e8): undefined reference to `_getlong'
list.c:(.text+0x13fc): undefined reference to `_getlong'
list.c:(.text+0x1410): undefined reference to `_getlong'
list.c:(.text+0x1424): undefined reference to `_getlong'
list.c:(.text+0x1438): undefined reference to `_getlong'
list.o: In function `get_zone':
list.c:(.text+0x3370): undefined reference to `__res_mkquery'
list.c:(.text+0x3450): undefined reference to `__fp_nquery'
list.c:(.text+0x3758): undefined reference to `__fp_nquery'
misc.o: In function `ipng_ntoa':
misc.c:(.text+0x5f8): undefined reference to `_getshort'
file.o: In function `cache_read':
file.c:(.text+0x394): undefined reference to `_getshort'
file.o: In function `cache_write':
file.c:(.text+0x5e8): undefined reference to `__putshort'
send.o: In function `_res_read':
send.c:(.text+0x880): undefined reference to `_getshort'
send.o: In function `_res_write':
send.c:(.text+0xaac): undefined reference to `__putshort'
send.o: In function `__res_send':
send.c:(.text+0xf00): undefined reference to `__fp_nquery'
send.c:(.text+0x1078): undefined reference to `__fp_nquery'
send.c:(.text+0x11e0): undefined reference to `__fp_nquery'
send.c:(.text+0x12c8): undefined reference to `__fp_nquery'
collect2: ld returned 1 exit status
distcc[28105] ERROR: compile (null) on localhost failed
make: *** [host] Error 1
 *
 * ERROR: net-dns/host-991529 failed.
 * Call stack:
 *            ebuild.sh, line 1701:  Called dyn_compile
 *            ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *            ebuild.sh, line   44:  Called src_compile
 *   host-991529.ebuild, line   39:  Called die
 * The specific snippet of code:
 *      emake CC="$(tc-getCC)" COPTS="${CFLAGS}" \
 *              || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-dns/host-991529/temp/build.log'.
 *


muttley ~ # emerge --info
Portage 2.1.3.19 (uclibc/ppc/hardened, gcc-3.4.6, uclibc-0.9.28.3-r2, 2.6.20-hardened-r3-muttley-7-shape ppc)
=================================================================
System uname: 2.6.20-hardened-r3-muttley-7-shape ppc G2_LE
Timestamp of tree: Wed, 30 Jan 2008 05:16:01 +0000
distcc 2.18.3 powerpc-gentoo-linux-uclibc (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-gentoo-linux-uclibc"
CFLAGS="-O2 -mcpu=603e -pipe"
CHOST="powerpc-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=603e -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-z,relro"
MAKEOPTS="-j5"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="alsa apache2 bitmap-fonts bzip2 cgi cli cracklib dri embedded fastcgi hardened ipv6 mudflap mysql ncurses openmp pcre php pic ppc quotas readline reflection samba session spl sqlite ssl suhosin syslog truetype-fonts type1-fonts uclibc unicode xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 solar (RETIRED) gentoo-dev 2008-02-05 17:43:12 UTC
Yeah that version of host is crap. 
Use the one from net-dns/bind-tools (/usr/bin/host)
Comment 2 Pacho Ramos gentoo-dev 2016-02-20 18:25:19 UTC
removed