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

Bug 678994

Summary: dev-libs/pigpio add support for arm64 architecture
Product: Gentoo Linux Reporter: Martin Zwicknagl <martin.zwicknagl>
Component: Current packagesAssignee: Daniel Kenzelmann <gentoo>
Status: RESOLVED FIXED    
Severity: enhancement CC: jstein, proxy-maint
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: ARM64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: pigpio.c.patch

Description Martin Zwicknagl 2019-02-27 20:33:52 UTC
Created attachment 566800 [details, diff]
pigpio.c.patch

Hello

dev-libs/pigpio does not work (on sakaki) 64 bit gentoo system.

pigpio.c has to be patched with the patch in the attachment, then it works at leas at 64bit systems. Has to be tested, if it also works on 32 bit systems.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-02-28 06:42:04 UTC
Please attach the entire failing build log to this bug report.
Comment 2 Daniel Kenzelmann 2019-02-28 18:54:41 UTC
Upstream report
https://github.com/joan2937/pigpio/issues/266
Comment 3 Daniel Kenzelmann 2019-02-28 19:09:14 UTC
I'd prefer to have this fixed upstream, thus waiting for upstream response, for the moment you can utilize user patches with gentoo:

https://wiki.gentoo.org/wiki//etc/portage/patches

i.e. just rename the patch file to
/etc/portage/patches/dev-libs/pigpio-67/arm64_support.patch
Comment 4 Daniel Kenzelmann 2019-08-17 16:09:36 UTC
Should be fixed with upstream. (arm64 at least for RPi4)
Comment 5 Jonas Stein gentoo-dev 2019-08-17 16:51:38 UTC
Please link your commit properly next time

It should have been
Closes: https://bugs.gentoo.org/678994

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=565a66fcdf65964cf319c74eddc719310376b848

We can close this now as fixed.