Bug 1490074 - fails to keep up with arduino-core
Summary: fails to keep up with arduino-core
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-obsolete-packages
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-09 22:35 UTC by Przemek Klosowski
Modified: 2017-11-09 11:17 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-09 11:17:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Przemek Klosowski 2017-09-09 22:35:55 UTC
Description of problem:
ino stopped working. It appears that the development stopped tracking the new versions of arduino software.

Version-Release number of selected component (if applicable):
ino-0.3.6-4.fc24.noarch

How reproducible: every time


Steps to Reproduce:
1. ino list-models

Actual results: cannot find the boards.txt file


Expected results: lists supported arduino models

Comment 1 Przemek Klosowski 2017-09-09 22:46:03 UTC
The new location of boards.txt is /usr/share/arduino/hardware/arduino/avr/boards.txt
so a simple fix is to change line environment.py:188:

        boards_txt = self.find_arduino_file('boards.txt', ['hardware', 'arduino','avr'], 

Unfortunately, that is not enough because the format of the file changed, and it contains mixed node/value references:

diecimila.menu.cpu.atmega328=ATmega328
diecimila.menu.cpu.atmega328.upload.maximum_size=30720

(atmega328 is a node with a value of ATmega328 as well as a head of a subtree with value upload.maximum_size)
This confuses the code in environment.py:204 which tries to create a subtree/subdictionary  over the diecimila->menu->cpu->atmega328, which already has a string value.

Comment 2 Przemek Klosowski 2017-09-09 22:55:15 UTC
Actually, we probably should retire this package: ino upstream was abandoned;
a fork existed for a while:
https://github.com/scottdarch/Arturo
but its owner decided that platformio is superior and suspended activity on the fork:
https://github.com/platformio/platformio-core

Comment 3 Miro Hrončok 2017-09-10 08:20:18 UTC
This has been retired since Fedora 25. Fedora 24 is no longer supported, thus ino-0.3.6-4.fc24 is not usable. Apparently, it has not been removed when updating. We need to add it to fedora-obsolete-packages, will open a pull-request for that.

Comment 5 Miro Hrončok 2017-09-10 08:41:08 UTC
Oh, fedora-obsolete-packages was not there in 25 just yet. Maybe we need to obsolete ino from arduino-core?

Comment 6 Petr Viktorin (pviktori) 2017-10-05 14:25:45 UTC
Tibbs, could you please take a look at the pull requests?

Comment 7 Jason Tibbitts 2017-10-09 20:57:21 UTC
Sorry for not seeing this earlier; the notification system basically spams you with far too much mail so I never saw the PRs being opened, and I've been on vacation so I just saw the needinfo.

I'm having trouble understanding the breakage here, though.  The fedora-obsolete-packages package exists only to obsolete packages which need to be removed because they cause dependency issues during an upgrade.  It is not for simply removing old things which have been orphaned.  We simply do not do that, nor should we.

So, what dependency issues are caused by allowing this package to remain?  How does the upgrade process break?

Comment 8 Miro Hrončok 2017-10-10 14:48:57 UTC
Will check if this is the case.

Comment 9 Przemek Klosowski 2017-10-26 20:47:27 UTC
This package does not cause any further breakage in Fedora---it just doesn't work, and is essentially unfixable and unmaintainable, so arguably its presence makes Fedora look bad.

Comment 10 Miro Hrončok 2017-11-09 11:17:00 UTC
The upgrade process is not broken.


Note You need to log in before you can comment on or make changes to this bug.