Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10144 - xfree-4.2.1 -march=1 error
Summary: xfree-4.2.1 -march=1 error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-03 12:12 UTC by Brian Dolbec (RETIRED)
Modified: 2003-04-24 00:08 UTC (History)
1 user (show)

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


Attachments
fatal compilation error (xfree4.2.99.3errors.txt,4.77 KB, text/plain)
2003-01-03 21:10 UTC, Brian Dolbec (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Dolbec (RETIRED) gentoo-dev 2002-11-03 12:12:03 UTC
xfree-4.2.1 patche(s) are not allowing my predefined march=pentium type to be
correctly passed to gcc at the start of the xfree build.   I looked around but
could not find the source for the error (I am not that much of a programmer).  
Xfree-4.2.0 compiled fine and I see that 4.2.1 is a patch to the 4.2.0 src's.

gcc is being called with -march=1 instead of -march=pentium.

System P200MMX, gentoo 1.2, CFLAGS="-march=pentium -O2 -pipe -w"
Screen output:

bash-2.05a# emerge -u xfree
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-base/xfree-4.2.1 to /
>>> md5 ;-) X420src-1.tgz
>>> md5 ;-) X420src-2.tgz
>>> md5 ;-) X420src-3.tgz
>>> md5 ;-) freetype-2.1.2.tar.bz2
>>> md5 ;-) fcpackage.2_0.tar.gz
>>> md5 ;-) 4.2.0-4.2.1.diff.gz
>>> md5 ;-) XFree86-4.2.1-patches-1.0.tar.bz2
>>> md5 ;-) xf86Wacom.c.gz
>>> md5 ;-) savage-1.1.25t.tgz
>>> md5 ;-) sis_drv_src_251002-2.tar.gz
>>> md5 ;-) andale32.exe
>>> md5 ;-) arial32.exe
>>> md5 ;-) arialb32.exe
>>> md5 ;-) comic32.exe
>>> md5 ;-) courie32.exe
>>> md5 ;-) georgi32.exe
>>> md5 ;-) impact32.exe
>>> md5 ;-) times32.exe
>>> md5 ;-) trebuc32.exe
>>> md5 ;-) verdan32.exe
>>> md5 ;-) webdin32.exe
>>> Unpacking source...
>>> Unpacking X420src-1.tgz
>>> Unpacking X420src-2.tgz
>>> Unpacking X420src-3.tgz
>>> Unpacking freetype-2.1.2.tar.bz2
>>> Unpacking XFree86-4.2.1-patches-1.0.tar.bz2
>>> Unpacking fcpackage.2_0.tar.gz
 * Updating Freetype2...
 * Updating 4.2.0 sources to 4.2.1...
 * Unpacking MS Core Fonts...
 *   andale32.exe...
 *   arial32.exe...
 *   arialb32.exe...
 *   comic32.exe...
 *   courie32.exe...
 *   georgi32.exe...
 *   impact32.exe...
 *   times32.exe...
 *   trebuc32.exe...
 *   verdan32.exe...
 *   webdin32.exe...
 * Updating Savage driver...
 * Updating SiS driver...
 * Updating Wacom USB Driver...
 * Applying various patches (bugfixes/updates)...
 *   001_all_4.2.0-Suse-Updates.patch.bz2...
 *   002_all_4.2.0-agpgart-load.patch.bz2...
 *   003_all_4.2.0-fixkbd.patch.bz2...
 *   004_all_4.2.0-i18n.patch.bz2...
 *   005_all_4.2.0-xkb-fix-deadkey-quotedbl-us_intl.patch.bz2...
 *   006_all_4.2.0-v4l.patch.bz2...
 *   007_all_4.2.0-xft-leak.patch.bz2...
 *   009_all_4.2.0-elf-loader-empty-symbol-table.patch.bz2...
 *   011_all_4.2.0-GeForce2Go.patch.bz2...
 *   012_all_4.2.0-G450.patch.bz2...
 *   013_all_4.2.0-r128-lockup.patch.bz2...
 *   014_all_4.2.0-ati-r128-vtswitch-fix-busmaster-enable.patch.bz2...
 *   015_all_4.2.0-ati-radeon-mobility-FireGL-7800.patch.bz2...
 *   016_all_4.2.0-ati-radeon-vtswitch-fix-busmaster-enable.patch.bz2...
 *   019_all_4.2.0-tdfx-fix-vtswitch-font-corruption.patch.bz2...
 *   020_all_4.2.0-trident-driver-update-cvs-20020617.patch.bz2...
 *   030_x86_4.2.0-i810-dri.patch.bz2...
 *   031_x86_4.2.0-i810-i845-driver-cvs-20020617.patch.bz2...
 *   032_x86_4.2.0-i810x-no-for-loops-for-delays.patch.bz2...
 *   033_x86_4.2.0-i810-vtswitch-sync-fix.patch.bz2...
 *   090_all_4.2.1-fix-shared-libXau-link.patch.bz2...
 *   091_all_4.2.1-freetype212.patch.bz2...
 *   092_all_4.2.1-freetype2-enable-bytecode-interpreter.patch.bz2...
 *   093_all_4.2.0-imake-tmpdir.patch.bz2...
 *   020_all_4.2.1-libICE-remove-stupid-delay.patch.bz2...
 *   021_all_4.1.0-xtt.patch.bz2...
 *   022_all_4.2.0-FIRSTINDEX-breaks-ttmkfdir.patch.bz2...
 *   080_all_4.2.1-mit-shm-security.patch.bz2...
 *   094_all_4.2.1-Xft1-Imake-config.patch.bz2...
 * Setting up config/cf/host.def...
 * Updating Xft1...
 * Updating Xrender...
