pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/46496: lang/scm
The following reply was made to PR pkg/46496; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/46496: lang/scm
Date: Thu, 31 May 2012 06:36:20 +0000
On Tue, May 29, 2012 at 05:30:05PM +0000, Aleksey Cheusov wrote:
> From: Aleksey Cheusov <cheusov%tut.by@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc:
> Subject: Re: pkg/46496: lang/scm
> Date: Tue, 29 May 2012 20:27:52 +0300
>
> >>Description:
> > lang/scm segfaults on start on DragonFly/x86_64 (and probably FreeBSD)
because
> > of implicit declaration of getenv().
>
> Can we use -Wimplicit-function-declaration -pedantic-errors
> in our NetBSD bulk builds in order to avoid this kind of problems
> in the future?
-Werror breaks the build in pkgtools/digest. -pedantic-errors can only
be worse.
Also, injecting warning options tends to break autoconf scripts, and
injecting this particular combination for its intended purpose will
definitely break a lot of autoconf scripts.
I have been doing my test builds with -Wall -Wno-error (this too
occasionally breaks autoconf scripts) but this doesn't help until
something else actually causes the compile to fail.
If you can think of a way to inject -Wall -Werror reliably into real
compiles and not autoconf tests, I'm all ears.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index