Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 482826

Summary: app-misc/lirc-0.9.0-r3 LIRC_DEVICES="userspace" - libhw_module.a(hw_zotac.o):(.rodata+0x0): multiple definition of `main_code_length'
Product: Gentoo Linux Reporter: Michael Cook <mackal.cook>
Component: Current packagesAssignee: Television related Applications in Gentoo's Portage <media-tv>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Added build log

Description Michael Cook 2013-08-28 17:40:06 UTC
Pulling in app-misc/lirc-0.9.0-r2 with LIRC_DEVICES="userspace" failes to emerge.

Reproducible: Always

Steps to Reproduce:
1. set LIRC_DEVICES to userspace
2. emerge =app-misc/lirc-0.9.0-r3

Actual Results:  
emerge fails due to zotac.

Expected Results:  
emerge fine.
Comment 1 Michael Cook 2013-08-28 17:41:14 UTC
Created attachment 357262 [details]
Added build log
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2013-08-29 13:33:58 UTC
yep, that's a problem; masking -r3 until I can rework that patch.
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2013-08-29 14:04:23 UTC
OK fixed.

Oddly, the various lirc modules all reuse a bunch of variables (like these) which are not declared globally but rather declared once in the atwf83 module and then used static everywhere else..  Converted the const's in hw_zotac to static's (matching all the rest of the modules here that re-use variables in atwf83).