First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 97628
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mr. Anderson <walch.martin@web.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge_advancemenu.txt emerge output text/plain Mr. Anderson 2005-07-01 09:15 0000 6.23 KB Details
config.log /var/tmp/portage/advancemenu-2.4.9/work/advancemenu-2.4.9/config.log text/plain Mr. Anderson 2005-07-01 09:48 0000 50.84 KB Details
emerge_-evp_world emerge -evp world > emerge_-evp_world text/plain Mr. Anderson 2005-07-01 10:09 0000 22.08 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 97628 depends on: Show dependency tree
Bug 97628 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-01 09:13 0000
I tried emerging advancemenu-2.4.9 with several configurations on two different
systems.

First with
[ebuild  N    ] games-emulation/advancemenu-2.4.9  +alsa -debug +expat -fbcon
+ncurses +oss +sdl +slang +static -svga +truetype +zlib
resulted in an error telling me thas alsalib was not found. But I am absolutely
sure, it is installed:

*  media-libs/alsa-lib
      Latest version available: 1.0.8
      Latest version installed: 1.0.8

Next, I disabled alsa:
[ebuild  N    ] games-emulation/advancemenu-2.4.9  -alsa -debug +expat -fbcon
+ncurses +oss +sdl +slang +static -svga +truetype +zlib

now configure interrupts with an error that sdl was not found, but also this
time I am sure, it is installed:

*  media-libs/libsdl
      Latest version available: 1.2.8-r1
      Latest version installed: 1.2.8-r1

last, I disabled the sdl flag:
[ebuild  N    ] games-emulation/advancemenu-2.4.9  -alsa -debug +expat -fbcon
+ncurses +oss -sdl +slang +static -svga +truetype +zlib

but this time configure stopped with:
configure: error: no video library found. If you have the SDL library installed
somewhere try using the --with-sdl-prefix option.


(Other ebuilds find alsa and sdl)

Reproducible: Always
Steps to Reproduce:
1. as root: emerge advancemenu
2.
3.




emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun 15 2005, 04:41:00)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /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="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.gentoo.mesh-solutions.com/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/
ftp://pandemonium.tiscali.de/pub/gentoo/ http://mirror.switch.ch/mirror/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo
http://gentoo.mirror.solnet.ch"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit 3dfx X Xaw3d a52 aac aalib alsa apm arts artswrappersuid asm avi
beepmp bitmap-fonts cacheemu cdr delays dga dpms dts encode esd expat fam flac
ggi gif glut gnokii gpm gtk gtk2 hal imlib jack jack-tmpfs java javascript jikes
jit joystick jpeg jpeg2k kde kdeenablefinal kqemu lcms libcaca libdsk libg++
livecd mad matrox mikmod mips16 mmx mng motif mp3 mpeg multislot multitarget
ncurses nls nocd nodrm nptl nvidia ogg oggvorbis openal openexr opengl oss pam
pcre pda pdflib physfs pic png portaudio python qt quicktime readline real
sblive sdl slang sndfile softmmu sse static svg symlink tcltk tetex threads tiff
transcode truetype truetype-fonts type1-fonts unicode vidix vorbis win32codecs
wmf wxgtk1 wxwindows xml2 xmms xrandr xv xvid zlib linguas_de userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

------- Comment #1 From Mr. Anderson 2005-07-01 09:15:39 0000 -------
Created an attachment (id=62414) [edit]
emerge output

output of emerge advancemenu using +alsa and +sdl

------- Comment #2 From Mr. Bones. 2005-07-01 09:18:28 0000 -------
let's have the config.log from the build directory please.  Attach it as
text/plain.  So far, I suspect you've been neglecting some local maintenance,
but the log will make it more clear.

------- Comment #3 From Mr. Anderson 2005-07-01 09:48:51 0000 -------
Created an attachment (id=62416) [edit]
/var/tmp/portage/advancemenu-2.4.9/work/advancemenu-2.4.9/config.log

Till now, I did not know, that this file is kept when errors occure...

------- Comment #4 From Mr. Bones. 2005-07-01 10:01:34 0000 -------
looks like remerging glibc and alsa-lib might help.  Just for fun, let's see
the
output from "emerge -evp world" before you kick that off.

------- Comment #5 From Mr. Anderson 2005-07-01 10:09:36 0000 -------
Created an attachment (id=62418) [edit]
emerge -evp world > emerge_-evp_world

------- Comment #6 From Mr. Bones. 2005-07-01 10:16:06 0000 -------
looks clean.  thanks for doing that.  proceed with the glibc and alsa-lib
remerge and see if that clears things up for you wrt advancemenu.

