[sugar] Error building squeak in jhbuild on Ubuntu 8.10

Bert Freudenberg bert at freudenbergs.de
Mon Nov 17 06:23:51 EST 2008


On 17.11.2008, at 12:11, Morgan Collett wrote:

> On Thu, Nov 6, 2008 at 13:01, Morgan Collett  
> <morgan.collett at gmail.com> wrote:
>> When building jhbuild on Ubuntu 8.10, I get the following error  
>> building squeak:
>>
>> cc1: warnings being treated as errors
>> In function 'ms_ps2_disable':
>> /home/morgan/sugar-jhbuild/source/squeak/platforms/unix/vm-display- 
>> fbdev/sqUnixFBDevMousePS2.c:144:
>> error: ignoring return value of 'write', declared with attribute
>> warn_unused_result
>>
>> This has also been reported by the developer packaging squeak for  
>> Ubuntu:
>> https://bugs.launchpad.net/ubuntu/+source/squeak-vm/+bug/254547
>>
>> That bug report suggests building with -D_FORTIFY_SOURCE=0 - or is
>> there a better way of fixing this?
>
> For the record, I did get squeak to build in jhbuild by manually
> configuring it with -D_FORTIFY_SOURCE=0. Is this an appropriate fix
> suitable for upstream, or can somebody suggest a better approach?

I had forwarded your report upstream on Nov. 6 but have not heard back  
yet. I'll ping him again.

In the mean time disabling the fortification seems like a good  
workaround.

- Bert -




More information about the Sugar mailing list