Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60066 - DirectFB was unemerged, then trying to re-emerge, it fails to configure correctly and looks for a file it's supposed to provide
Summary: DirectFB was unemerged, then trying to re-emerge, it fails to configure corre...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-11 09:47 UTC by Joseph Turley
Modified: 2004-08-16 10:30 UTC (History)
0 users

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


Attachments
Output when I try to emerge DirectFB (DirectFBCrap,26.67 KB, text/plain)
2004-08-11 09:48 UTC, Joseph Turley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Turley 2004-08-11 09:47:07 UTC
I uninstalled DirectFB not aware that some programs I use need it.  I then tried to re-emerge it, and noticed that it's not correctly configuring (not adding support for mmx,sse even though the use flags are active) and it's looking for a file that it's supposed to provide, doesn't find it, and fails.  With this not working, I'm not able to test several apps that depend on the libdirectfb.la file.

Reproducible: Always
Steps to Reproduce:
1.  emerge DirectFB


Actual Results:  
The biggest problem is this.  It's trying to find a file that it is supposed to
provide.  The attached file is the output
grep: /usr/lib/libdirectfb.la: No such file or directory
/bin/sed: can't read /usr/lib/libdirectfb.la: No such file or directory
libtool: link: `/usr/lib/libdirectfb.la' is not a valid libtool archive
make[4]: *** [libdirectfb_sdlinput.la] Error 1


As an example, all these options are no, even though the use flags are active.
Misc options:
  MMX support           no
  SSE support           no
  Debug mode            no
  Trace support         no
  Multi App support     no


Expected Results:  
The software should have compiled and installed DirectFB with support for MMX,
SSE, etc and installed correctly.

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r1,
2.6.8-rc4)
=================================================================
System uname: 2.6.8-rc4 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.5.2
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"           
AUTOCLEAN="yes"                 
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.ccccom.com ftp://ftp.ndlug.nd.edu/pub/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/
http://gentoo.seren.com/gentoo ftp://mirrors.tds.net/gentoo
http://194.117.158.29 ftp://ftp.heanet.ie/pub/gentoo/ http://mirror.gentoo.gr.jp
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib acpi aim alsa apm arts avi berkdb cdr crypt cups dga divx4linux doc
dvd encode esd fbcon foomaticdb gdbm gif gpm gtk gtk2 imagemagick imlib java
jpeg libg++ libwww live mad mikmod mmx motif mpeg mplayer msn mythtv ncurses
network nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime
readline samba sasl sdl slang speex spell sse ssl svga tcltk tcpd tiff truetype
usb v4l v4l2 video_cards_radeon x86 xfs xine xml2 xmms xrandr xv xvid yahoo zlib"
Comment 1 Joseph Turley 2004-08-11 09:48:57 UTC
Created attachment 37224 [details]
Output when I try to emerge DirectFB
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-08-11 23:29:24 UTC
Does

grep -r /var/tmp --include="*.la" /usr/lib

turn up anything?
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-08-12 00:10:00 UTC
DirectFB-0.9.20-r1.ebuild should take care of the mmx/sse issue.
Comment 4 SpanKY gentoo-dev 2004-08-12 10:38:00 UTC
i dont know if theres really much we can do about this ...

DirectFB has optional libsdl support and libsdl has optional DirectFB support :)

i'm guessing what happened here is you built DirectFB, then built libsdl with DirectFB
support, then removed DirectFB ... when you then tried to emerge DirectFB again,
it failed because it uses libsdl but libsdl needs DirectFB which no longer exists ...

to fix up your system, rebuild libsdl and then emerge DirectFB and things should
work again ...
Comment 5 SpanKY gentoo-dev 2004-08-14 23:58:04 UTC
get back to us please
Comment 6 Joseph Turley 2004-08-16 07:56:28 UTC
My apologies.  I was on vacation for the last 4 days.  I have installed the r1 version and it did correctly detect mmx and sse as well as all the other options.  It is a combination if it not detecting those correctly, as well as what Spanky said about programs being compiled with directfb support and then me uninstalling directfb.  It's all straightened out now.  Thank you for the work.
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2004-08-16 10:29:51 UTC
We close bugs on this end.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2004-08-16 10:30:11 UTC
Thanks for confirming that it's fixed.