Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10942 - emerge alsamixergui-0.9.0.1.2-r1 & -r2 fails
Summary: emerge alsamixergui-0.9.0.1.2-r1 & -r2 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Arcady Genkin (RETIRED)
URL:
Whiteboard:
Keywords:
: 13324 13387 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-18 22:10 UTC by Phil Sexton
Modified: 2003-07-25 16:24 UTC (History)
3 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 Phil Sexton 2002-11-18 22:10:43 UTC
Celeron Coppermine 850 Mhz

compiler flags:
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="${CFLAGS}"

Last few lines of compiler output:
checking for gcc... gcc
checking whether the C compiler (gcc -march=pentium3 -O3 -pipe
-L/usr/lib/fltk-1.1) works... yes
checking whether the C compiler (gcc -march=pentium3 -O3 -pipe
-L/usr/lib/fltk-1.1) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for c++... c++
checking whether the C++ compiler (c++ -march=pentium3 -O3 -pipe
-L/usr/lib/fltk-1.1) works... yes
checking whether the C++ compiler (c++ -march=pentium3 -O3 -pipe
-L/usr/lib/fltk-1.1) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking for fl_numericsort in -lfltk... no
configure: error: missing fltk

!!! ERROR: media-sound/alsamixergui-0.9.0.1.2-r1 failed.
!!! Function econf, Line 11, Exitcode 1
!!! econf failed
Comment 1 Arcady Genkin (RETIRED) gentoo-dev 2002-11-24 23:02:40 UTC
Is your FLTK installation hosed, by any chance?  I cannot reproduce the problem.

Try re-merging fltk and see if it solves the problem.
Comment 2 Phil Sexton 2002-11-25 00:13:30 UTC
I don't think so.

I have tried emerge -e alsamixergui as well with the same failure.

>>> original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
>>> x11-libs/fltk-1.1.1 merged.
>>> Recording x11-libs/fltk in "world" favorites file...

 x11-libs/fltk
    selected: none
   protected: 1.1.1
     omitted: none

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.

fancypiper / # emerge -u alsamixergui
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/alsamixergui-0.9.0.1.2-r1 to /
>>> md5 ;-) alsamixergui-0.9.0rc1-2.tar.gz
>>> Unpacking source...
>>> Unpacking alsamixergui-0.9.0rc1-2.tar.gz
patching file Makefile.am
patching file configure
patching file configure.in
patching file src/Fl_AM.cxx
patching file src/Fl_Pixmap_Button.H
>>> Source unpacked.
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc -march=pentium3 -O3 -pipe -L/usr/lib/fltk-1
.1) works... yes
checking whether the C compiler (gcc -march=pentium3 -O3 -pipe -L/usr/lib/fltk-1
.1) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for c++... c++
checking whether the C++ compiler (c++ -march=pentium3 -O3 -pipe -L/usr/lib/fltk
-1.1) works... yes
checking whether the C++ compiler (c++ -march=pentium3 -O3 -pipe -L/usr/lib/fltk
-1.1) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking for fl_numericsort in -lfltk... no
configure: error: missing fltk

!!! ERROR: media-sound/alsamixergui-0.9.0.1.2-r1 failed.
!!! Function econf, Line 11, Exitcode 1
!!! econf failed
Comment 3 Philippe Sam-Long 2002-11-30 21:08:41 UTC
You can use gnome-alsamixer instead (but it does not seem to be emergeable)
http://www.paw.co.za/projects/gnome-alsamixer/
Comment 4 Tony Clark 2002-12-02 14:52:15 UTC
Get the same problem with alsamixergui here.  Emerged fltk again but no joy.  My
CFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer".  Tried building fltk
manually and sticking it in /usr/local/ but alsamixergui still failed to find it.
Comment 5 Arcady Genkin (RETIRED) gentoo-dev 2002-12-27 12:50:06 UTC
I still cannot reproduce this bug.

Can you try changing the CFLAGS to something more conservative; especially the
-march part, to something generic, like i686 or equivallent?
Comment 6 Roger Hawley 2002-12-29 15:26:29 UTC
gentoo-r10, gcc-3.2.1
I re-emerged fltk-.1.1.2 then alsamixergui gives this.

