Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119679 - =net-dns/bind-9.3.2 fails to build with USE="dlz"
Summary: =net-dns/bind-9.3.2 fails to build with USE="dlz"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords:
: 124530 132517 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-20 05:07 UTC by Wolfram Schlich (RETIRED)
Modified: 2006-05-06 17:40 UTC (History)
2 users (show)

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 Wolfram Schlich (RETIRED) gentoo-dev 2006-01-20 05:07:23 UTC
--8<--
mkdir .libs
 i686-pc-linux-gnu-gcc -I/var/tmp/portage/bind-9.3.2/work/bind-9.3.2 -I./include -I./unix/include -I/usr/include -DDLZ_BDB -Os -march=pentium4 -pipe -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -DVERSION=\"9.3.2\" -c ./dlzbdb.c  -fPIC -DPIC -o .libs/dlzbdb.o
dlzbdb.c:68:24: isc/buffer.h: No such file or directory
dlzbdb.c:69:29: isc/commandline.h: No such file or directory
dlzbdb.c:70:29: isc/formatcheck.h: No such file or directory
dlzbdb.c:71:21: isc/lex.h: No such file or directory
dlzbdb.c:72:21: isc/mem.h: No such file or directory
dlzbdb.c:73:24: isc/result.h: No such file or directory
dlzbdb.c:74:24: isc/string.h: No such file or directory
dlzbdb.c:75:22: isc/util.h: No such file or directory
dlzbdb.c:94: error: syntax error before "bdb_opendb"
dlzbdb.c:94: warning: type defaults to `int' in declaration of `bdb_opendb'
dlzbdb.c:94: warning: data definition has no type or storage class
dlzbdb.c:97: error: syntax error before "dns_data"
dlzbdb.c:103: error: syntax error before "openBDB"
dlzbdb.c:103: warning: type defaults to `int' in declaration of `openBDB'
dlzbdb.c:103: warning: data definition has no type or storage class
dlzbdb.c:106: error: syntax error before "open_lexer"
dlzbdb.c:106: warning: type defaults to `int' in declaration of `open_lexer'
dlzbdb.c:106: warning: data definition has no type or storage class
dlzbdb.c:112: error: syntax error before "bulk_write"
dlzbdb.c:112: warning: type defaults to `int' in declaration of `bulk_write'
dlzbdb.c:112: warning: data definition has no type or storage class
dlzbdb.c:121: error: syntax error before "dlt"
dlzbdb.c:216: error: syntax error before "create_allowed"
dlzbdb.c:216: warning: type defaults to `int' in declaration of `create_allowed'
dlzbdb.c:216: error: `isc_boolean_false' undeclared here (not in a function)
dlzbdb.c:216: warning: data definition has no type or storage class
dlzbdb.c:220: error: syntax error before "list_everything"
dlzbdb.c:220: warning: type defaults to `int' in declaration of `list_everything'
dlzbdb.c:220: error: `isc_boolean_false' undeclared here (not in a function)
dlzbdb.c:220: warning: data definition has no type or storage class
dlzbdb.c:231: error: syntax error before '*' token
dlzbdb.c:231: warning: type defaults to `int' in declaration of `lexer'
dlzbdb.c:231: warning: data definition has no type or storage class
dlzbdb.c:232: error: syntax error before '*' token
dlzbdb.c:232: warning: type defaults to `int' in declaration of `lex_mctx'
dlzbdb.c:232: warning: data definition has no type or storage class
dlzbdb.c:234: error: syntax error before "lex_buffer"
dlzbdb.c:234: warning: type defaults to `int' in declaration of `lex_buffer'
dlzbdb.c:234: warning: data definition has no type or storage class
dlzbdb.c: In function `getzone':
dlzbdb.c:291: warning: implicit declaration of function `UNUSED'
dlzbdb.c:308: warning: implicit declaration of function `isc_string_separate'
dlzbdb.c:308: warning: assignment makes pointer from integer without a cast
dlzbdb.c: In function `gethost':
dlzbdb.c:365: warning: assignment makes pointer from integer without a cast
dlzbdb.c: At top level:
dlzbdb.c:442: error: syntax error before "bdb_opendb"
dlzbdb.c:442: warning: return type defaults to `int'
dlzbdb.c: In function `bdb_opendb':
dlzbdb.c:451: error: `ISC_R_FAILURE' undeclared (first use in this function)
dlzbdb.c:451: error: (Each undeclared identifier is reported only once
dlzbdb.c:451: error: for each function it appears in.)
dlzbdb.c:461: error: `isc_boolean_true' undeclared (first use in this function)
dlzbdb.c:472: error: `ISC_R_SUCCESS' undeclared (first use in this function)
dlzbdb.c: At top level:
dlzbdb.c:482: error: syntax error before "dns_data"
dlzbdb.c:482: warning: no previous prototype for `put_data'
dlzbdb.c: In function `put_data':
dlzbdb.c:492: error: `dns_data' undeclared (first use in this function)
dlzbdb.c:492: error: `input_key' undeclared (first use in this function)
dlzbdb.c:498: error: `input_data' undeclared (first use in this function)
dlzbdb.c: In function `insert_data':
dlzbdb.c:520: error: `ISC_LEXOPT_EOL' undeclared (first use in this function)
dlzbdb.c:521: error: `ISC_LEXOPT_EOF' undeclared (first use in this function)
dlzbdb.c:522: error: `ISC_LEXOPT_QSTRING' undeclared (first use in this function)
dlzbdb.c:523: error: `ISC_LEXOPT_QSTRINGMULTILINE' undeclared (first use in this function)
dlzbdb.c:525: error: `isc_result_t' undeclared (first use in this function)
dlzbdb.c:525: error: syntax error before "result"
dlzbdb.c:526: error: `isc_token_t' undeclared (first use in this function)
dlzbdb.c:527: error: `isc_boolean_t' undeclared (first use in this function)
dlzbdb.c:530: error: `isc_buffer_t' undeclared (first use in this function)
dlzbdb.c:530: error: syntax error before "buf"
dlzbdb.c:532: error: syntax error before "buf2"
dlzbdb.c:536: warning: implicit declaration of function `isc_buffer_init'
dlzbdb.c:536: error: `buf' undeclared (first use in this function)
dlzbdb.c:537: error: `buf2' undeclared (first use in this function)
dlzbdb.c:539: error: `loop' undeclared (first use in this function)
dlzbdb.c:540: error: `result' undeclared (first use in this function)
dlzbdb.c:540: warning: implicit declaration of function `isc_lex_gettoken'
dlzbdb.c:540: error: `token' undeclared (first use in this function)
dlzbdb.c:541: error: `ISC_R_SUCCESS' undeclared (first use in this function)
dlzbdb.c:545: error: `isc_tokentype_string' undeclared (first use in this function)
dlzbdb.c:557: error: `have_czone' undeclared (first use in this function)
dlzbdb.c:557: error: `isc_boolean_true' undeclared (first use in this function)
dlzbdb.c:558: warning: implicit declaration of function `isc_buffer_putstr'
dlzbdb.c:560: warning: implicit declaration of function `isc_buffer_putmem'
dlzbdb.c:572: error: `isc_tokentype_qstring' undeclared (first use in this function)
dlzbdb.c:577: error: `isc_tokentype_eol' undeclared (first use in this function)
dlzbdb.c:578: error: `isc_tokentype_eof' undeclared (first use in this function)
dlzbdb.c:580: warning: implicit declaration of function `isc_buffer_usedlength'
dlzbdb.c:587: error: `isc_boolean_false' undeclared (first use in this function)
dlzbdb.c:590: warning: implicit declaration of function `isc_lex_getsourceline'
dlzbdb.c:590: warning: long unsigned int format, int arg (arg 3)
dlzbdb.c:593: warning: long unsigned int format, int arg (arg 3)
dlzbdb.c:603: warning: implicit declaration of function `isc_buffer_clear'
dlzbdb.c:620: warning: long unsigned int format, int arg (arg 3)
dlzbdb.c: At top level:
dlzbdb.c:625: error: syntax error before "openBDB"
dlzbdb.c:625: warning: return type defaults to `int'
dlzbdb.c: In function `openBDB':
dlzbdb.c:628: error: `isc_result_t' undeclared (first use in this function)
dlzbdb.c:628: error: syntax error before "result"
dlzbdb.c:636: error: `result' undeclared (first use in this function)
dlzbdb.c:636: error: `ISC_R_FAILURE' undeclared (first use in this function)
dlzbdb.c:641: error: `isc_boolean_true' undeclared (first use in this function)
dlzbdb.c:659: error: `ISC_R_SUCCESS' undeclared (first use in this function)
dlzbdb.c: At top level:
dlzbdb.c:706: error: syntax error before "open_lexer"
dlzbdb.c:706: warning: return type defaults to `int'
dlzbdb.c: In function `open_lexer':
dlzbdb.c:707: error: `isc_result_t' undeclared (first use in this function)
dlzbdb.c:707: error: syntax error before "result"
dlzbdb.c:711: error: `ISC_R_SUCCESS' undeclared (first use in this function)
dlzbdb.c:714: error: `result' undeclared (first use in this function)
dlzbdb.c:714: warning: implicit declaration of function `isc_mem_create'
dlzbdb.c:721: warning: implicit declaration of function `isc_lex_create'
dlzbdb.c:726: warning: implicit declaration of function `isc_lex_setcomments'
dlzbdb.c:726: error: `ISC_LEXCOMMENT_C' undeclared (first use in this function)
dlzbdb.c:727: error: `ISC_LEXCOMMENT_CPLUSPLUS' undeclared (first use in this function)
dlzbdb.c:728: error: `ISC_LEXCOMMENT_SHELL' undeclared (first use in this function)
dlzbdb.c: In function `close_lexer':
dlzbdb.c:742: warning: implicit declaration of function `isc_lex_close'
dlzbdb.c:743: warning: implicit declaration of function `isc_lex_destroy'
dlzbdb.c:748: warning: implicit declaration of function `isc_mem_destroy'
dlzbdb.c: In function `operation_add':
dlzbdb.c:761: error: `isc_boolean_true' undeclared (first use in this function)
dlzbdb.c:765: error: `ISC_R_SUCCESS' undeclared (first use in this function)
dlzbdb.c:773: warning: implicit declaration of function `isc_lex_openbuffer'
dlzbdb.c: In function `operation_bulk':
dlzbdb.c:792: error: `isc_boolean_true' undeclared (first use in this function)
dlzbdb.c:796: error: `ISC_R_SUCCESS' undeclared (first use in this function)
dlzbdb.c:801: warning: implicit declaration of function `isc_lex_openstream'
dlzbdb.c:805: warning: implicit declaration of function `isc_lex_openfile'
dlzbdb.c: At top level:
dlzbdb.c:815: error: syntax error before "bulk_write"
dlzbdb.c:815: warning: return type defaults to `int'
dlzbdb.c: In function `bulk_write':
dlzbdb.c:831: error: `ISC_R_FAILURE' undeclared (first use in this function)
dlzbdb.c:882: error: `ISC_R_SUCCESS' undeclared (first use in this function)
dlzbdb.c: At top level:
dlzbdb.c:890: error: syntax error before "dlt"
dlzbdb.c:890: warning: no previous prototype for `operation_listOrDelete'
dlzbdb.c: In function `operation_listOrDelete':
dlzbdb.c:900: error: `dlt' undeclared (first use in this function)
dlzbdb.c:900: error: `isc_boolean_true' undeclared (first use in this function)
dlzbdb.c:927: error: `ISC_R_SUCCESS' undeclared (first use in this function)
dlzbdb.c:1089: error: `isc_boolean_false' undeclared (first use in this function)
dlzbdb.c: In function `main':
dlzbdb.c:1137: warning: implicit declaration of function `isc_commandline_parse'
dlzbdb.c:1140: error: `isc_boolean_true' undeclared (first use in this function)
dlzbdb.c:1153: error: `isc_commandline_argument' undeclared (first use in this function)
dlzbdb.c:1204: error: `isc_commandline_index' undeclared (first use in this function)
dlzbdb.c:1226: error: `ISC_R_SUCCESS' undeclared (first use in this function)
dlzbdb.c:1234: error: `isc_boolean_false' undeclared (first use in this function)
--8<--

Strange, some days ago emerging =net-dns/bind-9.3.2 with USE="dlz" worked perfectly... on another machine though.

After first emerging bind with USE="-dlz", which worked fine, I retried emerging it with USE="dlz". Here's what I got:

--8<--
[...]
/bin/sh /var/tmp/portage/bind-9.3.2/work/bind-9.3.2/libtool --mode=link  i686-pc-linux-gnu-gcc -Os -march=pentium4 -pipe  -o named \
aclconf.lo builtin.lo client.lo config.lo control.lo controlconf.lo interfacemgr.lo listenlist.lo log.lo logconf.lo main.lo notify.lo query.lo server.lo sortlist.lo tkeyconf.lo tsigconf.lo update.lo xfrout.lo zoneconf.lo lwaddr.lo lwresd.lo lwdclient.lo lwderror.lo lwdgabn.lo lwdgnba.lo lwdgrbn.lo lwdnoop.lo lwsearch.lo dlz_postgres_driver.lo dlz_stub_driver.lo sdlz_helper.lo dlz_filesystem_driver.lo dlz_mysql_driver.lo dlz_odbc_driver.lo dlz_bdb_driver.lo dlz_bdbhpt_driver.lo dlz_ldap_driver.lo  unix/os.lo ../../lib/lwres/liblwres.la ../../lib/dns/libdns.la  -lcrypto  ../../lib/bind9/libbind9.la ../../lib/isccfg/libisccfg.la ../../lib/isccc/libisccc.la ../../lib/isc/libisc.la -L/usr/lib -ldb -L/usr/lib  -lpq -Lno/lib -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lldap -llber  -lnsl
/var/tmp/portage/bind-9.3.2/work/bind-9.3.2/libtool: line 1775: cd: no/lib: No such file or directory
libtool: link: cannot determine absolute directory name of `no/lib'
--8<--

