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

Bug 662316

Summary: media-gfx/splashutils-1.5.4.4-r7 fails to compile with ./.libs/libfbsplashrender.so: undefined reference to `makedev'
Product: Gentoo Linux Reporter: Patrick McMunn <doctorwhoguy>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED OBSOLETE    
Severity: major CC: jstein, treecleaner
Priority: Normal Keywords: PATCH, PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/joan2937/pigpio/issues/188
Whiteboard: Pending removal: 2018-11-21
Package list:
Runtime testing required: ---
Attachments: patch for src/common.c
output of emerge --info

Description Patrick McMunn 2018-07-28 01:37:09 UTC
splashutils fails to compile with the error message below. I'm attaching a patch which fixes the issue. The URL above points to a bug report for another program which failed for the same reason, and the fix also works for splashutils. It's supposedly related to glibc>=2.24, but I can't verify that.

  LD      fbcondecor_helper
./.libs/libfbsplashrender.so: undefined reference to `makedev'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:985: fbcondecor_ctl] Error 1
make[4]: *** Waiting for unfinished jobs....
./.libs/libfbsplashrender.so: undefined reference to `makedev'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:997: fbsplashd] Error 1
./.libs/libfbsplashrender.a(libfbsplashrender_la-common.o): In function `dev_create':
common.c:(.text+0x8a): undefined reference to `makedev'
collect2: error: ld returned 1 exit status

Reproducible: Always
Comment 1 Patrick McMunn 2018-07-28 01:57:34 UTC
Created attachment 541476 [details, diff]
patch for src/common.c
Comment 2 Patrick McMunn 2018-07-28 02:00:19 UTC
Created attachment 541478 [details]
output of emerge --info
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-11-28 13:20:04 UTC
Package removed.