Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649326 - net-dns/bind-tools-9.11.2_p1 with =net-dns/idnkit-2.3 - host.c:744:18: error: ‘IDN_ASCCHECK’ undeclared (first use in this function)
Summary: net-dns/bind-tools-9.11.2_p1 with =net-dns/idnkit-2.3 - host.c:744:18: error:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords:
: 649284 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-02 05:00 UTC by Anton Kochkov
Modified: 2019-08-22 17:30 UTC (History)
15 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 Anton Kochkov 2018-03-02 05:00:31 UTC
x86_64-pc-linux-gnu-gcc  -I/var/tmp/portage/net-dns/bind-tools-9.11.2_p1/work/bind-9.11.2-P1 -I../.. -I./include -I/var/tmp/portage/net-dns/bind-tools-9.11.2_p1/work/bind-9.11.2-P1/lib/dns/include -I../../lib/dns/include -I/var/tmp/portage/net-dns/bind-tools-9.11.2_p1/work/bind-9.11.2-P1/lib/bind9/include -I../../lib/bind9/include -I/var/tmp/portage/net-dns/bind-tools-9.11.2_p1/work/bind-9.11.2-P1/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/var/tmp/portage/net-dns/bind-tools-9.11.2_p1/work/bind-9.11.2-P1/lib/lwres/include -I../../lib/lwres/unix/include -I../../lib/lwres/include -I/var/tmp/portage/net-dns/bind-tools-9.11.2_p1/work/bind-9.11.2-P1/lib/isccfg/include -I../../lib/isccfg/include  -I/usr/include -D_REENTRANT -DVERSION=\"9.11.2-P1\" -DOPENSSL -D_GNU_SOURCE -march=core2 -mtune=generic -O2 -pipe -DDIG_SIGCHASE -I/usr/include/libxml2 -fPIC  -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -fno-delete-null-pointer-checks  -c nslookup.c
host.c: In function ‘parse_args’:
host.c:744:18: error: ‘IDN_ASCCHECK’ undeclared (first use in this function)
     idnoptions = IDN_ASCCHECK;
                  ^~~~~~~~~~~~
host.c:744:18: note: each undeclared identifier is reported only once for each function it appears in
host.c: In function ‘main’:
host.c:889:15: error: ‘IDN_ASCCHECK’ undeclared (first use in this function)
  idnoptions = IDN_ASCCHECK;
               ^~~~~~~~~~~~