>>> Source unpacked.
 * Building XFree86...

Building Release 6.6 of the X Window System.

I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.

Sun Nov  3 08:09:46 PST 2002

cd ./config/imake && make - --jobserver-fds=3,4 -j -f Makefile.ini
BOOTSTRAPCFLAGS="" CC="cc" clean
make[1]: Entering directory `/var/tmp/portage/xfree-4.2.1/work/xc/config/imake'
rm -f ccimake imake.o imake
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log \#*
rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
rm -f imakemdep_cpp.h
make[1]: Leaving directory `/var/tmp/portage/xfree-4.2.1/work/xc/config/imake'
make - --jobserver-fds=3,4 -j Makefile.boot
make[1]: Entering directory `/var/tmp/portage/xfree-4.2.1/work/xc'
cd ./config/imake && make -w --jobserver-fds=3,4 - --jobserver-fds=3,4 -j -f
Makefile.ini BOOTSTRAPCFLAGS="" CC="cc"
make[2]: Entering directory `/var/tmp/portage/xfree-4.2.1/work/xc/config/imake'
cc -o ccimake -DCROSSCOMPILEDIR=\"\"  -O -I../../include
-I../../imports/x11/include/X11 ccimake.c
making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="" in
config/imake
if [ -n "" ] ; then \
/cc -E `./ccimake` \
-DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h; \
else touch imakemdep_cpp.h; fi
cc -c  -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
cc -o imake  -O -I../../include -I../../imports/x11/include/X11 imake.o
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.1/work/xc/config/imake'
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f
./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
cd ./config/makedepend && rm -f -r Makefile Makefile.dep makedepend *.o bootstrap
cd ./config/makedepend && make -f Makefile.proto bootstrap
make[2]: Entering directory `/var/tmp/portage/xfree-4.2.1/work/xc/config/makedepend'
make[2]: Nothing to be done for `bootstrap'.
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.1/work/xc/config/makedepend'
./config/imake/imake -I./config/cf  -s ./config/imake/Makefile.proto -f
./config/imake/Imakefile -DTOPDIR=../.. -DCURDIR=./config/imake -DBootStrap
cd ./config/imake && make -f Makefile.proto bootstrapdepend
make[2]: Entering directory `/var/tmp/portage/xfree-4.2.1/work/xc/config/imake'
make[2]: Nothing to be done for `bootstrapdepend'.
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.1/work/xc/config/imake'
cd ./config/imake && make -w --jobserver-fds=3,4 - --jobserver-fds=3,4 -j -f
Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" bootstrap
make[2]: Entering directory `/var/tmp/portage/xfree-4.2.1/work/xc/config/imake'
+ mkdir bootstrap
mv *.o bootstrap
+ mv imake bootstrap
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.1/work/xc/config/imake'
cd ./config/imake && make -f Makefile.proto all
make[2]: Entering directory `/var/tmp/portage/xfree-4.2.1/work/xc/config/imake'
gcc -march=1 -O2 -pipe -ansi -pedantic -Wno-return-type -w   -I../../include
-I../../exports/include/X11  -I../.. -I../../exports/include   -Dlinux
-D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE
-D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO    
-DCPP_PROGRAM="\"/lib/cpp\"" 	     -c -o imake.o imake.c
rm -f imake._man
/lib/cpp -undef -traditional  -D__apploaddir__=/usr/X11R6/lib/X11/app-defaults
-D__filemansuffix__=5x -D__miscmansuffix__=7 -D__drivermansuffix__=4
-D__projectroot__=/usr/X11R6 -D__xorgversion__='"Release 6.6" "X Version 11"'
-D__vendorversion__="Version XFree86VersionString XFree86"  <imake.man | sed -e
'/^#  *[0-9][0-9]*  *.*$/d' -e '/^XCOMM$/s//#/' -e
'/^XCOMM[^a-zA-Z0-9_]/s/^XCOMM/#/' >imake._man
cc1: bad value (1) for -march= switch
make[2]: *** [imake.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.1/work/xc/config/imake'
make[1]: *** [imake.bootstrap] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.2.1/work/xc'
make: *** [World] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 190, Exitcode 2
!!! (no error message)

bash-2.05a#
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2002-11-03 12:26:27 UTC
While cutting text out of my make.conf file for the bug submital I noticed i586
is also a pentium march type.   I changed the -march flag to i586 and reran
emerge and is now compiling, although I do not know if it will complete
correctly as it is running in a su'd terminal window with x running.

Anyway it seems that the 4.2.1 patches do not like -march=pentium CFLAG.

Brian
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-03 13:04:38 UTC
hmm .. chan you check the ebuild and comment the 'strip-flags' line, and try
it again with -march=pentium ?
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2002-11-03 13:40:40 UTC
I killed the emerge, changed the ebuild & Make.conf as you asked, result:

Same error as before, you can see how far it had progressed with -march=i586.   
screen output:

Writing 185 characters into file 'UTRG__12-ISO8859-3.bdf'.
rm -f UTRG__14-ISO8859-3.bdf
perl  ../../../fonts/util/ucs2any.pl UTRG__14.bdf
../../../fonts/util/map-ISO8859-3 ISO8859-3
Writing 185 characters into file 'UTRG__14-ISO8859-3.bdf'.
rm -f UTRG__18-ISO8859-3.bdf
perl  ../../../fonts/util/ucs2any.pl UTRG__18.bdf
../../../fonts/util/map-ISO8859-3 ISO8859-3
make[4]: *** [UTRG__18-ISO8859-3.bdf] Interrupt
Caught signal 2
make[3]: *** [includes] Interrupt
make[2]: *** [includes] Interrupt
Killed
bash-2.05a# nedit
bash-2.05a# nedit
...
snip
...
make[2]: Entering directory `/var/tmp/portage/xfree-4.2.1/work/xc/config/imake'
gcc -march=1 -O2 -pipe -w -ansi -pedantic -Wno-return-type -w   -I../../include
-I../../exports/include/X11  -I../.. -I../../exports/include   -Dlinux
-D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE
-D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO    
-DCPP_PROGRAM="\"/lib/cpp\"" 	     -c -o imake.o imake.c
rm -f imake._man
/lib/cpp -undef -traditional  -D__apploaddir__=/usr/X11R6/lib/X11/app-defaults
-D__filemansuffix__=5x -D__miscmansuffix__=7 -D__drivermansuffix__=4
-D__projectroot__=/usr/X11R6 -D__xorgversion__='"Release 6.6" "X Version 11"'
-D__vendorversion__="Version XFree86VersionString XFree86"  <imake.man | sed -e
'/^#  *[0-9][0-9]*  *.*$/d' -e '/^XCOMM$/s//#/' -e
'/^XCOMM[^a-zA-Z0-9_]/s/^XCOMM/#/' >imake._man
cc1: bad value (1) for -march= switch
make[2]: *** [imake.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.1/work/xc/config/imake'
make[1]: *** [imake.bootstrap] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.2.1/work/xc'
make: *** [World] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 190, Exitcode 2
!!! (no error message)

bash-2.05a# 

I will wait for any other suggestions/tests before I do any other updates/rsyncs

Brian
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-03 14:10:00 UTC
Hi, didnt mean you had to stop current, as I know it must be a long build for
you.  I will have to look into it, thanks for the effort.

BTW: you may want to merge 4.2.1-r1, as it fixes some issues.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-05 11:25:56 UTC
Hmm, I cannot recreate it with gcc-3.2 ... Does 4.2.1-r1 fixes it for you ?
Comment 6 Brian Dolbec (RETIRED) gentoo-dev 2002-11-05 19:58:05 UTC
I just did an emerge rsync and xfree-4.2.1-r1 does not show up. I checked the
package.mask file = not in there.   I did an:

bash-2.05a# ACCEPT_KEYWORDS="~X86" emerge -s xfree
Searching...   
[ Results for search key : xfree ]
[ Applications found : 1 ]
 
*  x11-base/xfree
      Latest version available: 4.2.1
      Latest version installed: 4.2.0-r12
      Homepage: http://www.xfree.org
      Description: Xfree86: famous and free X server
 
bash-2.05a# 


Where is the 4.2.1-r1 ebuild hiding?

Brian
Comment 7 Brian Dolbec (RETIRED) gentoo-dev 2002-11-05 22:43:24 UTC
I found it, I did a CAPS lock typo for "~x86"  but the final result was the
same.  It subs -march=1 in for -march=pentium

It did update  3 other programs first; gettext, flex???, baselayout  without
problems, then downloaded the new 4.2.1 patchcode, aplied all patches & tried to
compile the new 4.2.1 sourcecode.

It must be in the 4.2.1 patch code somewhwere as I suggested earlier as the same
4.2.0 source code compiled fine on my system.   The patch code must add some cpu
type if's & incorrectly subbing the -march flag.   I did notice that it occurs
with a different line number this time.   Have you checked or reported the error
to the xfree developers if you are not one of them yourself.   I am willing to
poke around in the /var/tmp files portage produces to see if I can find the
culprit. If I can get some direction as to where & what to look for, it would be
helpfull.  I can read a lot of sourcecode, although it's been 12 years since
I've done any coding.  It might also be usefull to copy/upload some of those
files to you/someone for bugtracking.

Brian

results:
...
snip
...
+ mv imake bootstrap
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r1/work/xc/config/imake'
cd ./config/imake && make -f Makefile.proto all
make[2]: Entering directory `/var/tmp/portage/xfree-4.2.1-r1/work/xc/config/imake'
gcc -march=1 -O2 -pipe -ansi -pedantic -Wno-return-type -w   -I../../include
-I../../exports/include/X11  -I../.. -I../../exports/include   -Dlinux
-D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE
-D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO    
-DCPP_PROGRAM="\"/lib/cpp\"" -DHAS_MERGE_CONSTANTS=`if gcc -fmerge-constants -xc
/dev/null -S -o /dev/null 2> /dev/null 1> /dev/null; then echo 1; else echo 0;
fi`    -c -o imake.o imake.c
rm -f imake._man
/lib/cpp -undef -traditional  -D__apploaddir__=/usr/X11R6/lib/X11/app-defaults
-D__filemansuffix__=5x -D__miscmansuffix__=7 -D__drivermansuffix__=4
-D__projectroot__=/usr/X11R6 -D__xorgversion__='"Release 6.6" "X Version 11"'
-D__vendorversion__="Version XFree86VersionString XFree86"  <imake.man | sed -e
'/^#  *[0-9][0-9]*  *.*$/d' -e '/^XCOMM$/s//#/' -e
'/^XCOMM[^a-zA-Z0-9_]/s/^XCOMM/#/' >imake._man
cc1: bad value (1) for -march= switch
make[2]: *** [imake.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r1/work/xc/config/imake'
make[1]: *** [imake.bootstrap] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r1/work/xc'
make: *** [World] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 252, Exitcode 2
!!! (no error message)

bash-2.05a# emerge -s xfree
 
Comment 8 Brian Dolbec (RETIRED) gentoo-dev 2002-11-06 00:56:35 UTC
I've narrowed the bug down!  here is are snipits of my
/var/tmp/portage/xfree-4.2.1-r1/work/xc/config/imake/Makefile.proto file
generated by Quote:

# Makefile generated from "Imake.tmpl" and <./config/imake/Imakefile>
# $Xorg: Imake.tmpl,v 1.4 2000/08/17 19:41:46 cpqbld Exp $



****************** notice the i486/1/i686 grouping below \/ in line 22
all::

.SUFFIXES: .i

# $Xorg: Imake.cf,v 1.4 2000/08/17 19:41:45 cpqbld Exp $

# $XFree86: xc/config/cf/Imake.cf,v 3.74 2001/11/16 16:47:50 dawes Exp $

# Keep cpp from replacing path elements containing i486/1/i686        ##line 22

#  for compatibility with 3.3.x



************** notice line 157 below \/

.SUFFIXES: .cc

              CXX = c++
          CXXFILT = c++filt
           CXXLIB =
    CXXDEBUGFLAGS = -march=1 -O2 -pipe  #note line 157
CXXDEPENDINCLUDES =
 CXXEXTRA_DEFINES =
CXXEXTRA_INCLUDES =
   CXXSTD_DEFINES = -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
-D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  $(CXXPROJECT_DEFINES)
       CXXOPTIONS =
      CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES)
       CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES)