checking for c++... g++
checking whether the C++ compiler (g++ -march=pentium3 -O3 -pipe
-L/usr/lib/fltk-1.1) works... yes
checking whether the C++ compiler (g++ -march=pentium3 -O3 -pipe
-L/usr/lib/fltk-1.1) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking for fl_numericsort in -lfltk... no
configure: error: missing fltk

!!! ERROR: media-sound/alsamixergui-0.9.0.1.2-r1 failed.
!!! Function econf, Line 11, Exitcode 1
!!! econf failed
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-01-06 04:49:47 UTC
*** Bug 13324 has been marked as a duplicate of this bug. ***
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-01-06 04:58:26 UTC
seems to be a gcc3 bug
works on my gcc2.95 machine, now trying on my gcc3.2.1
Comment 9 Martin Holzer (RETIRED) gentoo-dev 2003-01-06 05:35:17 UTC
yes, this is a gcc 3 issue

i'm getting the same error msg on my gcc 3 box
Comment 10 Aniruddha Shankar 2003-01-07 03:37:07 UTC
This fails on my machine, it's running gcc-2.95.3

emerge info
Portage 2.0.46-r4 (default-1.0, gcc-2.95.3, glibc-2.2.5-r7)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Celeron (Coppermine)
USE="x86 avi crypt encode jpeg kde libg++ mmx ncurses pdflib qtmt xmms berkdb bo          
nobo gdbm gif gnome gnome-libs gtk gtkhtml guile imlib libwww motif nls oggvorbi          
s pam perl png python qt readline scanner sdl slang ssl svga tcltk tcpd tetex ti          
ff X -3dnow -apm -pcmcia -pda -gphoto2 -cdr cups dga aalib arts lcms quicktime a          
lsa java esd mikmod oss nas mozilla mpeg ggi ggz spell truetype xml xml2 samba d          
oc gpm -dvd -fbcon flash opengl xv"
ARCH="x86"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=i686 -O3 -pipe"
CXXFLAGS="-mcpu=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi          
g /usr/kde/3/share/config /usr/kde/3.1/share/config:/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j2"
JDK_HOME=""
JAVA_HOME="/opt/ibm-jre-1.3.1"
AUTOCLEAN="no"
SYNC="rsync://192.168.100.5/gentoo-portage/"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
Comment 11 Martin Holzer (RETIRED) gentoo-dev 2003-01-07 03:39:51 UTC
Aniruddha Shankar
please attache the whole log and more info's about the version of the depending 
packages
Comment 12 Martin Holzer (RETIRED) gentoo-dev 2003-01-07 03:40:00 UTC
*** Bug 13387 has been marked as a duplicate of this bug. ***
Comment 13 Martin Holzer (RETIRED) gentoo-dev 2003-01-07 13:45:18 UTC
seems -r2 works for gcc3

can anyone confirm this ?
Comment 14 Hannes Gredler 2003-01-08 16:35:44 UTC
r2 ebuild works;

