Bug 1779144

Summary: Incorrect compulation for arduino mega
Product: [Fedora] Fedora Reporter: clyde.laforge
Component: arduinoAssignee: Vasiliy Glazov <vascom2>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 31CC: chitlesh, giallu, gianluca.varisco, tchollingsworth, thozza
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: arduino-1.8.12-2.fc31 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-22 23:23:33 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:

Description clyde.laforge 2019-12-03 12:01:31 UTC
Description of problem:

Invalid binary uploaded to arduino mega (ATMEGA2560)

Version-Release number of selected component (if applicable):

arduino-1.8.5-8.fc31.noarch

How reproducible:


Steps to Reproduce:
1. Install arduino package
2. Compile and upload program for atmega2560

Actual results:
Hard to predict behaviour. Sometimes (for small programm) everything works. Most of the time the result is unpredictable. (PC seem to be jumping around, variable are being modified unexpectedly, ...)

Example: with the following code, only "Co" are pushed onto the UART

class Keypads{
  public:
    Keypads() {
      Serial.println("Constructor called!");
    }
    bool check(){
      Serial.println("Checked!");
    }
};

void setup(){
  Serial.begin(9600);
  Keypads s1_keypads;
  s1_keypads.check();
}

void loop(){
}



Expected results:
Correct compilation and upload

Additional info:
With package given on arduino's website, the results are correct

Comment 1 Fedora Admin XMLRPC Client 2020-04-06 16:46:44 UTC
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.

Comment 2 Fedora Admin XMLRPC Client 2020-04-07 16:38:42 UTC
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.

Comment 3 Fedora Update System 2020-04-15 19:55:45 UTC
FEDORA-2020-779621036b has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-779621036b

Comment 4 Fedora Update System 2020-04-15 19:55:46 UTC
FEDORA-2020-779621036b has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-779621036b

Comment 5 Fedora Update System 2020-04-16 22:17:13 UTC
FEDORA-2020-779621036b has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-779621036b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-779621036b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-04-22 23:23:33 UTC
FEDORA-2020-779621036b has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.