all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arun Isaac <arunisaac@systemreboot.net>
To: Ekaitz Zarraga <ekaitz@elenq.tech>
Cc: "39794@debbugs.gnu.org" <39794@debbugs.gnu.org>
Subject: bug#39794: AVR-Toolchain-5 avr/io not found
Date: Sun, 01 Mar 2020 00:44:01 +0530	[thread overview]
Message-ID: <cu74kv98ava.fsf@systemreboot.net> (raw)
In-Reply-To: <oA29bIHZ_fTXvpsci0dfZivkQ-2w54UWb4vEG4vbtIQvRo43X_QQlB8qb5X-H0AmJjtjAN5XhUESUM8umWtmT7E86XZ__EZynZO2hSaxwsg=@elenq.tech>

[-- Attachment #1: Type: text/plain, Size: 4206 bytes --]


> ```
> 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/pgmspace.h:1456:25: error: unknown type name 'uint_farptr_t'
>  extern size_t strlen_PF(uint_farptr_t src) __ATTR_CONST__; /* program memory 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-toolchain.

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix environment --ad-hoc avr-toolchain
--8<---------------cut here---------------end--------------->8---

Check the version of avr-gcc.

--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.
--8<---------------cut here---------------end--------------->8---

Check avr-gcc include paths.

--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=avr-gcc
Target: avr
Configured with: 
Thread model: single
gcc version 5.5.0 (GCC) 
COLLECT_GCC_OPTIONS='-E' '-v' '-specs=device-specs/specs-avr2'
 /gnu/store/cwsiyrcm1c4c25dw0zrgajjnr9mf5k3g-avr-gcc-5.5.0/libexec/gcc/avr/5.5.0/cc1 -E -quiet -v - -mn-flash=6 -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
--8<---------------cut here---------------end--------------->8---

Navigate to qmk-firmware and clean previous build results.

--8<---------------cut here---------------start------------->8---
$ cd qmk-firmware
$ make clean
--8<---------------cut here---------------end--------------->8---

I'm checking out 0.7.163 and building helix since that's what you seem
to be doing.

--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 requires.

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]
--8<---------------cut here---------------end--------------->8---

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  parent reply	other threads:[~2020-02-29 19:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-25 22:12 bug#39794: AVR-Toolchain-5 avr/io not found Ekaitz Zarraga
2020-02-26  8:44 ` Ekaitz Zarraga
2020-02-28 22:42   ` Ekaitz Zarraga
2020-02-29 15:06     ` Arun Isaac
2020-02-29 15:46       ` Ekaitz Zarraga
2020-02-29 15:58         ` Ekaitz Zarraga
2020-02-29 19:14         ` Arun Isaac [this message]
2020-02-29 19:26           ` Ekaitz Zarraga
2020-02-29 20:42             ` Arun Isaac
2020-02-29 21:19               ` Ekaitz Zarraga
2020-03-01  7:07                 ` Arun Isaac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cu74kv98ava.fsf@systemreboot.net \
    --to=arunisaac@systemreboot.net \
    --cc=39794@debbugs.gnu.org \
    --cc=ekaitz@elenq.tech \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.