Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344913 - net-dns/unbound-1.4.7 - unbound-1.4.7/smallapp/unbound-anchor.c:673: undefined reference to `ldns_get_random'
Summary: net-dns/unbound-1.4.7 - unbound-1.4.7/smallapp/unbound-anchor.c:673: undefine...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-10 11:08 UTC by Mike Hammill
Modified: 2010-11-10 19:48 UTC (History)
0 users

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


Attachments
Build log (unbound_1.4.7_link_err.log,40.18 KB, text/plain)
2010-11-10 11:11 UTC, Mike Hammill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Hammill 2010-11-10 11:08:32 UTC
Trying to upgrade to 1.4.7 (released today on otherwise stable ppc32) from 1.4.6 previously working perfectly.  Failed on link error:

undefined reference to `ldns_get_random'

Reproducible: Always

Steps to Reproduce:
1. have net-dns/unbound ** in /etc/portage/package.keyword in ppc32 on otherwise stable system
2. normal emerge -vauDN world
3. fails on trying today's update to unbound (bad since I really NEED it)

Actual Results:  
No to 1.4.7 unbound on my ppc32 router.

Expected Results:  
New 1.4.7

giddy ~ # emerge --info net-dns/unbound                                                                                                              [25/1806]
Portage 2.1.8.3 (default/linux/powerpc/ppc32/10.0, gcc-4.4.3, glibc-2.11.2-r3, 2.6.34-gentoo-r12 ppc)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r12-ppc-7400,_altivec_supported-with-gentoo-2.0.1
Timestamp of tree: Tue, 09 Nov 2010 23:45:01 +0000
distcc 3.1 powerpc-unknown-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.6.3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=7400 -O2 -pipe -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mcpu=7400 -O2 -pipe -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetc
h"
GENTOO_MIRRORS="http://ftp.ds.karen.hj.se/gentoo/ http://ftp.ing.umu.se/linux/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/var/pkg"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --ex
clude=/local --exclude=/packages"

PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl alsa altivec autoipd avahi bash-completion berkdb bzip2 caps cli cracklib crypt cups curl cxx dbus dri emacs fam fortran gdbm gnutls gpm iconv ipv6 
kerberos ldap mailwrapper modules mudflap nagios-ssh ncurses network-cron nls no-old-linux nptl nptlonly openmp openssl pam pcre perl ppc pppd python readlin
e sasl session sound spell ssl sysfs tcpd threads udev unicode xattr xml xorg zlib" ALSA_CARDS="powermac" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare 
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actio
ns alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoi
ndex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime 
mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap s
yslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle onc
ore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk 
hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon fbdev" XTABLES_ADDONS="quota2 psd pk
nock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-dns/unbound-1.4.6 was built with the following:
USE="python threads -debug -static -test"
Comment 1 Mike Hammill 2010-11-10 11:11:22 UTC
Created attachment 253869 [details]
Build log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-10 16:06:08 UTC
Which version of net-libs/ldns is installed?
Comment 3 Mike Hammill 2010-11-10 18:21:04 UTC
(In reply to comment #2)
> Which version of net-libs/ldns is installed?
> 
eix -I net-libs/ldns
 ...
Installed versions:  1.6.4{tbz2}(02:31:35 PM 10/08/2010)(ssl -doc -vim-syntax)
 ...
With a little more experimenting, I found ppc32 compiled on an Mac G3 with net-libs/idns-1.6.7.  I'll try the same on the Mac G4, with 1.6.4 (as reported above).  Thanks for the tip.  
/Mike
Comment 4 Mike Hammill 2010-11-10 19:48:15 UTC
Upgrading to net-libs/ldns-1.6.7 solved the link error (perhaps this should be required in the ebuild?)  In any case, perhaps it's worth considering un-hard masking unbound and ldns on ppc32?

Thanks again!