$(DEFINES) $(CXXEXTRA_DEFINES)
         CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)



the relevant Imake.tmpl file lines are in
/var/tmp/portage/xfree-4.2.1-r1/work/xc/config/cf/Imake.tmpl

Lines 870 thru 875

#ifndef OptimizedCDebugFlags
#define OptimizedCDebugFlags -O
#endif
#ifndef OptimizedCplusplusDebugFlags
#define OptimizedCplusplusDebugFlags OptimizedCDebugFlags
#endif


Lines 894,895,896

#ifndef DefaultCplusplusDebugFlags
#define DefaultCplusplusDebugFlags OptimizedCplusplusDebugFlags
#endif

Lines 1533 thru 1549


#if HasCplusplus

.SUFFIXES: .CCsuf

              CXX = CplusplusCmd
          CXXFILT = CplusplusFilt
           CXXLIB = CplusplusLibC
    CXXDEBUGFLAGS = DefaultCplusplusDebugFlags
CXXDEPENDINCLUDES = CplusplusDependIncludes
 CXXEXTRA_DEFINES = CplusplusExtraDefines
CXXEXTRA_INCLUDES = CplusplusExtraIncludes
   CXXSTD_DEFINES = CplusplusStandardDefines $(CXXPROJECT_DEFINES)
       CXXOPTIONS = CplusplusOptions
      CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES) 
       CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES)
