From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ekaitz Zarraga Subject: bug#39794: AVR-Toolchain-5 avr/io not found Date: Sat, 29 Feb 2020 21:19:43 +0000 Message-ID: References: <8-mv7qVc3d25SUttosRz1Kv28rGlUBHVbzOVM08cdZOa6K9O6e8RVgQFGnwI1Mh1MW2IlaqwgaBYP3W8gqMHzn8_kGzxpuwRvDfPO-0alAo=@elenq.tech> Reply-To: Ekaitz Zarraga Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55562) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j89Wl-0000EY-VZ for bug-guix@gnu.org; Sat, 29 Feb 2020 16:20:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j89Wl-0000Cm-0R for bug-guix@gnu.org; Sat, 29 Feb 2020 16:20:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57749) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j89Wk-0000Cc-I4 for bug-guix@gnu.org; Sat, 29 Feb 2020 16:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j89Wk-000801-DV for bug-guix@gnu.org; Sat, 29 Feb 2020 16:20:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Arun Isaac Cc: "39794@debbugs.gnu.org" <39794@debbugs.gnu.org> > > I can replicate what you did and it works. > > Nice! :-) > > > May it be conflicting with other packages? > > arm-none-eabi-toolchain is conflicting with avr-toolchain since both are > setting the CROSS_* environment variables. See the output of `avr-gcc -E = -v -` below. > > This should probably be considered a bug. But I have no idea how to fix > this. :-( What do you think? I agree. The problem I see here is the environment variable game we have he= re. One option is to create cross compilers with the include paths inserted on = them instead of taking environment variables as a default. If they had the correct directories in their default includepaths everythin= g would work correctly. I never did this before but it should be possible, probably affecting cross= -gcc's configure step. > Also, our avr-gcc package should probably be updated to the latest > avr-gcc-9. Once the current fix is applied next fixes should be possible. Why wasn't the patch included in the project? We can start by pushing it and then keep solving the conflict issue and the= upgrades to gcc-9. Have to say that nature of Guix makes the conflict issue easy to avoid whil= e we find a solution for it.