First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 156605
Alias:
Product:
Component:
Status: RESOLVED
Resolution: TEST-REQUEST
Assigned To: media-video herd <media-video@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ben <schleinzer@gmx.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mplayer-1.0-directfb.patch mplayer-1.0-directfb.patch patch Ben 2006-11-29 06:21 0000 640 bytes Details | Diff
mplayer-1.0_rc1.ebuild mplayer-1.0_rc1.ebuild text/plain Ben 2006-11-29 06:21 0000 15.62 KB Details
mplayer-1.0-directfb.patch mplayer-1.0-directfb.patch patch Ben 2007-01-06 20:15 0000 581 bytes Details | Diff
mplayer-1.0_rc1.ebuild mplayer-1.0_rc1.ebuild text/plain Ben 2007-01-06 20:15 0000 15.89 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 156605 depends on: Show dependency tree
Bug 156605 blocks: 157891
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: 2006-11-29 06:18 0000
I have the use flag directfb and try to compile mplayer RC1. I allways get the
following error:

Checking for DirectFB ...
/var/tmp/portage/mplayer-1.0_rc1/temp/mplayer-conf-14171-11545.c:1:30: error:
directfb_version.h: No such file or directory
no (failed to get version)

It seems the compiler doesnt get all the necessary include paths so I added
them to the configure script. See the inlcuded patch for a solution. 

Portage 2.1.1-r2 (selinux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4,
2.6.18-hardened-r1 i686)
=================================================================
System uname: 2.6.18-hardened-r1 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.12.6
Last Sync: Wed, 29 Nov 2006 13:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mtune=athlon -march=athlon -fomit-frame-pointer -fforce-addr -pipe
-fstack-protector -fPIC -mmmx -m3dnow"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -mtune=athlon -march=athlon -fomit-frame-pointer -fforce-addr
-pipe -fstack-protector -fPIC -mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks loadpolicy metadata-transfer sandbox selinux
sesandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://ftp.gentoo.or.kr/
http://ftp.du.se/pub/os/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acpi alsa amd amr apache2 apm asf async
bash-completion bcmath berkdb bidi bzip2 calendar caps cdb cddb cdparanoia cdr
chroot cli contentcache cpdflib crypt css ctype cups curl curlwrappers dbase
dbm dga dio directfb divx4linux dri dts dv dvd dvdr dvdread elibc_glibc encode
evo exif expat ext-zlib fam fame fastbuild fbcon fdftk ffmpeg filepro flac
flatfile foomaticdb fortran fritzcapi_cards_fcpci ftp fusion gcj gd gdbm geoip
gif gmp hal hardened hardenedphp iconv imagemagick imap imlib inifile inline
innodb inode input_devices_evdev input_devices_keyboard input_devices_mouse
ipv6 isdn ithreads java jce jpeg kde kernel_linux ldap libedit linguas_de
linguas_en lirc lirc_devices_sir live logrotate lzo maildir matrox mcal
memlimit mhash mime mmx mp3 mp4 mpeg mpeg4 mplayer musepack musicbrainz mysql
mysqli mythtv ncurses nfs nls nocardbus nptl nptlonly ogg opengl pam pcntl pcre
pdo pear perl pic png posix ppds prelude python qt3 qt4 quicktime readline real
reflection samba sasl sblive scanner sdl selinux session sguil shared sharedext
sharedmem snortsam soap sockets spamassassin spl sqlite ssl sysfs tcltk tcpd
theora threads tidy tiff tokenizer truetype udev unicode usb userland_GNU
userlocales utf8 v4l v4l2 video_cards_fbdev video_cards_matrox video_cards_mga
video_cards_vesa visualization vorbis wddx win32codecs xanim xine xinerama xml
xmlreader xmlrpc xmlwriter xorg xsl xv xvid xvmc zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Ben 2006-11-29 06:21:00 0000 -------
Created an attachment (id=102979) [details]
mplayer-1.0-directfb.patch

Patch to add includes for directfb

------- Comment #2 From Ben 2006-11-29 06:21:42 0000 -------
Created an attachment (id=102980) [details]
mplayer-1.0_rc1.ebuild

Changed ebuild to patch configure

------- Comment #3 From Marcus Furlong 2007-01-06 14:05:39 0000 -------
(In reply to comment #2)
> Created an attachment (id=102980) [edit] [details]
> mplayer-1.0_rc1.ebuild
> 
> Changed ebuild to patch configure
> 

mplayer-1.0_rc1 just went stable, and directfb output is still broken on it:

Checking for DirectFB ...
/var/tmp/portage/mplayer-1.0_rc1/temp/mplayer-conf-8653-9664.c:1:30: error:
directfb_version.h: No such file or directory
no (failed to get version)

  Disabled optional drivers:
    Input: vstream pvr radio mpdvdkit2 dvdnav
    Codecs: x264 twolame toolame
    Audio output: sun polyp esd arts ivtv dxr2 nas sdl
    Video output: xvidix winvidix cvidix bl zr zr2 ivtv dxr3 dxr2 sdl vesa svga
ggi xmga mga xvmc dfbmga directfb tga tdfx_vid s3fb tdfxfb 3dfx
    Audio filters:

Any chance of getting this patch into the stable ebuild?

------- Comment #4 From Ben 2007-01-06 20:15:19 0000 -------
Created an attachment (id=105697) [details]
mplayer-1.0-directfb.patch

New patch as the old one did not really fix the problem. I commited this patch
to mplayer see http://bugzilla.mplayerhq.hu/show_bug.cgi?id=708 for details. We
can wait for them to fix it upstream or use the patch right now.

------- Comment #5 From Ben 2007-01-06 20:15:58 0000 -------
Created an attachment (id=105699) [details]
mplayer-1.0_rc1.ebuild

The ebuild changed in portage so this is the new ebuild from portage including
the patch

------- Comment #6 From Anthony Knittel 2007-02-13 02:35:52 0000 -------
is this supposed to be patched in the ebuilds you get through portage?  i've
done a --sync update a few times recently but every (new) version of mplayer
still fails to find directfb_version.h and fails to build with dfbmga output.

do i need to do a manual patch, ie make a second ebuild folder and all that? 
i'd rather just go through the normal portage tree if possible.

------- Comment #7 From Ben 2007-02-13 10:49:34 0000 -------
I got the following message from the mplayer developers:

"As configure states multiple times, whoever uses --enable flags is on his own,
and current behaviour is as intended."

So its not going to be fixed upstream even though I dont know why they changed
it between mplayer-pre8 and mplayer-rc1. It seems we either have to fix it in
portage which has a low priority at the moment or everybody has to fix it
themselfs. 

I just created a ebuild in my portage overlay that applys the patch. Give it a
resonable high number so it wont be overwritten by each update to mplayer. I
hope that this fix will be included in portage sometime.

------- Comment #8 From Steve Dibb 2007-08-15 06:55:23 0000 -------
Is this still broken?  Please test against latest release (1.0.20070814) or
mplayer's SVN

Thanks

------- Comment #9 From Jakub Moc (RETIRED) 2007-12-12 22:33:05 0000 -------
Get back to us...

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