$(DEFINES) $(CXXEXTRA_DEFINES)
         CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
#endif


***** end code snipits *****

I do not know where to look from here, but I'm sure that someone will know where
this error is originates from.

I hope this helps,  Brian



Comment 9 Brian Dolbec (RETIRED) gentoo-dev 2002-11-20 01:02:30 UTC
I have reported the error to xfree.org and pointed to this url
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-25 20:48:09 UTC
Try the 4.2.99 ebuild in portage if you do not mind.
Comment 11 Brian Dolbec (RETIRED) gentoo-dev 2003-01-03 01:27:17 UTC
Sorry for the long delay in trying it for you.   I have been leaving my -march
flag set for i586 so it could compile, all has been fine sewt that way.

Anyway, back to the 4.2.99 ebuild.   I set my make.conf file -march=pentium
again, ran emerge in a terminal window (easier to cut & paste output) it
sucessfully updated three dependancies, but xfree-4.2.99.3-1.tar.bz2 file is
either corupt on the server or the recorded digest is incorrect.

Both downloads matched exactly which should eliminate transmission errors & any
errors caused by my machine.


Code:

!!! X4.2.99.3-1.tar.bz2: message digests do not match!
!!! X4.2.99.3-1.tar.bz2 is corrupt or incomplete.
>>> our recorded digest: 20ce3e8ad190ad8ae9aecc18cf168249
>>>  your file's digest: 799282aae5e2ea5086cd49f895a477f5
>>> Please delete /usr/portage/distfiles/X4.2.99.3-1.tar.bz2 and refetch.

