Bug 90672 - x11-base/xorg-x11 (6.8.99.5): No rule to make target `libbitmap.so', needed by `install.sdk'.
|
Bug#:
90672
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: major
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: x11@gentoo.org
|
Reported By: codergeek42@gentoo.org
|
|
Component: Applications
|
|
|
URL:
https://bugs.freedesktop.org/show_bug.cgi?id=4645
|
|
Summary: x11-base/xorg-x11 (6.8.99.5): No rule to make target `libbitmap.so', needed by `install.sdk'.
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-04-27 20:10 0000
|
I attempted to install the 6.8.99.3 snapshot but it fails on installing the
SDK.
Reproducible: Always
Steps to Reproduce:
1. emerge --sync
2. Add "=x11-base/xorg-x11-6.8.99.3" to /etc/portage/package.unmask
3. emerge x11-base/xorg-x11
Actual Results:
installing driver SDK in lib/font...
make[3]: Entering directory
`/usr/src/portage/xorg-x11-6.8.99.3/work/xc/lib/font'
installing driver SDK in lib/font/bitmap...
make[4]: Entering directory
`/usr/src/portage/xorg-x11-6.8.99.3/work/xc/lib/font/bitmap'
installing driver SDK in lib/font/bitmap/module...
make[5]: Entering directory
`/usr/src/portage/xorg-x11-6.8.99.3/work/xc/lib/font/bitmap/module'
make[5]: *** No rule to make target `libbitmap.so', needed by `install.sdk'.
Stop.
make[5]: Leaving directory
`/usr/src/portage/xorg-x11-6.8.99.3/work/xc/lib/font/bitmap/module'
make[4]: *** [install.sdk] Error 2
make[4]: Leaving directory
`/usr/src/portage/xorg-x11-6.8.99.3/work/xc/lib/font/bitmap'
make[3]: *** [install.sdk] Error 2
make[3]: Leaving directory
`/usr/src/portage/xorg-x11-6.8.99.3/work/xc/lib/font'
make[2]: *** [install.sdk] Error 2
make[2]: Leaving directory `/usr/src/portage/xorg-x11-6.8.99.3/work/xc/lib'
make[1]: *** [install.sdk] Error 2
make[1]: Leaving directory `/usr/src/portage/xorg-x11-6.8.99.3/work/xc'
make: *** [install.sdk] Error 2
!!! ERROR: x11-base/xorg-x11-6.8.99.3 failed.
!!! Function install_everything, Line 1000, Exitcode 2
!!! sdk install failed
Expected Results:
It should install successfully.
Portage 2.0.51.20-r4 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.12-rc3 i686)
=================================================================
System uname: 2.6.12-rc3 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.11
ccache version 2.4 [disabled]
dev-lang/python: 2.3.5
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r8
sys-devel/libtool: 1.5.14
virtual/os-headers: 2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-tbird -fomit-frame-pointer -pipe -funit-at-a-time"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-tbird -fomit-frame-pointer -pipe -funit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="keepwork autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo/
http://distfiles.gentoo.org/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/src"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aalib alsa apache2 bash-completion berkdb
bitmap-fonts
bzip2 bzlib chroot cjk crypt ctype curl curlwrappers dbx encode exif fbcon
ffmpeg flac font-server ftp gd gdbm ggi gif gnutls gpm gtk gtk2 gtkhtml hal
iconv imap imlib innodb ipv6 javascript jpeg libcaca mad md5sum mhash mikmod
mime mmap mmx mmxext mng mpeg mysql ncurses nls nptl nptlonly oggvorbis opengl
openntpd pam parse-clocks pcmcia pcre perl php physfs png pnp posix python
readline rtc sdk sdl session sftplogging silc simplexml slang sockets speex
spell sqlite ssl svg svga symlink sysvipc tabs tcpd theora threads tidy tiff
tokenizer toolbar truetype truetype-fonts type1-fonts unicode vim-pager vorbis
wmf xchatdccserver xchattext xforms xgetdefault xml xml2 xpm xprint xsl xv xvid
xvmc zlib"
Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS
It seems to install properly without the sdk USE flag set.
Balh. This snapshot is giving me a lot of Mesa/DRI troubles. I'll just go back
to using 6.8.2-r1 for now...
I tweaked my xorg.conf to fix the DRI issues (thanks Donnie) so I'm re-opening
this. This also happens with xorg-x11 6.8.99.5 unfortunately...
Could you also try w/ USE="-cjk -ipv6 -nls -xprint"? That would turn your setup
into mine, and I have no such problem.
Oh, if that doesn't work, perhaps you could attach a compile log.
Maybe I am lost here, but here we go:
if emerging x11-base/xorg-x11 I emerge with success x11-6.8.2-r1
if I try to emerge =x11-base/xorg-x11-6.8.99.5 it fails with bellow error.
Confusing fact is that files/digest-xorg-x11-6.8.99.5 are included into x11-8.8.2-r1 which builds fine.
Finally x11-8.8.2-r1 will not try to built xc (sources) while x11-6.8.99.5 will try but fail
hope this helps ...
Just found out that digest has nothing to do with sources...
So be that as it may, build fails for 6.8.99.5 for sdk install.
here is my make.conf if that helps ... (very simple)
--------------------------------------------------
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="gtk qt kde cdr dvd alsa"
--------------------------------------------------
Same here, for 6.8.99.5. My USE flags for this build are:
[ebuild U ] x11-base/xorg-x11-6.8.99.5 [6.8.2-r1] -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -hardened -insecure-drivers -ipv6 -minimal +mmx +nls +opengl +pam +sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) +xprint +xv 0 kB
I'm building it with sdk as it is needed in order to build x11-misc/linuxwacom.
If there's anything I can help with, feel free to ask.
make[3]: Entering directory `/var/tmp/portage/xorg-x11-6.8.99.5/work/xc/lib/font'
installing driver SDK in lib/font/bitmap...
make[4]: Entering directory `/var/tmp/portage/xorg-x11-6.8.99.5/work/xc/lib/font/bitmap'
installing driver SDK in lib/font/bitmap/module...
make[5]: Entering directory `/var/tmp/portage/xorg-x11-6.8.99.5/work/xc/lib/font/bitmap/module'
make[5]: *** No rule to make target `libbitmap.so', needed by `install.sdk'. Stop.
make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.99.5/work/xc/lib/font/bitmap/module'
make[4]: *** [install.sdk] Error 2
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.99.5/work/xc/lib/font/bitmap'
make[3]: *** [install.sdk] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.99.5/work/xc/lib/font'
make[2]: *** [install.sdk] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.99.5/work/xc/lib'
make[1]: *** [install.sdk] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.99.5/work/xc'
make: *** [install.sdk] Error 2
!!! ERROR: x11-base/xorg-x11-6.8.99.5 failed.
!!! Function install_everything, Line 995, Exitcode 2
!!! sdk install failed
!!! If you need support, post the topmost build error, NOT this status message.
> Could you also try w/ USE="-cjk -ipv6 -nls -xprint"?
> That would turn your setup into mine, and I have no such problem.
JFYI: Tried to rebuild with that -- got the same problem.
Created an attachment (id=59075) [details]
Full build log with SDL use flag set (bzip'd)
Full build log attached. My emerge info
Portage 2.0.51.22 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.12-rc1-love1 i686)
=================================================================
System uname: 2.6.12-rc1-love1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.11
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.8
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r8
sys-devel/libtool: 1.5.16
virtual/os-headers: 2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow
-mfpmath=sse,387 -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/alias /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow
-mfpmath=sse,387 -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks parallel-fetch sandbox sfperms
strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="nl_NL@euro"
LC_ALL="nl_NL@euro"
LINGUAS="nl"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aalib alsa apache2 apm arts audiofile avi
bash-completion bitmap-fonts bonobo bzlib calender cdparanoia cdr chipcard
chroot crypt cups curl dba divx4linux dvd dvdr dvdread eds emboss encode esd
fam festival filepro flac font-server foomaticdb fortran gd gdbm gif gnome
gphoto2 gpm gstreamer gtk gtk2 guile hal imagemagick imlib insecure-drivers
java jpeg jpeg2k junit kde ldap libg++ libwww live mad mikmod mime mmx mmxext
mono motif mozdevelop mozilla moznomail moznoxft mp3 mpeg mplayer msn mysql
ncurses network nls nptl nvidia odbc offensive ogg oggvorbis ooo-kde opengl pam
patches pdflib perl php pic png postgres python qmail qt quicktime readline
real rplay samba scanner sdk sdl session sftplogging slang softmmu speex spell
sqlite sse ssl startup-notification stroke svga tcltk tcpd threads tiff
truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 vorbis win32codecs
wmf xine xinerama xml xml2 xmms xprint xscreensaver xv xvid zlib
video_cards_nvidia linguas_nl userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LDFLAGS
Please attach
/var/tmp/portage/xorg-x11-6.8.99.5/work/xc/lib/font/bitmap/module/Makefile and
reopen.
BTW, ofcourse I meant sdk USE flag instead of SDL.
Emerging xorg with -sdk works.
I see the target that's "missing" in there:
install.sdk:: libbitmap.so
@if [ -d $(DESTDIR)$(DRIVERSDKMODULEDIR)/fonts ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(DRIVERSDKMODULEDIR)/fonts ]; then \
(set -x; rm -f $(DESTDIR)$(DRIVERSDKMODULEDIR)/fonts); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(DRIVERSDKMODULEDIR)/fonts); \
fi
$(INSTALL) -c libbitmap.so $(DESTDIR)$(DRIVERSDKMODULEDIR)/fonts
As cpw pointed out on IRC, the regular rule is for a .a:
all:: libbitmap.a
libbitmap.a: $(OBJS) $(EXTRALIBRARYDEPS)
$(RM) $@
$(MODAR) $@ $(OBJS)
$(MODRANLIB) $@
$(_NULLCMD_)
So it appears that the SDK rule is mistakenly assuming you're building with
USE=dlloader when you aren't. I looked around a bit but didn't see anything
obvious to fix this.
As a workaround, you can either build with USE="dlloader" or USE="-sdk." If
you're using older nvidia binary drivers or any ati binary drivers, dlloader
won't work.
With the dlloader USE flag set, the build still fails. It is a different error
though...
DXFreeXDGA -DXvExtension -DXFree86LOADER
-DDLOPEN_HACK -DXFree86Server -DXF86VIDMODE
- DXvMCExtension -DSMART_SCHEDULE
-DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -
DXORG_VERSION_CURRENT="(((6) * 10000000) + ((8) * 100000) + ((99) * 1000) +
8)"-DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module
-DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA
-DXF86DRI_DEVEL -DTV_OUT -c atidri.c
atidri.c: In function `ATIDRIScreenInit':
atidri.c:1103: error: parse-fout before numeric constant
make[7]: *** [atidri.o] Fout 1
make[7]: Leaving directory
`/var/tmp/portage/xorg-x11-6.8.99.8/work/xc/programs/Xserver/hw/xfree86/drivers/ati'
make[6]: *** [all] Fout 2
make[6]: Leaving directory
`/var/tmp/portage/xorg-x11-6.8.99.8/work/xc/programs/Xserver/hw/xfree86/drivers'
make[5]: *** [all] Fout 2
make[5]: Leaving directory
`/var/tmp/portage/xorg-x11-6.8.99.8/work/xc/programs/Xserver/hw/xfree86'
make[4]: *** [hw/xfree86] Fout 2
make[4]: Leaving directory
`/var/tmp/portage/xorg-x11-6.8.99.8/work/xc/programs/Xserver'
make[3]: *** [all] Fout 2
make[3]: Leaving directory
`/var/tmp/portage/xorg-x11-6.8.99.8/work/xc/programs'make[2]: *** [all] Fout 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.99.8/work/xc'
make[1]: *** [World] Fout 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.99.8/work/xc'
make: *** [World] Fout 2
Seems to be somewhere in the ati dri sublayer.
I don't even use ati :/
File that as a separate bug, please.
yes, that was me :)
It's already fixed (wow). I'll resync in a few hours and see if it changed anything.
Ignore the above. It wasn't me, I filed a dup. Marked it as dup myself.
I can confirm xorg 6.8.99.8 compiles fine now with SDK AND dlloader USE flag
set. Can anyone confirm for 6.8.99.5 (if still necessery)
Peter, can you confirm that this is working for you as well? Or at least
someone confirm for sdk w/o dlloader flag, since that produced a different error
in the first place.
I had sdk flag for a while in my /etc/make.conf and I never got xc to apear.
Any
more new on this issue...
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.12
dev-lang/python: 2.3.5-r1, 2.4.1-r1
sys-apps/sandbox: 1.2.10
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X alsa apm arts avi berkdb bitmap-fonts bonobo cdr
crypt
cups curl dlloader dts dvd dvdread emboss encode esd fam foomaticdb fortran
gdbm
gif gnome gphoto2 gpm gtk gtk2 gtkhtml imagemagick imlib ipv6 java jpeg kde
ldap
libg++ libwww live mad matroska mikmod mmx mmxext motif mozilla mp3 mpeg
ncurses
nls ogg oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime
readline real sdk sdl snmp spell sse sse2 ssl subversion svga tcltk tcpd theora
tiff truetype truetype-fonts type1-fonts vorbis wxwindows xanim xine xml xml2
xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
2.6.12-gentoo-r4
This should be fixed in current Xorg CVS.
This should be fixed in modular (7.0).