GNU bug report logs - #23984
Bug avr-toolchain

Previous Next

Package: guix;

Reported by: Daniel Pimentel <d4n1 <at> d4n1.org>

Date: Thu, 14 Jul 2016 15:38:01 UTC

Severity: normal

Done: Danny Milosavljevic <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23984 in the body.
You can then email your comments to 23984 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#23984; Package guix. (Thu, 14 Jul 2016 15:38:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Pimentel <d4n1 <at> d4n1.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 14 Jul 2016 15:38:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Daniel Pimentel <d4n1 <at> d4n1.org>
To: bug-guix <at> gnu.org
Subject: Bug avr-toolchain
Date: Thu, 14 Jul 2016 11:18:52 -0300
Guix,

I'd like report a bug in our avr-toolchain. I try compile to Arduino 
plataform using Microscheme (installed with: guix package -i 
microscheme) on GuixSD, but there are errors.

I did:
sudo microscheme -m UNO -d /dev/ttyACM0 -au lightom.ms

Output:
...
32 lines compiled OK
Assembling...
...
avr-ld: cannot find crtatmega328p.o: No such file or directory
...
avrdude: Device signature = 0x1e950f
avrdude: reading input file "lightom.hex"
avrdude: can't open input file lightom.hex: No such file or directory
avrdude: read from file 'lightom.hex' failed

I have avr-gcc avr-libc avrdude avr-binutils avr-toolchain installed 
(only avr-toolchain is needed).

I'll try debug and fix it.

-- 
Daniel Pimentel (aka d4n1)




Information forwarded to bug-guix <at> gnu.org:
bug#23984; Package guix. (Thu, 14 Jul 2016 19:37:01 GMT) Full text and rfc822 format available.

Message #8 received at 23984 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Daniel Pimentel <d4n1 <at> d4n1.org>
Cc: 23984 <at> debbugs.gnu.org
Subject: Re: bug#23984: Bug avr-toolchain
Date: Thu, 14 Jul 2016 21:36:09 +0200
Daniel Pimentel <d4n1 <at> d4n1.org> writes:

> I'd like report a bug in our avr-toolchain. I try compile to Arduino 
> plataform using Microscheme (installed with: guix package -i 
> microscheme) on GuixSD, but there are errors.
>
> I did:
> sudo microscheme -m UNO -d /dev/ttyACM0 -au lightom.ms
>
> Output:
> ...
> 32 lines compiled OK
> Assembling...
> ...
> avr-ld: cannot find crtatmega328p.o: No such file or directory

This looks like a search path issue.  If you copy this file from the
depths of the output directory to the current directory it should work
fine (works for me).

> ...
> avrdude: Device signature = 0x1e950f
> avrdude: reading input file "lightom.hex"
> avrdude: can't open input file lightom.hex: No such file or directory
> avrdude: read from file 'lightom.hex' failed

These errors will disappear once the above error is fixed.
Thanks for taking care of this!

~~ Ricardo





Information forwarded to bug-guix <at> gnu.org:
bug#23984; Package guix. (Sun, 19 Apr 2020 09:33:01 GMT) Full text and rfc822 format available.

Message #11 received at 23984 <at> debbugs.gnu.org (full text, mbox):

From: Brice Waegeneire <brice <at> waegenei.re>
To: 23984 <at> debbugs.gnu.org
Subject: Closing “Bug avr-toolchain”?
Date: Sun, 19 Apr 2020 09:32:05 +0000
Hello Guix,

Like Ricardo I can't reproduce this 4 years old bug:
--8<---------------cut here---------------start------------->8---
$ guix environment --pure --ad-hoc microscheme avr-toolchain -- \
microscheme -m UNO -a examples/blink-led-morse.ms
Microscheme 0.9.3, (C) Ryan Suchocki
>> Treeshaker: After 4 rounds: 88 globals purged! 32 bytes will be 
>> reserved.
>> 114 lines compiled OK
>> Assembling...
>> Finished.
--8<---------------cut here---------------end--------------->8---

We should close it.

- Brice




bug closed, send any further explanations to 23984 <at> debbugs.gnu.org and Daniel Pimentel <d4n1 <at> d4n1.org> Request was from Danny Milosavljevic <dannym <at> scratchpost.org> to control <at> debbugs.gnu.org. (Sun, 19 Apr 2020 15:50:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 18 May 2020 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.