Subject: [Fwd: Re: pkg/29863]
To: None <pkgsrc-admin@netbsd.org, gnats-admin@netbsd.org,>
From: Jared D. McNeill <jmcneill@invisible.ca>
List: pkgsrc-bugs
Date: 04/02/2005 20:31:57
--=-SqLxrPHm0U1YVFP5y0va
Content-Type: text/plain
Content-Transfer-Encoding: 7bit



--=-SqLxrPHm0U1YVFP5y0va
Content-Disposition: inline
Content-Description: Forwarded message - Re: pkg/29863
Content-Type: message/rfc822

	triton.invisible.ca (Postfix) with SMTP id 2D3152C0043 for
	<jmcneill@invisible.ca>; Sat,  2 Apr 2005 19:50:00 -0400 (AST)
	01:50:03 +0200 (MEST)
Date: Sun, 3 Apr 2005 01:50:03 +0200 (MEST)
From: "Anthony de Almeida Lopes" <guerrilla_thought@gmx.de>
To: "Jared D. McNeill" <jmcneill@invisible.ca>
MIME-Version: 1.0
References: <1112442985.194.2.camel@localhost>
Subject: Re: pkg/29863
Message-ID: <7706.1112485803@www27.gmx.net>
Content-Type: text/plain; charset="us-ascii"
	triton.invisible.ca
	autolearn=unavailable version=3.0.2
Content-Transfer-Encoding: 7bit

It seems that your patch worked (on the pkgsrc and setup that originally
cause the problem, not due to my fixing the problems i created as i'll
explain below). 

I should have added to the bug report that I had replaced the
/usr/include/machine symbolic link from /usr/include/i386 to
/usr/src/sys/arch/i386/compile/machine. I know that's not the smartest thing
to do but I was attempting to compile ifconfig and libutil without recompile
the entire source tree. That was the root of a few other problems I had with
pkgsrc. 
I also replaced my pkgsrc with
"ftp://ftp.netbsd.org/pub/pkgsrc/2005Q1/pkgsrc-2005Q1.tar.bz2"
this morning instead of using the CVS checkout and the problem went away. As
far as I know, what I had checked out of CVS was newer than that. That
shouldn't have anything to do with it though because I see from cvsweb the
fluxbox Makefile hasn't changed that much. Maybe it was something with main
pkgsrc make files. 

Hope that's helpful, maybe you can append this info to the bug report. 

Thanks for the help :)
-Anthony

> This is a known issue with the compiler that shipped with NetBSD 2.0.
> Can you try the following patch to the Makefile?
> 
> --- Makefile    30 Mar 2005 11:57:57 -0000      1.21
> +++ Makefile    2 Apr 2005 11:55:38 -0000
> @@ -23,9 +23,9 @@
> 
>  # Workaround for pkg/29825 -- older compilers apparently
>  # have problems building this package.
> -.if (${MACHINE_PLATFORM:MNetBSD-2.0*-*} != "")
> +#.if (${MACHINE_PLATFORM:MNetBSD-2.0*-*} != "")
>  BUILDLINK_TRANSFORM+=  rename:-O2:-O1
> -.endif
> +#.endif
> 
>  CONFIGURE_ARGS+=       --enable-nls
>  CONFIGURE_ARGS+=       --enable-xinerama
> 
> 

-- 
*    *    *
Anthony de Almeida Lopes
guerrilla_thought@gmx.de
AIM: whatsheon
*    *    *    

"And someone else might feel something
scratching in his mouth. he goes 
to the mirror opens his mouth: and his tongue
is an enormous, live 
centipede, rubbing its legs together and
scraping his palate. He'd like to spit 
it out, but the centipede is part of him and
he will to tear it out with his own 
hands..." -- Jean Paul Sartre 
*    *    *    

Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl


--=-SqLxrPHm0U1YVFP5y0va--