Strrrrrange!
Comment 1 Konstantin Arkhipov (RETIRED) gentoo-dev 2006-01-20 05:35:41 UTC
look's like /var/tmp/portage/bind-9.3.2/work/bind-9.3.2/lib/isc is missing. try to reemerge bind with FEATURES="-keeptemp -keepwork"
Comment 2 Wolfram Schlich (RETIRED) gentoo-dev 2006-01-20 06:42:39 UTC
That doesn't change anything... why should it?!
I also removed /var/tmp/portage/* by hand before...
Comment 3 Konstantin Arkhipov (RETIRED) gentoo-dev 2006-01-20 06:50:30 UTC
that looks like fs corruption to me.

please, post your `emerge info` and attach full emerge log for bind.
Comment 4 Aurélien Requiem 2006-01-21 13:39:12 UTC
I've installed bind-9.3.2 with '+berkdb +dlz -doc +idn +ipv6 -ldap -mysql -odbc -postgres (-selinux) +ssl +threads' and it works perfectly ;-)
Comment 5 Konstantin Arkhipov (RETIRED) gentoo-dev 2006-01-23 14:35:27 UTC
closing until arriving of requested info.
Comment 6 Marc Morrisette 2006-02-19 15:47:34 UTC
I can confirm this problem.  BIND 9.3.2 will not compile unless the "dlz" USE flag is disabled.  I get this error:

/bin/sh /var/tmp/portage/bind-9.3.2/work/bind-9.3.2/libtool --mode=link  i686-pc-linux-gnu-gcc -march=c3-2 -O2 -mfpmath=sse -fomit-frame-pointer -pipe  -o named \
aclconf.lo builtin.lo client.lo config.lo control.lo controlconf.lo interfacemgr.lo listenlist.lo log.lo logconf.lo main.lo notify.lo query.lo server.lo sortlist.lo tkeyconf.lo tsigconf.lo update.lo xfrout.lo zoneconf.lo lwaddr.lo lwresd.lo lwdclient.lo lwderror.lo lwdgabn.lo lwdgnba.lo lwdgrbn.lo lwdnoop.lo lwsearch.lo dlz_postgres_driver.lo dlz_stub_driver.lo sdlz_helper.lo dlz_filesystem_driver.lo dlz_mysql_driver.lo dlz_odbc_driver.lo dlz_bdb_driver.lo dlz_bdbhpt_driver.lo dlz_ldap_driver.lo  unix/os.lo ../../lib/lwres/liblwres.la ../../lib/dns/libdns.la  -lcrypto  ../../lib/bind9/libbind9.la ../../lib/isccfg/libisccfg.la ../../lib/isccc/libisccc.la ../../lib/isc/libisc.la -L/usr/lib -ldb -L/usr/lib  -lpq -Lno/lib -L/usr/lib -lldap -llber  -lnsl -lpthread
/var/tmp/portage/bind-9.3.2/work/bind-9.3.2/libtool: line 1775: cd: no/lib: No such file or directory
libtool: link: cannot determine absolute directory name of `no/lib'
make[2]: *** [named] Error 1
make[2]: Leaving directory `/var/tmp/portage/bind-9.3.2/work/bind-9.3.2/bin/named'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/bind-9.3.2/work/bind-9.3.2/bin'
make: *** [subdirs] Error 1

!!! ERROR: net-dns/bind-9.3.2 failed.
!!! Function src_compile, Line 122, Exitcode 2
!!! failed to compile bind
!!! If you need support, post the topmost build error, NOT this status message.

Here's my emerge info.  I am using a c3-2 system:

triforce portage # emerge info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15.1 i686)
=================================================================
System uname: 2.6.15.1 i686 VIA Nehemiah
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=c3-2 -O2 -mfpmath=sse -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=c3-2 -O2 -mfpmath=sse -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 a52 aac acl aim alsa apache2 ares authdaemond authfile bash-completion bcmath berkdb big-tables bind-mysql bootsplash bzip2 cairo calendar caps cgi chroot cjk cli crosscompile crypt cscope ctype cups curl curlwrappers dba dhcp discard-path disk-cache dlz doc dts ecc elf encode erandom examples exif extensions extraengine fam fbcon ffmpeg firebird flac flash flatfile follow-xff fontconfig fortran fpx ftp gcj gd gdbm geometry gif gmp gnutls gpm graphviz gs guile hpn hub iconv icq idn imagemagick imap imlib inetd inifile iodbc ipv6 irc jabber jack jack-tmpfs java javascript jbig jpeg kerberos krb4 largeterminal lcms ldap libg++ lingerd linuxthreads-tls lm_sensors logrotate mem-cache mhash mikmod ming mmx mp3 mpeg mpm-worker msn mysql ncurses net netpbm network nis nls nomac nptl nptlonly objc odbc ogg oss pam pam_chroot pam_console pam_timestamp parse-clocks passfile pcntl pcre pdo-external perl pg-hier pg-intdatetime php pic png posix postgres pwdb python quotas radius readline rle rpm rss ruby samba sasl savedconfig sendfile sensord session sftplogging shaper sharedext skey slang slp smux snmp soap sockets socks5 spell sse ssl sysvipc tcpd test tetex theora threads tidy tiff tokenizer truetype underscores unicode usb userlocales utf8 vda vhosts vorbis winbind wmf xinetd xml xml2 xsl xvid yahoo yaz zero-penalty-hit zip zlib video_cards_via linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-03-05 13:32:47 UTC
*** Bug 124530 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-03-05 13:33:08 UTC
Same issue here, REOPEN. ;)
Comment 9 MEZEI Tamás 2006-03-11 14:48:02 UTC
i was trying to emerge bind-9.3.2 with dlz enabled, but failed. make stopped yelling the same about dlzbdb.c what's in the first report.

sending two emerge info's from the machines i've tried to use:

Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.14-hardened-r5 i686)
=================================================================
System uname: 2.6.14-hardened-r5 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inf.elte.hu ftp://ftp.nyx.hu/gentoo"
LANG="en_US"
LC_ALL="en_US.ISO-8859-2"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 acl alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 cdb crypt cups curl dri eds emboss encode esd expat foomaticdb fortran gd gdbm gif gpm gstreamer gtk2 hardened imlib ipv6 jpeg kerberos ldap libg++ libwww mad mhash mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl pic png python quicktime readline samba sasl ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode utf8 vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS


Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 Intel(R) Pentium(R) III CPU family      1266MHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inf.elte.hu ftp://ftp.nyx.hu/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 acl alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 cdb crypt cups dri eds emboss encode esd expat foomaticdb fortran gif gnome gstreamer gtk2 hardened imlib ipv6 jpeg kde kerberos ldap libg++ libwww mad mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pdflib perl pic png python quicktime readline sasl sdl ssl tcpd threads truetype truetype-fonts type1-fonts udev unicode utf8 vorbis xml xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 10 MEZEI Tamás 2006-03-12 04:56:15 UTC
and the error is:

make[2]: Leaving directory `/tmp/portage/bind-9.3.2/work/bind-9.3.2/lib/tests'
make[1]: Leaving directory `/tmp/portage/bind-9.3.2/work/bind-9.3.2/lib'
making all in /var/tmp/portage/bind-9.3.2/work/bind-9.3.2/bin
make[1]: Entering directory `/tmp/portage/bind-9.3.2/work/bind-9.3.2/bin'
making all in /var/tmp/portage/bind-9.3.2/work/bind-9.3.2/bin/dlzbdb
make[2]: Entering directory `/tmp/portage/bind-9.3.2/work/bind-9.3.2/bin/dlzbdb'
/bin/sh /var/tmp/portage/bind-9.3.2/work/bind-9.3.2/libtool i686-pc-linux-gnu-gcc  -I/var/tmp/portage/bind-9.3.2/work/bind-9.3.2 -I./include -I./unix/include  -I/usr/include  -D_REENTRANT -DDLZ_BDB  -O2 -march=pentium3 -pipe  -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat  -DVERSION=\"9.3.2\" \
        -c ./dlzbdb.c
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
mkdir .libs
 i686-pc-linux-gnu-gcc -I/var/tmp/portage/bind-9.3.2/work/bind-9.3.2 -I./include -I./unix/include -I/usr/include -D_REENTRANT -DDLZ_BDB -O2 -march=pentium3 -pipe -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -DVERSION=\"9.3.2\" -c ./dlzbdb.c  -fPIC -DPIC -o .libs/dlzbdb.o
./dlzbdb.c:68:24: isc/buffer.h: No such file or directory
./dlzbdb.c:69:29: isc/commandline.h: No such file or directory
./dlzbdb.c:70:29: isc/formatcheck.h: No such file or directory
./dlzbdb.c:71:21: isc/lex.h: No such file or directory
./dlzbdb.c:72:21: isc/mem.h: No such file or directory
./dlzbdb.c:73:24: isc/result.h: No such file or directory
./dlzbdb.c:74:24: isc/string.h: No such file or directory
./dlzbdb.c:75:22: isc/util.h: No such file or directory
./dlzbdb.c:94: error: syntax error before "bdb_opendb"
./dlzbdb.c:94: warning: type defaults to `int' in declaration of `bdb_opendb'
./dlzbdb.c:94: warning: data definition has no type or storage class
./dlzbdb.c:97: error: syntax error before "dns_data"
./dlzbdb.c:103: error: syntax error before "openBDB"
./dlzbdb.c:103: warning: type defaults to `int' in declaration of `openBDB'
./dlzbdb.c:103: warning: data definition has no type or storage class
./dlzbdb.c:106: error: syntax error before "open_lexer"
./dlzbdb.c:106: warning: type defaults to `int' in declaration of `open_lexer'
./dlzbdb.c:106: warning: data definition has no type or storage class
./dlzbdb.c:112: error: syntax error before "bulk_write"
./dlzbdb.c:112: warning: type defaults to `int' in declaration of `bulk_write'
./dlzbdb.c:112: warning: data definition has no type or storage class
./dlzbdb.c:121: error: syntax error before "dlt"
./dlzbdb.c:216: error: syntax error before "create_allowed"
./dlzbdb.c:216: warning: type defaults to `int' in declaration of `create_allowed'
./dlzbdb.c:216: error: `isc_boolean_false' undeclared here (not in a function)
./dlzbdb.c:216: warning: data definition has no type or storage class
./dlzbdb.c:220: error: syntax error before "list_everything"
./dlzbdb.c:220: warning: type defaults to `int' in declaration of `list_everything'
./dlzbdb.c:220: warning: data definition has no type or storage class
./dlzbdb.c:231: error: syntax error before '*' token
./dlzbdb.c:231: warning: type defaults to `int' in declaration of `lexer'
./dlzbdb.c:231: warning: data definition has no type or storage class
./dlzbdb.c:232: error: syntax error before '*' token
./dlzbdb.c:232: warning: type defaults to `int' in declaration of `lex_mctx'
./dlzbdb.c:232: warning: data definition has no type or storage class
./dlzbdb.c:234: error: syntax error before "lex_buffer"
./dlzbdb.c:234: warning: type defaults to `int' in declaration of `lex_buffer'
./dlzbdb.c:234: warning: data definition has no type or storage class
./dlzbdb.c: In function `getzone':
./dlzbdb.c:291: warning: implicit declaration of function `UNUSED'
./dlzbdb.c:308: warning: implicit declaration of function `isc_string_separate'
./dlzbdb.c:308: warning: assignment makes pointer from integer without a cast
./dlzbdb.c: In function `gethost':
./dlzbdb.c:365: warning: assignment makes pointer from integer without a cast
./dlzbdb.c: At top level:
./dlzbdb.c:442: error: syntax error before "bdb_opendb"
./dlzbdb.c:442: warning: return type defaults to `int'
./dlzbdb.c: In function `bdb_opendb':
./dlzbdb.c:451: error: `ISC_R_FAILURE' undeclared (first use in this function)
./dlzbdb.c:451: error: (Each undeclared identifier is reported only once
./dlzbdb.c:451: error: for each function it appears in.)
./dlzbdb.c:461: error: `isc_boolean_true' undeclared (first use in this function)
./dlzbdb.c:472: error: `ISC_R_SUCCESS' undeclared (first use in this function)
./dlzbdb.c: At top level:
./dlzbdb.c:482: error: syntax error before "dns_data"
./dlzbdb.c:482: warning: no previous prototype for 'put_data'
./dlzbdb.c: In function `put_data':
./dlzbdb.c:492: error: `dns_data' undeclared (first use in this function)
./dlzbdb.c:492: error: `input_key' undeclared (first use in this function)
./dlzbdb.c:498: error: `input_data' undeclared (first use in this function)
./dlzbdb.c: In function `insert_data':
./dlzbdb.c:520: error: `ISC_LEXOPT_EOL' undeclared (first use in this function)
./dlzbdb.c:521: error: `ISC_LEXOPT_EOF' undeclared (first use in this function)
./dlzbdb.c:522: error: `ISC_LEXOPT_QSTRING' undeclared (first use in this function)
./dlzbdb.c:523: error: `ISC_LEXOPT_QSTRINGMULTILINE' undeclared (first use in this function)
./dlzbdb.c:525: error: `isc_result_t' undeclared (first use in this function)
./dlzbdb.c:525: error: syntax error before "result"
./dlzbdb.c:526: error: `isc_token_t' undeclared (first use in this function)
./dlzbdb.c:527: error: `isc_boolean_t' undeclared (first use in this function)
./dlzbdb.c:530: error: `isc_buffer_t' undeclared (first use in this function)
./dlzbdb.c:530: error: syntax error before "buf"
./dlzbdb.c:532: error: syntax error before "buf2"
./dlzbdb.c:536: warning: implicit declaration of function `isc_buffer_init'
./dlzbdb.c:536: error: `buf' undeclared (first use in this function)
./dlzbdb.c:537: error: `buf2' undeclared (first use in this function)
./dlzbdb.c:539: error: `loop' undeclared (first use in this function)
./dlzbdb.c:540: error: `result' undeclared (first use in this function)
./dlzbdb.c:540: warning: implicit declaration of function `isc_lex_gettoken'
./dlzbdb.c:540: error: `token' undeclared (first use in this function)
./dlzbdb.c:541: error: `ISC_R_SUCCESS' undeclared (first use in this function)
./dlzbdb.c:545: error: `isc_tokentype_string' undeclared (first use in this function)
./dlzbdb.c:557: error: `have_czone' undeclared (first use in this function)
./dlzbdb.c:557: error: `isc_boolean_true' undeclared (first use in this function)
./dlzbdb.c:558: warning: implicit declaration of function `isc_buffer_putstr'
./dlzbdb.c:560: warning: implicit declaration of function `isc_buffer_putmem'
./dlzbdb.c:572: error: `isc_tokentype_qstring' undeclared (first use in this function)
./dlzbdb.c:577: error: `isc_tokentype_eol' undeclared (first use in this function)
./dlzbdb.c:578: error: `isc_tokentype_eof' undeclared (first use in this function)
./dlzbdb.c:580: warning: implicit declaration of function `isc_buffer_usedlength'
./dlzbdb.c:590: warning: implicit declaration of function `isc_lex_getsourceline'
./dlzbdb.c:590: warning: long unsigned int format, int arg (arg 3)
./dlzbdb.c:593: warning: long unsigned int format, int arg (arg 3)
./dlzbdb.c:603: warning: implicit declaration of function `isc_buffer_clear'
./dlzbdb.c:620: warning: long unsigned int format, int arg (arg 3)
./dlzbdb.c: At top level:
./dlzbdb.c:625: error: syntax error before "openBDB"
./dlzbdb.c:625: warning: return type defaults to `int'
./dlzbdb.c: In function `openBDB':
./dlzbdb.c:628: error: `isc_result_t' undeclared (first use in this function)
./dlzbdb.c:628: error: syntax error before "result"
./dlzbdb.c:636: error: `result' undeclared (first use in this function)
./dlzbdb.c:636: error: `ISC_R_FAILURE' undeclared (first use in this function)
./dlzbdb.c:641: error: `isc_boolean_true' undeclared (first use in this function)
./dlzbdb.c:659: error: `ISC_R_SUCCESS' undeclared (first use in this function)
./dlzbdb.c: At top level:
./dlzbdb.c:706: error: syntax error before "open_lexer"
./dlzbdb.c:706: warning: return type defaults to `int'
./dlzbdb.c: In function `open_lexer':
./dlzbdb.c:707: error: `isc_result_t' undeclared (first use in this function)
./dlzbdb.c:707: error: syntax error before "result"
./dlzbdb.c:711: error: `ISC_R_SUCCESS' undeclared (first use in this function)
./dlzbdb.c:714: error: `result' undeclared (first use in this function)
./dlzbdb.c:714: warning: implicit declaration of function `isc_mem_create'
./dlzbdb.c:721: warning: implicit declaration of function `isc_lex_create'
./dlzbdb.c:726: warning: implicit declaration of function `isc_lex_setcomments'
./dlzbdb.c:726: error: `ISC_LEXCOMMENT_C' undeclared (first use in this function)
./dlzbdb.c:727: error: `ISC_LEXCOMMENT_CPLUSPLUS' undeclared (first use in this function)
./dlzbdb.c:728: error: `ISC_LEXCOMMENT_SHELL' undeclared (first use in this function)
./dlzbdb.c: In function `close_lexer':
./dlzbdb.c:742: warning: implicit declaration of function `isc_lex_close'
./dlzbdb.c:743: warning: implicit declaration of function `isc_lex_destroy'
./dlzbdb.c:748: warning: implicit declaration of function `isc_mem_destroy'
./dlzbdb.c: In function `operation_add':
./dlzbdb.c:761: error: `isc_boolean_true' undeclared (first use in this function)
./dlzbdb.c:765: error: `ISC_R_SUCCESS' undeclared (first use in this function)
./dlzbdb.c:773: warning: implicit declaration of function `isc_lex_openbuffer'
./dlzbdb.c: In function `operation_bulk':
./dlzbdb.c:792: error: `isc_boolean_true' undeclared (first use in this function)
./dlzbdb.c:796: error: `ISC_R_SUCCESS' undeclared (first use in this function)
./dlzbdb.c:801: warning: implicit declaration of function `isc_lex_openstream'
./dlzbdb.c:805: warning: implicit declaration of function `isc_lex_openfile'
./dlzbdb.c: At top level:
./dlzbdb.c:815: error: syntax error before "bulk_write"
./dlzbdb.c:815: warning: return type defaults to `int'
./dlzbdb.c: In function `bulk_write':
./dlzbdb.c:831: error: `ISC_R_FAILURE' undeclared (first use in this function)
./dlzbdb.c:882: error: `ISC_R_SUCCESS' undeclared (first use in this function)
./dlzbdb.c: At top level:
./dlzbdb.c:890: error: syntax error before "dlt"
./dlzbdb.c:890: warning: no previous prototype for 'operation_listOrDelete'
./dlzbdb.c: In function `operation_listOrDelete':
./dlzbdb.c:900: error: `dlt' undeclared (first use in this function)
./dlzbdb.c:900: error: `isc_boolean_true' undeclared (first use in this function)
./dlzbdb.c:927: error: `ISC_R_SUCCESS' undeclared (first use in this function)
./dlzbdb.c: In function `main':
./dlzbdb.c:1137: warning: implicit declaration of function `isc_commandline_parse'
./dlzbdb.c:1140: error: `isc_boolean_true' undeclared (first use in this function)
./dlzbdb.c:1153: error: `isc_commandline_argument' undeclared (first use in this function)
./dlzbdb.c:1204: error: `isc_commandline_index' undeclared (first use in this function)
./dlzbdb.c:1226: error: `ISC_R_SUCCESS' undeclared (first use in this function)
make[2]: *** [dlzbdb.lo] Error 1
make[2]: Leaving directory `/tmp/portage/bind-9.3.2/work/bind-9.3.2/bin/dlzbdb'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/tmp/portage/bind-9.3.2/work/bind-9.3.2/bin'
make: *** [subdirs] Error 1
Comment 11 Konstantin Arkhipov (RETIRED) gentoo-dev 2006-03-25 16:07:51 UTC
finally reproduced and fixed in 9.{2.6,3.2}-r1.
thanks for reporting.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-05-06 17:40:31 UTC
*** Bug 132517 has been marked as a duplicate of this bug. ***