Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106407 - x11-drm-20050807 build fail because configure cannot find config.sub file
Summary: x11-drm-20050807 build fail because configure cannot find config.sub file
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-18 14:13 UTC by Roberto P.R.
Modified: 2005-09-20 12:24 UTC (History)
0 users

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


Attachments
emerge config.log (config.log,5.14 KB, text/plain)
2005-09-18 14:19 UTC, Roberto P.R.
Details
The error itself (error.log,8.91 KB, text/plain)
2005-09-18 14:33 UTC, Roberto P.R.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto P.R. 2005-09-18 14:13:31 UTC
I'm using gentoo-sources 2.6.12-r10, and everytime I try to emerge
x11-drm-20050807, it fails in the MODULES STAGE TWO, with configure complaining
about a missing "config.sub" file. At the beginning of emerge, after it apllies
the patches, configure complains about missing "config.sub" AND "config.guess",
but then it continues with the process (and successfully compiles all modules in
STAGE ONE), until the MODULES STAGE TWO, when configures requires these files
and stops. It could be some sort of autoconf or automake issue, but every other
package emerges well - the x11-drm-20050807 is the only one that fails... So, I
think it's not something related to autoconf/automake... But, I can be wrong,
anyway...

I'm attaching the error log generated.

Thanks,
Roberto

Reproducible: Always
Steps to Reproduce:
1. emerge x11-drm
2.
3.

Actual Results:  
Build fails, with configure complaining about a missing "config.sub" file

Expected Results:  
Build correctly and installed the x11-drm package

Gentoo Base System version 1.6.6
Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.3.3, glibc-2.3.4.20040808-r0,
2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Intel(R) Celeron(R) CPU 1.70GHz
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.90.0.1.1-r3
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.8.1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -fPIC -pipe"
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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -fPIC -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts artswrappersuid avi berkdb bitmap-fonts cdr crypt
curl dga divx4linux dvd dvdr dvdread eds emboss encode esd f77 fam ffmpeg flac
foomaticdb fortran gd gdbm gettext gif glibc gpm gstreamer gtk gtk2 imagemagick
imlib innodb insecure-drivers java jpeg kde kdeenablefinal libg++ libwww mad
mikmod mmx mmx2 mp3 mpeg mplayer mysql ncurses nls nptl objc ogg oggvorbis
opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang
spell sse sse2 ssl subtitles svga tcpd threads tiff truetype truetype-fonts
type1-fonts usb vorbis win32codecs xine xml2 xmms xv xvid zlib video_cards_sis
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Roberto P.R. 2005-09-18 14:19:29 UTC
Created attachment 68770 [details]
emerge config.log
Comment 2 Roberto P.R. 2005-09-18 14:33:49 UTC
Created attachment 68773 [details]
The error itself
Comment 3 Roberto P.R. 2005-09-20 12:24:35 UTC
Ok, I found what was going wrong... After "emerge media-libs/xvid" complained
about the same thing (not being able to find config.sub), I became pretty sure
that this error had nothing to do with the x11-drm package itself. 

That's what happened: on the first "emerge x11-drm", it asked me to upgrade
autoconf, automake and libtool, and I agreed. So, it seems that in some point of
this upgrade, the "config.sub" and "config.guess" files were deleted from the
"/usr/share/gnuconfig" directory, and so autoreconf and libtool were installed
without these files (because they link their config.* to these files in
/usr/share/gnuconfig) and caused the errors in both x11-drm and xvid.

It seems to me that the upgrade in automake messed up with the files in
/usr/share/gnuconfig, so it could be a good idea somebody to watch the ebuilds
for automake to be sure...

The fix for this problem is simple:

emerge gnuconfig automake autoreconf libtool

After that, the "config.sub" and "config.guesse" should be in
"/usr/share/gnuconfig", and links to them must exist in
"/usr/share/automake-<version>" and "/usr/share/libtool".

That's what worked for me.

Sorry about this unnecessary bug report for x11-drm, guys, but you know how
things work...

Thanks,
Roberto