Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85177 - Cannot emerge xmms-1.2.10-r13 while using gettext-0.14.2
Summary: Cannot emerge xmms-1.2.10-r13 while using gettext-0.14.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 83970 85377 85955 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-14 00:56 UTC by Brian D
Modified: 2005-03-21 12:34 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The full output from emerge xmms for xmms-1.2.10-r13 and gettext-0.14.2 (emerge_xmms_output.txt,2.37 KB, text/plain)
2005-03-14 00:58 UTC, Brian D
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian D 2005-03-14 00:56:41 UTC
I cannot emerge xmms-1.2.10-r13 on my system; the emerge fails soon after beginning.  The full output from the attempt is attached; however, the summary is: 

-----------------------------------------------------------------

# emerge xmms
Calculating dependencies ...done!
>>> emerge (1 of 9) media-sound/xmms-1.2.10-r13 to /
[md5 checks...]
[unpacking sources...]
[patching sources...]
* Done with patching
You should update your `aclocal.m4' by running aclocal.
aclocal: macro `jm_AC_TYPE_LONG_LONG' required but not defined

-----------------------------------------------------------------

xmms's ebuild requires >=gettext-0.14.1; I currently have gettext-0.14.2 installed, and even re-emerged the package to no effect.  

mw|, on #gentoo, suggested grepping for the macro "jm_AC_TYPE_LONG_LONG" in /usr/share/aclocal.  The command (from within /usr/share/aclocal) "grep jm_AC_TYPE_LONG_LONG *" produces no output - the macros are not found in the directory.  mw| installed gettext-0.14.1 and could locate the macro "jm_AC_TYPE_LONG_LONG" in gettext.m4 and longlong.m4, both of which belong to gettext-0.14.1.  

After emerging gettext-0.14.1, I was able to successfully emerge xmms-1.2.10-r13.  Thus, between gettext-0.14.1 and -0.14.2, the required macro files were lost.

Reproducible: Always
Steps to Reproduce:
1. emerge gettext-0.14.2
2. emerge xmms-1.2.10-r13; this step fails

Actual Results:  
emerge exited with the attached error message; xmms was not built or installed.

Expected Results:  
I expected xmms to emerge and install correctly.

emerge info output
===================================

# emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110,
glibc-2.3.4.20040808-r1, 2.6.10-nitro4 i686)
=================================================================
System uname: 2.6.10-nitro4 i686 AMD Athlon(TM) XP 2200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 13 2005, 02:56:26)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -mfpmath=sse,387 -pipe -fexpensive-optimizations
-fomit-frame-pointer -ffast-math -fprefetch-loop-arrays -fmerge-all-constants"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -mfpmath=sse,387 -pipe -fexpensive-optimizations
-fomit-frame-pointer -ffast-math -fprefetch-loop-arrays -fmerge-all-constants"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://gentoo.noved.org/ http://gentoo.ccccom.com
ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cscope
cups doc dvd emacs emboss encode esd evo fam fbcon font-server foomaticdb
fortran gb gd gdbm ggi gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imlib ipv6
java jikes joystick jpeg junit kde leim lesstif libg++ libwww mad mikmod mmx
motif mozilla mp3 mpeg mpi mysql ncurses nls oggvorbis openal opengl oss pam
pdflib perl png postgres python qt quicktime readline ruby sdl slang spell sse
ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb wmf
wxwindows xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

------------------------------------------------------

contents of /etc/portage/package.keywords
===================================

# Kernels
sys-kernel/ck-sources ~x86
sys-kernel/nitro-sources ~x86
sys-kernel/mm-sources ~x86

# Drivers / video drivers
media-video/nvidia-glx ~x86
media-video/nvidia-kernel ~x86
x11-base/opengl-update ~x86

# Development tools
dev-util/eclipse-sdk ~x86
dev-util/eclipse-cdt ~x86
sys-devel/gettext ~x86

# Media apps
media-gfx/blender ~x86
media-sound/xmms ~x86
media-plugins/xmms-vorbis ~x86
Comment 1 Brian D 2005-03-14 00:58:50 UTC
Created attachment 53394 [details]
The full output from emerge xmms for xmms-1.2.10-r13 and gettext-0.14.2

