Subject: Re: pkg/29448
To: None <,,>
From: A L Meyers <>
List: pkgsrc-bugs
Date: 06/16/2005 07:06:01
The following reply was made to PR pkg/29448; it has been noted by GNATS.

From: A L Meyers <>
To: "Johnny C. Lam" <>
Subject: Re: pkg/29448
Date: Thu, 16 Jun 2005 09:04:38 +0200

 Johnny C. Lam wrote:
 > A L Meyers wrote:
 >> Johnny C. Lam wrote:
 >>> As your troubles seem to stem from building X11 packages using imake, 
 >>> try searching for "-mtune=pentiumpro" in /usr/X11R6/lib/X11/config, e.g:
 >>>     grep -- "-mtune=pentiumpro" /usr/X11R6/lib/X11/config/*
 >>> It's possible that the X.Org distribution you're using added some 
 >>> extra bits to the imake config files that may not match the compiler 
 >>> that you're using on your Mandrake Linux system.  For now, I will 
 >>> mark your PR as analyzed, since at this point, it no longer appears 
 >>> to be a pkgsrc problem.
 >  >
 >> Thanks for the suggestion, Johnny.  grep indeed found 
 >> "-mtune=pentiumpro" in the first 4 lines of config/  Full of 
 >> hope, I deleted these 4 instances but, alas, the error message when 
 >> trying to build games/tanked is still the same.  More ideas welcome.
 > Please also check in /usr/pkg/lib/X11/config.  I forgot that those files 
 > are also used by imake when using xpkgwedge.
 >     Cheers,
 >     -- Johnny Lam <>
 Hello Johnny,
 Right you are!  In the last mentioned directory resides the same 
 file  That problem is now resolved BUT a new one has 
 appeared.  Error output follows.  Thanks and regards, lux
 gcc -c -O2 -fomit-frame-pointer -pipe -march=i586 
 -fno-strict-aliasing -fno-strength-reduce    -I/usr/include/X11 
 -I/usr/pkg/include  -I/usr/X11R6/include   -Dlinux -D__i386__ 
                             -DFUNCPROTO=15 -DNARROWPROTO 
 -I/usr/include/X11   -DXVENDORNAME='"The X.Org Foundation"' 
 data.c:83: error: parse error before "__extension__"
 data.c:83: error: `__len' undeclared here (not in a function)
 data.c:83: error: initializer element is not constant
 data.c:83: error: parse error before "if"
 data.c:83: error: conflicting types for `__retval'
 data.c:83: error: previous declaration of `__retval'
 data.c:83: warning: data definition has no type or storage class
 data.c:83: error: parse error before '}' token
 make[2]: *** [data.o] Error 1
 make[2]: Leaving directory 
 make[1]: *** [all] Error 2
 make[1]: Leaving directory 
 make: *** [all] Error 2
 *** Error code 2
 bmake: stopped in /usr/pkgsrc/games/tanked
 ===> There was an error during the ``build'' phase.
 ===> Please investigate the following for more information:
 ===>      * log of the build
 ===>      * /usr/pkgsrc/games/tanked/work/.work.log
 *** Error code 1
 bmake: stopped in /usr/pkgsrc/games/tanked
 *** Error code 1