Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474582 - >=net-irc/hexchat-2.9.5[-gtk] fails autoconf without installed x11-libs/gtk+:2
Summary: >=net-irc/hexchat-2.9.5[-gtk] fails autoconf without installed x11-libs/gtk+:2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Julian Ospald
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-24 09:04 UTC by Sergey Popov
Modified: 2013-06-24 19:42 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 Sergey Popov gentoo-dev 2013-06-24 09:04:18 UTC
Looks like we have something similar to bug #460758 again:

phantom ~ # cat /var/tmp/portage/net-irc/hexchat-2.9.5-r1/temp/build.log
 * Package:    net-irc/hexchat-2.9.5-r1
 * Repository: gentoo
 * Maintainer: hasufell@gentoo.org god@politeia.in,proxy-maint@gentoo.org
 * USE:        amd64 dbus elibc_glibc ipv6 kernel_linux nls plugins python_single_target_python2_7 python_targets_python2_7 spell ssl userland_GNU
 * FEATURES:   preserve-libs sandbox splitdebug test userpriv usersandbox
>>> Unpacking source...
>>> Unpacking hexchat-2.9.5.tar.xz to /var/tmp/portage/net-irc/hexchat-2.9.5-r1/work
>>> Source unpacked in /var/tmp/portage/net-irc/hexchat-2.9.5-r1/work
>>> Preparing source in /var/tmp/portage/net-irc/hexchat-2.9.5-r1/work/hexchat-2.9.5 ...
 * Applying hexchat-2.9.1-input-box.patch ...                                                                                                                        [ ok ]
 * Applying hexchat-2.9.5-cflags.patch ...                                                                                                                           [ ok ]
 * Applying hexchat-2.9.5-gettextize.patch ...                                                                                                                       [ ok ]
 * Applying hexchat-2.9.5-gobject.patch ...                                                                                                                          [ ok ]
 * Applying hexchat-2.9.5-fix_leftclick_opens_menu.patch ...                                                                                                         [ ok ]
 * Running gettextize -f --no-changelog...
am-wrapper: aclocal: warning: invalid WANT_AUTOMAKE 'latest'; ignoring.
am-wrapper: aclocal: warning: invalid WANT_AUTOMAKE 'latest'; ignoring.
 * Running eautoreconf in '/var/tmp/portage/net-irc/hexchat-2.9.5-r1/work/hexchat-2.9.5' ...
 * Running libtoolize --install --copy --force --automake ...                                                                                                        [ ok ]
 * Running aclocal -I m4 ...                                                                                                                                         [ ok ]
 * Running autoconf ...                                                                                                                                              [ !! ]

 * Failed Running autoconf !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/net-irc/hexchat-2.9.5-r1/temp/autoconf.out

 * ERROR: net-irc/hexchat-2.9.5-r1 failed (prepare phase):
 *   Failed Running autoconf !
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 3875:  Called eautoreconf
 *   environment, line 1015:  Called eautoconf
 *   environment, line  934:  Called autotools_run_tool '--at-m4flags' 'autoconf'
 *   environment, line  779:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 * 
 * If you need support, post the output of `emerge --info '=net-irc/hexchat-2.9.5-r1'`,
 * the complete build log and the output of `emerge -pqv '=net-irc/hexchat-2.9.5-r1'`.
/usr/lib64/portage/bin/isolated-functions.sh: line 215: wait: `Failed Running autoconf !': not a pid or valid job spec
 * The complete build log is located at '/var/tmp/portage/net-irc/hexchat-2.9.5-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-irc/hexchat-2.9.5-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-irc/hexchat-2.9.5-r1/work/hexchat-2.9.5'
 * S: '/var/tmp/portage/net-irc/hexchat-2.9.5-r1/work/hexchat-2.9.5'

phantom ~ # cat /var/tmp/portage/net-irc/hexchat-2.9.5-r1/temp/autoconf.out 
***** autoconf *****
***** PWD: /var/tmp/portage/net-irc/hexchat-2.9.5-r1/work/hexchat-2.9.5
***** autoconf

configure.ac:205: error: possibly undefined macro: AM_PATH_GTK_2_0
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
phantom ~ # cat /var/tmp/portage/net-irc/hexchat-2.9.5-r1/temp/autoconf.out 
***** autoconf *****
***** PWD: /var/tmp/portage/net-irc/hexchat-2.9.5-r1/work/hexchat-2.9.5
***** autoconf

configure.ac:205: error: possibly undefined macro: AM_PATH_GTK_2_0
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.


Latest stable version(2.9.5) also has this bug, that's why i do not block stabilization.
Comment 1 Sergey Popov gentoo-dev 2013-06-24 09:05:06 UTC
Forgot to add - latest snapshot(2.9.5_p20130525) is also affected
Comment 2 Denis M. (Phr33d0m) 2013-06-24 12:32:43 UTC
I blame hasufell for removing my patch from the ebuild :P
Comment 3 Julian Ospald 2013-06-24 18:39:37 UTC
(In reply to Denis M. (Phr33d0m) from comment #2)
> I blame hasufell for removing my patch from the ebuild :P

?

https://github.com/hexchat/hexchat/commit/212adf63ce136182524ee425293957345743cede
Comment 4 Julian Ospald 2013-06-24 19:32:30 UTC
https://github.com/hexchat/hexchat/issues/658
Comment 5 Julian Ospald 2013-06-24 19:42:19 UTC
+  24 Jun 2013; Julian Ospald <hasufell@gentoo.org> hexchat-2.9.5.ebuild,
+  hexchat-2.9.5-r1.ebuild, hexchat-2.9.5_p20130525.ebuild,
+  +files/hexchat-2.9.5-autoconf-missing-macros.patch:
+  fix autoconf when gtk+:2 is not installed wrt #474582