System uname: 2.4.20 i686 Pentium III (Coppermine)
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx
motif mpeg ncurses nls pdflib png qt qtmt quicktime sdl spell svga truetype xml2
xmms xv zlib alsa gdbm berkdb slang readline java gpm tcpd pam ssl perl python
esd imlib oggvorbis opengl mozilla X gtk -gnome -kde -arts"
ARCH="x86"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j2"
JDK_HOME=""
JAVA_HOME="/opt/blackdown-jre-1.3.1"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
Comment 15 Vadon Peter 2003-01-18 07:54:48 UTC
r2 merges for me without errors, but r1 doesn't configure because of the same
problem (it can't find fltk correctly)

CFLAGS="-march=athlon-tbird -O3 -pipe"
CXXFLAGS="${CFLAGS}"
USE="X 3dnow mmx mozilla ncurses oggvorbis opengl oss perl ssl svga xmms acpi qt
kde cdr encode gdbm gpm java jpeg maildir alsa"
Comment 16 walt 2003-01-20 19:35:10 UTC
r2 also builds for me without error but at runtime I get this:
alsamixergui: relocation error: alsamixergui: undefined symbol: _ZTI8Fl_Menu_

I just finished upgrading this machine to 1.4-gcc3 so I'm probably using
old libraries that need recompiling.  But fltk I just finished emerging
and r1 couldn't find it.
Comment 17 Tom Korte 2003-02-10 20:11:25 UTC
I have the same problem with a new install of gentoo.

>>> original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
>>> x11-libs/fltk-1.1.2-r1 merged.
>>> Recording x11-libs/fltk in "world" favorites file...

 x11-libs/fltk
    selected: none
   protected: 1.1.2-r1
     omitted: none

>>> clean: No packages selected for removal.

>>> Regenerating /etc/ld.so.cache...
>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.

bash-2.05b# emerge alsamixergui
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/alsamixergui-0.9.0.1.2-r1 to /
>>> md5 ;-) alsamixergui-0.9.0rc1-2.tar.gz
>>> Unpacking source...
>>> Unpacking alsamixergui-0.9.0rc1-2.tar.gz
patching file Makefile.am
patching file configure
patching file configure.in
patching file src/Fl_AM.cxx
patching file src/Fl_Pixmap_Button.H
>>> Source unpacked.
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon -O3 -pipe -fomit-frame-pointer -L/usr/lib/fltk-1.1) works... yes
checking whether the C compiler (gcc -march=athlon -O3 -pipe -fomit-frame-pointer -L/usr/lib/fltk-1.1) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for c++... g++
checking whether the C++ compiler (g++ -march=athlon -O3 -pipe -fomit-frame-pointer -L/usr/lib/fltk-1.1) works... yes
checking whether the C++ compiler (g++ -march=athlon -O3 -pipe -fomit-frame-pointer -L/usr/lib/fltk-1.1) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking for fl_numericsort in -lfltk... no
configure: error: missing fltk

!!! ERROR: media-sound/alsamixergui-0.9.0.1.2-r1 failed.
!!! Function econf, Line 334, Exitcode 1
!!! econf failed
Comment 18 walt 2003-03-01 11:00:00 UTC
I just re-merged fltk just in case and I still get the same error.

This is from config.log:

configure:1474: checking for fl_numericsort in -lfltk
configure:1493: gcc -o conftest -mcpu=i586 -O -pipe -fomit-frame-pointer -I/usr/include/fltk-1.1 -L/usr/lib/fltk-1.1 conftest.c -lfltk   1>&5
/usr/lib/fltk-1.1/libfltk.so: undefined reference to `operator new[](unsigned)'
/usr/lib/fltk-1.1/libfltk.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/usr/lib/fltk-1.1/libfltk.so: undefined reference to `operator delete(void*)'
/usr/lib/fltk-1.1/libfltk.so: undefined reference to `__cxa_pure_virtual'
/usr/lib/fltk-1.1/libfltk.so: undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/lib/fltk-1.1/libfltk.so: undefined reference to `operator delete[](void*)'
/usr/lib/fltk-1.1/libfltk.so: undefined reference to `operator new(unsigned)'
collect2: ld returned 1 exit status

# ldd libfltk.so.1.1
        libpthread.so.0 => /lib/libpthread.so.0 (0x155d9000)
        libm.so.6 => /lib/libm.so.6 (0x1562a000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x1564d000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x1565a000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x1572c000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x15757000)
        libz.so.1 => /usr/lib/libz.so.1 (0x15776000)
        libc.so.6 => /lib/libc.so.6 (0x15783000)
        libdl.so.2 => /lib/libdl.so.2 (0x158aa000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)


Comment 19 walt 2003-03-02 15:54:43 UTC
Hmm.  Well, I just tried -r2 which compiles and works perfectly, so I guess
this bug has already been fixed.

Now the problem is that emerge wants to (D)owngrade the port to -r1 which,
as you all know, does NOT compile with gcc3.
Comment 20 Martin Holzer (RETIRED) gentoo-dev 2003-07-25 16:24:58 UTC
fixed with upstream version