Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264821 - dev-embedded/avrdude-5.5 usbtiny support is broken on amd64
Summary: dev-embedded/avrdude-5.5 usbtiny support is broken on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-04 05:19 UTC by AJ Frantz
Modified: 2009-12-27 23:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild that can be used in portage overlay to fix this issue (avrdude-5.5-r1.ebuild,1.68 KB, text/plain)
2009-04-04 05:21 UTC, AJ Frantz
Details
Patch required by attached ebuild (64bit-pointersize.patch,1.11 KB, patch)
2009-04-04 05:22 UTC, AJ Frantz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description AJ Frantz 2009-04-04 05:19:40 UTC
Due to use of sizeof() on a pointer, avrdude fails when trying to communicate with a usbtiny device on amd64.

Reproducible: Always

Steps to Reproduce:
1. Attach usbtiny via serial
2. Run avrdude -c usbtiny -p m8

Actual Results:  
avrdude$ avrdude -c usbtiny -p m8

avrdude: error: usbtiny_receive: No error (expected 8, got 4) 

Expected Results:  
avrdude responding it couldn't find the target device (because I didn't have you attach an actual target in steps to reprodue)

This bug has been fixed upstream and is no longer a problem in avrdude 5.6.  Nevertheless, this issue exists in 5.5.  As such I'm marking severity minor, since the easiest workaround will be to simply move up to 5.6 (once its in portage).
Comment 1 AJ Frantz 2009-04-04 05:21:51 UTC
Created attachment 187265 [details]
ebuild that can be used in portage overlay to fix this issue
Comment 2 AJ Frantz 2009-04-04 05:22:20 UTC
Created attachment 187267 [details, diff]
Patch required by attached ebuild
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-04 06:54:14 UTC
Please do not add people to CC if you cannot assign bugs yourself.

Assigning to maintainers.
Comment 4 Grygoriy I. Fuchedzhy 2009-08-15 15:54:47 UTC
Hi, patch works fine for me, why isn't it in portage tree yet? I think i'm not the first user that discovers this problem. Is it just forgotten to commit? Version 5.6 still is not in portage.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-12-27 23:18:44 UTC
5.8 INCVS now.