Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1107029

Summary: ultimaker2-marlin-firmware: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: ultimaker2-marlin-firmwareAssignee: Miro Hrončok <mhroncok>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhroncok, yselkowi
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: 2014-06-24 08:56:21 UTC Type: ---
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: 1105908    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Dennis Gilmore 2014-06-09 19:08:28 UTC
Your package ultimaker2-marlin-firmware failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=6997543

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

Comment 1 Dennis Gilmore 2014-06-09 19:08:32 UTC
Created attachment 905882 [details]
build.log

Comment 2 Dennis Gilmore 2014-06-09 19:08:34 UTC
Created attachment 905883 [details]
root.log

Comment 3 Dennis Gilmore 2014-06-09 19:08:36 UTC
Created attachment 905884 [details]
state.log

Comment 4 Yaakov Selkowitz 2014-06-19 02:20:05 UTC
Missing #include <LiquidCrystal_I2C.h> triggered by LCD_I2C_TYPE_PCF8575 define.

Comment 5 Miro Hrončok 2014-06-24 08:13:51 UTC
Looking at https://github.com/kiyoshigawa/LiquidCrystal_I2C and I cannot see any license.

Also, I don't get it, why this was built fine before (it shouldn't).

Comment 6 Miro Hrončok 2014-06-24 08:20:33 UTC
And I cannot see, where LCD_I2C_TYPE_PCF8575 is defined:

$ grep -r LCD_I2C_TYPE_PCF8575
Configuration.h:  #define LCD_I2C_TYPE_PCF8575
ultralcd_implementation_hitachi_HD44780.h:#if defined(LCD_I2C_TYPE_PCF8575)
Marlin.pde:  #if defined(LCD_I2C_TYPE_PCF8575)

The part:

//#define LCD_I2C_SAINSMART_YWROBOT
#ifdef LCD_I2C_SAINSMART_YWROBOT
  // This uses the LiquidCrystal_I2C library ( https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home )
  // Make sure it is placed in the Arduino libraries directory.
  #define LCD_I2C_TYPE_PCF8575
  #define LCD_I2C_ADDRESS 0x27   // I2C Address of the port expander
  #define NEWPANEL
  #define ULTIPANEL
#endif

$ grep -r LCD_I2C_SAINSMART_YWROBOT
Configuration.h://#define LCD_I2C_SAINSMART_YWROBOT
Configuration.h:#ifdef LCD_I2C_SAINSMART_YWROBOT

From my perspective, this should never be included at all.

Comment 7 Miro Hrončok 2014-06-24 08:36:47 UTC
Oh, so this is taken from Marlin.pde and is evaluated even when the condition is not met. Will patch it away, but this is probably a problem in ino or arduino-core :(