Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 218686
Alias:
Product:
Component:
Status: RESOLVED
Resolution: CANTFIX
Assigned To: Konstantin Arkhipov <voxus@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Hayama Yossihiro <yossi@yedo.src.co.jp>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 218686 depends on: Show dependency tree
Bug 218686 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-21 05:42 0000
can't use underscores(_) when emerge net-dns/bind-tools with --enable-runidn.


Reproducible: Always

Steps to Reproduce:
1.compile net-dns/bind-tools with '--enable-runidn --with-idn'
2.can't work next command with error messages.
 # dig default._domainkey.example.jp TXT 
 convert UTF-8 textname to IDN encoding: prohibited character found
3.if compile it without '--enable-runidn --with-idn' it works.




I think, idnkit have to change '_' checking.

------- Comment #1 From Christian Heim (RETIRED) 2008-04-21 06:13:03 0000 -------
*** Bug 218688 has been marked as a duplicate of this bug. ***

------- Comment #2 From SpanKY 2008-04-21 07:15:10 0000 -------
*** Bug 218694 has been marked as a duplicate of this bug. ***

------- Comment #3 From Tobias Scherbaum 2008-05-03 16:42:59 0000 -------
I wasn't able to reproduce this with neither 9.4.1_p1 nor 9.4.2. Plus i
couldn't find "--enable-runidn --with-idn" in bind or bind-tools.

------- Comment #4 From Hayama Yossihiro 2008-05-04 01:45:35 0000 -------
I can find '--enable-runidn --with-idn' 
# cd ....../bind-9.4.x
# ./configure --help

and I set in /etc/portage/bashrc as follows;
if [ "${CATEGORY}/${PN}" = "net-dns/bind" ] ; then
    EXTRA_ECONF='--enable-runidn --with-idn'
fi
if [ "${CATEGORY}/${PN}" = "net-dns/bind-tools" ] ; then
    EXTRA_ECONF='--enable-runidn --with-idn'
fi

------- Comment #5 From Hayama Yossihiro 2008-05-04 02:12:38 0000 -------
Sorry 
> I can find '--enable-runidn --with-idn' 
> # cd ....../bind-9.4.x
> # ./configure --help
is not true.

I set USE=...  idn ..." 
and /etc/portage/bashrc

if [ "${CATEGORY}/${PN}" = "net-dns/bind" ] ; then
    EXTRA_ECONF='--enable-runidn --with-idn'
fi
if [ "${CATEGORY}/${PN}" = "net-dns/bind-tools" ] ; then
    EXTRA_ECONF='--enable-runidn --with-idn'
fi

configure of net-dns/bind-tools-9.4.1_p1 is

./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --enable-ipv6 --build=i686-pc-linux-gnu
--enable-runidn --with-idn

w/o '--enable-runidn --with-idn', domain name 'japanese KANJI'  can't be used.
with --enable-runidn --with-idn', '_' can't be used.

------- Comment #6 From Tobias Scherbaum 2008-05-04 08:21:28 0000 -------
(In reply to comment #4)
> and I set in /etc/portage/bashrc as follows;
> if [ "${CATEGORY}/${PN}" = "net-dns/bind" ] ; then
>     EXTRA_ECONF='--enable-runidn --with-idn'
> fi
> if [ "${CATEGORY}/${PN}" = "net-dns/bind-tools" ] ; then
>     EXTRA_ECONF='--enable-runidn --with-idn'
> fi
> 

You can probably imagine that we can't support your personal hacks ...

Anyways, though bind-tools had an idn use-flag it didn't link to libidnkit
until now. I fixed that in bind-tools-9.4.2 (CVS rev 1.2), please sync your
portage tree and test with 9.4.2 (note the CVS rev mentioned). Please check if
dig for example is linked against libidnkit.

For the "--enable-runidn" you mentioned, from my understanding this would build
an additional runidn binary which would make non-idn-aware applications
idn-aware on the fly. As we link libidnkit this isn't needed.

------- Comment #7 From Tobias Scherbaum 2008-05-04 09:15:12 0000 -------
(In reply to comment #6)
> ... I fixed that in bind-tools-9.4.2 (CVS rev 1.2) ...
CVS rev 1.3 that is ...

------- Comment #8 From Hayama Yossihiro 2008-05-04 11:21:05 0000 -------
(In reply to comment #6)
> 
> You can probably imagine that we can't support your personal hacks ...
> 

I don't think so, The KANJI is being used by half of the world. The 'KANJI' is
more than 15000 characters, idnkit is something to use a kanji by dns service. 
Then it's hacks for half of the world.

------- Comment #9 From Tobias Scherbaum 2008-05-04 11:28:24 0000 -------
(In reply to comment #8)
> > You can probably imagine that we can't support your personal hacks ...
> > 
> 
> I don't think so, The KANJI is being used by half of the world. The 'KANJI' is
> more than 15000 characters, idnkit is something to use a kanji by dns service. 
> Then it's hacks for half of the world.
> 

There's a difference between hacking up /etc/portage/bashrc (and that's for
sure a thing we can't and won't support) and a bug in bind-tools (dig etc.) not
being linked to libidnkit (which this bug seems to be *really* about) when the
idn use is set.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug