Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416633 - bind-9.9.0 failing to compile with DLZ enabled
Summary: bind-9.9.0 failing to compile with DLZ enabled
Status: RESOLVED DUPLICATE of bug 406399
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-19 14:50 UTC by Stevan Bajić
Modified: 2012-05-19 18:38 UTC (History)
0 users

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


Attachments
build.log (build.log,676.07 KB, text/plain)
2012-05-19 14:50 UTC, Stevan Bajić
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stevan Bajić 2012-05-19 14:50:41 UTC
Created attachment 312275 [details]
build.log

Trying to re-compile (pkcs11 got removed from the USE flags) bind-9.9.0 results in the following error:

[....]
libtool: link: i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fomit-frame-pointer -I/usr/include/libxml2 -fPIC -Wl,-O1 -Wl,-O1 -Wl,--add-needed -Wl,--hash-style=both -Wl,--sort-common -o dlopen .libs/dlopen.o  -Wl,--as-needed -ldl -lcap -lpthread -lxml2 -lz -lm
/bin/sh /var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/libtool --mode=compile --tag=CC i686-pc-linux-gnu-gcc  -I/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0 -I/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/lib/dns/include -I../../../../lib/dns/include -I/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/lib/isc/include -I../../../../lib/isc -I../../../../lib/isc/include -I../../../../lib/isc/unix/include -I../../../../lib/isc/pthreads/include -I../../../../lib/isc/x86_32/include -I/usr/include -D_REENTRANT  -D_GNU_SOURCE -O2 -march=native -pipe -fomit-frame-pointer -I/usr/include/libxml2 -fPIC  -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing  -c driver.c
libtool: compile:  i686-pc-linux-gnu-gcc -I/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0 -I/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/lib/dns/include -I../../../../lib/dns/include -I/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/lib/isc/include -I../../../../lib/isc -I../../../../lib/isc/include -I../../../../lib/isc/unix/include -I../../../../lib/isc/pthreads/include -I../../../../lib/isc/x86_32/include -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O2 -march=native -pipe -fomit-frame-pointer -I/usr/include/libxml2 -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c driver.c  -fPIC -DPIC -o .libs/driver.o
libtool: compile:  i686-pc-linux-gnu-gcc -I/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0 -I/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/lib/dns/include -I../../../../lib/dns/include -I/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/lib/isc/include -I../../../../lib/isc -I../../../../lib/isc/include -I../../../../lib/isc/unix/include -I../../../../lib/isc/pthreads/include -I../../../../lib/isc/x86_32/include -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O2 -march=native -pipe -fomit-frame-pointer -I/usr/include/libxml2 -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c driver.c -o driver.o >/dev/null 2>&1
/bin/sh /var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/libtool --mode=link --tag=CC i686-pc-linux-gnu-gcc -shared -o driver.so driver.lo
libtool: link: i686-pc-linux-gnu-gcc -o driver.so .libs/driver.o
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make[4]: *** [driver.so] Error 1
make[4]: Leaving directory `/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/bin/tests/system/dlzexternal'
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/bin/tests/system'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/bin/tests'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/bin'
make: *** [subdirs] Error 1
 * ERROR: net-dns/bind-9.9.0 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-dns/bind-9.9.0'`,
 * the complete build log and the output of `emerge -pqv '=net-dns/bind-9.9.0'`.
 * The complete build log is located at '/var/tmp/portage/net-dns/bind-9.9.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dns/bind-9.9.0/temp/environment'.
 * Working directory: '/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0'
 * S: '/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0'

>>> Failed to emerge net-dns/bind-9.9.0, Log file:

>>>  '/var/tmp/portage/net-dns/bind-9.9.0/temp/build.log'







alekto ~ # emerge --info '=net-dns/bind-9.9.0'
Portage 2.2.0_alpha107 (default/linux/x86/10.0/server, gcc-4.6.3, glibc-2.15-r2, 3.3.6 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.3.6-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-2.1
Timestamp of tree: Sat, 19 May 2012 13:00:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r1, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo VUNET_Gentoo_Overlay
Installed sets: @system
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/qpsmtpd/plugins /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--add-needed -Wl,--as-needed -Wl,--hash-style=both -Wl,--sort-common"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/gentoo.overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip aac aacplus acl addition aio alsa amr audio bcmath bzip2 calendar cgi cli contentcache cracklib crypt ctype curl curlwrappers cxx dirac dlz dri exif faac fastcgi ffmpeg fftw filter fontconfig force-cgi-redirect fortran fpm fpx ftp gd gd-external geoip gif gmp gnutls graphite graphviz gsm hash hdri headers_more html http iconv idn image-filter imagemagick imap inode ithreads jpeg jpeg2k json logrotate lqr lzo md5sum mhash mktemp mmap mmx mmxext modules mp3 mudflap multiuser ncurses net netpbm network network-cron nls nptl ogg openexr openmp pam pcntl pcre pdo png pop posix postgres pppd raw readline realip reflection rle rpc sasl schroedinger sdl session sharedext simplexml smtp sndfile snmp soap sockets speex spell spl sql sse sse2 ssl static-gzip status subversion symlink syslog sysvipc tcmalloc tcpd theora threads tidy tiff tokenizer truetype unicode unzip upstream_fair urandom utils vhosts video vorbis vpx webdav webp x264 x86 xattr xml xmlreader xmlrpc xmlwriter xorg xsl xslt xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="actions 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 autoindex 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="access autoindex addition aio auth_basic auth_pam browser charset dav fastcgi flv geo geoip gzip gzip_static http headers_more image_filter limit_req limit_zone mp4 passenger perl proxy realip referer rewrite ssi stub_status sub upstream_fair upstream_ip_hash upstream_status userid uwsgi xslt" NGINX_MODULES_MAIL="imap pop3 smtp" PHP_TARGETS="php5-4" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="rubyee18 ree18" USERLAND="GNU" VIDEO_CARDS="fbdev dummy none" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

net-dns/bind-9.9.0 was built with the following:
USE="caps dlz idn postgres ssl threads urandom xml -berkdb -doc -geoip -gost -gssapi -ipv6 -ldap -mysql -odbc -pkcs11 -rpz -sdb-ldap (-selinux) -static-libs"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"

alekto ~ # emerge -pqv '=net-dns/bind-9.9.0'
[ebuild   R   ] net-dns/bind-9.9.0  USE="caps dlz idn postgres ssl threads urandom xml -berkdb -doc -geoip -gost -gssapi -ipv6 -ldap -mysql -odbc -rpz -sdb-ldap (-selinux) -static-libs (-pkcs11%)"
alekto ~ #
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2012-05-19 18:38:44 UTC

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