From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac Subject: bug#39794: AVR-Toolchain-5 avr/io not found Date: Sun, 01 Mar 2020 00:44:01 +0530 Message-ID: References: <8-mv7qVc3d25SUttosRz1Kv28rGlUBHVbzOVM08cdZOa6K9O6e8RVgQFGnwI1Mh1MW2IlaqwgaBYP3W8gqMHzn8_kGzxpuwRvDfPO-0alAo=@elenq.tech> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42060) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j87Zo-0007n6-Pd for bug-guix@gnu.org; Sat, 29 Feb 2020 14:15:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j87Zn-0001aJ-M9 for bug-guix@gnu.org; Sat, 29 Feb 2020 14:15:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57661) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j87Zm-0001a3-Ox for bug-guix@gnu.org; Sat, 29 Feb 2020 14:15:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j87Zm-0004t8-Lq for bug-guix@gnu.org; Sat, 29 Feb 2020 14:15: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: Ekaitz Zarraga Cc: "39794@debbugs.gnu.org" <39794@debbugs.gnu.org> --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > ``` > QMK Firmware 0.7.163 > Making helix/rev2 with keymap default = [ERRORS] > In file included from drivers/avr/pro_micro.h:28:0, > from keyboards/helix/rev2/matrix.c:33: > /gnu/store/gq69j5j0458dcc4jp5ymq62wgnd0mscl-profile/avr/include/avr/pgmsp= ace.h:1456:25: error: unknown type name 'uint_farptr_t' > extern size_t strlen_PF(uint_farptr_t src) __ATTR_CONST__; /* program me= mory can't change */ > ``` I'm not able to reproduce this error. Could you provide the exact steps you did? Here's what I did. After applying the patch, drop into an environment with the new avr-toolcha= in. =2D-8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix environment --ad-hoc avr-toolchain =2D-8<---------------cut here---------------end--------------->8--- Check the version of avr-gcc. =2D-8<---------------cut here---------------start------------->8--- $ avr-gcc --version avr-gcc (GCC) 5.5.0 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =2D-8<---------------cut here---------------end--------------->8--- Check avr-gcc include paths. =2D-8<---------------cut here---------------start------------->8--- $ avr-gcc -E -v - Using built-in specs. Reading specs from /gnu/store/cwsiyrcm1c4c25dw0zrgajjnr9mf5k3g-avr-gcc-5.5.= 0/lib/gcc/avr/5.5.0/device-specs/specs-avr2 COLLECT_GCC=3Davr-gcc Target: avr Configured with:=20 Thread model: single gcc version 5.5.0 (GCC)=20 COLLECT_GCC_OPTIONS=3D'-E' '-v' '-specs=3Ddevice-specs/specs-avr2' /gnu/store/cwsiyrcm1c4c25dw0zrgajjnr9mf5k3g-avr-gcc-5.5.0/libexec/gcc/avr/= 5.5.0/cc1 -E -quiet -v - -mn-flash=3D6 -mskip-bug ignoring nonexistent directory "/gnu/store/cwsiyrcm1c4c25dw0zrgajjnr9mf5k3g= -avr-gcc-5.5.0/lib/gcc/avr/5.5.0/../../../../avr/sys-include" ignoring nonexistent directory "/gnu/store/cwsiyrcm1c4c25dw0zrgajjnr9mf5k3g= -avr-gcc-5.5.0/lib/gcc/avr/5.5.0/../../../../avr/include" #include "..." search starts here: #include <...> search starts here: /gnu/store/siwsk54afs7i2g04vmqmxzj69b4rb1rg-profile/avr/include /gnu/store/cwsiyrcm1c4c25dw0zrgajjnr9mf5k3g-avr-gcc-5.5.0/lib/gcc/avr/5.5.= 0/include /gnu/store/cwsiyrcm1c4c25dw0zrgajjnr9mf5k3g-avr-gcc-5.5.0/lib/gcc/avr/5.5.= 0/include-fixed End of search list. ^C =2D-8<---------------cut here---------------end--------------->8--- Navigate to qmk-firmware and clean previous build results. =2D-8<---------------cut here---------------start------------->8--- $ cd qmk-firmware $ make clean =2D-8<---------------cut here---------------end--------------->8--- I'm checking out 0.7.163 and building helix since that's what you seem to be doing. =2D-8<---------------cut here---------------start------------->8--- $ git checkout 0.7.163 $ make helix QMK Firmware 0.7.163 WARNING: Python 3 is not installed. It will be required by a future version of qmk_firmware. Please run util/qmk_install.sh to install all the dependencies QMK require= s. WARNING: Some git submodules are out of date or modified. Please consider running make git-submodule. Making helix/rev2 with keymap default = [OK] Making helix/rev2 with keymap edvorakjp = [OK] Making helix/rev2 with keymap five_rows = [OK] Making helix/rev2 with keymap five_rows_jis = [OK] Making helix/rev2 with keymap froggy = [OK] Making helix/rev2 with keymap led_test = [OK] Making helix/rev2 with keymap xulkal = [OK] Making helix/rev2 with keymap yshrsmz = [OK] =2D-8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl5at/kACgkQLiXui2GA K7MHSQgAlBhc5KeSg3TiSVqZ9wwlr1cm/16H5KF+kXSB4Jmrsr7XEBkHYtB4DJ5p 3P+zaBhRIzzDbqNy38Bc1MnMGd//zstSD6yRitDsQ69R9hEFcr2zeAEI9od0pbdb dRV9OG416ETPYjKzVGWnqOVLuB+YgLY2F1FePLBnANEFaoB6uBs/LzRTXndIgdfq 5H1d0+ujP7Oyi7Cps9kIkkdeWTN9WOwwbN3vUGFha0c7tKkjjk9M3Jh5MSUuDXGG S3VKD5064EmtdKbXZEWz1brUHLSXqCyDU6Gpl6VTZpKRokYwA8grqtOFFl1y0Onw B7T/wCtkwQtg7+1OX7cg8M2VVtvT9Q== =g19I -----END PGP SIGNATURE----- --=-=-=--