Bug 891556

Summary: error: attempt to use poisoned "SIG_USART0_RECV" on arduino mega 2560
Product: [Fedora] Fedora Reporter: andrew2.hart
Component: arduinoAssignee: T.C. Hollingsworth <tchollingsworth>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: mavit, mhroncok, tchollingsworth
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-14 02:22:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 905681    
Attachments:
Description Flags
patch to fix the problem none

Description andrew2.hart 2013-01-03 09:15:13 UTC
Description of problem:
Verifying/Compiling for arduino mega 2560 fails.

Version-Release number of selected component (if applicable):
1.0.1-1.fc18

How reproducible:
Everytime

Steps to Reproduce:
1.run arduino, select Tools->Board->Arduino mega 2560..
2.Select Sketch->Verify/Compile
3.Error produced
  
Actual results:
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:91:41: error: attempt to use poisoned "SIG_USART0_RECV"

Expected results:
Should warn about undefined setup and loop functions.

Additional info:

Comment 1 T.C. Hollingsworth 2013-01-22 10:02:15 UTC
Created attachment 684969 [details]
patch to fix the problem

This has been fixed in the updated version of the Arduino IDE.

I understand from bug 875397 there might a bundled library issue holding up the new version?  If so the attached patch to the arduino source will fix builds with the current version in Fedora.

Comment 2 T.C. Hollingsworth 2013-02-01 03:03:52 UTC
Ping?

I requested ACLs in pkgdb in case you'd rather I just fix it myself.  I don't mind.  ;-)

Comment 3 andrew2.hart 2013-02-01 08:29:55 UTC
The patch that you supplied works for me.  Thanks.

Comment 4 Peter Oliver 2013-02-01 22:28:36 UTC
(In reply to comment #2)

> I requested ACLs in pkgdb in case you'd rather I just fix it myself.  I
> don't mind.  ;-)

Thanks, please go ahead.  Apologies for not getting to this sooner.

Comment 5 Fedora Update System 2013-02-01 23:27:40 UTC
arduino-1.0.1-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/arduino-1.0.1-2.fc17

Comment 6 Fedora Update System 2013-02-01 23:29:15 UTC
arduino-1.0.1-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/arduino-1.0.1-2.fc18

Comment 7 Fedora Update System 2013-02-03 13:41:38 UTC
Package arduino-1.0.1-2.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing arduino-1.0.1-2.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-1886/arduino-1.0.1-2.fc17
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-02-14 02:22:54 UTC
arduino-1.0.1-3.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2013-02-14 02:45:49 UTC
arduino-1.0.1-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.