Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10146 - xfree-4.2.1-r1: build failed
Summary: xfree-4.2.1-r1: build failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
: 10164 10180 22339 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-03 13:03 UTC by Markus Wagner
Modified: 2003-06-06 14:15 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Wagner 2002-11-03 13:03:41 UTC
Hi!  
  
Merging xfree-4.2.1-r1 produces following error: 
 
gcc -c -ansi -pedantic -Wno-return-type -w    -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 
-DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    -DMALLOC_0_RETURNS_NULL  
-DHAS_SNPRINTF -DLIBX11  -march=i686 -O3 -pipe   lcUTF8.c -o unshared/lcUTF8.o 
In file included from lcUTF8.c:219: 
lcUniConv/gbk.h: In function `gbk_mbtowc': 
lcUniConv/gbk.h:3155: parse error before `unsigned' 
lcUniConv/gbk.h:3158: `wc' undeclared (first use in this function) 
lcUniConv/gbk.h:3158: (Each undeclared identifier is reported only once 
lcUniConv/gbk.h:3158: for each function it appears in.) 
make[3]: *** [lcUTF8.o] Error 1 
make[3]: Leaving directory `/usr/tmp/portage/xfree-4.2.1-r1/work/xc/lib/X11' 
make[2]: *** [install] Error 2 
make[2]: Leaving directory `/usr/tmp/portage/xfree-4.2.1-r1/work/xc/lib' 
make[1]: *** [install] Error 2 
make[1]: Leaving directory `/usr/tmp/portage/xfree-4.2.1-r1/work/xc' 
make: *** [install] Error 2 
 
Markus
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-04 05:28:57 UTC
*** Bug 10164 has been marked as a duplicate of this bug. ***
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-04 05:32:35 UTC
gcc-2.95.3 problem.  Check ebuild in a bit for following in src_unpack(),
and comment of this bug # in ChangeLog, then it should be fine to merge:


--------------------
            # Do not apply this patch for gcc-2.95.3, as it cause compile to fail,
            # closing bug #10146.
            [ "`gcc-version`" = "2.95" ] && \
            [ "${x##*/}" =
"107_all_4.2.1-gcc32-internal-compiler-error.patch.bz2" ] && \
                continue
--------------------

Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-04 06:26:24 UTC
*** Bug 10180 has been marked as a duplicate of this bug. ***
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2002-11-30 10:21:22 UTC
works for me

feel free to reopen if it doesn't work
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-06 14:15:50 UTC
*** Bug 22339 has been marked as a duplicate of this bug. ***