make: *** [Makefile:231: host.o] Error 1
make: *** Waiting for unfinished jobs....
dighost.c: In function ‘setup_lookup’:
dighost.c:2310:38: error: ‘IDN_DELIMMAP’ undeclared (first use in this function)
  mr = idn_encodename(IDN_LOCALCONV | IDN_DELIMMAP, lookup->textname,
                                      ^~~~~~~~~~~~
dighost.c:2310:38: note: each undeclared identifier is reported only once for each function it appears in
dighost.c:2354:35: error: ‘IDN_LOCALMAP’ undeclared (first use in this function)
  mr = idn_encodename(idnoptions | IDN_LOCALMAP | IDN_NAMEPREP |
                                   ^~~~~~~~~~~~
dighost.c:2354:50: error: ‘IDN_NAMEPREP’ undeclared (first use in this function)
  mr = idn_encodename(idnoptions | IDN_LOCALMAP | IDN_NAMEPREP |
                                                  ^~~~~~~~~~~~
make: *** [Makefile:231: dighost.o] Error 1
make: Leaving directory '/var/tmp/portage/net-dns/bind-tools-9.11.2_p1/work/bind-9.11.2-P1/bin/dig'
 * ERROR: net-dns/bind-tools-9.11.2_p1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-dns/bind-tools-9.11.2_p1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-dns/bind-tools-9.11.2_p1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-dns/bind-tools-9.11.2_p1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dns/bind-tools-9.11.2_p1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-dns/bind-tools-9.11.2_p1/work/bind-9.11.2-P1'
 * S: '/var/tmp/portage/net-dns/bind-tools-9.11.2_p1/work/bind-9.11.2-P1'


[I] net-dns/libidn
     Available versions:  1.33 1.33-r1 1.33-r2 {doc emacs java mono nls static-libs ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" ELIBC="FreeBSD"}
     Installed versions:  1.33-r2(07:57:40 PM 02/14/2018)(nls static-libs -doc -emacs -java -mono ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" ELIBC="-FreeBSD")
     Homepage:            https://www.gnu.org/software/libidn/
     Description:         Internationalized Domain Names (IDN) implementation

[I] net-dns/libidn2
     Available versions:  2.0.4 {static-libs ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  2.0.4(03:59:42 PM 02/14/2018)(-static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://www.gnu.org/software/libidn/#libidn2 https://gitlab.com/jas/libidn2
     Description:         An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)
Comment 1 Charles Nérot 2018-03-03 07:25:34 UTC
upstream issue : https://gitlab.isc.org/isc-projects/bind9/issues/94
upstream merge request : https://gitlab.isc.org/isc-projects/bind9/merge_requests/56
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2018-03-03 15:50:43 UTC
*** Bug 649284 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2018-03-03 16:16:34 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1043f4e23be19d14f71ad5517a3f105b5eb6bffe

commit 1043f4e23be19d14f71ad5517a3f105b5eb6bffe
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-03-03 16:15:27 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-03-03 16:15:45 +0000

    net-dns/bind-tools: Restrict to <net-dns/idnkit-2
    
    Package is not compatible with >=net-dns/idnkit-2 at the moment and
    upstream patch is not yet ready so restrict to <net-dns/idnkit-2 usage
    for the moment.
    
    Bug: https://bugs.gentoo.org/649326
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-dns/bind-tools/bind-tools-9.11.1_p3.ebuild | 2 +-
 net-dns/bind-tools/bind-tools-9.11.2_p1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)}
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-04 13:32:35 UTC
Why wasn't I informed?
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-04 13:51:06 UTC
*** Bug 649472 has been marked as a duplicate of this bug. ***
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-04 15:16:02 UTC
*** Bug 649472 has been marked as a duplicate of this bug. ***
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-06 11:24:01 UTC
*** Bug 649472 has been marked as a duplicate of this bug. ***
Comment 8 Craig Andrews gentoo-dev 2018-04-13 19:10:11 UTC
Upstream will be dropping idnkit in favor of libidn in 9.13: https://gitlab.isc.org/isc-projects/bind9/issues/94
Comment 9 Larry the Git Cow gentoo-dev 2018-04-19 11:13:53 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48249e1a2d8ac541dcbad3aabf2a029149047335

commit 48249e1a2d8ac541dcbad3aabf2a029149047335
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-04-13 19:25:19 +0000
Commit:     Christian Ruppert <idl0r@gentoo.org>
CommitDate: 2018-04-19 11:11:05 +0000

    net-dns/bind: 9.12.1 version bump
    
    Bug: https://bugs.gentoo.org/649326
    Bug: https://bugs.gentoo.org/592560
    Package-Manager: Portage-2.3.28, Repoman-2.3.9

 net-dns/bind-tools/bind-tools-9.12.1.ebuild |   1 -
 net-dns/bind/Manifest                       |   1 +
 net-dns/bind/bind-9.12.1.ebuild             | 423 ++++++++++++++++++++++++++++
 net-dns/bind/metadata.xml                   |   1 +
 4 files changed, 425 insertions(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99515b1d62992e0739cc43f7138ff0ba450e80a7

commit 99515b1d62992e0739cc43f7138ff0ba450e80a7
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-03-01 23:30:57 +0000
Commit:     Christian Ruppert <idl0r@gentoo.org>
CommitDate: 2018-04-19 11:11:01 +0000

    net-dns/bind-tools: 9.12.1 version bump
    
    Closes: https://bugs.gentoo.org/649294
    Closes: https://bugs.gentoo.org/607400
    Closes: https://bugs.gentoo.org/633534
    Bug: https://bugs.gentoo.org/649326
    Bug: https://bugs.gentoo.org/592560
    Package-Manager: Portage-2.3.24, Repoman-2.3.6
    Closes: https://github.com/gentoo/gentoo/pull/7330

 net-dns/bind-tools/Manifest                 |   1 +
 net-dns/bind-tools/bind-tools-9.12.1.ebuild | 143 ++++++++++++++++++++++++++++
 2 files changed, 144 insertions(+)}
Comment 10 Anton Kochkov 2018-05-24 04:54:52 UTC
Should be fixed in bind 9.13 https://gitlab.isc.org/isc-projects/bind9/issues/271 which is just released.
Comment 11 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-08-22 17:30:50 UTC
Was fixed quite long ago.