The full output from emerge xmms for xmms-1.2.10-r13 and gettext-0.14.2
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-14 08:35:13 UTC
it seems like xmms has the bad habit to use functions defined in gettext's m4 macro libraries which doesn't belong to gettext public interface.
To woraround this, xmms is already using an extetnal m4 include directory, but this isn't enougth, as it misses longlong.m4 file.

Comment 3 Jukka Lehtomäki 2005-03-14 11:08:38 UTC
Fix xmms external m4 include directory.

cp  /usr/portage/distfiles/xmms-1.2.10-gentoo-m4-1.0.tar.bz2  ~/
bunzip2 xmms-1.2.10-gentoo-m4-1.0.tar.bz2
tar -xf xmms-1.2.10-gentoo-m4-1.0.tar

cd /usr/share/aclocal/
cp gettext.m4 ~/m4/ 
cp longlong.m4 ~/m4/ 

tar -cvvf xmms-1.2.10-gentoo-m4-1.0.tar ~/m4/ 
bzip2 xmms-1.2.10-gentoo-m4-1.0.tar
cp xmms-1.2.10-gentoo-m4-1.0.tar.bz2 /usr/portage/distfiles/

cp /usr/portage/media-sound/xmms/xmms-1.2.10-r13.ebuild /usr/local/portage/media-sound/xmms/

cd /usr/local/portage/media-sound/xmms/
ebuild xmms-1.2.10-r13.ebuild digest

cd /usr/local/portage/media-plugins/xmms-alsa
ebuild xmms-alsa-1.2.10.ebuild digest
cd /usr/local/portage/media-plugins/xmms-esd
ebuild xmms-esd-1.2.10-r1.ebuild digest
cd /usr/local/portage/media-plugins/xmms-mikmod
ebuild xmms-mikmod-1.2.10.ebuild digest
cd /usr/local/portage/media-plugins/xmms-oss
ebuild xmms-oss-1.2.10.ebuild digest

emerge xmms
Comment 4 Aaron Tandy 2005-03-15 03:30:22 UTC
I tried Jukka's method of fixing the aclocal error, doing that allowed me to emerge xmms, but when ~x86'ing xmms-mikmod, the aclocal error returns
can anyone else confirm?
Comment 5 Jukka Lehtomäki 2005-03-15 19:26:49 UTC
emerge --sync

rm -rf /usr/local/portage/media-sound/xmms
rm -rf /usr/local/portage/media-plugins/xxxx (xmms)

cp xmms-mikmod-1.2.10.ebuild /usr/local/portage/media-plugins/xmms-mikmod/

nano xmms-mikmod-1.2.10.ebuild
M4_VER="1.0" to "1.1"
ebuild xmms-mikmod-1.2.10.ebuild digest

emerge xmms-mikmod

>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
>>> media-plugins/xmms-mikmod-1.2.10 merged.
Comment 6 Jukka Lehtomäki 2005-03-15 19:56:04 UTC
>>> Unpacking xmms-1.2.10-gentoo-m4-1.0.tar.bz2 to /var/tmp/portage/xmms-oss-1.2.10/work
You should update your `aclocal.m4' by running aclocal.
aclocal: macro `jm_AC_TYPE_LONG_LONG' required but not defined

!!! ERROR: media-plugins/xmms-oss-1.2.10 failed.
!!! Function xmms-plugin_src_unpack, Line 78, Exitcode 1
!!! aclocal failed
!!! If you need support, post the topmost build error, NOT this status message.

Update M4_VER="1.0" to "1.1" > xmms-alsa, xmms-esd, xmms-mikmod, xmms-oss.
Comment 7 Jukka Lehtomäki 2005-03-15 20:02:57 UTC
Bug 85396 1.2.10-r13 breaks streaming.
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-20 17:49:43 UTC
Seems to me that the bug is closed, all plugins are using 1.1 M4 tarball, so that bug should be resolved fixed, and so all the dupes.
Comment 9 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-20 17:56:46 UTC
*** Bug 85955 has been marked as a duplicate of this bug. ***
Comment 10 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-20 17:57:01 UTC
This should be fixed now.
Comment 11 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-20 17:57:23 UTC
*** Bug 85377 has been marked as a duplicate of this bug. ***
Comment 12 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-21 12:34:48 UTC
*** Bug 83970 has been marked as a duplicate of this bug. ***