Re: tkgate failed on i586 contrib (localhost.localdomain)

"N. Thompson" <[email protected]> Mon, 19 Dec 2005 17:59:55 -0600
Newsgroups gmane.linux.arklinux.devel
Message-ID <[email protected]>
Hey everyone,

I need some help with this one, I am unable to reproduce the problem on 
my own computer and the error message seems to be telling me that it 
messed up one of the files but aside from that I can't tell what went wrong.

arklinux wrote:

>tkgate failed to build on i586 for contrib.
>Last 250 lines of build log:
>
>drwxr-xr-x arklinux/arklinux      0 2005-04-29 15:35:28 tkgate-1.8.6/locale/
>drwxr-xr-x arklinux/arklinux      0 2004-06-08 18:52:13 tkgate-1.8.6/locale/en/
>drwxr-xr-x arklinux/arklinux      0 2004-02-18 20:16:29 tkgate-1.8.6/locale/en/examples/
>drwxr-xr-x arklinux/arklinux      0 2004-02-18 20:15:24 tkgate-1.8.6/locale/en/examples/ex1/
>-rw-r--r-- arklinux/arklinux   5022 2002-01-07 14:06:52 tkgate-1.8.6/locale/en/examples/ex1/combinational.v
>drwxr-xr-x arklinux/arklinux      0 2004-02-18 20:15:24 tkgate-1.8.6/locale/en/examples/ex2/
>-rw-r--r-- arklinux/arklinux   2970 2002-01-07 14:06:58 tkgate-1.8.6/locale/en/examples/ex2/flipflop.v
>drwxr-xr-x arklinux/arklinux      0 2004-02-18 20:15:24 tkgate-1.8.6/locale/en/examples/ex3/
>-rw-r--r-- arklinux/arklinux   2703 2002-01-07 14:07:03 tkgate-1.8.6/locale/en/examples/ex3/counter.v
>drwxr-xr-x arklinux/arklinux      0 2004-02-18 20:15:24 tkgate-1.8.6/locale/en/examples/ex4/
>-rw-r--r-- arklinux/arklinux   5342 2002-01-07 14:07:08 tkgate-1.8.6/locale/en/examples/ex4/trff.v
>drwxr-xr-x arklinux/arklinux      0 2004-09-02 13:27:08 tkgate-1.8.6/locale/en/examples/ex5/
>-rw-r--r-- arklinux/arklinux  72118 2004-07-07 22:42:46 tkgate-1.8.6/locale/en/examples/ex5/menagerie.v
>-rw-r--r-- arklinux/arklinux    787 2001-06-11 20:44:36 tkgate-1.8.6/locale/en/examples/ex5/menagerie.gss
>-rw-r--r-- arklinux/arklinux  53926 2004-07-08 12:58:57 tkgate-1.8.6/locale/en/examples/ex5/menagerie.gm
>-rw-r--r-- arklinux/arklinux  11012 2004-07-08 12:59:00 tkgate-1.8.6/locale/en/examples/ex5/menagerie.mem
>-rw-r--r-- arklinux/arklinux   5463 2001-06-11 20:44:36 tkgate-1.8.6/locale/en/examples/ex5/menagerie.map
>-rw-r--r-- arklinux/arklinux   8604 2001-06-11 20:44:36 tkgate-1.8.6/locale/en/examples/ex5/x-menagerie.mem
>drwxr-xr-x arklinux/arklinux      0 2004-06-09 17:46:51 tkgate-1.8.6/locale/en/tutorials/
>-rw-r--r-- arklinux/arklinux   6961 2004-02-18 20:13:32 tkgate-1.8.6/locale/en/tutorials/edit1_tut.v
>-rw-r--r-- arklinux/arklinux   3854 2004-02-18 20:13:32 tkgate-1.8.6/locale/en/tutorials/edit2_tut.v
>-rw-r--r-- arklinux/arklinux   7285 2004-02-18 20:13:32 tkgate-1.8.6/locale/en/tutorials/module_tut.v
>-rw-r--r-- arklinux/arklinux   6006 2004-02-18 20:13:32 tkgate-1.8.6/locale/en/tutorials/sim_tut.v
>-rw-r--r-- arklinux/arklinux  15229 2004-06-09 17:01:09 tkgate-1.8.6/locale/en/tutorials/welcome_tut.v
>-rw-r--r-- arklinux/arklinux   5761 2004-02-18 20:13:32 tkgate-1.8.6/locale/en/tutorials/seqsim_tut.v
>-rw-r--r-- arklinux/arklinux   4471 2004-03-18 15:21:45 tkgate-1.8.6/locale/en/tutorials/create_tut.v
>-rw-r--r-- arklinux/arklinux   4432 2004-02-18 20:13:32 tkgate-1.8.6/locale/en/tutorials/create_tut.v.orig
>-rw-r--r-- arklinux/arklinux  10036 2004-02-18 20:13:32 tkgate-1.8.6/locale/en/tutorials/edwire_tut.v
>-rw-r--r-- arklinux/arklinux  28237 2004-06-04 14:37:11 tkgate-1.8.6/locale/en/messages
>drwxr-xr-x arklinux/arklinux      0 2004-06-04 14:43:55 tkgate-1.8.6/locale/ja/
>-rw-r--r-- arklinux/arklinux  27576 2004-06-04 14:41:38 tkgate-1.8.6/locale/ja/messages.euc
>drwxr-xr-x arklinux/arklinux      0 2004-06-09 17:46:51 tkgate-1.8.6/locale/ja/tutorials/
>-rw-r--r-- arklinux/arklinux   3824 2002-01-11 21:24:29 tkgate-1.8.6/locale/ja/tutorials/create_tut.v
>-rw-r--r-- arklinux/arklinux   6295 2002-01-11 21:24:32 tkgate-1.8.6/locale/ja/tutorials/edit1_tut.v
>-rw-r--r-- arklinux/arklinux   3459 2002-01-11 21:24:34 tkgate-1.8.6/locale/ja/tutorials/edit2_tut.v
>-rw-r--r-- arklinux/arklinux   7392 2002-01-11 21:24:39 tkgate-1.8.6/locale/ja/tutorials/module_tut.v
>-rw-r--r-- arklinux/arklinux   6108 2002-01-11 21:24:41 tkgate-1.8.6/locale/ja/tutorials/sim_tut.v
>-rw-r--r-- arklinux/arklinux  14992 2004-06-09 17:03:38 tkgate-1.8.6/locale/ja/tutorials/welcome_tut.v
>-rw-r--r-- arklinux/arklinux   5881 2004-03-09 18:11:15 tkgate-1.8.6/locale/ja/tutorials/seqsim_tut.v
>-rw-r--r-- arklinux/arklinux  10148 2002-01-11 21:24:37 tkgate-1.8.6/locale/ja/tutorials/edwire_tut.v
>-rw-r--r-- arklinux/arklinux   3793 2001-06-11 20:44:36 tkgate-1.8.6/locale/ja/tutorials/create_tut.v.orig
>-rw-r--r-- arklinux/arklinux   6219 2001-06-11 20:44:36 tkgate-1.8.6/locale/ja/tutorials/edit1_tut.v.orig
>-rw-r--r-- arklinux/arklinux   3427 2001-06-11 20:44:36 tkgate-1.8.6/locale/ja/tutorials/edit2_tut.v.orig
>-rw-r--r-- arklinux/arklinux  14987 2001-06-11 20:44:36 tkgate-1.8.6/locale/ja/tutorials/welcome_tut.v.orig
>-rw-r--r-- arklinux/arklinux  35140 2005-01-05 13:53:42 tkgate-1.8.6/locale/ja/messages
>-rw-r--r-- arklinux/arklinux  35140 2004-06-04 14:42:42 tkgate-1.8.6/locale/ja/messages.utf8
>drwxr-xr-x arklinux/arklinux      0 2004-09-15 12:33:08 tkgate-1.8.6/locale/de/
>drwxr-xr-x arklinux/arklinux      0 2004-02-18 20:56:09 tkgate-1.8.6/locale/de/examples/
>drwxr-xr-x arklinux/arklinux      0 2004-02-20 16:20:46 tkgate-1.8.6/locale/de/examples/ex1/
>-rw-r--r-- arklinux/arklinux   5119 2004-02-13 14:02:13 tkgate-1.8.6/locale/de/examples/ex1/combinational.v
>drwxr-xr-x arklinux/arklinux      0 2004-02-20 16:20:46 tkgate-1.8.6/locale/de/examples/ex2/
>-rw-r--r-- arklinux/arklinux   2970 2002-01-07 14:06:58 tkgate-1.8.6/locale/de/examples/ex2/flipflop.v
>drwxr-xr-x arklinux/arklinux      0 2004-02-20 16:20:46 tkgate-1.8.6/locale/de/examples/ex3/
>-rw-r--r-- arklinux/arklinux   2805 2004-02-13 14:07:31 tkgate-1.8.6/locale/de/examples/ex3/counter.v
>drwxr-xr-x arklinux/arklinux      0 2004-02-20 16:20:46 tkgate-1.8.6/locale/de/examples/ex4/
>-rw-r--r-- arklinux/arklinux   5449 2004-02-13 14:10:28 tkgate-1.8.6/locale/de/examples/ex4/trff.v
>drwxr-xr-x arklinux/arklinux      0 2004-02-20 16:20:46 tkgate-1.8.6/locale/de/examples/ex5/
>-rw-r--r-- arklinux/arklinux  69895 2004-02-13 14:33:23 tkgate-1.8.6/locale/de/examples/ex5/menagerie.v
>-rw-r--r-- arklinux/arklinux    787 2001-06-11 20:44:36 tkgate-1.8.6/locale/de/examples/ex5/menagerie.gss
>-rw-r--r-- arklinux/arklinux  46451 2001-06-11 20:44:36 tkgate-1.8.6/locale/de/examples/ex5/menagerie.gm
>-rw-r--r-- arklinux/arklinux   8560 2001-06-11 20:44:36 tkgate-1.8.6/locale/de/examples/ex5/menagerie.mem
>-rw-r--r-- arklinux/arklinux   5463 2001-06-11 20:44:36 tkgate-1.8.6/locale/de/examples/ex5/menagerie.map
>-rw-r--r-- arklinux/arklinux   8604 2001-06-11 20:44:36 tkgate-1.8.6/locale/de/examples/ex5/x-menagerie.mem
>-rw-r--r-- arklinux/arklinux  31212 2004-09-15 12:32:33 tkgate-1.8.6/locale/de/messages
>drwxr-xr-x arklinux/arklinux      0 2004-06-09 17:46:51 tkgate-1.8.6/locale/de/tutorials/
>-rw-r--r-- arklinux/arklinux   7331 2004-03-09 20:44:49 tkgate-1.8.6/locale/de/tutorials/edit1_tut.v
>-rw-r--r-- arklinux/arklinux   3937 2003-07-10 19:44:30 tkgate-1.8.6/locale/de/tutorials/edit2_tut.v
>-r--r--r-- arklinux/arklinux  10413 2003-07-10 19:44:30 tkgate-1.8.6/locale/de/tutorials/edwire_tut.v
>-r--r--r-- arklinux/arklinux   7738 2003-07-10 19:44:30 tkgate-1.8.6/locale/de/tutorials/module_tut.v
>-r--r--r-- arklinux/arklinux   5844 2004-02-13 09:09:37 tkgate-1.8.6/locale/de/tutorials/seqsim_tut.v
>-r--r--r-- arklinux/arklinux   6072 2004-02-13 09:13:09 tkgate-1.8.6/locale/de/tutorials/sim_tut.v
>-r--r--r-- arklinux/arklinux   4663 2003-07-10 19:44:30 tkgate-1.8.6/locale/de/tutorials/create_tut.v
>-rw-r--r-- arklinux/arklinux  15388 2004-06-09 17:13:49 tkgate-1.8.6/locale/de/tutorials/welcome_tut.v
>drwxr-xr-x arklinux/arklinux      0 2004-02-18 20:47:13 tkgate-1.8.6/locale/fr/
>-rw-r--r-- arklinux/arklinux  27903 2001-06-11 20:44:36 tkgate-1.8.6/locale/fr/messages
>drwxr-xr-x arklinux/arklinux      0 2004-02-18 20:46:46 tkgate-1.8.6/locale/cy/
>-rw-r--r-- arklinux/arklinux  27055 2003-04-21 17:23:21 tkgate-1.8.6/locale/cy/messages
>drwxr-xr-x arklinux/arklinux      0 2004-02-18 20:46:39 tkgate-1.8.6/locale/ca/
>-rw-r--r-- arklinux/arklinux  28664 2004-02-09 15:13:42 tkgate-1.8.6/locale/ca/messages
>drwxr-xr-x arklinux/arklinux      0 2004-02-18 20:47:02 tkgate-1.8.6/locale/es/
>-rw-r--r-- arklinux/arklinux  27760 2001-06-11 20:44:36 tkgate-1.8.6/locale/es/messages
>drwxr-xr-x arklinux/arklinux      0 2004-05-31 19:35:22 tkgate-1.8.6/locale/it/
>-rw-r--r-- arklinux/arklinux  30502 2004-05-31 19:34:38 tkgate-1.8.6/locale/it/messages
>drwxr-xr-x arklinux/arklinux      0 2004-11-29 21:52:01 tkgate-1.8.6/locale/it/tutorials/
>-rw-r--r-- arklinux/arklinux   6215 2004-05-31 18:42:22 tkgate-1.8.6/locale/it/tutorials/seqsim_tut.v
>-rw-r--r-- arklinux/arklinux  10187 2004-05-31 18:42:22 tkgate-1.8.6/locale/it/tutorials/edwire_tut.v
>-rw-r--r-- arklinux/arklinux   4386 2004-05-31 18:42:22 tkgate-1.8.6/locale/it/tutorials/create_tut.v
>-rw-r--r-- arklinux/arklinux  15157 2004-06-09 17:14:11 tkgate-1.8.6/locale/it/tutorials/welcome_tut.v
>-rw-r--r-- arklinux/arklinux   5916 2004-11-29 19:16:32 tkgate-1.8.6/locale/it/tutorials/sim_tut.v
>-rw-r--r-- arklinux/arklinux   7231 2004-05-31 18:42:22 tkgate-1.8.6/locale/it/tutorials/edit1_tut.v
>-rw-r--r-- arklinux/arklinux   7209 2004-05-31 18:42:22 tkgate-1.8.6/locale/it/tutorials/module_tut.v
>-rw-r--r-- arklinux/arklinux   3705 2004-05-31 18:42:22 tkgate-1.8.6/locale/it/tutorials/edit2_tut.v
>drwxr-xr-x arklinux/arklinux      0 2004-05-31 18:42:53 tkgate-1.8.6/locale/it/examples/
>drwxr-xr-x arklinux/arklinux      0 2004-05-31 19:08:07 tkgate-1.8.6/locale/it/examples/ex1/
>-rw-r--r-- arklinux/arklinux   5095 2004-05-31 18:42:53 tkgate-1.8.6/locale/it/examples/ex1/combinational.v
>drwxr-xr-x arklinux/arklinux      0 2004-06-08 18:52:13 tkgate-1.8.6/locale/it/examples/ex2/
>-rw-r--r-- arklinux/arklinux   4381 2004-05-31 18:42:53 tkgate-1.8.6/locale/it/examples/ex2/flipflop.v
>drwxr-xr-x arklinux/arklinux      0 2004-05-31 19:08:07 tkgate-1.8.6/locale/it/examples/ex3/
>-rw-r--r-- arklinux/arklinux   3039 2004-05-31 18:42:53 tkgate-1.8.6/locale/it/examples/ex3/counter.v
>drwxr-xr-x arklinux/arklinux      0 2004-05-31 19:06:40 tkgate-1.8.6/locale/it/examples/ex4/
>-rw-r--r-- arklinux/arklinux   5091 2004-05-31 18:42:53 tkgate-1.8.6/locale/it/examples/ex4/trff.v
>drwxr-xr-x arklinux/arklinux      0 2004-05-31 19:08:07 tkgate-1.8.6/locale/it/examples/ex5/
>-rw-r--r-- arklinux/arklinux   8604 2004-05-31 18:42:53 tkgate-1.8.6/locale/it/examples/ex5/x-menagerie.mem
>-rw-r--r-- arklinux/arklinux  69697 2004-05-31 18:42:53 tkgate-1.8.6/locale/it/examples/ex5/menagerie.v
>-rw-r--r-- arklinux/arklinux    787 2004-05-31 18:42:53 tkgate-1.8.6/locale/it/examples/ex5/menagerie.gss
>-rw-r--r-- arklinux/arklinux   5463 2004-05-31 18:42:53 tkgate-1.8.6/locale/it/examples/ex5/menagerie.map
>-rw-r--r-- arklinux/arklinux   8560 2004-05-31 18:42:53 tkgate-1.8.6/locale/it/examples/ex5/menagerie.mem
>-rw-r--r-- arklinux/arklinux  46451 2004-05-31 18:42:53 tkgate-1.8.6/locale/it/examples/ex5/menagerie.gm
>drwxr-xr-x arklinux/arklinux      0 2004-09-02 12:44:14 tkgate-1.8.6/locale/cs/
>-rw-r--r-- arklinux/arklinux  31043 2004-09-01 14:39:32 tkgate-1.8.6/locale/cs/messages
>drwxr-xr-x arklinux/arklinux      0 2004-08-04 19:59:28 tkgate-1.8.6/locale/cs/examples/
>drwxr-xr-x arklinux/arklinux      0 2004-09-01 09:36:11 tkgate-1.8.6/locale/cs/examples/ex1/
>-rw-r--r-- arklinux/arklinux   5028 2004-09-01 09:36:11 tkgate-1.8.6/locale/cs/examples/ex1/combinational.v
>drwxr-xr-x arklinux/arklinux      0 2004-08-05 13:16:33 tkgate-1.8.6/locale/cs/examples/ex2/
>-rw-r--r-- arklinux/arklinux   2970 2004-08-04 19:59:28 tkgate-1.8.6/locale/cs/examples/ex2/flipflop.v
>drwxr-xr-x arklinux/arklinux      0 2004-09-01 14:45:03 tkgate-1.8.6/locale/cs/examples/ex3/
>-rw-r--r-- arklinux/arklinux   2792 2004-09-01 09:44:57 tkgate-1.8.6/locale/cs/examples/ex3/counter.v
>drwxr-xr-x arklinux/arklinux      0 2004-09-01 10:02:16 tkgate-1.8.6/locale/cs/examples/ex4/
>-rw-r--r-- arklinux/arklinux   5298 2004-09-01 10:02:16 tkgate-1.8.6/locale/cs/examples/ex4/trff.v
>drwxr-xr-x arklinux/arklinux      0 2004-09-01 14:24:56 tkgate-1.8.6/locale/cs/examples/ex5/
>-rw-r--r-- arklinux/arklinux  69719 2004-09-01 14:24:56 tkgate-1.8.6/locale/cs/examples/ex5/menagerie.v
>-rw-r--r-- arklinux/arklinux    787 2004-08-04 19:59:28 tkgate-1.8.6/locale/cs/examples/ex5/menagerie.gss
>-rw-r--r-- arklinux/arklinux  46451 2004-08-04 19:59:28 tkgate-1.8.6/locale/cs/examples/ex5/menagerie.gm
>-rw-r--r-- arklinux/arklinux   8560 2004-08-04 19:59:28 tkgate-1.8.6/locale/cs/examples/ex5/menagerie.mem
>-rw-r--r-- arklinux/arklinux   5463 2004-08-04 19:59:28 tkgate-1.8.6/locale/cs/examples/ex5/menagerie.map
>-rw-r--r-- arklinux/arklinux   8604 2004-08-04 19:59:28 tkgate-1.8.6/locale/cs/examples/ex5/x-menagerie.mem
>drwxr-xr-x arklinux/arklinux      0 2004-09-01 14:44:46 tkgate-1.8.6/locale/cs/tutorials/
>-rw-r--r-- arklinux/arklinux   7323 2004-08-13 15:57:30 tkgate-1.8.6/locale/cs/tutorials/edit1_tut.v
>-rw-r--r-- arklinux/arklinux   3859 2004-08-31 10:53:13 tkgate-1.8.6/locale/cs/tutorials/edit2_tut.v
>-rw-r--r-- arklinux/arklinux   7442 2004-08-13 17:13:06 tkgate-1.8.6/locale/cs/tutorials/module_tut.v
>-rw-r--r-- arklinux/arklinux   5927 2004-09-01 14:11:36 tkgate-1.8.6/locale/cs/tutorials/sim_tut.v
>-rw-r--r-- arklinux/arklinux  15175 2004-08-31 10:33:43 tkgate-1.8.6/locale/cs/tutorials/welcome_tut.v
>-rw-r--r-- arklinux/arklinux   5736 2004-09-01 14:17:17 tkgate-1.8.6/locale/cs/tutorials/seqsim_tut.v
>-rw-r--r-- arklinux/arklinux   4359 2004-08-31 10:43:43 tkgate-1.8.6/locale/cs/tutorials/create_tut.v
>-rw-r--r-- arklinux/arklinux   9980 2004-09-01 13:59:12 tkgate-1.8.6/locale/cs/tutorials/edwire_tut.v
>drwxr-xr-x arklinux/arklinux      0 2005-04-29 15:35:35 tkgate-1.8.6/locale/pl/
>-rw------- arklinux/arklinux  26715 2005-04-29 15:35:00 tkgate-1.8.6/locale/pl/messages
>+ STATUS=0
>+ '[' 0 -ne 0 ']'
>+ cd tkgate-1.8.6
>++ /usr/bin/id -u
>+ '[' 0 = 0 ']'
>+ /bin/chown -Rhf root .
>++ /usr/bin/id -u
>+ '[' 0 = 0 ']'
>+ /bin/chgrp -Rhf root .
>+ /bin/chmod -Rf a+rX,g-w,o-w .
>+ echo 'Patch #0 (tkgate-imakefile.patch):'
>Patch #0 (tkgate-imakefile.patch):
>+ patch -p0 -b --suffix '~.imakefile_patch' -s
>+ CFLAGS='-O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb -frename-registers'
>+ export CFLAGS
>+ CXXFLAGS='-O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb -frename-registers -fvisibility-inlines-hidden'
>+ export CXXFLAGS
>+ FFLAGS='-O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb -frename-registers'
>+ export FFLAGS
>+ '[' 0 = 1 ']'
>+ '[' 0 = 1 ']'
>+ CROSSCOMPILE='--target=i586-ark-linux --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu'
>+ '[' %cross '!=' %cross -a -n %cross ']'
>+ export CROSSCOMPILE
>+ ./configure --target=i586-ark-linux --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --program-prefix= --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info
>C compiler: gcc
>Auto-configuring language to 'en' (LANG=C).
>Tcl/Tk Version: 8.4
>Configuring for Western language support.
>Tcl script files found in: /usr/lib/tcl8.4
>Tk script files found in: /usr/lib/tk8.4
>bison found
>flex found
>lex test OK.
>yyrestart found.
>found X11/Xlib.h in: /usr/X11R6/include
>long long supported
>getopt does not use optreset.
>getopt ok
>*** updating config.h
>tail: cannot open `+377' for reading: No such file or directory
>*** doing xmkmf
>In file included from ./Imakefile:19,
>                 from /usr/X11R6/lib/X11/config/Imake.tmpl:2194,
>                 from Imakefile.c:36:
>/config.h:385: error: #endif without #if
>/config.h:387: error: #endif without #if
>imake: Exit code 1.
>  Stop.
>In file included from ./Imakefile:2,
>                 from /usr/X11R6/lib/X11/config/Imake.tmpl:2194,
>                 from Imakefile.c:36:
>/../../config.h:385: error: #endif without #if
>/../../config.h:387: error: #endif without #if
>imake: Exit code 1.
>  Stop.
>In file included from ./Imakefile:18,
>                 from /usr/X11R6/lib/X11/config/Imake.tmpl:2194,
>                 from Imakefile.c:36:
>/../../config.h:385: error: #endif without #if
>/../../config.h:387: error: #endif without #if
>imake: Exit code 1.
>  Stop.
>In file included from ./Imakefile:2,
>                 from /usr/X11R6/lib/X11/config/Imake.tmpl:2194,
>                 from Imakefile.c:36:
>/../../config.h:385: error: #endif without #if
>/../../config.h:387: error: #endif without #if
>imake: Exit code 1.
>  Stop.
>In file included from ./Imakefile:18,
>                 from /usr/X11R6/lib/X11/config/Imake.tmpl:2194,
>                 from Imakefile.c:36:
>/../../config.h:385: error: #endif without #if
>/../../config.h:387: error: #endif without #if
>imake: Exit code 1.
>  Stop.
>*** doing includes
>Makefile:8: *** missing separator.  Stop.
>*** doing dependencies
>Makefile:8: *** missing separator.  Stop.
>*************************************************************
>Configuration Results:
>  Language Support: Western (English and European)
>  C Compiler:       gcc
>  Tcl/Tk Version:   8.4
>  Library Path:      -L/usr/lib -L/usr/X11R6/lib
>  Include Path:      -I/usr/include -I/usr/X11R6/include
>  Libraries:         -ltk8.4 -ltcl8.4 -lX11 -ldl -lnsl -lm
>  Primary Home:     /usr/X11R6/lib/tkgate-1.8.6
>  Secondary Home:   /build-tkgate-i586/BUILD/tkgate-1.8.6
>  optreset usage:   0
>  long long usage:  1
>  Ephemeral Signal: 1
>  Use sigset:       0
>  Yacc:             bison -y
>  Lex:              flex -l
>  No yyrestart:     0
>*************************************************************
>* Configuration complete - type 'make' to compile.
>*************************************************************
>+ exit 0
>Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.90275
>+ umask 022
>+ cd /build-tkgate-i586/BUILD
>+ cd tkgate-1.8.6
>+ make
>Makefile:8: *** missing separator.  Stop.
>error: Bad exit status from /var/tmp/rpm-tmp.90275 (%build)
>
>
>RPM build errors:
>    Bad exit status from /var/tmp/rpm-tmp.90275 (%build)
>