Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276934 - dev-libs/DirectFB-1.27[fusion] should depend on =dev-libs/linux-fusion-8.0*
Summary: dev-libs/DirectFB-1.27[fusion] should depend on =dev-libs/linux-fusion-8.0*
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on: 316869
Blocks:
  Show dependency tree
 
Reported: 2009-07-07 15:22 UTC by Dustin Polke
Modified: 2010-09-13 19:09 UTC (History)
0 users

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


Attachments
build log (dev-libs:DirectFB-1.2.7:20090917-183520.log,53.81 KB, text/plain)
2009-09-17 18:48 UTC, Daniel Santos
Details
environment (environment,94.11 KB, text/plain)
2009-09-17 19:10 UTC, Daniel Santos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2009-07-07 15:22:28 UTC
USE="fusion" requires dev-libs/linux-fusion to be installed.
With the actual version (8.1.1) of linux-fusion in portage, however, DirectFB does not compile. Version that does work is linux-fusion-8.0.3.

Please add fusion? ( =dev-libs/linux-fusion-8.0* ) to DEPENDS

Thanks.

Dustin

Reproducible: Always
Comment 1 Daniel Santos 2009-09-17 18:48:08 UTC
Created attachment 204456 [details]
build log

What a very naughty bug reporter you are! :)  Seriously, you didn't give any info on the bug and I'm not sure that your proposed solution will even solve the problem since DirectFB appears to ship with it's own fusion headers! :(

So here's the problem:

Making all in shm
make[4]: Entering directory `/tmp/portage/dev-libs/DirectFB-1.2.7/work/DirectFB-1.2.7/lib/fusion/shm'
/bin/sh ../../../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../lib -I../../../include -I../../../lib -DDATADIR=\"/usr/share/directfb-1.2.7\" -DMODULEDIR=\"/usr/lib64/directfb-1.2-0\" -D_REENTRANT   -march=amdfam10 -O3 -ggdb -pipe -D_GNU_SOURCE  -Werror-implicit-function-declaration -MT heap.lo -MD -MP -MF .deps/heap.Tpo -c -o heap.lo heap.c
/bin/sh ../../../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../lib -I../../../include -I../../../lib -DDATADIR=\"/usr/share/directfb-1.2.7\" -DMODULEDIR=\"/usr/lib64/directfb-1.2-0\" -D_REENTRANT   -march=amdfam10 -O3 -ggdb -pipe -D_GNU_SOURCE  -Werror-implicit-function-declaration -MT pool.lo -MD -MP -MF .deps/pool.Tpo -c -o pool.lo pool.c
/bin/sh ../../../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../lib -I../../../include -I../../../lib -DDATADIR=\"/usr/share/directfb-1.2.7\" -DMODULEDIR=\"/usr/lib64/directfb-1.2-0\" -D_REENTRANT   -march=amdfam10 -O3 -ggdb -pipe -D_GNU_SOURCE  -Werror-implicit-function-declaration -MT shm.lo -MD -MP -MF .deps/shm.Tpo -c -o shm.lo shm.c
mkdir .libs
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../lib -I../../../include -I../../../lib -DDATADIR=\"/usr/share/directfb-1.2.7\" -DMODULEDIR=\"/usr/lib64/directfb-1.2-0\" -D_REENTRANT -march=amdfam10 -O3 -ggdb -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -MT heap.lo -MD -MP -MF .deps/heap.Tpo -c heap.c  -fPIC -DPIC -o .libs/heap.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../lib -I../../../include -I../../../lib -DDATADIR=\"/usr/share/directfb-1.2.7\" -DMODULEDIR=\"/usr/lib64/directfb-1.2-0\" -D_REENTRANT -march=amdfam10 -O3 -ggdb -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -MT shm.lo -MD -MP -MF .deps/shm.Tpo -c shm.c  -fPIC -DPIC -o .libs/shm.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../lib -I../../../include -I../../../lib -DDATADIR=\"/usr/share/directfb-1.2.7\" -DMODULEDIR=\"/usr/lib64/directfb-1.2-0\" -D_REENTRANT -march=amdfam10 -O3 -ggdb -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -MT pool.lo -MD -MP -MF .deps/pool.Tpo -c pool.c  -fPIC -DPIC -o .libs/pool.o
In file included from ../../../lib/fusion/conf.h:33,
                 from heap.c:68:
../../../lib/fusion/types.h:39:2: error: #error Need major API version 8!
heap.c: In function '__shmalloc_init_heap':
heap.c:643: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result
In file included from ../../../lib/fusion/conf.h:33,
                 from shm.c:45:
../../../lib/fusion/types.h:39:2: error: #error Need major API version 8!
In file included from ../../../lib/fusion/shmalloc.h:39,
                 from pool.c:39:
../../../lib/fusion/types.h:39:2: error: #error Need major API version 8!
shm.c: In function 'fusion_shm_init':
shm.c:130: warning: format not a string literal and no format arguments
shm.c:130: warning: format not a string literal and no format arguments
make[4]: *** [heap.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [shm.lo] Error 1
make[4]: *** [pool.lo] Error 1
make[4]: Leaving directory `/tmp/portage/dev-libs/DirectFB-1.2.7/work/DirectFB-1.2.7/lib/fusion/shm'
make[3]: *** [all-recursive] Error 1

