Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70268 - emerge smpeg doesn't detect libsdl properly
Summary: emerge smpeg doesn't detect libsdl properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-06 07:49 UTC by Jurek Bartuszek (RETIRED)
Modified: 2005-06-06 08:29 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 Jurek Bartuszek (RETIRED) gentoo-dev 2004-11-06 07:49:53 UTC
emerge -v smpeg:

Calculating dependencies     ...done!
>>> emerge (1 of 1) media-libs/smpeg-0.4.4-r4 to /
>>> md5 src_uri ;-) smpeg-0.4.4.tar.gz
>>> Unpacking source...         
>>> Unpacking smpeg-0.4.4.tar.gz to /var/tmp/portage/smpeg-0.4.4-r4/work
 * Using GNU config files from /usr/share/libtool
 *  Updating config.sub                                                                                                                                        [ ok ]
 *  Updating config.guess                                                                                                                                      [ ok ]
>>> Source unpacked.            
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-debug --disable-assertions --enable-gtk-player --with-x --enable-opengl-player
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... gcc
checking whether the C compiler (gcc -Os -march=pentium4 -pipe ) works... yes
checking whether the C compiler (gcc -Os -march=pentium4 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... g++
checking whether the C++ compiler (g++ -Os -march=pentium4 -pipe ) works... yes
checking whether the C++ compiler (g++ -Os -march=pentium4 -pipe ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking build system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking for socklen_t... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /usr/bin/sdl-config
configure: error: *** SDL version 1.2.0 not found!

!!! ERROR: media-libs/smpeg-0.4.4-r4 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

The SDL library is installed:

[ebuild   R   ] media-libs/libsdl-1.2.7-r3  +X +aalib +alsa +arts +dga -directfb -esd +fbcon -ggi -libcaca -nas -noaudio -nojoystick -novideo +opengl +oss +svga -xinerama +xv 0 kB 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
emerge fails

Expected Results:  
smpeg should be merged 

Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Celeron(R) CPU 2.50GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://192.168.1.3"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://192.168.1.3/gentoo-portage"
USE="3dnow X aalib accessibility acpi alsa arts audiofile autofs avi berkdb bidi
bitmap-fonts cdparanoia cdr crypt cscope cups curl devfs dga divx4linux doc dvb
dvd dvdr encode f77 fbcon flac flash foomaticdb gdbm gif gimpprint ginac gpm gtk
gtk2 imlib ipv6 jabber jack java javascript jpeg kadu-modules kadu-voice kde
libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls offensive oggvorbis
opengl oss pam pcmcia pda pdflib perl png pnp ppds python qt quicktime readline
ruby samba sdl slang slp spell sse ssl svga tcltk tcpd tiff truetype usb videos
vim-with-x wifi wxwindows x86 xine xml xml2 xmms xv xvid zlib video_cards_i915
linguas_pl"
Comment 1 Jurek Bartuszek (RETIRED) gentoo-dev 2004-11-13 16:47:41 UTC
OK... That is fixed now.
Comment 2 Winston Messer 2005-06-06 05:31:46 UTC
I believe that "fixed" does not adequately discribe the status of this bug.

Calculating dependencies  >>> Unpacking source...
>>> Unpacking smpeg-0.4.4.tar.gz to /var/tmp/portage/smpeg-0.4.4-r5/work
 [32;01m*[0m Applying smpeg-0.4.4-m4.patch ...
[A[121G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying smpeg-0.4.4-gnu-stack.patch ...
[A[121G  [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked.
 * econf: updating smpeg-0.4.4/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating smpeg-0.4.4/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libdir=/usr/lib64 --disable-debug
--disable-assertions --enable-gtk-player --with-x --enable-opengl-player
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... gcc
checking whether the C compiler (gcc -march=k8 -O2 -pipe ) works... yes
checking whether the C compiler (gcc -march=k8 -O2 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ -march=k8 -O2 -pipe ) works... yes
checking whether the C++ compiler (c++ -march=k8 -O2 -pipe ) is a
cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking build system type... x86_64-pc-linux-gnu
checking for ranlib... ranlib
checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the linker (/usr/x86_64-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking for socklen_t... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /usr/bin/sdl-config

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/smpeg-0.4.4-r5/work/smpeg-0.4.4/config.log
  ...done!
>>> emerge (1 of 1) media-libs/smpeg-0.4.4-r5 to /
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) smpeg-0.4.4-r5.ebuild
>>> md5 files   ;-) files/smpeg-0.4.4-gnu-stack.patch
>>> md5 files   ;-) files/digest-smpeg-0.4.4-r5
>>> md5 files   ;-) files/smpeg-0.4.4-m4.patch
>>> md5 src_uri ;-) smpeg-0.4.4.tar.gz
configure: error: *** SDL version 1.2.0 not found!

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/smpeg-0.4.4-r5/work/smpeg-0.4.4/config.log

!!! ERROR: media-libs/smpeg-0.4.4-r5 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

Comment 3 Winston Messer 2005-06-06 08:29:24 UTC
Forgive me; I really can be a bit think sometimes.  I simply remerged DirectFB
and libsdl, and the problem disappeared.