lang/guile fails to build on amd64 / 9-CURRENT

Jason Garrett kingedgar at gmail.com
Thu Mar 18 02:30:55 UTC 2010


On Wed, Mar 17, 2010 at 21:26, Jason Garrett <kingedgar at gmail.com> wrote:
> On Wed, Mar 17, 2010 at 21:06, Chuck Swiger <cswiger at mac.com> wrote:
>> On Mar 17, 2010, at 7:00 PM, Jason Garrett wrote:
>>> This must be set by default as I have set no other flags in
>>> /etc/make.conf or otherwise. How would I go about un-setting this?
>>> -Wno-error?
>>
>> Yes, that should do it:
>>
>>  touch /etc/make.conf && echo "CFLAGS += -Wno-error" >> /etc/make.conf
>>
>> Please note that I'm inferring from the compiler treating a #warning as an error; if you show more of the actual compilation line, the list might be better able to understand what the compiler flags were and where they might have been set.
>>
>> Regards,
>> --
>> -Chuck
>>
>>
>
> I set -Wno-error as suggested, it is present during compile but the
> -Werror is still set at the end. I also found where -Werror is set.
> First I need to enable sshd on the machine and get a good copy paste,
> more to come!
>

Here is the error with 2 lines on top of it, see where -Wno-error and
-Werror are both set?

./guile-snarf -o stacks.x stacks.c -DHAVE_CONFIG_H -I.. -I.. -I..
-I/usr/local/include -O2 -pipe -Wno-error -march=nocona
-fno-strict-aliasing -Wall -Wmissing-prototypes -Werror
./guile-snarf -o stime.x stime.c -DHAVE_CONFIG_H -I.. -I.. -I..
-I/usr/local/include -O2 -pipe -Wno-error -march=nocona
-fno-strict-aliasing -Wall -Wmissing-prototypes -Werror
In file included from stime.c:76:
/usr/include/sys/timeb.h:42:2: error: #warning "this file includes
<sys/timeb.h> which is deprecated"
gmake[2]: *** [stime.x] Error 1
gmake[2]: Leaving directory `/usr/ports/lang/guile/work/guile-1.8.6/libguile'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/lang/guile/work/guile-1.8.6'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/lang/guile.


More information about the freebsd-ports mailing list