pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/29452



On Wed, 2005-06-15 at 11:39 +0200, A L Meyers wrote:
> jmmv%netbsd.org@localhost wrote:
> > Synopsis: package games/xbill does not build
> > 
> > State-Changed-From-To: open->feedback
> > State-Changed-By: jmmv%netbsd.org@localhost
> > State-Changed-When: Tue, 14 Jun 2005 17:09:37 +0000
> > State-Changed-Why:
> > I've just commited a fix for this.  Does it solve your problem?
> > 
> Tks.  Using newest pkgsrc 15/06, regret that games/xbill still 
> does not build.  Output follows.  lux
[...]
> ===> Building for xbill-2.0nb1
> g++ -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro 
> -fno-strict-aliasing -fno-strength-reduce   -I. 
> -I/usr/pkg/include  -I/usr/X11R6/include  -Dlinux -D__i386__ 
> -D_POSIX_C_SOURCE=199309L 
> -D_POSIX_SOURCE -D_XOPEN_SOURCE 
> -D_BSD_SOURCE -D_SVID_SOURCE 
>                              -Dathena 
> -DXBILL_HOME=\"/usr/pkg/share/xbill/\"  -DVARBASE=\"/var\" 
> -I/usr/pkg/include -I/usr/X11R6/include  -c -o Bucket.o Bucket.cc
> cc1plus: error: invalid option `tune=pentiumpro'
> make: *** [Bucket.o] Error 1
> *** Error code 2
[...]

This is most likely a local configuration problem in your box.  You seem
to have '-mtune=pentiumpro' somewhere in your compiler flags, such as
CFLAGS in mk.conf or in the environment.  I don't know which version of
GCC you are using (although from another bug report, it *seemed* 2.95),
but it doesn't like that option.  Removing it from wherever it's defined
should be fine.

-- 
Julio M. Merino Vidal <jmmv84%gmail.com@localhost>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/




Home | Main Index | Thread Index | Old Index