bash-2.05a# rm  /usr/portage/distfiles/X4.2.99.3-1.tar.bz2
bash-2.05a# emerge /usr/portage/x11-base/xfree/xfree-4.2.99.3-r1.ebuild
Calculating dependencies ...done!
>>> emerge (1 of 2) x11-base/xfree-4.2.99.3-r1 to /
>>> Downloading
http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/X4.2.99.3-1.tar.bz2
--23:46:49-- 
http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/X4.2.99.3-1.tar.bz2
           => `/usr/portage/distfiles/X4.2.99.3-1.tar.bz2'
Resolving www.ibiblio.org... done.
Connecting to www.ibiblio.org[152.2.210.81]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21,278,682 [application/x-tar]

100%[=========================================================================>]
21,278,682   106.44K/s    ETA 00:00

23:50:04 (106.44 KB/s) - `/usr/portage/distfiles/X4.2.99.3-1.tar.bz2' saved
[21278682/21278682]


!!! X4.2.99.3-1.tar.bz2: message digests do not match!
!!! X4.2.99.3-1.tar.bz2 is corrupt or incomplete.
>>> our recorded digest: 20ce3e8ad190ad8ae9aecc18cf168249
>>>  your file's digest: 799282aae5e2ea5086cd49f895a477f5
>>> Please delete /usr/portage/distfiles/X4.2.99.3-1.tar.bz2 and refetch.

