Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23993 - xdirectfb doesn't compile - makefile error
Summary: xdirectfb doesn't compile - makefile error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-06 09:18 UTC by Alex
Modified: 2003-08-02 22:19 UTC (History)
0 users

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


Attachments
Fixed xdirectfb-1.0_rc5 ebuild (xdirectfb-1.0_rc5.ebuild,2.34 KB, text/plain)
2003-07-10 06:12 UTC, Rick Harris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2003-07-06 09:18:16 UTC
When I do an emerge xdirectfb, it stops and reports that there is no target for
'clean'. I tried emerging each ebuild in the xdirectfb directory and they all
fail the same way!

Reproducible: Always
Steps to Reproduce:
1. emerge xdirectfb
2. wait
3. see it halt

Actual Results:  
ake[3]: Entering directory `/var/tmp/portage/xdirectfb-1.0_rc5/work/xc/doc'
make[3]: xmakefile: No such file or directory
make[3]: *** No rule to make target `xmakefile'.  Stop.
make[3]: Leaving directory `/var/tmp/portage/xdirectfb-1.0_rc5/work/xc/doc'
make[2]: [Makefiles] Error 2 (ignored)
make[2]: Leaving directory `/var/tmp/portage/xdirectfb-1.0_rc5/work/xc/doc'
make[1]: Leaving directory `/var/tmp/portage/xdirectfb-1.0_rc5/work/xc'
make -f xmakefile - --jobserver-fds=3,5 -j BOOTSTRAPSUBDIRS= clean
make[1]: Entering directory `/var/tmp/portage/xdirectfb-1.0_rc5/work/xc'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
rm -f -r ./exports/include
rm -f -r ./exports/lib
rm -f -r ./exports/bin
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log
MakeOut   "#"*
cleaning in ./include...
make[2]: Entering directory `/var/tmp/portage/xdirectfb-1.0_rc5/work/xc/include'
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log
MakeOut   "#"*
cleaning in include/bitmaps...
make[3]: Entering directory
`/var/tmp/portage/xdirectfb-1.0_rc5/work/xc/include/bitmaps'
make[3]: *** No rule to make target `clean'.  Stop.
make[3]: Leaving directory
`/var/tmp/portage/xdirectfb-1.0_rc5/work/xc/include/bitmaps'
make[2]: *** [clean] Error 2
make[2]: Leaving directory `/var/tmp/portage/xdirectfb-1.0_rc5/work/xc/include'
make[1]: *** [clean] Error 2
make[1]: Leaving directory `/var/tmp/portage/xdirectfb-1.0_rc5/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xdirectfb-1.0_rc5 failed.
!!! Function src_compile, Line 64, Exitcode 2
!!! (no error message)



Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(tm) XP 2000+
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi cups encode jpeg mmx mpeg ncurses pdflib png
quicktime spell truetype xmms xv zlib readline tetex java mysql X sdl pam libwww
ssl imlib gtk opengl mozilla ldap cdr acpi acpi4linux dga directfb ethereal
fbcon gd-external imap jikes maildir mozcalendar moznocompose pic usb xface
-arts -crypt -gif -kde -libg++ -mikmod -nls -xml2 -gdbm -berkdb -slang -svga
-tcltk -gpm -tcpd -perl -python -esd -oggvorbis -gnome -qt -motif -scanner"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -m3dnow -s"
CXXFLAGS="-march=athlon-xp -O3 -pipe -mmmx -m3dnow -s"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Rick Harris 2003-07-07 04:14:12 UTC
Same problem here also, however it does install correctly when following the install instructions contained in 
./XDirectFB-1.0-rc5/README 
 
Comment 2 Rick Harris 2003-07-10 06:12:48 UTC
Created attachment 14337 [details]
Fixed xdirectfb-1.0_rc5 ebuild

Replace the 'emake World || die' line in 'src_compile()' with:

	get_number_of_jobs

	unset MAKE_OPTS

	einfo "Building XFree86..."
	FAST=1 emake World || die

Kudos to seemant & drobbins, these lines were lifted directly from the xfree
ebuild.
Comment 3 Alex 2003-07-11 08:59:24 UTC
Is emerge xdirectfb supposed to make the  'xauth', 'xinit', and all the other gadgets?   I'm finding that  'emerge xdirectfb' compiles a lot of stuff, but only installs a handful of files.  I have to have xfree installed for xdirectfb to *attempt* to work otherwise it complains about missing files.

I thought xdirectfb was supposed to be an alternative to xfree and also independent of it....
Comment 4 Rick Harris 2003-07-19 09:28:06 UTC
No it isn't supposed to install xinit, xauth & others, that is XFree86's job. XDirectFB merely uses the XFree 
source to create it's own Xserver using DirectFB windows for X11 windows. In short you still need a fully 
functioning XFree to be able to init the XDirectFB Xserver, it is not independant. It's basically an alternative 
to the /usr/X11R6/bin/XFree86 Xserver. 
Comment 5 Rick Harris 2003-07-26 03:20:29 UTC
This bug is now fixed.
As an addition, change the line in /usr/X11R6/bin/startxdfb from:
"sysserverrc=/usr/X11R6/lib/X11/xinit/dfbserverrc"

to

"sysserverrc=/usr/X11R6/bin/XDirectFB"

This will allow XDirectFB to be started on any display number.
eg.  startxdfb -- :3

This also allows multiple instances of XDirectFB to be run.
Comment 6 Brian Jackson (RETIRED) gentoo-dev 2003-08-02 22:19:09 UTC
marking as fixed, if you feel it needs more work feel free to reopen this bug