Hi Mattia,

Mattia Rizzolo a écrit :
> ...
> We now think this is the right time to enable this flag by default.
> From our builds, we can only see 4 packages which fail to build due to
> this: [...]
>     expeyes
>         https://bugs.debian.org/790103

The reason why expeyes FTBFS, is that the flag -Wdate-time is applied to
a call of avr-gcc, which is based on gcc-4.8, and ignores this flag.

So I can imagine a few workarounds:
1- some trick to prevent the use of -Wdate-time when it touches avr-gcc
2- isolate the patch which introduced the new flag into gcc-4.8 and apply
   it to make a new release of the package gcc-avr_1:4.8.1+Atmel3
3- rebase the package gcc-avr on a newer version of gcc, which may be a
   hard work. Such a work seems to exist, for example at
   https://www.archlinux.org/packages/community/x86_64/avr-gcc/ since
   last July

I may try the first workaround, just replacing manually $(CFLAGS) by
a hardwired option chain in the Makefile which calls avr-gcc.

The second and the third workarounds should imply Hakan Ardo, who
maintains the package gcc-avr. The last one sounds like a good fix
rather than a mere workaround.

Which is your opinion about this?

Best regards,                   Georges.

Attachment: signature.asc
Description: PGP signature

Reply via email to