Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155791 - media-gfx/graphviz-2.8-r2 fails to run autoconf w/ USE="-nls"
Summary: media-gfx/graphviz-2.8-r2 fails to run autoconf w/ USE="-nls"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 157835 164385 (view as bug list)
Depends on:
Blocks: 165460
  Show dependency tree
 
Reported: 2006-11-20 09:40 UTC by Fredric Johansson
Modified: 2007-02-19 18:48 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 Fredric Johansson 2006-11-20 09:40:42 UTC
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 '/var/tmp/portage/graphviz-2.8-r2/work/graphviz-2.8'..
 * 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="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig confcache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_exclude"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="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"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-20 13:52:47 UTC
Re-emerge gettext and try again...
Comment 2 Fredric Johansson 2006-11-20 13:57:30 UTC
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
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-12-11 14:05:47 UTC
*** Bug 157835 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-01-29 12:47:21 UTC
*** Bug 164385 has been marked as a duplicate of this bug. ***
Comment 5 Natanael Copa 2007-01-29 13:26:39 UTC
(In reply to comment #2)
> If you checked the USE-flag you would have seen that I dont have nls and
> furthermore not gettext either.

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

might be it works with:

  use nls || sed -i '/^AM_ICONV/d' configure.in

or something similar.
Comment 6 Brett 2007-02-13 19:05:38 UTC
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..
Comment 7 Beppe 2007-02-16 13:00:07 UTC
GLib installs glib-gettext.m4
try emerge --oneshot dev-libs/glib media-gfx/graphviz
::Beep
Comment 8 Beppe 2007-02-16 14:47:14 UTC
(In reply to comment #7)
> GLib installs glib-gettext.m4
> try emerge --oneshot dev-libs/glib media-gfx/graphviz
> ::Beep
> 

oops, well glib dose installs glib-gettext.m4 but has very little effect on this bug.
If you get similar error but about "AM_GLIB_GNU_GETTEXT", the above might help.
::beep
Comment 9 Chris Bainbridge (RETIRED) gentoo-dev 2007-02-19 18:48:35 UTC
I added Natanaels fix to graphviz-2.12, compiles ok, but I don't have a non nls system so feel free to reopen the bug if something doesn't work.