I have dev-libs/linux-fusion-8.1.1 installed.

Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Thu, 17 Sep 2009 10:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1, 3.1.1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.6.3, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -ggdb -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=amdfam10 -O2 -ggdb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distlocks fixpackages installsources parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.cs.wmich.edu/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ http://osmirrors.cerias.purdue.edu/pub/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude '/lost+found'"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/Spring /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3ds 64bit 7zip X Xaw3d a52 aac aalib acl acpi afs aim aio akode alsa amd64 amr ao aotuv apache2 apm applet ares arts async audacious audiofile authdaemond authfile autoipd automount avahi bash-completion berkdb binfilter bittorrent bl bluetooth bonjour boost branding bsf bzip2 c3p0 cairo calendar cdaudio cdb cdda cddb cdparanoia cdr cegui cg cgi chm cjk cli commons-digester console consolekit cpufreq cpulimit cracklib crypt cscope css cups curl curlwrappers custom-optimization cvs cxx dbus dedicated devil dga dirac directfb divx djbfft djvu dmx dns dolby-record-switch dri dtmf dts dv dvb dvd dvdr editor eds emboss emoticon encode enscript esd evo excel exif expat extraicons faac faad fam fasttrack fax fbcon ffmpeg fftw firefox fits flac flash fltk fluidsynth fmod font-server fontconfig fontforge foomaticdb fortran fping fpx ftp fuse fusion gadu gcj gd gdbm geos ggi gif ginac git glib glitz glut gmedia gmp gmtfull gnokii gnome gnutella gnutls gphoto2 gpm gps graphviz gs gsl gsm gstreamer gtk gzip h323 hal hddtemp html htmlhandbook hwmixer icecast iceweasel iconv icq icu id3 id3tag idn ieee1394 ilbc imagemagick imap imlib inifile irc irda irrlicht isdnlog ithreads jabber jack jadetex java java5 java6 javascript jbig jce jingle jmx joystick jpeg jpeg2k kde kdrive kpathsea lame latex lcms ldap libcaca libnotify libsamplerate libvisual libwww lirc live lm_sensors log4j logitech-mouse lua lzma lzo mad maildir maps math md5sum meanwhile mikmod mime mjpeg mmap mmkeys mmx mmxext mng modperl modplug motif mouse mozdevelop mozilla mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer msn mtp mudflap multicall multilib multislot multitarget musepack music musicbrainz mysql mysqli mythtv nas ncurses net netjack network njb nls nntp nptl nptlonly nsplugin nss nvidia nvtv ode odk offensive ogg openal openexr opengl openmp oscar otr pam pango pch pcntl pcre pda pdf perl phonon php player plotutils png portaudio posix postproc ppds pppd profile pulseaudio python qq qt3 qt3support qt4 quicktime radio rar raw readline reflection rrdcgi rtc ruby samba sametime sasl scanner schroedinger sdl sdl-image sdl-sound sensord session sharedext silc sip slp smp smtp sndfile snmp soap sockets sound speex spell spl sql sqlite sqlite3 sse sse2 sse3 ssl startup-notification stream subtitles subversion suexec svg sysfs syslog sysvipc t1lib tagwriting tcl tcpd tga theora threads thumbnail thunar tidy tiff timidity tk tokenizer tools transcode translator trayicon truetype tse3 twolame unicode upnp urandom usb userlocales v4l v4l2 vcd vdpau vdr vhosts videos vim-syntax vim-with-x visualization vorbis vorbis-psy vxml wav wavpack webdav wifi wma wmf wxwidgets wxwindows x264 xanim xattr xcb xcomposite xface xforms xft xine xinerama xinetd xml xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xulrunner xv xvid xvmc yaepg yahoo yv12 zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_dbd authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias substitute" ELIBC="glibc" FOO2ZJS_DEVICES="hpp1006" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Daniel Santos 2009-09-17 19:10:19 UTC
Created attachment 204457 [details]
environment
Comment 3 Dustin Polke 2009-09-18 07:36:14 UTC
(In reply to comment #1)
> What a very naughty bug reporter you are! :)  Seriously, you didn't give any
> info on the bug [...]

wtf...
Thanks for these kind words, Daniel. Feel really better now.
Comment 4 SpanKY gentoo-dev 2009-09-29 21:42:01 UTC
we've punted linux-fusion-8.0 because it was busted on newer kernels.  this leaves DirectFB-1.2.7 in a tricky spot.

i dont have any fusion hardware or way to test things ... does DirectFB-1.4.x work with linux-fusion-8.1 ?  both those versions are in the tree now ...
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2010-09-13 19:09:50 UTC
dev-libs/linux-fusion has been punted.