bash-2.05a# 
Comment 12 Brian Dolbec (RETIRED) gentoo-dev 2003-01-03 21:10:33 UTC
Created attachment 6936 [details]
fatal compilation error
Comment 13 Brian Dolbec (RETIRED) gentoo-dev 2003-01-03 21:12:20 UTC
I tried again today, & I got a good copy of x4.2.99.3-1.tar.bz2 .  
Unfortunately I get the same error.   Thank you for effort to resolve this bug,
although with the 1.4 release nearly here I wonder if a patch to change the
-march switch after imake runs would be simpler.   I also noted that it
downloaded the complete sourcecode, so then the bug is not in the update diff
patchcode.

In case it helps, attached is the output of the ebuild.

Thanks again, Brian.

Comment 14 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-30 02:43:42 UTC
We had some bad versions of sed-4.05 and earlier.  Please try to merge sed
with:

  # CFLAGS= CXXFLAGS= emerge sed

and then try xfree again ?
Comment 15 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-20 04:19:20 UTC
Brian, can you test xfree-4.3.0-r2 please?
Comment 16 Brian Dolbec (RETIRED) gentoo-dev 2003-04-23 23:47:08 UTC
I am sorry, but just three days before I received your email to test 4.3.0-r2 I had repartitioned & reformated the drive with the 1.2 (gcc 2.95.3) based system.   I had finaly acquired a new faster system (Athalon-XP 2000+) along with a PII dumpster find.   I have set up the computer I had the problem with, with a 4.3gig scsi drive and 1.4 based openmosix setup.  The larger hard drive I moved to the P2 computer to act as the head box for a very small open mosix cluster.

    Sorry for the long delay in responding, we are undergoing some house reno's, my ISP service has been unreliable lately, etc..   Anyway I did make sure it was up to date then started to emerge xfree-4.3.0-r2 without dependancies after changing the march=pentium from =pentium-mmx and it did begin compiling correctly.   I killed the build after a short time due to a lack of drive space and that X was not needed or desired on that system now.

I do have a couple of other pentium system discards that have not been setup as yet.  I do have a 6.4 gig hard drive available.   It should be possible to build another 1.2 based system for aditional testing if you think it neccesary.   A build on it would probably take a week unless I built it on my Athalon-XP for the pentium system, then put it in the desired system.  Or run it in the athalon machine.


LEt me know if I can still help.... Brian
Comment 17 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-24 00:08:41 UTC
we'll just close this bug report  It can be reopened if the issue crops again.