------- Comment #7 From Mr. Anderson 2005-07-01 10:32:11 0000 -------
just started emerge glibc alsa-lib
It will probably take a rather long time, because I have not ccache installed on
that system and my computer is not really fast. nptl is set, but nptlonly is unset.

------- Comment #8 From Mr. Anderson 2005-07-01 14:01:54 0000 -------
Now, I've done:

emerge glibc alsa-lib
[...]
>>> No outdated packages were found on your system.


 * Regenerating GNU info directory index...
 * Processed 125 info files.

env-update
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies ...
emerge advancemenu
[...]
checking for port in/out... yes
checking for snd_pcm_open in -lasound... no
configure: error: the ALSA library is missing

!!! ERROR: games-emulation/advancemenu-2.4.9 failed.
!!! Function egamesconf, Line 66, Exitcode 1
!!! egamesconf failed
!!! If you need support, post the topmost build error, NOT this status message.

still the same problem

------- Comment #9 From Mr. Bones. 2005-07-01 15:23:51 0000 -------
darn.  does running revdep-rebuild turn up anything?

------- Comment #10 From Mr. Anderson 2005-07-01 15:38:59 0000 -------
revdep-rebuild does not find any problems:


revdep-rebuild

Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... Nothing to rebuild

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

Dynamic linking on your system is consistent... All done.

------- Comment #11 From Mr. Bones. 2005-07-01 15:57:51 0000 -------
well, my next guess is that this is caused by you having set pic in your use
flags.

------- Comment #12 From Mr. Anderson 2005-07-01 16:18:27 0000 -------
/ # prelink -ua
prelink: /usr/lib/nwwine/bin/wine: Could not find one of the dependencies
prelink: /usr/lib/nwwine/bin/wine: Could not find one of the dependencies
prelink: /usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130/i686-pc-linux-gnu-g++ is
no longer hardlink to
/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130/i686-pc-linux-gnu-c++
/ # nano /etc/make.conf
/ # env-update
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies ...                                            
                                                                               
                                         [ ok ]
/ # emerge world -Npv

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild   R   ] app-arch/gzip-1.3.5-r7  -build +nls -pic* +static 0 kB
[ebuild   R   ] sys-libs/glibc-2.3.4.20041102-r1  -build -debug -erandom
-hardened (-multilib) +nls -nomalloccheck +nptl -nptlonly -pic* +userlocales 0 kB

Total size of downloads: 0 kB
/ # emerge world -N


currently running... I will got to bed now.

~ $ date +%X
01:16:37

Thank you for your help. I'll post the result tomorrow.

------- Comment #13 From Mr. Anderson 2005-07-02 03:38:41 0000 -------
both packets successfully remerged with -pic
still the same problem

------- Comment #14 From SpanKY 2005-07-02 07:16:06 0000 -------
USE=pic does not cause issues for anyone ... the use of it in gzip/glibc is
unrelated

------- Comment #15 From SpanKY 2005-07-02 09:56:45 0000 -------
it's failing because of the static USE flag

when linking against libasound.a you have to add -lpthread to your linking flags
if you're using -static ... libasound.so has the info recorded in the lib itself
so you can just do -lasound

in this case, the configure.ac is misbehaving in that it uses AC_CHECK_LIB() on
libasound instead of consulting the alsa.pc file installed for pkg-config ... if
we update configure.ac like this, it should work:
elif test $ac_lib_alsa = yes; then
    AC_CHECK_LIB(
        [asound],
        [snd_pcm_open],
        [],
        [AC_MSG_ERROR([the ALSA library is missing])],
-        [-lm]
+        [`pkg-config alsa --libs`]
    )
    AC_MSG_CHECKING([for ALSA version])
    AC_TRY_COMPILE([
            #include <alsa/asoundlib.h>
        ], [
            #if SND_LIB_VERSION < ((0<<16)|(9<<8)|0)
            choke me

------- Comment #16 From Mr. Anderson 2005-07-03 16:01:31 0000 -------
So, if I just remove the static flag an do a emerge world --newuse it should
work. 

I tested it on a system with everything compiled -static. Emerges cleanly.

With your patch it should also work for +static, right?
Well, I applied this patch, created a new ebuild and tried to emerge it. But I
still get the same error.

------- Comment #17 From SpanKY 2005-07-25 16:28:30 0000 -------
added patch to 2.4.10 in cvs, thanks for the bug report

First Last Prev Next    No search results available      Search page      Enter new bug