<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>155791</bug_id>
          
          <creation_ts>2006-11-20 09:40 0000</creation_ts>
          <short_desc>media-gfx/graphviz-2.8-r2 fails to run autoconf w/ USE=&quot;-nls&quot;</short_desc>
          <delta_ts>2007-02-19 18:48:35 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>165460</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>johansson_fredric@hotmail.com</reporter>
          <assigned_to>graphics@gentoo.org</assigned_to>
          <cc>dashnu@gmail.com</cc>
    
    <cc>natanael.copa@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>johansson_fredric@hotmail.com</who>
            <bug_when>2006-11-20 09:40:42 0000</bug_when>
            <thetext>Graphviz-2.8-r2 fails to run autoconf because of possibly undefined macro AM_ICONV

autoconf.out: 
***** autoconf *****
 
configure.ac:1112: error: possibly undefined macro: AM_ICONV
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.


emerge error:
 * Running aclocal ...                                [ ok ]
 * Running libtoolize --copy --force --automake ...     [ ok ]
 * Running aclocal ...                      [ ok ]
 * Running autoconf ...                      [ ok ]
 * Running autoheader ...                   [ ok ]
 * Running automake --add-missing --copy --foreign ...   [ ok ]
 * Running eautoreconf in &apos;/var/tmp/portage/graphviz-2.8-r2/work/graphviz-2.8&apos;..
 * Running aclocal ...                                                              [ ok ]
 * Running libtoolize --copy --force --automake ...    [ ok ]
 * Running aclocal ...   [ ok ]
 * Running autoconf ...              [ !! ]

 * Failed Running autoconf !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/graphviz-2.8-r2/temp/autoconf-17492.out

emerge --info:
Portage 2.1.1-r2 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r5, 2.6.17-hardened-r1 i686)
=================================================================
System uname: 2.6.17-hardened-r1 i686 Pentium II (Deschutes)
Gentoo Base System version 1.12.6
Last Sync: Mon, 20 Nov 2006 15:30:02 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=pentium2 -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo&quot;
CXXFLAGS=&quot;-O2 -march=pentium2 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig confcache distlocks metadata-transfer sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage//packages/x86/&quot;
PORTAGE_RSYNC_EXTRA_OPTS=&quot;--exclude-from=/etc/portage/rsync_exclude&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage/&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;apache apache2 berkdb crypt dlloader elibc_glibc hardened input_devices_keyboard input_devices_mouse ithreads kernel_linux latin1 ldap mmx mysql nptl nptlonly pam pic posix readline srvdir ssl tcpd threads userland_GNU userlocales video_cards_fglrx x86 xml xorg xsl zip zlib&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-11-20 13:52:47 0000</bug_when>
            <thetext>Re-emerge gettext and try again...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>johansson_fredric@hotmail.com</who>
            <bug_when>2006-11-20 13:57:30 0000</bug_when>
            <thetext>If you checked the USE-flag you would have seen that I dont have nls and furthermore not gettext either. Possibly this is a DEPEND-error in graphviz ebuild and then should be fixed</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-12-11 14:05:47 0000</bug_when>
            <thetext>*** Bug 157835 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-01-29 12:47:21 0000</bug_when>
            <thetext>*** Bug 164385 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>natanael.copa@gmail.com</who>
            <bug_when>2007-01-29 13:26:39 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; If you checked the USE-flag you would have seen that I dont have nls and
&gt; furthermore not gettext either.

I second that. This is an issue for uclibc too.

might be it works with:

  use nls || sed -i &apos;/^AM_ICONV/d&apos; configure.in

or something similar.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dashnu@gmail.com</who>
            <bug_when>2007-02-13 19:05:38 0000</bug_when>
            <thetext>I have this problem with 2.12. nls is not a use flag anymore for graphviz? I am confused.. I thought I added that use flag last time and was ok..
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@beep.fdns.net</who>
            <bug_when>2007-02-16 13:00:07 0000</bug_when>
            <thetext>GLib installs glib-gettext.m4
try emerge --oneshot dev-libs/glib media-gfx/graphviz
::Beep
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@beep.fdns.net</who>
            <bug_when>2007-02-16 14:47:14 0000</bug_when>
            <thetext>(In reply to comment #7)
&gt; GLib installs glib-gettext.m4
&gt; try emerge --oneshot dev-libs/glib media-gfx/graphviz
&gt; ::Beep
&gt; 

oops, well glib dose installs glib-gettext.m4 but has very little effect on this bug.
If you get similar error but about &quot;AM_GLIB_GNU_GETTEXT&quot;, the above might help.
::beep</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chrb@gentoo.org</who>
            <bug_when>2007-02-19 18:48:35 0000</bug_when>
            <thetext>I added Natanaels fix to graphviz-2.12, compiles ok, but I don&apos;t have a non nls system so feel free to reopen the bug if something doesn&apos;t work.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>