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

Bug 691672

Summary: app-misc/graphlcd-base-1.0.2 - port.c:20:10: fatal error: sys/io.h: No such file or directory
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: PPC   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/12636
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description ernsteiswuerfel archtester 2019-08-07 10:33:44 UTC
Created attachment 585968 [details]
build.log

make[1]: Entering directory '/var/tmp/portage/app-misc/graphlcd-base-1.0.2/work/graphlcd-base-1.0.2/glcddrivers'
/bin/sh: libvncserver-config: command not found
powerpc-unknown-linux-gnu-g++  -O2 -mcpu=7450 -pipe -MMD -MP -MMD -MP -fPIC -c -D_GNU_SOURCE -DHAVE_LIBHID -DHAVE_LIBUSB  common.c
powerpc-unknown-linux-gnu-g++  -O2 -mcpu=7450 -pipe -MMD -MP -MMD -MP -fPIC -c -D_GNU_SOURCE -DHAVE_LIBHID -DHAVE_LIBUSB  config.c
powerpc-unknown-linux-gnu-g++  -O2 -mcpu=7450 -pipe -MMD -MP -MMD -MP -fPIC -c -D_GNU_SOURCE -DHAVE_LIBHID -DHAVE_LIBUSB  driver.c
powerpc-unknown-linux-gnu-g++  -O2 -mcpu=7450 -pipe -MMD -MP -MMD -MP -fPIC -c -D_GNU_SOURCE -DHAVE_LIBHID -DHAVE_LIBUSB  drivers.c
powerpc-unknown-linux-gnu-g++  -O2 -mcpu=7450 -pipe -MMD -MP -MMD -MP -fPIC -c -D_GNU_SOURCE -DHAVE_LIBHID -DHAVE_LIBUSB  port.c
port.c:20:10: fatal error: sys/io.h: No such file or directory
 #include <sys/io.h>
          ^~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:69: port.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-misc/graphlcd-base-1.0.2/work/graphlcd-base-1.0.2/glcddrivers'
make: *** [Makefile:19: all] Error 2
Comment 1 ernsteiswuerfel archtester 2019-08-07 10:34:24 UTC
Created attachment 585970 [details]
emerge --info
Comment 2 Conrad Kostecki gentoo-dev 2019-08-07 20:16:02 UTC
Thanks. Since this can't be fixed, as <sys/io.h> does not exist on ppc*, I will disable lcd_devices_glcd on ppc/ppc64.
Comment 3 Larry the Git Cow gentoo-dev 2019-08-08 03:32:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1afcd664f3a0b20cc46312f2f5ca4ce4f26a2da4

commit 1afcd664f3a0b20cc46312f2f5ca4ce4f26a2da4
Author:     Conrad Kostecki <conrad@kostecki.com>
AuthorDate: 2019-08-07 20:11:27 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2019-08-08 03:32:41 +0000

    profiles: powerpc/package.use.mask: mask glcd driver on ppc/ppc64
    
    Closes: https://bugs.gentoo.org/691672
    Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 profiles/arch/powerpc/package.use.mask       | 4 ++++
 profiles/arch/powerpc/ppc64/package.use.mask | 4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7330a6332370d71843f98b290e166f2294958257

commit 7330a6332370d71843f98b290e166f2294958257
Author:     Conrad Kostecki <conrad@kostecki.com>
AuthorDate: 2019-08-07 20:15:22 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2019-08-08 03:32:41 +0000

    app-misc/graphlcd-base: drop ~ppc keyword
    
    Due usage of <sys/io.h>, it can't be compiled anymore on ~ppc.
    
    Bug: https://bugs.gentoo.org/691672
    Package-Manager: Portage-2.3.71, Repoman-2.3.17
    Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
    Closes: https://github.com/gentoo/gentoo/pull/12636
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-misc/graphlcd-base/graphlcd-base-1.0.2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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

commit e70a21e39f8ca22c1316866563b70763b1503451
Author:     Conrad Kostecki <conrad@kostecki.com>
AuthorDate: 2019-08-07 20:14:11 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2019-08-08 03:32:41 +0000

    app-misc/glcdprocdriver: drop ~ppc keyword
    
    Due usage of <sys/io.h>, it can't be compiled anymore on ~ppc.
    
    Bug: https://bugs.gentoo.org/691672
    Package-Manager: Portage-2.3.71, Repoman-2.3.17
    Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-misc/glcdprocdriver/glcdprocdriver-0.1.2.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)