Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24575 - xmms-1.2.7 fails to build in some machines
Summary: xmms-1.2.7 fails to build in some machines
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Sound Team
URL: http://139.91.182.107/~mstamat/xmms-f...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-16 01:54 UTC by Manolis Stamatogiannakis
Modified: 2003-07-19 00:01 UTC (History)
0 users

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 Manolis Stamatogiannakis 2003-07-16 01:54:25 UTC
I am running gentoo on 3 boxes and I have trouble with compiling xmms. All 3 
boxes have set ACCEPT_KEYWORDS to ~x86 in /etc/make.conf and are up to date. 

* on my first box xmms always compiled without prob and now I run xmms-1.2.7-r22
* on the second box I can't get xmms beyond xmms-1.2.7-r20 compiled 
* on the third box I can't get xmms-1.2.7-r{20,21,22} compiled at all

The error message I get in the 2 of 3 boxes is:
configure: error: conditional "HAVE_ORBIT" was never defined. 
Usually this means the macro was only invoked conditionally. 

!!! ERROR: media-sound/xmms-1.2.7-r22 failed. 
!!! Function econf, Line 304, Exitcode 1 
!!! econf failed 

See the URL for the complete emerge output.


Reproducible: Couldn't Reproduce
Steps to Reproduce:




Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.21_rc8-gss i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.
org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="3dnow mad gdbm berkdb tcpd pam motif aalib acpi apm arts avi cdr crypt cups 
dga directfb dvd encode esd fbcon gd gif gphoto2 gpm gtk icc imap imlib java 
jpeg kde libg++ libwww lirc mikmod mmx mozilla mpeg ncurses nls oav oggvorbis 
opengl oss pdflib perl plotutils png pnp python qt quicktime readline samba sdl 
slang slp spell ssl svga tcltk tetex tiff truetype usb wmf X Xaw3d xinerama xml 
xml2 xmms xv zlib x86 -gnome -alsa"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Christian Jiresjö 2003-07-16 05:50:34 UTC
What output do you get when you run /var/tmp/portage/xmms-1.2.7-r22/work/xmms-1.2.7/missing --help on the working machine and the broken machines
Comment 2 Manolis Stamatogiannakis 2003-07-16 05:58:18 UTC
working machine:
roadrunner root # /var/tmp/portage/xmms-1.2.7-r22/work/xmms-1.2.7/missing --help/var/tmp/portage/xmms-1.2.7-r22/work/xmms-1.2.7/missing [OPTION]... PROGRAM [ARGUMENT]...

Handle `PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
error status if there is no known handling for PROGRAM.

Options:
  -h, --help      display this help and exit
  -v, --version   output version information and exit

Supported PROGRAM values:
  aclocal      touch file `aclocal.m4'
  autoconf     touch file `configure'
  autoheader   touch file `config.h.in'
  automake     touch all `Makefile.in' files
  bison        touch file `y.tab.c'
  makeinfo     touch the output file
  yacc         touch file `y.tab.c'
roadrunner root # 


broken machine:
~ % /var/tmp/portage/xmms-1.2.7-r22/work/xmms-1.2.7/missing --help
/var/tmp/portage/xmms-1.2.7-r22/work/xmms-1.2.7/missing [OPTION]... PROGRAM [ARGUMENT]...

Handle `PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
error status if there is no known handling for PROGRAM.

Options:
  -h, --help      display this help and exit
  -v, --version   output version information and exit

Supported PROGRAM values:
  aclocal      touch file `aclocal.m4'
  autoconf     touch file `configure'
  autoheader   touch file `config.h.in'
  automake     touch all `Makefile.in' files
  bison        touch file `y.tab.c'
  makeinfo     touch the output file
  yacc         touch file `y.tab.c'
~ % 
Comment 3 Christian Jiresjö 2003-07-16 06:25:13 UTC
checking extra library applets... ./configure: line 1: --libs-only-l: command not found

This is the bug since this is where it checks for gnome and ORBit and the like.
I shall look in to the autoconf-code behind that line
Comment 4 Christian Jiresjö 2003-07-16 06:34:27 UTC
Can you run /usr/bin/gnome-config --libs-only-l gnome and post its output.
If you don't have it can check if you have it somewhere else

Comment 5 Manolis Stamatogiannakis 2003-07-16 06:38:06 UTC
The command produces no output in both machines.

working:
roadrunner root # /usr/bin/gnome-config --libs-only-l
roadrunner root # 

broken:
~ % /usr/bin/gnome-config --libs-only-l
~ % 
Comment 6 Christian Jiresjö 2003-07-16 06:55:21 UTC
what about "gnome-config --libs gnorba gnome"

try to running it like that without path
Comment 7 Manolis Stamatogiannakis 2003-07-16 07:07:49 UTC
working machine:
roadrunner root # gnome-config --libs gnorba gnome
-L/usr/lib -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib
roadrunner root # 

broken machine:
~ % gnome-config --libs gnorba gnome
-L/usr/lib -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib
Comment 8 Christian Jiresjö 2003-07-16 08:14:07 UTC
I do not really understand the cause but you should have something like this:
checking for gnome-config... /usr/bin/gnome-config
checking if /usr/bin/gnome-config works... yes
checking for orbit-config... /usr/bin/orbit-config
checking for orbit-idl... /usr/bin/orbit-idl
checking for working ORBit environment... yes
checking for gnorba libraries... yes
checking extra library applets... -rdynamic -lpanel_applet -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib

But have
checking extra library applets... ./configure: line 1: --libs-only-l: command not found

I am guessing that it can not find gnome-config since you seem to have a working gnome-config on both machines.
Comment 9 Manolis Stamatogiannakis 2003-07-16 09:06:32 UTC
Maybe my stupidity, but I was emerging after su-ing to root using 'su'. 
Now I su-ed to root using 'su -' and xmms just compi^H^H^H^H^H as described 
in http://forums.gentoo.org/viewtopic.php?t=67443 . 
 
"checking extra library applets... ./configure: line 1: --libs-only-l: command not 
found" is still displayed though. 
 
Comment 10 J. Ellis (RETIRED) gentoo-dev 2003-07-19 00:01:41 UTC
Open another bug if the gettext is still an issue. Thanks.