Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82412 - media-sound/xmms-1.2.10-r13 fails with aclocal macro errors
Summary: media-sound/xmms-1.2.10-r13 fails with aclocal macro errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Matthew Kasa (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-17 15:27 UTC by Matthew Kasa (RETIRED)
Modified: 2005-03-13 16:37 UTC (History)
1 user (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 Matthew Kasa (RETIRED) gentoo-dev 2005-02-17 15:27:52 UTC
media-sound/xmms-1.2.10-r13 fails with aclocal macro required but not defined errors:

You should update your `aclocal.m4' by running aclocal.
aclocal: macro `bh_C_SIGNED' required but not defined
aclocal: macro `jm_AC_TYPE_LONG_LONG' required but not defined
aclocal: macro `gt_TYPE_LONGDOUBLE' required but not defined
aclocal: macro `gt_TYPE_WCHAR_T' required but not defined
aclocal: macro `gt_TYPE_WINT_T' required but not defined
aclocal: macro `gt_TYPE_INTMAX_T' required but not defined
aclocal: macro `gt_PRINTF_POSIX' required but not defined
aclocal: macro `gl_XSIZE' required but not defined

I do not have nls in my USE, but I have gettext-0.12.1-r2 since this massive list of packages on my system pulled it in unconditionally:

libwnck, gtksourceview, gnome-terminal, gnome-icon-theme, libgnomecanvas, nautilus, libgnomeprint, libbonoboui, gnome-desktop, libgnomeprintui, gnome-session, gnome-panel, gpsdrive, gnome-spell, evolution, sodipodi, gstreamer, gst-plugins, gaim, metacity, glib, glade, gedit, gal, gnome-games, gconf-editor, bug-buddy, yelp

Come on gnome herd, wtf?  nls? ( sys-devel/gettext ) for pete's sake.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-18 00:52:50 UTC
Ok, I tried the attach thing, but it keeps asking for login, and then say no
file attached.

Anyhow, does it work with below patch, or does it fail in src_unpack() already?

----
Index: xmms-1.2.10-r13.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/xmms/xmms-1.2.10-r13.ebuild,v
retrieving revision 1.2
diff -u -r1.2 xmms-1.2.10-r13.ebuild
--- xmms-1.2.10-r13.ebuild      14 Feb 2005 18:58:50 -0000      1.2
+++ xmms-1.2.10-r13.ebuild      18 Feb 2005 08:48:36 -0000
@@ -104,6 +104,7 @@
        # Please see Bug 58092 for details
        use ppc64 && replace-flags "-O[2-9]" "-O1"

+       env ACLOCAL="aclocal -I ${WORKDIR}/m4" \
        econf `use_enable nls` ${myconf} || die

        # For some reason, gmake doesn't export this for libtool's consumption
Comment 2 Matthew Kasa (RETIRED) gentoo-dev 2005-02-18 01:29:59 UTC
It fails in src_unpack during one of the 'aclocal -I ${WORKDIR}/m4' calls in the loop at line 76
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-18 04:15:19 UTC
azarah: The problem is the installed m4's from gettext are used rather than the ones in the m4 directory from the tarball.  Is there a way to tell aclocal to use the -I ones over the system ones?
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-18 08:46:22 UTC
I checked it my side, and it seems to do the correct thing
(yes, I edited m4/gettext.m4 and then reran aclocal -I ...):

--------
nosferatu work # grep 'gettext.m4 serial' m4/gettext.m4
# gettext.m4 serial 27 (gettext-0.12)
nosferatu work # grep 'gettext.m4 serial' /usr/share/aclocal/gettext.m4
# gettext.m4 serial 28 (gettext-0.13)
nosferatu work # grep 'gettext.m4 serial' xmms-1.2.10/aclocal.m4
# gettext.m4 serial 27 (gettext-0.12)
nosferatu work #
--------

PS: (allthough latest and 1.8 looks like it should do the same thing)

--------
nosferatu xmms-1.2.10 # aclocal --version
aclocal (GNU automake) 1.7.9
--------
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-18 08:49:12 UTC
Something to consider - the alternative is to rediff the cvs and vorbis-ssl
patches including the updated configure after autoreconf was run on a non
broken (or whatever) machine, and not regen it in the ebuild ....
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-18 10:06:23 UTC
azarah, where are you getting the 0.12 version?  This is what's included in the tarball:

~/gentoo/projects/xmms $ grep 'gettext.m4 serial' m4/gettext.m4                
# gettext.m4 serial 28 (gettext-0.13)
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-18 15:23:00 UTC
Like I said in comment #4 - I edited it to see which .m4 aclocal import ...
Comment 8 foser (RETIRED) gentoo-dev 2005-02-20 07:58:07 UTC
blackace, after poking you several times on IRC i still don't understand what this has todo with gnome.
Comment 9 Matthew Kasa (RETIRED) gentoo-dev 2005-02-20 11:14:01 UTC
foser: that's just ridiculous, see that list of gnome packages in the report?  that is what this has to do with GNOME.  They belong to the GNOME herd and pull in gettext regardless of how the nls use flag is set, which is total BS, I don't WANT gettext, so I don't have nls in my use flags, but you guys are ignoring that in a large number of packages.
Comment 10 foser (RETIRED) gentoo-dev 2005-02-20 13:07:56 UTC
If that is what your bug is about (it seemed to me more about xmms auto* stuff failing on some macros), then this will be resolved quickly. It is not optional.
Comment 11 Matthew Kasa (RETIRED) gentoo-dev 2005-02-21 01:20:01 UTC
If it isn't optional LIKE A USE FLAG LEADS ONE TO BELIEVE then you should make damn sure it doesn't break things, like oh, xmms compiling for example.

Fix one or the other, this bug covers both issues so pick.  In the meantime don't close as RESOLVED when it isn't, and INVALID when it isn't.
Comment 12 foser (RETIRED) gentoo-dev 2005-02-21 03:22:24 UTC
then don't create bugs with 2 issues in one. gettext & xmms are both not gnome, I just closed the gnome bug here (under your pressure) as notabug.
Comment 13 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-13 16:37:16 UTC
more .m4s included with xmms now, so it uses those over the ones from older gettexts.